diff --git a/CHANGELOG b/CHANGELOG index 75344cc22d6..fd0a0e23129 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,8 @@ +v1.4.2 + Version 1.4.2 + + Add automatic caching for the discovery docs. + v1.4.1 Version 1.4.1 diff --git a/Makefile b/Makefile index 6366e77dc7f..a4b03289a72 100644 --- a/Makefile +++ b/Makefile @@ -29,10 +29,9 @@ prerelease: -sudo rm -rf dist/ -rm -rf snapshot/ -sudo rm -rf snapshot/ - # ./tools/gae-zip-creator.sh python expandsymlinks.py cd snapshot; python setup.py clean - cd snapshot; python setup.py sdist --formats=gztar,zip + cd snapshot; python setup.py sdist --formats=gztar,zip bdist_wheel --universal cd snapshot; tar czf google-api-python-client-samples-$(shell python setup.py --version).tar.gz samples cd snapshot; zip -r google-api-python-client-samples-$(shell python setup.py --version).zip samples @@ -43,5 +42,5 @@ release: prerelease @echo "Are you sure you want to proceed? (yes/no)" @read yn; if [ yes -ne $(yn) ]; then exit 1; fi @echo "Here we go..." - cd snapshot; python setup.py sdist --formats=gztar,zip register upload - \ No newline at end of file + cd snapshot; python setup.py sdist --formats=gztar,zip bdist_wheel --universal + cd snapshot; twine upload dist/* diff --git a/docs/dyn/adexchangebuyer_v1_4.accounts.html b/docs/dyn/adexchangebuyer_v1_4.accounts.html new file mode 100644 index 00000000000..ff3b93b84bf --- /dev/null +++ b/docs/dyn/adexchangebuyer_v1_4.accounts.html @@ -0,0 +1,270 @@ + + + +

Ad Exchange Buyer API . accounts

+

Instance Methods

+

+ get(id)

+

Gets one account by ID.

+

+ list()

+

Retrieves the authenticated user's list of accounts.

+

+ patch(id, body)

+

Updates an existing account. This method supports patch semantics.

+

+ update(id, body)

+

Updates an existing account.

+

Method Details

+
+ get(id) +
Gets one account by ID.
+
+Args:
+  id: integer, The account id (required)
+
+Returns:
+  An object of the form:
+
+    { # Configuration data for an Ad Exchange buyer account.
+      "kind": "adexchangebuyer#account", # Resource type.
+      "maximumTotalQps": 42, # The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.
+      "maximumActiveCreatives": 42, # The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this.
+      "bidderLocation": [ # Your bidder locations that have distinct URLs.
+        {
+          "url": "A String", # The URL to which the Ad Exchange will send bid requests.
+          "region": "A String", # The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values:
+              # - ASIA
+              # - EUROPE
+              # - US_EAST
+              # - US_WEST
+          "maximumQps": 42, # The maximum queries per second the Ad Exchange will send.
+        },
+      ],
+      "cookieMatchingNid": "A String", # The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.
+      "numberActiveCreatives": 42, # The number of creatives that this account inserted or bid with in the last 30 days.
+      "id": 42, # Account id.
+      "cookieMatchingUrl": "A String", # The base URL used in cookie match requests.
+    }
+
+ +
+ list() +
Retrieves the authenticated user's list of accounts.
+
+Args:
+
+Returns:
+  An object of the form:
+
+    { # An account feed lists Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single buyer account.
+    "items": [ # A list of accounts.
+      { # Configuration data for an Ad Exchange buyer account.
+          "kind": "adexchangebuyer#account", # Resource type.
+          "maximumTotalQps": 42, # The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.
+          "maximumActiveCreatives": 42, # The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this.
+          "bidderLocation": [ # Your bidder locations that have distinct URLs.
+            {
+              "url": "A String", # The URL to which the Ad Exchange will send bid requests.
+              "region": "A String", # The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values:
+                  # - ASIA
+                  # - EUROPE
+                  # - US_EAST
+                  # - US_WEST
+              "maximumQps": 42, # The maximum queries per second the Ad Exchange will send.
+            },
+          ],
+          "cookieMatchingNid": "A String", # The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.
+          "numberActiveCreatives": 42, # The number of creatives that this account inserted or bid with in the last 30 days.
+          "id": 42, # Account id.
+          "cookieMatchingUrl": "A String", # The base URL used in cookie match requests.
+        },
+    ],
+    "kind": "adexchangebuyer#accountsList", # Resource type.
+  }
+
+ +
+ patch(id, body) +
Updates an existing account. This method supports patch semantics.
+
+Args:
+  id: integer, The account id (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Configuration data for an Ad Exchange buyer account.
+    "kind": "adexchangebuyer#account", # Resource type.
+    "maximumTotalQps": 42, # The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.
+    "maximumActiveCreatives": 42, # The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this.
+    "bidderLocation": [ # Your bidder locations that have distinct URLs.
+      {
+        "url": "A String", # The URL to which the Ad Exchange will send bid requests.
+        "region": "A String", # The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values:
+            # - ASIA
+            # - EUROPE
+            # - US_EAST
+            # - US_WEST
+        "maximumQps": 42, # The maximum queries per second the Ad Exchange will send.
+      },
+    ],
+    "cookieMatchingNid": "A String", # The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.
+    "numberActiveCreatives": 42, # The number of creatives that this account inserted or bid with in the last 30 days.
+    "id": 42, # Account id.
+    "cookieMatchingUrl": "A String", # The base URL used in cookie match requests.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Configuration data for an Ad Exchange buyer account.
+      "kind": "adexchangebuyer#account", # Resource type.
+      "maximumTotalQps": 42, # The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.
+      "maximumActiveCreatives": 42, # The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this.
+      "bidderLocation": [ # Your bidder locations that have distinct URLs.
+        {
+          "url": "A String", # The URL to which the Ad Exchange will send bid requests.
+          "region": "A String", # The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values:
+              # - ASIA
+              # - EUROPE
+              # - US_EAST
+              # - US_WEST
+          "maximumQps": 42, # The maximum queries per second the Ad Exchange will send.
+        },
+      ],
+      "cookieMatchingNid": "A String", # The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.
+      "numberActiveCreatives": 42, # The number of creatives that this account inserted or bid with in the last 30 days.
+      "id": 42, # Account id.
+      "cookieMatchingUrl": "A String", # The base URL used in cookie match requests.
+    }
+
+ +
+ update(id, body) +
Updates an existing account.
+
+Args:
+  id: integer, The account id (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Configuration data for an Ad Exchange buyer account.
+    "kind": "adexchangebuyer#account", # Resource type.
+    "maximumTotalQps": 42, # The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.
+    "maximumActiveCreatives": 42, # The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this.
+    "bidderLocation": [ # Your bidder locations that have distinct URLs.
+      {
+        "url": "A String", # The URL to which the Ad Exchange will send bid requests.
+        "region": "A String", # The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values:
+            # - ASIA
+            # - EUROPE
+            # - US_EAST
+            # - US_WEST
+        "maximumQps": 42, # The maximum queries per second the Ad Exchange will send.
+      },
+    ],
+    "cookieMatchingNid": "A String", # The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.
+    "numberActiveCreatives": 42, # The number of creatives that this account inserted or bid with in the last 30 days.
+    "id": 42, # Account id.
+    "cookieMatchingUrl": "A String", # The base URL used in cookie match requests.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Configuration data for an Ad Exchange buyer account.
+      "kind": "adexchangebuyer#account", # Resource type.
+      "maximumTotalQps": 42, # The sum of all bidderLocation.maximumQps values cannot exceed this. Please contact your technical account manager if you need to change this.
+      "maximumActiveCreatives": 42, # The maximum number of active creatives that an account can have, where a creative is active if it was inserted or bid with in the last 30 days. Please contact your technical account manager if you need to change this.
+      "bidderLocation": [ # Your bidder locations that have distinct URLs.
+        {
+          "url": "A String", # The URL to which the Ad Exchange will send bid requests.
+          "region": "A String", # The geographical region the Ad Exchange should send requests from. Only used by some quota systems, but always setting the value is recommended. Allowed values:
+              # - ASIA
+              # - EUROPE
+              # - US_EAST
+              # - US_WEST
+          "maximumQps": 42, # The maximum queries per second the Ad Exchange will send.
+        },
+      ],
+      "cookieMatchingNid": "A String", # The nid parameter value used in cookie match requests. Please contact your technical account manager if you need to change this.
+      "numberActiveCreatives": 42, # The number of creatives that this account inserted or bid with in the last 30 days.
+      "id": 42, # Account id.
+      "cookieMatchingUrl": "A String", # The base URL used in cookie match requests.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/adexchangebuyer_v1_4.billingInfo.html b/docs/dyn/adexchangebuyer_v1_4.billingInfo.html new file mode 100644 index 00000000000..9b75f3d68bd --- /dev/null +++ b/docs/dyn/adexchangebuyer_v1_4.billingInfo.html @@ -0,0 +1,128 @@ + + + +

Ad Exchange Buyer API . billingInfo

+

Instance Methods

+

+ get(accountId)

+

Returns the billing information for one account specified by account ID.

+

+ list()

+

Retrieves a list of billing information for all accounts of the authenticated user.

+

Method Details

+
+ get(accountId) +
Returns the billing information for one account specified by account ID.
+
+Args:
+  accountId: integer, The account id. (required)
+
+Returns:
+  An object of the form:
+
+    { # The configuration data for an Ad Exchange billing info.
+    "billingId": [ # A list of adgroup IDs associated with this particular account. These IDs may show up as part of a realtime bidding BidRequest, which indicates a bid request for this account.
+      "A String",
+    ],
+    "accountName": "A String", # Account name.
+    "kind": "adexchangebuyer#billingInfo", # Resource type.
+    "accountId": 42, # Account id.
+  }
+
+ +
+ list() +
Retrieves a list of billing information for all accounts of the authenticated user.
+
+Args:
+
+Returns:
+  An object of the form:
+
+    { # A billing info feed lists Billing Info the Ad Exchange buyer account has access to. Each entry in the feed corresponds to a single billing info.
+    "items": [ # A list of billing info relevant for your account.
+      { # The configuration data for an Ad Exchange billing info.
+        "billingId": [ # A list of adgroup IDs associated with this particular account. These IDs may show up as part of a realtime bidding BidRequest, which indicates a bid request for this account.
+          "A String",
+        ],
+        "accountName": "A String", # Account name.
+        "kind": "adexchangebuyer#billingInfo", # Resource type.
+        "accountId": 42, # Account id.
+      },
+    ],
+    "kind": "adexchangebuyer#billingInfoList", # Resource type.
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/adexchangebuyer_v1_4.budget.html b/docs/dyn/adexchangebuyer_v1_4.budget.html new file mode 100644 index 00000000000..3e190a851d5 --- /dev/null +++ b/docs/dyn/adexchangebuyer_v1_4.budget.html @@ -0,0 +1,174 @@ + + + +

Ad Exchange Buyer API . budget

+

Instance Methods

+

+ get(accountId, billingId)

+

Returns the budget information for the adgroup specified by the accountId and billingId.

+

+ patch(accountId, billingId, body)

+

Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method supports patch semantics.

+

+ update(accountId, billingId, body)

+

Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.

+

Method Details

+
+ get(accountId, billingId) +
Returns the budget information for the adgroup specified by the accountId and billingId.
+
+Args:
+  accountId: string, The account id to get the budget information for. (required)
+  billingId: string, The billing id to get the budget information for. (required)
+
+Returns:
+  An object of the form:
+
+    { # The configuration data for Ad Exchange RTB - Budget API.
+      "kind": "adexchangebuyer#budget", # The kind of the resource, i.e. "adexchangebuyer#budget".
+      "budgetAmount": "A String", # The budget amount to apply for the billingId provided. This is required for update requests.
+      "currencyCode": "A String", # The currency code for the buyer. This cannot be altered here.
+      "billingId": "A String", # The billing id to determine which adgroup to provide budget information for. This is required for get and update requests.
+      "id": "A String", # The unique id that describes this item.
+      "accountId": "A String", # The id of the account. This is required for get and update requests.
+    }
+
+ +
+ patch(accountId, billingId, body) +
Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method supports patch semantics.
+
+Args:
+  accountId: string, The account id associated with the budget being updated. (required)
+  billingId: string, The billing id associated with the budget being updated. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # The configuration data for Ad Exchange RTB - Budget API.
+    "kind": "adexchangebuyer#budget", # The kind of the resource, i.e. "adexchangebuyer#budget".
+    "budgetAmount": "A String", # The budget amount to apply for the billingId provided. This is required for update requests.
+    "currencyCode": "A String", # The currency code for the buyer. This cannot be altered here.
+    "billingId": "A String", # The billing id to determine which adgroup to provide budget information for. This is required for get and update requests.
+    "id": "A String", # The unique id that describes this item.
+    "accountId": "A String", # The id of the account. This is required for get and update requests.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # The configuration data for Ad Exchange RTB - Budget API.
+      "kind": "adexchangebuyer#budget", # The kind of the resource, i.e. "adexchangebuyer#budget".
+      "budgetAmount": "A String", # The budget amount to apply for the billingId provided. This is required for update requests.
+      "currencyCode": "A String", # The currency code for the buyer. This cannot be altered here.
+      "billingId": "A String", # The billing id to determine which adgroup to provide budget information for. This is required for get and update requests.
+      "id": "A String", # The unique id that describes this item.
+      "accountId": "A String", # The id of the account. This is required for get and update requests.
+    }
+
+ +
+ update(accountId, billingId, body) +
Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.
+
+Args:
+  accountId: string, The account id associated with the budget being updated. (required)
+  billingId: string, The billing id associated with the budget being updated. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # The configuration data for Ad Exchange RTB - Budget API.
+    "kind": "adexchangebuyer#budget", # The kind of the resource, i.e. "adexchangebuyer#budget".
+    "budgetAmount": "A String", # The budget amount to apply for the billingId provided. This is required for update requests.
+    "currencyCode": "A String", # The currency code for the buyer. This cannot be altered here.
+    "billingId": "A String", # The billing id to determine which adgroup to provide budget information for. This is required for get and update requests.
+    "id": "A String", # The unique id that describes this item.
+    "accountId": "A String", # The id of the account. This is required for get and update requests.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # The configuration data for Ad Exchange RTB - Budget API.
+      "kind": "adexchangebuyer#budget", # The kind of the resource, i.e. "adexchangebuyer#budget".
+      "budgetAmount": "A String", # The budget amount to apply for the billingId provided. This is required for update requests.
+      "currencyCode": "A String", # The currency code for the buyer. This cannot be altered here.
+      "billingId": "A String", # The billing id to determine which adgroup to provide budget information for. This is required for get and update requests.
+      "id": "A String", # The unique id that describes this item.
+      "accountId": "A String", # The id of the account. This is required for get and update requests.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/adexchangebuyer_v1_4.clientaccess.html b/docs/dyn/adexchangebuyer_v1_4.clientaccess.html new file mode 100644 index 00000000000..6c737d88783 --- /dev/null +++ b/docs/dyn/adexchangebuyer_v1_4.clientaccess.html @@ -0,0 +1,233 @@ + + + +

Ad Exchange Buyer API . clientaccess

+

Instance Methods

+

+ delete(clientAccountId, sponsorAccountId)

+

A description of how to use this function

+

+ get(clientAccountId, sponsorAccountId)

+

A description of how to use this function

+

+ insert(body, clientAccountId=None, sponsorAccountId=None)

+

A description of how to use this function

+

+ list()

+

A description of how to use this function

+

+ patch(clientAccountId, sponsorAccountId, body)

+

A description of how to use this function

+

+ update(clientAccountId, sponsorAccountId, body)

+

A description of how to use this function

+

Method Details

+
+ delete(clientAccountId, sponsorAccountId) +
A description of how to use this function
+
+Args:
+  clientAccountId: string, A parameter (required)
+  sponsorAccountId: integer, A parameter (required)
+
+
+ +
+ get(clientAccountId, sponsorAccountId) +
A description of how to use this function
+
+Args:
+  clientAccountId: string, A parameter (required)
+  sponsorAccountId: integer, A parameter (required)
+
+Returns:
+  An object of the form:
+
+    {
+      "clientAccountId": "A String",
+      "capabilities": [
+        42,
+      ],
+    }
+
+ +
+ insert(body, clientAccountId=None, sponsorAccountId=None) +
A description of how to use this function
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "clientAccountId": "A String",
+    "capabilities": [
+      42,
+    ],
+  }
+
+  clientAccountId: string, A parameter
+  sponsorAccountId: integer, A parameter
+
+Returns:
+  An object of the form:
+
+    {
+      "clientAccountId": "A String",
+      "capabilities": [
+        42,
+      ],
+    }
+
+ +
+ list() +
A description of how to use this function
+
+Args:
+
+Returns:
+  An object of the form:
+
+    {
+    "clientAccessPermissions": [
+      {
+          "clientAccountId": "A String",
+          "capabilities": [
+            42,
+          ],
+        },
+    ],
+  }
+
+ +
+ patch(clientAccountId, sponsorAccountId, body) +
A description of how to use this function
+
+Args:
+  clientAccountId: string, A parameter (required)
+  sponsorAccountId: integer, A parameter (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "clientAccountId": "A String",
+    "capabilities": [
+      42,
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    {
+      "clientAccountId": "A String",
+      "capabilities": [
+        42,
+      ],
+    }
+
+ +
+ update(clientAccountId, sponsorAccountId, body) +
A description of how to use this function
+
+Args:
+  clientAccountId: string, A parameter (required)
+  sponsorAccountId: integer, A parameter (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "clientAccountId": "A String",
+    "capabilities": [
+      42,
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    {
+      "clientAccountId": "A String",
+      "capabilities": [
+        42,
+      ],
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/adexchangebuyer_v1_4.creatives.html b/docs/dyn/adexchangebuyer_v1_4.creatives.html new file mode 100644 index 00000000000..19382d906fd --- /dev/null +++ b/docs/dyn/adexchangebuyer_v1_4.creatives.html @@ -0,0 +1,609 @@ + + + +

Ad Exchange Buyer API . creatives

+

Instance Methods

+

+ get(accountId, buyerCreativeId)

+

Gets the status for a single creative. A creative will be available 30-40 minutes after submission.

+

+ insert(body)

+

Submit a new creative.

+

+ list(dealsStatusFilter=None, openAuctionStatusFilter=None, pageToken=None, maxResults=None, buyerCreativeId=None, accountId=None)

+

Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ get(accountId, buyerCreativeId) +
Gets the status for a single creative. A creative will be available 30-40 minutes after submission.
+
+Args:
+  accountId: integer, The id for the account that will serve this creative. (required)
+  buyerCreativeId: string, The buyer-specific id for this creative. (required)
+
+Returns:
+  An object of the form:
+
+    { # A creative and its classification data.
+      "api_upload_timestamp": "A String", # The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).
+      "attribute": [ # All attributes for the ads that may be shown from this snippet.
+        42,
+      ],
+      "height": 42, # Ad height.
+      "advertiserName": "A String", # The name of the company being advertised in the creative.
+      "HTMLSnippet": "A String", # The HTML snippet that displays the ad when inserted in the web page. If set, videoURL should not be set.
+      "openAuctionStatus": "A String", # Top-level open auction status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=OPEN_AUCTION (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from ServingRestrictions directly.
+      "buyerCreativeId": "A String", # A buyer-specific id identifying the creative in this ad.
+      "impressionTrackingUrl": [ # The set of urls to be called to record an impression.
+        "A String",
+      ],
+      "accountId": 42, # Account id.
+      "videoURL": "A String", # The url to fetch a video ad. If set, HTMLSnippet should not be set.
+      "clickThroughUrl": [ # The set of destination urls for the snippet.
+        "A String",
+      ],
+      "width": 42, # Ad width.
+      "nativeAd": { # If nativeAd is set, HTMLSnippet and videoURL should not be set.
+        "body": "A String", # A long description of the ad.
+        "advertiser": "A String",
+        "store": "A String", # The URL to the app store to purchase/download the promoted app.
+        "headline": "A String", # A short title for the ad.
+        "image": { # A large image.
+          "url": "A String",
+          "width": 42,
+          "height": 42,
+        },
+        "starRating": 3.14, # The app rating in the app store. Must be in the range [0-5].
+        "callToAction": "A String", # A label for the button that the user is supposed to click.
+        "logo": { # A smaller image, for the advertiser logo.
+          "url": "A String",
+          "width": 42,
+          "height": 42,
+        },
+        "appIcon": { # The app icon, for app download ads.
+          "url": "A String",
+          "width": 42,
+          "height": 42,
+        },
+        "impressionTrackingUrl": [ # The URLs are called when the impression is rendered.
+          "A String",
+        ],
+        "price": "A String", # The price of the promoted app including the currency info.
+        "clickTrackingUrl": "A String", # The URL to use for click tracking.
+      },
+      "version": 42, # The version for this creative. Read-only. This field should not be set in requests.
+      "vendorType": [ # All vendor types for the ads that may be shown from this snippet.
+        42,
+      ],
+      "sensitiveCategories": [ # Detected sensitive categories, if any. Read-only. This field should not be set in requests.
+        42,
+      ],
+      "productCategories": [ # Detected product categories, if any. Read-only. This field should not be set in requests.
+        42,
+      ],
+      "agencyId": "A String", # The agency id for this creative.
+      "dealsStatus": "A String", # Top-level deals status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from servingRestrictions directly.
+      "advertiserId": [ # Detected advertiser id, if any. Read-only. This field should not be set in requests.
+        "A String",
+      ],
+      "kind": "adexchangebuyer#creative", # Resource type.
+      "servingRestrictions": [ # The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction). Read-only. This field should not be set in requests.
+        {
+          "contexts": [ # All known contexts/restrictions.
+            {
+              "platform": [ # Only set when contextType=PLATFORM. Represents the platforms this restriction applies to.
+                "A String",
+              ],
+              "contextType": "A String", # The type of context (e.g., location, platform, auction type, SSL-ness).
+              "auctionType": [ # Only set when contextType=AUCTION_TYPE. Represents the auction types this restriction applies to.
+                "A String",
+              ],
+              "geoCriteriaId": [ # Only set when contextType=LOCATION. Represents the geo criterias this restriction applies to.
+                42,
+              ],
+            },
+          ],
+          "disapprovalReasons": [ # The reasons for disapproval within this restriction, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue.
+            {
+              "reason": "A String", # The categorized reason for disapproval.
+              "details": [ # Additional details about the reason for disapproval.
+                "A String",
+              ],
+            },
+          ],
+          "reason": "A String", # Why the creative is ineligible to serve in this context (e.g., it has been explicitly disapproved or is pending review).
+        },
+      ],
+      "restrictedCategories": [ # All restricted categories for the ads that may be shown from this snippet.
+        42,
+      ],
+      "corrections": [ # Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.
+        {
+          "reason": "A String", # The type of correction that was applied to the creative.
+          "details": [ # Additional details about the correction.
+            "A String",
+          ],
+        },
+      ],
+      "filteringReasons": { # The filtering reasons for the creative. Read-only. This field should not be set in requests.
+        "date": "A String", # The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST.
+        "reasons": [ # The filtering reasons.
+          {
+            "filteringCount": "A String", # The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.
+            "filteringStatus": 42, # The filtering status code. Please refer to the creative-status-codes.txt file for different statuses.
+          },
+        ],
+      },
+    }
+
+ +
+ insert(body) +
Submit a new creative.
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A creative and its classification data.
+    "api_upload_timestamp": "A String", # The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).
+    "attribute": [ # All attributes for the ads that may be shown from this snippet.
+      42,
+    ],
+    "height": 42, # Ad height.
+    "advertiserName": "A String", # The name of the company being advertised in the creative.
+    "HTMLSnippet": "A String", # The HTML snippet that displays the ad when inserted in the web page. If set, videoURL should not be set.
+    "openAuctionStatus": "A String", # Top-level open auction status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=OPEN_AUCTION (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from ServingRestrictions directly.
+    "buyerCreativeId": "A String", # A buyer-specific id identifying the creative in this ad.
+    "impressionTrackingUrl": [ # The set of urls to be called to record an impression.
+      "A String",
+    ],
+    "accountId": 42, # Account id.
+    "videoURL": "A String", # The url to fetch a video ad. If set, HTMLSnippet should not be set.
+    "clickThroughUrl": [ # The set of destination urls for the snippet.
+      "A String",
+    ],
+    "width": 42, # Ad width.
+    "nativeAd": { # If nativeAd is set, HTMLSnippet and videoURL should not be set.
+      "body": "A String", # A long description of the ad.
+      "advertiser": "A String",
+      "store": "A String", # The URL to the app store to purchase/download the promoted app.
+      "headline": "A String", # A short title for the ad.
+      "image": { # A large image.
+        "url": "A String",
+        "width": 42,
+        "height": 42,
+      },
+      "starRating": 3.14, # The app rating in the app store. Must be in the range [0-5].
+      "callToAction": "A String", # A label for the button that the user is supposed to click.
+      "logo": { # A smaller image, for the advertiser logo.
+        "url": "A String",
+        "width": 42,
+        "height": 42,
+      },
+      "appIcon": { # The app icon, for app download ads.
+        "url": "A String",
+        "width": 42,
+        "height": 42,
+      },
+      "impressionTrackingUrl": [ # The URLs are called when the impression is rendered.
+        "A String",
+      ],
+      "price": "A String", # The price of the promoted app including the currency info.
+      "clickTrackingUrl": "A String", # The URL to use for click tracking.
+    },
+    "version": 42, # The version for this creative. Read-only. This field should not be set in requests.
+    "vendorType": [ # All vendor types for the ads that may be shown from this snippet.
+      42,
+    ],
+    "sensitiveCategories": [ # Detected sensitive categories, if any. Read-only. This field should not be set in requests.
+      42,
+    ],
+    "productCategories": [ # Detected product categories, if any. Read-only. This field should not be set in requests.
+      42,
+    ],
+    "agencyId": "A String", # The agency id for this creative.
+    "dealsStatus": "A String", # Top-level deals status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from servingRestrictions directly.
+    "advertiserId": [ # Detected advertiser id, if any. Read-only. This field should not be set in requests.
+      "A String",
+    ],
+    "kind": "adexchangebuyer#creative", # Resource type.
+    "servingRestrictions": [ # The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction). Read-only. This field should not be set in requests.
+      {
+        "contexts": [ # All known contexts/restrictions.
+          {
+            "platform": [ # Only set when contextType=PLATFORM. Represents the platforms this restriction applies to.
+              "A String",
+            ],
+            "contextType": "A String", # The type of context (e.g., location, platform, auction type, SSL-ness).
+            "auctionType": [ # Only set when contextType=AUCTION_TYPE. Represents the auction types this restriction applies to.
+              "A String",
+            ],
+            "geoCriteriaId": [ # Only set when contextType=LOCATION. Represents the geo criterias this restriction applies to.
+              42,
+            ],
+          },
+        ],
+        "disapprovalReasons": [ # The reasons for disapproval within this restriction, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue.
+          {
+            "reason": "A String", # The categorized reason for disapproval.
+            "details": [ # Additional details about the reason for disapproval.
+              "A String",
+            ],
+          },
+        ],
+        "reason": "A String", # Why the creative is ineligible to serve in this context (e.g., it has been explicitly disapproved or is pending review).
+      },
+    ],
+    "restrictedCategories": [ # All restricted categories for the ads that may be shown from this snippet.
+      42,
+    ],
+    "corrections": [ # Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.
+      {
+        "reason": "A String", # The type of correction that was applied to the creative.
+        "details": [ # Additional details about the correction.
+          "A String",
+        ],
+      },
+    ],
+    "filteringReasons": { # The filtering reasons for the creative. Read-only. This field should not be set in requests.
+      "date": "A String", # The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST.
+      "reasons": [ # The filtering reasons.
+        {
+          "filteringCount": "A String", # The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.
+          "filteringStatus": 42, # The filtering status code. Please refer to the creative-status-codes.txt file for different statuses.
+        },
+      ],
+    },
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # A creative and its classification data.
+      "api_upload_timestamp": "A String", # The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).
+      "attribute": [ # All attributes for the ads that may be shown from this snippet.
+        42,
+      ],
+      "height": 42, # Ad height.
+      "advertiserName": "A String", # The name of the company being advertised in the creative.
+      "HTMLSnippet": "A String", # The HTML snippet that displays the ad when inserted in the web page. If set, videoURL should not be set.
+      "openAuctionStatus": "A String", # Top-level open auction status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=OPEN_AUCTION (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from ServingRestrictions directly.
+      "buyerCreativeId": "A String", # A buyer-specific id identifying the creative in this ad.
+      "impressionTrackingUrl": [ # The set of urls to be called to record an impression.
+        "A String",
+      ],
+      "accountId": 42, # Account id.
+      "videoURL": "A String", # The url to fetch a video ad. If set, HTMLSnippet should not be set.
+      "clickThroughUrl": [ # The set of destination urls for the snippet.
+        "A String",
+      ],
+      "width": 42, # Ad width.
+      "nativeAd": { # If nativeAd is set, HTMLSnippet and videoURL should not be set.
+        "body": "A String", # A long description of the ad.
+        "advertiser": "A String",
+        "store": "A String", # The URL to the app store to purchase/download the promoted app.
+        "headline": "A String", # A short title for the ad.
+        "image": { # A large image.
+          "url": "A String",
+          "width": 42,
+          "height": 42,
+        },
+        "starRating": 3.14, # The app rating in the app store. Must be in the range [0-5].
+        "callToAction": "A String", # A label for the button that the user is supposed to click.
+        "logo": { # A smaller image, for the advertiser logo.
+          "url": "A String",
+          "width": 42,
+          "height": 42,
+        },
+        "appIcon": { # The app icon, for app download ads.
+          "url": "A String",
+          "width": 42,
+          "height": 42,
+        },
+        "impressionTrackingUrl": [ # The URLs are called when the impression is rendered.
+          "A String",
+        ],
+        "price": "A String", # The price of the promoted app including the currency info.
+        "clickTrackingUrl": "A String", # The URL to use for click tracking.
+      },
+      "version": 42, # The version for this creative. Read-only. This field should not be set in requests.
+      "vendorType": [ # All vendor types for the ads that may be shown from this snippet.
+        42,
+      ],
+      "sensitiveCategories": [ # Detected sensitive categories, if any. Read-only. This field should not be set in requests.
+        42,
+      ],
+      "productCategories": [ # Detected product categories, if any. Read-only. This field should not be set in requests.
+        42,
+      ],
+      "agencyId": "A String", # The agency id for this creative.
+      "dealsStatus": "A String", # Top-level deals status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from servingRestrictions directly.
+      "advertiserId": [ # Detected advertiser id, if any. Read-only. This field should not be set in requests.
+        "A String",
+      ],
+      "kind": "adexchangebuyer#creative", # Resource type.
+      "servingRestrictions": [ # The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction). Read-only. This field should not be set in requests.
+        {
+          "contexts": [ # All known contexts/restrictions.
+            {
+              "platform": [ # Only set when contextType=PLATFORM. Represents the platforms this restriction applies to.
+                "A String",
+              ],
+              "contextType": "A String", # The type of context (e.g., location, platform, auction type, SSL-ness).
+              "auctionType": [ # Only set when contextType=AUCTION_TYPE. Represents the auction types this restriction applies to.
+                "A String",
+              ],
+              "geoCriteriaId": [ # Only set when contextType=LOCATION. Represents the geo criterias this restriction applies to.
+                42,
+              ],
+            },
+          ],
+          "disapprovalReasons": [ # The reasons for disapproval within this restriction, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue.
+            {
+              "reason": "A String", # The categorized reason for disapproval.
+              "details": [ # Additional details about the reason for disapproval.
+                "A String",
+              ],
+            },
+          ],
+          "reason": "A String", # Why the creative is ineligible to serve in this context (e.g., it has been explicitly disapproved or is pending review).
+        },
+      ],
+      "restrictedCategories": [ # All restricted categories for the ads that may be shown from this snippet.
+        42,
+      ],
+      "corrections": [ # Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.
+        {
+          "reason": "A String", # The type of correction that was applied to the creative.
+          "details": [ # Additional details about the correction.
+            "A String",
+          ],
+        },
+      ],
+      "filteringReasons": { # The filtering reasons for the creative. Read-only. This field should not be set in requests.
+        "date": "A String", # The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST.
+        "reasons": [ # The filtering reasons.
+          {
+            "filteringCount": "A String", # The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.
+            "filteringStatus": 42, # The filtering status code. Please refer to the creative-status-codes.txt file for different statuses.
+          },
+        ],
+      },
+    }
+
+ +
+ list(dealsStatusFilter=None, openAuctionStatusFilter=None, pageToken=None, maxResults=None, buyerCreativeId=None, accountId=None) +
Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.
+
+Args:
+  dealsStatusFilter: string, When specified, only creatives having the given direct deals status are returned.
+    Allowed values
+      approved - Creatives which have been approved for serving on direct deals.
+      conditionally_approved - Creatives which have been conditionally approved for serving on direct deals.
+      disapproved - Creatives which have been disapproved for serving on direct deals.
+      not_checked - Creatives whose direct deals status is not yet checked.
+  openAuctionStatusFilter: string, When specified, only creatives having the given open auction status are returned.
+    Allowed values
+      approved - Creatives which have been approved for serving on the open auction.
+      conditionally_approved - Creatives which have been conditionally approved for serving on the open auction.
+      disapproved - Creatives which have been disapproved for serving on the open auction.
+      not_checked - Creatives whose open auction status is not yet checked.
+  pageToken: string, A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response. Optional.
+  maxResults: integer, Maximum number of entries returned on one result page. If not set, the default is 100. Optional.
+  buyerCreativeId: string, When specified, only creatives for the given buyer creative ids are returned. (repeated)
+  accountId: integer, When specified, only creatives for the given account ids are returned. (repeated)
+
+Returns:
+  An object of the form:
+
+    { # The creatives feed lists the active creatives for the Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single creative.
+    "nextPageToken": "A String", # Continuation token used to page through creatives. To retrieve the next page of results, set the next request's "pageToken" value to this.
+    "items": [ # A list of creatives.
+      { # A creative and its classification data.
+          "api_upload_timestamp": "A String", # The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).
+          "attribute": [ # All attributes for the ads that may be shown from this snippet.
+            42,
+          ],
+          "height": 42, # Ad height.
+          "advertiserName": "A String", # The name of the company being advertised in the creative.
+          "HTMLSnippet": "A String", # The HTML snippet that displays the ad when inserted in the web page. If set, videoURL should not be set.
+          "openAuctionStatus": "A String", # Top-level open auction status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=OPEN_AUCTION (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from ServingRestrictions directly.
+          "buyerCreativeId": "A String", # A buyer-specific id identifying the creative in this ad.
+          "impressionTrackingUrl": [ # The set of urls to be called to record an impression.
+            "A String",
+          ],
+          "accountId": 42, # Account id.
+          "videoURL": "A String", # The url to fetch a video ad. If set, HTMLSnippet should not be set.
+          "clickThroughUrl": [ # The set of destination urls for the snippet.
+            "A String",
+          ],
+          "width": 42, # Ad width.
+          "nativeAd": { # If nativeAd is set, HTMLSnippet and videoURL should not be set.
+            "body": "A String", # A long description of the ad.
+            "advertiser": "A String",
+            "store": "A String", # The URL to the app store to purchase/download the promoted app.
+            "headline": "A String", # A short title for the ad.
+            "image": { # A large image.
+              "url": "A String",
+              "width": 42,
+              "height": 42,
+            },
+            "starRating": 3.14, # The app rating in the app store. Must be in the range [0-5].
+            "callToAction": "A String", # A label for the button that the user is supposed to click.
+            "logo": { # A smaller image, for the advertiser logo.
+              "url": "A String",
+              "width": 42,
+              "height": 42,
+            },
+            "appIcon": { # The app icon, for app download ads.
+              "url": "A String",
+              "width": 42,
+              "height": 42,
+            },
+            "impressionTrackingUrl": [ # The URLs are called when the impression is rendered.
+              "A String",
+            ],
+            "price": "A String", # The price of the promoted app including the currency info.
+            "clickTrackingUrl": "A String", # The URL to use for click tracking.
+          },
+          "version": 42, # The version for this creative. Read-only. This field should not be set in requests.
+          "vendorType": [ # All vendor types for the ads that may be shown from this snippet.
+            42,
+          ],
+          "sensitiveCategories": [ # Detected sensitive categories, if any. Read-only. This field should not be set in requests.
+            42,
+          ],
+          "productCategories": [ # Detected product categories, if any. Read-only. This field should not be set in requests.
+            42,
+          ],
+          "agencyId": "A String", # The agency id for this creative.
+          "dealsStatus": "A String", # Top-level deals status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from servingRestrictions directly.
+          "advertiserId": [ # Detected advertiser id, if any. Read-only. This field should not be set in requests.
+            "A String",
+          ],
+          "kind": "adexchangebuyer#creative", # Resource type.
+          "servingRestrictions": [ # The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction). Read-only. This field should not be set in requests.
+            {
+              "contexts": [ # All known contexts/restrictions.
+                {
+                  "platform": [ # Only set when contextType=PLATFORM. Represents the platforms this restriction applies to.
+                    "A String",
+                  ],
+                  "contextType": "A String", # The type of context (e.g., location, platform, auction type, SSL-ness).
+                  "auctionType": [ # Only set when contextType=AUCTION_TYPE. Represents the auction types this restriction applies to.
+                    "A String",
+                  ],
+                  "geoCriteriaId": [ # Only set when contextType=LOCATION. Represents the geo criterias this restriction applies to.
+                    42,
+                  ],
+                },
+              ],
+              "disapprovalReasons": [ # The reasons for disapproval within this restriction, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue.
+                {
+                  "reason": "A String", # The categorized reason for disapproval.
+                  "details": [ # Additional details about the reason for disapproval.
+                    "A String",
+                  ],
+                },
+              ],
+              "reason": "A String", # Why the creative is ineligible to serve in this context (e.g., it has been explicitly disapproved or is pending review).
+            },
+          ],
+          "restrictedCategories": [ # All restricted categories for the ads that may be shown from this snippet.
+            42,
+          ],
+          "corrections": [ # Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.
+            {
+              "reason": "A String", # The type of correction that was applied to the creative.
+              "details": [ # Additional details about the correction.
+                "A String",
+              ],
+            },
+          ],
+          "filteringReasons": { # The filtering reasons for the creative. Read-only. This field should not be set in requests.
+            "date": "A String", # The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST.
+            "reasons": [ # The filtering reasons.
+              {
+                "filteringCount": "A String", # The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.
+                "filteringStatus": 42, # The filtering status code. Please refer to the creative-status-codes.txt file for different statuses.
+              },
+            ],
+          },
+        },
+    ],
+    "kind": "adexchangebuyer#creativesList", # Resource type.
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/adexchangebuyer_v1_4.deals.html b/docs/dyn/adexchangebuyer_v1_4.deals.html new file mode 100644 index 00000000000..afb07e59847 --- /dev/null +++ b/docs/dyn/adexchangebuyer_v1_4.deals.html @@ -0,0 +1,423 @@ + + + +

Ad Exchange Buyer API . deals

+

Instance Methods

+

+ get(dealId)

+

Gets the requested deal.

+

Method Details

+
+ get(dealId) +
Gets the requested deal.
+
+Args:
+  dealId: string, A parameter (required)
+
+Returns:
+  An object of the form:
+
+    {
+    "status": "A String", # The status of this negotiation.
+    "buyerEmailContacts": [ # The buyer party's contact email.
+      "A String",
+    ],
+    "labelNames": [ # A list of label names applicable to this negotiation.
+      "A String",
+    ],
+    "billedBuyer": { # The billed buyer; Specified by a buyer buying through an intermediary.
+      "buyer": {
+        "enabledForPreferredDeals": True or False,
+        "displayName": "A String",
+        "customerId": 42,
+        "enabledForInterestTargetingDeals": True or False,
+        "sponsorAccountId": 42,
+        "id": 42,
+        "accountId": 42,
+      },
+      "webProperty": {
+        "enabledForPreferredDeals": True or False,
+        "name": "A String",
+        "syndicationProduct": "A String",
+        "allowInterestTargetedAds": True or False,
+        "siteUrls": [
+          "A String",
+        ],
+        "propertyCode": "A String",
+        "id": 42,
+      },
+      "customerId": 42,
+      "name": "A String",
+      "buyerSellerRole": "A String",
+    },
+    "kind": "adexchangebuyer#negotiation",
+    "offerId": "A String", # The ID of this negotiation's original offer.
+    "negotiationRounds": [ # The series of negotiation rounds for this negotiation.
+      {
+        "kind": "adexchangebuyer#negotiationRound",
+        "terms": { # The detailed terms proposed in this negotiation round.
+          "finalizeAutomatically": True or False, # If true, the offer will finalize automatically when accepted.
+          "inventorySegmentTargeting": { # The inventory segment targeting for the offer.
+            "positiveIcmInterests": [
+              "A String",
+            ],
+            "positiveInventorySlots": [
+              "A String",
+            ],
+            "negativeSiteUrls": [
+              "A String",
+            ],
+            "positiveIcmBrands": [
+              "A String",
+            ],
+            "negativeXfpPlacements": [
+              "A String",
+            ],
+            "positiveVideoAdPositionSegments": [
+              "A String",
+            ],
+            "negativeIcmInterests": [
+              "A String",
+            ],
+            "negativeAudienceSegments": [
+              "A String",
+            ],
+            "positiveOperatingSystems": [
+              "A String",
+            ],
+            "negativeOperatingSystems": [
+              "A String",
+            ],
+            "negativeIcmBrands": [
+              "A String",
+            ],
+            "positiveLocations": [
+              "A String",
+            ],
+            "negativeMobileApps": [
+              "A String",
+            ],
+            "positiveDeviceCategories": [
+              "A String",
+            ],
+            "negativeAdSizes": [
+              {
+                "width": 42,
+                "height": 42,
+              },
+            ],
+            "negativeInventorySlots": [
+              "A String",
+            ],
+            "negativeVideoAdPositionSegments": [
+              "A String",
+            ],
+            "negativeVideoDurationSegments": [
+              "A String",
+            ],
+            "positiveSizes": [
+              "A String",
+            ],
+            "positiveXfpAdSlots": [
+              "A String",
+            ],
+            "positiveKeyValues": [
+              {
+                "keyName": "A String",
+                "value": "A String",
+              },
+            ],
+            "positiveSiteUrls": [
+              "A String",
+            ],
+            "positiveMobileApps": [
+              "A String",
+            ],
+            "negativeKeyValues": [
+              {
+                "keyName": "A String",
+                "value": "A String",
+              },
+            ],
+            "negativeSizes": [
+              "A String",
+            ],
+            "positiveOperatingSystemVersions": [
+              "A String",
+            ],
+            "negativeLocations": [
+              "A String",
+            ],
+            "positiveAdSizes": [
+              {
+                "width": 42,
+                "height": 42,
+              },
+            ],
+            "negativeOperatingSystemVersions": [
+              "A String",
+            ],
+            "positiveXfpPlacements": [
+              "A String",
+            ],
+            "negativeXfpAdSlots": [
+              "A String",
+            ],
+            "positiveVideoDurationSegments": [
+              "A String",
+            ],
+            "positiveAudienceSegments": [
+              "A String",
+            ],
+            "negativeDeviceCategories": [
+              "A String",
+            ],
+            "positiveAdTypeSegments": [
+              "A String",
+            ],
+            "negativeAdTypeSegments": [
+              "A String",
+            ],
+          },
+          "endDate": { # The end date for the offer.
+            "timeZoneId": "A String",
+            "hour": 42,
+            "month": 42,
+            "second": 42,
+            "year": 42,
+            "day": 42,
+            "minute": 42,
+          },
+          "termsAttributes": [ # A list of terms attributes.
+            "A String",
+          ],
+          "startDate": { # The start date for the offer.
+            "timeZoneId": "A String",
+            "hour": 42,
+            "month": 42,
+            "second": 42,
+            "year": 42,
+            "day": 42,
+            "minute": 42,
+          },
+          "buyerBillingType": "A String", # The buyer billing type.
+          "estimatedImpressionsPerDay": "A String", # The estimated daily impressions for the offer.
+          "monetizerType": "A String", # The monetizer type.
+          "targetByDealId": True or False, # Whether to target by deal id.
+          "adSlots": [ # The particular ad slots targeted by the offer.
+            {
+              "name": "A String",
+              "description": "A String",
+              "channelId": 42,
+              "channelCode": "A String",
+              "webPropertyId": 42,
+              "size": "A String",
+            },
+          ],
+          "advertisers": [ # A list of advertisers for this offer.
+            {
+              "brands": [
+                {
+                  "advertiserId": "A String",
+                  "id": "A String",
+                  "name": "A String",
+                },
+              ],
+              "status": "A String",
+              "id": "A String",
+              "name": "A String",
+            },
+          ],
+          "minimumSpendMicros": "A String", # The minimum spend for the offer.
+          "targetingAllAdSlots": True or False, # If true, the offer targets all ad slots.
+          "creativeReviewPolicy": "A String", # Whether to use publisher review policy or AdX review policy.
+          "audienceSegmentDescription": "A String", # A description of the audience segment for the offer.
+          "dealPremium": { # The premium terms.
+            "micros": "A String",
+            "currencyCode": "A String",
+          },
+          "creativeBlockingLevel": "A String", # Whether to use or ignore publisher blocking rules.
+          "audienceSegment": { # The audience segment for the offer.
+            "numCookies": "A String",
+            "description": "A String",
+            "name": "A String",
+            "id": "A String",
+          },
+          "description": "A String", # A description for these terms.
+          "billingTerms": "A String", # The billing terms.
+          "semiTransparent": True or False, # Whether this offer is semi-transparent.
+          "minimumTrueLooks": "A String", # The minimum true looks for the offer.
+          "cpm": { # The cpm terms.
+            "micros": "A String",
+            "currencyCode": "A String",
+          },
+          "isReservation": True or False, # Whether the offer is a reservation.
+          "descriptiveName": "A String", # A descriptive name for these terms.
+          "urls": [ # The urls applicable to the offer.
+            "A String",
+          ],
+          "estimatedSpend": { # The estimated spend for the offer.
+            "micros": "A String",
+            "currencyCode": "A String",
+          },
+        },
+        "negotiationId": "A String", # The ID of the negotiation to which this negotiation round applies.
+        "roundNumber": "A String", # The number of this negotiation round, in sequence.
+        "notes": "A String", # Notes regarding this negotiation round.
+        "originatorRole": "A String", # The role, either buyer or seller, initiating this negotiation round.
+        "dbmPartnerId": "A String", # Stores DBM partner ID for use by DBM
+        "editHistory": { # The edit history of this negotiation round.
+          "createdTimeStamp": "A String",
+          "createdByLoginName": "A String",
+          "lastUpdatedByLoginName": "A String",
+          "lastUpdateTimeStamp": "A String",
+        },
+        "action": "A String", # The action performed by this negotiation round.
+      },
+    ],
+    "negotiationId": "A String", # The unique ID of this negotiation.
+    "negotiationState": "A String", # The state of this negotiation.
+    "buyer": { # Details of the buyer party in this negotiation.
+      "buyer": {
+        "enabledForPreferredDeals": True or False,
+        "displayName": "A String",
+        "customerId": 42,
+        "enabledForInterestTargetingDeals": True or False,
+        "sponsorAccountId": 42,
+        "id": 42,
+        "accountId": 42,
+      },
+      "webProperty": {
+        "enabledForPreferredDeals": True or False,
+        "name": "A String",
+        "syndicationProduct": "A String",
+        "allowInterestTargetedAds": True or False,
+        "siteUrls": [
+          "A String",
+        ],
+        "propertyCode": "A String",
+        "id": 42,
+      },
+      "customerId": 42,
+      "name": "A String",
+      "buyerSellerRole": "A String",
+    },
+    "stats": { # The stats for this negotiation.
+      "revenue": {
+        "micros": "A String",
+        "currencyCode": "A String",
+      },
+      "bids": "A String",
+      "impressions": "A String",
+      "requests": "A String",
+      "goodBids": "A String",
+      "spend": {
+        "micros": "A String",
+        "currencyCode": "A String",
+      },
+    },
+    "externalDealId": "A String", # For finalized negotiations, the ID of the finalized deal.
+    "seller": { # Details of the seller party in this negotiation.
+      "buyer": {
+        "enabledForPreferredDeals": True or False,
+        "displayName": "A String",
+        "customerId": 42,
+        "enabledForInterestTargetingDeals": True or False,
+        "sponsorAccountId": 42,
+        "id": 42,
+        "accountId": 42,
+      },
+      "webProperty": {
+        "enabledForPreferredDeals": True or False,
+        "name": "A String",
+        "syndicationProduct": "A String",
+        "allowInterestTargetedAds": True or False,
+        "siteUrls": [
+          "A String",
+        ],
+        "propertyCode": "A String",
+        "id": 42,
+      },
+      "customerId": 42,
+      "name": "A String",
+      "buyerSellerRole": "A String",
+    },
+    "dealType": "A String", # The type of this deal.
+    "sellerEmailContacts": [ # The seller party's contact email.
+      "A String",
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/adexchangebuyer_v1_4.html b/docs/dyn/adexchangebuyer_v1_4.html new file mode 100644 index 00000000000..0d2274be604 --- /dev/null +++ b/docs/dyn/adexchangebuyer_v1_4.html @@ -0,0 +1,173 @@ + + + +

Ad Exchange Buyer API

+

Instance Methods

+

+ accounts() +

+

Returns the accounts Resource.

+ +

+ billingInfo() +

+

Returns the billingInfo Resource.

+ +

+ budget() +

+

Returns the budget Resource.

+ +

+ clientaccess() +

+

Returns the clientaccess Resource.

+ +

+ creatives() +

+

Returns the creatives Resource.

+ +

+ deals() +

+

Returns the deals Resource.

+ +

+ marketplacedeals() +

+

Returns the marketplacedeals Resource.

+ +

+ marketplacenotes() +

+

Returns the marketplacenotes Resource.

+ +

+ marketplaceoffers() +

+

Returns the marketplaceoffers Resource.

+ +

+ marketplaceorders() +

+

Returns the marketplaceorders Resource.

+ +

+ negotiationrounds() +

+

Returns the negotiationrounds Resource.

+ +

+ negotiations() +

+

Returns the negotiations Resource.

+ +

+ offers() +

+

Returns the offers Resource.

+ +

+ performanceReport() +

+

Returns the performanceReport Resource.

+ +

+ pretargetingConfig() +

+

Returns the pretargetingConfig Resource.

+ +

+ new_batch_http_request()

+

Create a BatchHttpRequest object based on the discovery document.

+

Method Details

+
+ new_batch_http_request() +
Create a BatchHttpRequest object based on the discovery document.
+
+        Args:
+          callback: callable, A callback to be called for each response, of the
+            form callback(id, response, exception). The first parameter is the
+            request id, and the second is the deserialized response object. The
+            third is an apiclient.errors.HttpError exception object if an HTTP
+            error occurred while processing the request, or None if no error
+            occurred.
+
+        Returns:
+          A BatchHttpRequest object based on the discovery document.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/adexchangebuyer_v1_4.marketplacedeals.html b/docs/dyn/adexchangebuyer_v1_4.marketplacedeals.html new file mode 100644 index 00000000000..f2b025e4597 --- /dev/null +++ b/docs/dyn/adexchangebuyer_v1_4.marketplacedeals.html @@ -0,0 +1,1134 @@ + + + +

Ad Exchange Buyer API . marketplacedeals

+

Instance Methods

+

+ delete(orderId, body)

+

Delete the specified deals from the order

+

+ insert(orderId, body)

+

Add new deals for the specified order

+

+ list(orderId)

+

List all the deals for a given order

+

+ update(orderId, body)

+

Replaces all the deals in the order with the passed in deals

+

Method Details

+
+ delete(orderId, body) +
Delete the specified deals from the order
+
+Args:
+  orderId: string, The orderId to delete deals from. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "orderRevisionNumber": "A String", # The last known order revision number.
+    "updateAction": "A String",
+    "dealIds": [ # List of deals to delete for a given order
+      "A String",
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    {
+    "deals": [ # List of deals deleted (in the same order as passed in the request)
+      { # An order can contain multiple deals. A deal contains the terms and targeting information that is used for serving.
+        "deliveryControl": { # The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher. This message is assigned an id of 100 since some day we would want to model this as a protobuf extension.
+          "frequencyCaps": [
+            {
+              "numTimeUnits": 42,
+              "timeUnitType": "A String",
+              "maxImpressions": 42,
+            },
+          ],
+          "deliveryRateType": "A String",
+        },
+        "orderId": "A String",
+        "kind": "adexchangebuyer#marketplaceDeal", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceDeal".
+        "terms": { # The negotiable terms of the deal. (updatable)
+          "guaranteedFixedPriceTerms": { # The terms for guaranteed fixed price deals.
+            "guaranteedImpressions": "A String", # Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.
+            "fixedPrices": [ # Fixed price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+            "guaranteedLooks": "A String", # Count of guaranteed looks. Required for deal, optional for offer.
+          },
+          "description": "A String", # Description for the proposed terms of the deal.
+          "nonGuaranteedAuctionTerms": { # The terms for non-guaranteed auction deals.
+            "reservePricePerBuyers": [ # Reserve price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+            "privateAuctionId": "A String", # Id of the corresponding private auction.
+          },
+          "nonGuaranteedFixedPriceTerms": { # The terms for non-guaranteed fixed price deals.
+            "fixedPrices": [ # Fixed price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+          },
+        },
+        "name": "A String", # The name of the deal. (updatable)
+        "buyerPrivateData": { # Buyer private data (hidden from seller).
+          "referenceId": "A String",
+          "referencePayload": "A String",
+        },
+        "syndicationProduct": "A String", # The syndication product associated with the deal. (readonly, except on create)
+        "flightEndTimeMs": "A String", # Proposed flight end time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)
+        "sharedTargetings": [ # The shared targeting visible to buyers and sellers. (updatable)
+          {
+            "inclusions": [ # The list of value to include as part of the targeting.
+              {
+                "longValue": "A String", # The long value to exclude/include.
+                "dayPartTargetingValue": { # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING.
+                  "dayParts": [
+                    {
+                      "dayOfWeek": "A String",
+                      "endHour": 42,
+                      "startMinute": 42,
+                      "endMinute": 42,
+                      "startHour": 42,
+                    },
+                  ],
+                  "timeZoneType": "A String",
+                },
+                "creativeSizeValue": { # The creative size value to exclude/include.
+                  "creativeSizeType": "A String", # The Creative size type.
+                  "companionSizes": [ # For video size type, the list of companion sizes.
+                    {
+                      "width": 42, # The width of the creative.
+                      "height": 42, # The height of the creative.
+                    },
+                  ],
+                  "size": { # For regular creative size type, specifies the size of the creative.
+                    "width": 42, # The width of the creative.
+                    "height": 42, # The height of the creative.
+                  },
+                },
+                "stringValue": "A String", # The string value to exclude/include.
+              },
+            ],
+            "exclusions": [ # The list of values to exclude from targeting.
+              {
+                "longValue": "A String", # The long value to exclude/include.
+                "dayPartTargetingValue": { # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING.
+                  "dayParts": [
+                    {
+                      "dayOfWeek": "A String",
+                      "endHour": 42,
+                      "startMinute": 42,
+                      "endMinute": 42,
+                      "startHour": 42,
+                    },
+                  ],
+                  "timeZoneType": "A String",
+                },
+                "creativeSizeValue": { # The creative size value to exclude/include.
+                  "creativeSizeType": "A String", # The Creative size type.
+                  "companionSizes": [ # For video size type, the list of companion sizes.
+                    {
+                      "width": 42, # The width of the creative.
+                      "height": 42, # The height of the creative.
+                    },
+                  ],
+                  "size": { # For regular creative size type, specifies the size of the creative.
+                    "width": 42, # The width of the creative.
+                    "height": 42, # The height of the creative.
+                  },
+                },
+                "stringValue": "A String", # The string value to exclude/include.
+              },
+            ],
+            "key": "A String", # The key representing the shared targeting criterion.
+          },
+        ],
+        "offerId": "A String", # The offer-id from which this deal was created. (readonly, except on create)
+        "dealId": "A String", # A unique deal=id for the deal (readonly).
+        "sellerContacts": [ # Optional Seller contact information for the deal (buyer-readonly)
+          {
+            "email": "A String", # Email address of the contact.
+            "name": "A String", # The name of the contact.
+          },
+        ],
+        "webPropertyCode": "A String",
+        "flightStartTimeMs": "A String", # Proposed flight start time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)
+        "offerRevisionNumber": "A String", # The revision number of the offer that the deal was created from (readonly, except on create)
+        "creationTimeMs": "A String", # The time (ms since epoch) of the deal creation. (readonly)
+        "lastUpdateTimeMs": "A String", # The time (ms since epoch) when the deal was last updated. (readonly)
+        "externalDealId": "A String", # The external deal id assigned to this deal once the deal is finalized. This is the deal-id that shows up in serving/reporting etc. (readonly)
+        "inventoryDescription": "A String", # Description for the deal terms. (updatable)
+      },
+    ],
+    "orderRevisionNumber": "A String", # The updated revision number for the order.
+  }
+
+ +
+ insert(orderId, body) +
Add new deals for the specified order
+
+Args:
+  orderId: string, OrderId for which deals need to be added. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "deals": [ # The list of deals to add
+      { # An order can contain multiple deals. A deal contains the terms and targeting information that is used for serving.
+        "deliveryControl": { # The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher. This message is assigned an id of 100 since some day we would want to model this as a protobuf extension.
+          "frequencyCaps": [
+            {
+              "numTimeUnits": 42,
+              "timeUnitType": "A String",
+              "maxImpressions": 42,
+            },
+          ],
+          "deliveryRateType": "A String",
+        },
+        "orderId": "A String",
+        "kind": "adexchangebuyer#marketplaceDeal", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceDeal".
+        "terms": { # The negotiable terms of the deal. (updatable)
+          "guaranteedFixedPriceTerms": { # The terms for guaranteed fixed price deals.
+            "guaranteedImpressions": "A String", # Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.
+            "fixedPrices": [ # Fixed price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+            "guaranteedLooks": "A String", # Count of guaranteed looks. Required for deal, optional for offer.
+          },
+          "description": "A String", # Description for the proposed terms of the deal.
+          "nonGuaranteedAuctionTerms": { # The terms for non-guaranteed auction deals.
+            "reservePricePerBuyers": [ # Reserve price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+            "privateAuctionId": "A String", # Id of the corresponding private auction.
+          },
+          "nonGuaranteedFixedPriceTerms": { # The terms for non-guaranteed fixed price deals.
+            "fixedPrices": [ # Fixed price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+          },
+        },
+        "name": "A String", # The name of the deal. (updatable)
+        "buyerPrivateData": { # Buyer private data (hidden from seller).
+          "referenceId": "A String",
+          "referencePayload": "A String",
+        },
+        "syndicationProduct": "A String", # The syndication product associated with the deal. (readonly, except on create)
+        "flightEndTimeMs": "A String", # Proposed flight end time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)
+        "sharedTargetings": [ # The shared targeting visible to buyers and sellers. (updatable)
+          {
+            "inclusions": [ # The list of value to include as part of the targeting.
+              {
+                "longValue": "A String", # The long value to exclude/include.
+                "dayPartTargetingValue": { # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING.
+                  "dayParts": [
+                    {
+                      "dayOfWeek": "A String",
+                      "endHour": 42,
+                      "startMinute": 42,
+                      "endMinute": 42,
+                      "startHour": 42,
+                    },
+                  ],
+                  "timeZoneType": "A String",
+                },
+                "creativeSizeValue": { # The creative size value to exclude/include.
+                  "creativeSizeType": "A String", # The Creative size type.
+                  "companionSizes": [ # For video size type, the list of companion sizes.
+                    {
+                      "width": 42, # The width of the creative.
+                      "height": 42, # The height of the creative.
+                    },
+                  ],
+                  "size": { # For regular creative size type, specifies the size of the creative.
+                    "width": 42, # The width of the creative.
+                    "height": 42, # The height of the creative.
+                  },
+                },
+                "stringValue": "A String", # The string value to exclude/include.
+              },
+            ],
+            "exclusions": [ # The list of values to exclude from targeting.
+              {
+                "longValue": "A String", # The long value to exclude/include.
+                "dayPartTargetingValue": { # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING.
+                  "dayParts": [
+                    {
+                      "dayOfWeek": "A String",
+                      "endHour": 42,
+                      "startMinute": 42,
+                      "endMinute": 42,
+                      "startHour": 42,
+                    },
+                  ],
+                  "timeZoneType": "A String",
+                },
+                "creativeSizeValue": { # The creative size value to exclude/include.
+                  "creativeSizeType": "A String", # The Creative size type.
+                  "companionSizes": [ # For video size type, the list of companion sizes.
+                    {
+                      "width": 42, # The width of the creative.
+                      "height": 42, # The height of the creative.
+                    },
+                  ],
+                  "size": { # For regular creative size type, specifies the size of the creative.
+                    "width": 42, # The width of the creative.
+                    "height": 42, # The height of the creative.
+                  },
+                },
+                "stringValue": "A String", # The string value to exclude/include.
+              },
+            ],
+            "key": "A String", # The key representing the shared targeting criterion.
+          },
+        ],
+        "offerId": "A String", # The offer-id from which this deal was created. (readonly, except on create)
+        "dealId": "A String", # A unique deal=id for the deal (readonly).
+        "sellerContacts": [ # Optional Seller contact information for the deal (buyer-readonly)
+          {
+            "email": "A String", # Email address of the contact.
+            "name": "A String", # The name of the contact.
+          },
+        ],
+        "webPropertyCode": "A String",
+        "flightStartTimeMs": "A String", # Proposed flight start time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)
+        "offerRevisionNumber": "A String", # The revision number of the offer that the deal was created from (readonly, except on create)
+        "creationTimeMs": "A String", # The time (ms since epoch) of the deal creation. (readonly)
+        "lastUpdateTimeMs": "A String", # The time (ms since epoch) when the deal was last updated. (readonly)
+        "externalDealId": "A String", # The external deal id assigned to this deal once the deal is finalized. This is the deal-id that shows up in serving/reporting etc. (readonly)
+        "inventoryDescription": "A String", # Description for the deal terms. (updatable)
+      },
+    ],
+    "orderRevisionNumber": "A String", # The last known order revision number.
+    "updateAction": "A String", # Indicates an optional action to take on the order
+  }
+
+
+Returns:
+  An object of the form:
+
+    {
+    "deals": [ # List of deals added (in the same order as passed in the request)
+      { # An order can contain multiple deals. A deal contains the terms and targeting information that is used for serving.
+        "deliveryControl": { # The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher. This message is assigned an id of 100 since some day we would want to model this as a protobuf extension.
+          "frequencyCaps": [
+            {
+              "numTimeUnits": 42,
+              "timeUnitType": "A String",
+              "maxImpressions": 42,
+            },
+          ],
+          "deliveryRateType": "A String",
+        },
+        "orderId": "A String",
+        "kind": "adexchangebuyer#marketplaceDeal", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceDeal".
+        "terms": { # The negotiable terms of the deal. (updatable)
+          "guaranteedFixedPriceTerms": { # The terms for guaranteed fixed price deals.
+            "guaranteedImpressions": "A String", # Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.
+            "fixedPrices": [ # Fixed price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+            "guaranteedLooks": "A String", # Count of guaranteed looks. Required for deal, optional for offer.
+          },
+          "description": "A String", # Description for the proposed terms of the deal.
+          "nonGuaranteedAuctionTerms": { # The terms for non-guaranteed auction deals.
+            "reservePricePerBuyers": [ # Reserve price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+            "privateAuctionId": "A String", # Id of the corresponding private auction.
+          },
+          "nonGuaranteedFixedPriceTerms": { # The terms for non-guaranteed fixed price deals.
+            "fixedPrices": [ # Fixed price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+          },
+        },
+        "name": "A String", # The name of the deal. (updatable)
+        "buyerPrivateData": { # Buyer private data (hidden from seller).
+          "referenceId": "A String",
+          "referencePayload": "A String",
+        },
+        "syndicationProduct": "A String", # The syndication product associated with the deal. (readonly, except on create)
+        "flightEndTimeMs": "A String", # Proposed flight end time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)
+        "sharedTargetings": [ # The shared targeting visible to buyers and sellers. (updatable)
+          {
+            "inclusions": [ # The list of value to include as part of the targeting.
+              {
+                "longValue": "A String", # The long value to exclude/include.
+                "dayPartTargetingValue": { # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING.
+                  "dayParts": [
+                    {
+                      "dayOfWeek": "A String",
+                      "endHour": 42,
+                      "startMinute": 42,
+                      "endMinute": 42,
+                      "startHour": 42,
+                    },
+                  ],
+                  "timeZoneType": "A String",
+                },
+                "creativeSizeValue": { # The creative size value to exclude/include.
+                  "creativeSizeType": "A String", # The Creative size type.
+                  "companionSizes": [ # For video size type, the list of companion sizes.
+                    {
+                      "width": 42, # The width of the creative.
+                      "height": 42, # The height of the creative.
+                    },
+                  ],
+                  "size": { # For regular creative size type, specifies the size of the creative.
+                    "width": 42, # The width of the creative.
+                    "height": 42, # The height of the creative.
+                  },
+                },
+                "stringValue": "A String", # The string value to exclude/include.
+              },
+            ],
+            "exclusions": [ # The list of values to exclude from targeting.
+              {
+                "longValue": "A String", # The long value to exclude/include.
+                "dayPartTargetingValue": { # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING.
+                  "dayParts": [
+                    {
+                      "dayOfWeek": "A String",
+                      "endHour": 42,
+                      "startMinute": 42,
+                      "endMinute": 42,
+                      "startHour": 42,
+                    },
+                  ],
+                  "timeZoneType": "A String",
+                },
+                "creativeSizeValue": { # The creative size value to exclude/include.
+                  "creativeSizeType": "A String", # The Creative size type.
+                  "companionSizes": [ # For video size type, the list of companion sizes.
+                    {
+                      "width": 42, # The width of the creative.
+                      "height": 42, # The height of the creative.
+                    },
+                  ],
+                  "size": { # For regular creative size type, specifies the size of the creative.
+                    "width": 42, # The width of the creative.
+                    "height": 42, # The height of the creative.
+                  },
+                },
+                "stringValue": "A String", # The string value to exclude/include.
+              },
+            ],
+            "key": "A String", # The key representing the shared targeting criterion.
+          },
+        ],
+        "offerId": "A String", # The offer-id from which this deal was created. (readonly, except on create)
+        "dealId": "A String", # A unique deal=id for the deal (readonly).
+        "sellerContacts": [ # Optional Seller contact information for the deal (buyer-readonly)
+          {
+            "email": "A String", # Email address of the contact.
+            "name": "A String", # The name of the contact.
+          },
+        ],
+        "webPropertyCode": "A String",
+        "flightStartTimeMs": "A String", # Proposed flight start time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)
+        "offerRevisionNumber": "A String", # The revision number of the offer that the deal was created from (readonly, except on create)
+        "creationTimeMs": "A String", # The time (ms since epoch) of the deal creation. (readonly)
+        "lastUpdateTimeMs": "A String", # The time (ms since epoch) when the deal was last updated. (readonly)
+        "externalDealId": "A String", # The external deal id assigned to this deal once the deal is finalized. This is the deal-id that shows up in serving/reporting etc. (readonly)
+        "inventoryDescription": "A String", # Description for the deal terms. (updatable)
+      },
+    ],
+    "orderRevisionNumber": "A String", # The updated revision number for the order.
+  }
+
+ +
+ list(orderId) +
List all the deals for a given order
+
+Args:
+  orderId: string, The orderId to get deals for. (required)
+
+Returns:
+  An object of the form:
+
+    {
+    "deals": [ # List of deals for the order
+      { # An order can contain multiple deals. A deal contains the terms and targeting information that is used for serving.
+        "deliveryControl": { # The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher. This message is assigned an id of 100 since some day we would want to model this as a protobuf extension.
+          "frequencyCaps": [
+            {
+              "numTimeUnits": 42,
+              "timeUnitType": "A String",
+              "maxImpressions": 42,
+            },
+          ],
+          "deliveryRateType": "A String",
+        },
+        "orderId": "A String",
+        "kind": "adexchangebuyer#marketplaceDeal", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceDeal".
+        "terms": { # The negotiable terms of the deal. (updatable)
+          "guaranteedFixedPriceTerms": { # The terms for guaranteed fixed price deals.
+            "guaranteedImpressions": "A String", # Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.
+            "fixedPrices": [ # Fixed price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+            "guaranteedLooks": "A String", # Count of guaranteed looks. Required for deal, optional for offer.
+          },
+          "description": "A String", # Description for the proposed terms of the deal.
+          "nonGuaranteedAuctionTerms": { # The terms for non-guaranteed auction deals.
+            "reservePricePerBuyers": [ # Reserve price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+            "privateAuctionId": "A String", # Id of the corresponding private auction.
+          },
+          "nonGuaranteedFixedPriceTerms": { # The terms for non-guaranteed fixed price deals.
+            "fixedPrices": [ # Fixed price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+          },
+        },
+        "name": "A String", # The name of the deal. (updatable)
+        "buyerPrivateData": { # Buyer private data (hidden from seller).
+          "referenceId": "A String",
+          "referencePayload": "A String",
+        },
+        "syndicationProduct": "A String", # The syndication product associated with the deal. (readonly, except on create)
+        "flightEndTimeMs": "A String", # Proposed flight end time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)
+        "sharedTargetings": [ # The shared targeting visible to buyers and sellers. (updatable)
+          {
+            "inclusions": [ # The list of value to include as part of the targeting.
+              {
+                "longValue": "A String", # The long value to exclude/include.
+                "dayPartTargetingValue": { # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING.
+                  "dayParts": [
+                    {
+                      "dayOfWeek": "A String",
+                      "endHour": 42,
+                      "startMinute": 42,
+                      "endMinute": 42,
+                      "startHour": 42,
+                    },
+                  ],
+                  "timeZoneType": "A String",
+                },
+                "creativeSizeValue": { # The creative size value to exclude/include.
+                  "creativeSizeType": "A String", # The Creative size type.
+                  "companionSizes": [ # For video size type, the list of companion sizes.
+                    {
+                      "width": 42, # The width of the creative.
+                      "height": 42, # The height of the creative.
+                    },
+                  ],
+                  "size": { # For regular creative size type, specifies the size of the creative.
+                    "width": 42, # The width of the creative.
+                    "height": 42, # The height of the creative.
+                  },
+                },
+                "stringValue": "A String", # The string value to exclude/include.
+              },
+            ],
+            "exclusions": [ # The list of values to exclude from targeting.
+              {
+                "longValue": "A String", # The long value to exclude/include.
+                "dayPartTargetingValue": { # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING.
+                  "dayParts": [
+                    {
+                      "dayOfWeek": "A String",
+                      "endHour": 42,
+                      "startMinute": 42,
+                      "endMinute": 42,
+                      "startHour": 42,
+                    },
+                  ],
+                  "timeZoneType": "A String",
+                },
+                "creativeSizeValue": { # The creative size value to exclude/include.
+                  "creativeSizeType": "A String", # The Creative size type.
+                  "companionSizes": [ # For video size type, the list of companion sizes.
+                    {
+                      "width": 42, # The width of the creative.
+                      "height": 42, # The height of the creative.
+                    },
+                  ],
+                  "size": { # For regular creative size type, specifies the size of the creative.
+                    "width": 42, # The width of the creative.
+                    "height": 42, # The height of the creative.
+                  },
+                },
+                "stringValue": "A String", # The string value to exclude/include.
+              },
+            ],
+            "key": "A String", # The key representing the shared targeting criterion.
+          },
+        ],
+        "offerId": "A String", # The offer-id from which this deal was created. (readonly, except on create)
+        "dealId": "A String", # A unique deal=id for the deal (readonly).
+        "sellerContacts": [ # Optional Seller contact information for the deal (buyer-readonly)
+          {
+            "email": "A String", # Email address of the contact.
+            "name": "A String", # The name of the contact.
+          },
+        ],
+        "webPropertyCode": "A String",
+        "flightStartTimeMs": "A String", # Proposed flight start time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)
+        "offerRevisionNumber": "A String", # The revision number of the offer that the deal was created from (readonly, except on create)
+        "creationTimeMs": "A String", # The time (ms since epoch) of the deal creation. (readonly)
+        "lastUpdateTimeMs": "A String", # The time (ms since epoch) when the deal was last updated. (readonly)
+        "externalDealId": "A String", # The external deal id assigned to this deal once the deal is finalized. This is the deal-id that shows up in serving/reporting etc. (readonly)
+        "inventoryDescription": "A String", # Description for the deal terms. (updatable)
+      },
+    ],
+  }
+
+ +
+ update(orderId, body) +
Replaces all the deals in the order with the passed in deals
+
+Args:
+  orderId: string, The orderId to edit deals on. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "deals": [ # List of deals to edit. Service may perform 3 different operations based on comparison of deals in this list vs deals already persisted in database: 1. Add new deal to order If a deal in this list does not exist in the order, the service will create a new deal and add it to the order. Validation will follow AddOrderDealsRequest. 2. Update existing deal in the order If a deal in this list already exist in the order, the service will update that existing deal to this new deal in the request. Validation will follow UpdateOrderDealsRequest. 3. Delete deals from the order (just need the id) If a existing deal in the order is not present in this list, the service will delete that deal from the order. Validation will follow DeleteOrderDealsRequest.
+      { # An order can contain multiple deals. A deal contains the terms and targeting information that is used for serving.
+        "deliveryControl": { # The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher. This message is assigned an id of 100 since some day we would want to model this as a protobuf extension.
+          "frequencyCaps": [
+            {
+              "numTimeUnits": 42,
+              "timeUnitType": "A String",
+              "maxImpressions": 42,
+            },
+          ],
+          "deliveryRateType": "A String",
+        },
+        "orderId": "A String",
+        "kind": "adexchangebuyer#marketplaceDeal", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceDeal".
+        "terms": { # The negotiable terms of the deal. (updatable)
+          "guaranteedFixedPriceTerms": { # The terms for guaranteed fixed price deals.
+            "guaranteedImpressions": "A String", # Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.
+            "fixedPrices": [ # Fixed price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+            "guaranteedLooks": "A String", # Count of guaranteed looks. Required for deal, optional for offer.
+          },
+          "description": "A String", # Description for the proposed terms of the deal.
+          "nonGuaranteedAuctionTerms": { # The terms for non-guaranteed auction deals.
+            "reservePricePerBuyers": [ # Reserve price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+            "privateAuctionId": "A String", # Id of the corresponding private auction.
+          },
+          "nonGuaranteedFixedPriceTerms": { # The terms for non-guaranteed fixed price deals.
+            "fixedPrices": [ # Fixed price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+          },
+        },
+        "name": "A String", # The name of the deal. (updatable)
+        "buyerPrivateData": { # Buyer private data (hidden from seller).
+          "referenceId": "A String",
+          "referencePayload": "A String",
+        },
+        "syndicationProduct": "A String", # The syndication product associated with the deal. (readonly, except on create)
+        "flightEndTimeMs": "A String", # Proposed flight end time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)
+        "sharedTargetings": [ # The shared targeting visible to buyers and sellers. (updatable)
+          {
+            "inclusions": [ # The list of value to include as part of the targeting.
+              {
+                "longValue": "A String", # The long value to exclude/include.
+                "dayPartTargetingValue": { # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING.
+                  "dayParts": [
+                    {
+                      "dayOfWeek": "A String",
+                      "endHour": 42,
+                      "startMinute": 42,
+                      "endMinute": 42,
+                      "startHour": 42,
+                    },
+                  ],
+                  "timeZoneType": "A String",
+                },
+                "creativeSizeValue": { # The creative size value to exclude/include.
+                  "creativeSizeType": "A String", # The Creative size type.
+                  "companionSizes": [ # For video size type, the list of companion sizes.
+                    {
+                      "width": 42, # The width of the creative.
+                      "height": 42, # The height of the creative.
+                    },
+                  ],
+                  "size": { # For regular creative size type, specifies the size of the creative.
+                    "width": 42, # The width of the creative.
+                    "height": 42, # The height of the creative.
+                  },
+                },
+                "stringValue": "A String", # The string value to exclude/include.
+              },
+            ],
+            "exclusions": [ # The list of values to exclude from targeting.
+              {
+                "longValue": "A String", # The long value to exclude/include.
+                "dayPartTargetingValue": { # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING.
+                  "dayParts": [
+                    {
+                      "dayOfWeek": "A String",
+                      "endHour": 42,
+                      "startMinute": 42,
+                      "endMinute": 42,
+                      "startHour": 42,
+                    },
+                  ],
+                  "timeZoneType": "A String",
+                },
+                "creativeSizeValue": { # The creative size value to exclude/include.
+                  "creativeSizeType": "A String", # The Creative size type.
+                  "companionSizes": [ # For video size type, the list of companion sizes.
+                    {
+                      "width": 42, # The width of the creative.
+                      "height": 42, # The height of the creative.
+                    },
+                  ],
+                  "size": { # For regular creative size type, specifies the size of the creative.
+                    "width": 42, # The width of the creative.
+                    "height": 42, # The height of the creative.
+                  },
+                },
+                "stringValue": "A String", # The string value to exclude/include.
+              },
+            ],
+            "key": "A String", # The key representing the shared targeting criterion.
+          },
+        ],
+        "offerId": "A String", # The offer-id from which this deal was created. (readonly, except on create)
+        "dealId": "A String", # A unique deal=id for the deal (readonly).
+        "sellerContacts": [ # Optional Seller contact information for the deal (buyer-readonly)
+          {
+            "email": "A String", # Email address of the contact.
+            "name": "A String", # The name of the contact.
+          },
+        ],
+        "webPropertyCode": "A String",
+        "flightStartTimeMs": "A String", # Proposed flight start time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)
+        "offerRevisionNumber": "A String", # The revision number of the offer that the deal was created from (readonly, except on create)
+        "creationTimeMs": "A String", # The time (ms since epoch) of the deal creation. (readonly)
+        "lastUpdateTimeMs": "A String", # The time (ms since epoch) when the deal was last updated. (readonly)
+        "externalDealId": "A String", # The external deal id assigned to this deal once the deal is finalized. This is the deal-id that shows up in serving/reporting etc. (readonly)
+        "inventoryDescription": "A String", # Description for the deal terms. (updatable)
+      },
+    ],
+    "orderRevisionNumber": "A String", # The last known revision number for the order.
+    "order": { # Represents an order in the marketplace. An order is the unit of negotiation between a seller and a buyer and contains deals which are served. Each field in an order can have one of the following setting: # If specified, also updates the order in the batch transaction. This is useful when the order and the deals need to be updated in one transaction.
+        #
+        # (readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.
+      "orderId": "A String", # The unique id of the order. (readonly).
+      "kind": "adexchangebuyer#marketplaceOrder", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceOrder".
+      "seller": { # Reference to the seller on the order. (readonly, except on create)
+        "subAccountId": "A String", # Optional sub-account id for the seller.
+        "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+      },
+      "name": "A String", # The name for the order (updatable)
+      "buyerPrivateData": { # Private data for buyer. (hidden from seller).
+        "referenceId": "A String",
+        "referencePayload": "A String",
+      },
+      "billedBuyer": { # Reference to the buyer that will get billed for this order. (readonly)
+        "accountId": "A String", # Adx account id of the buyer.
+      },
+      "labels": [ # List of labels associated with the order. (readonly)
+        {
+          "createTimeMs": "A String", # The creation time (in ms since epoch) for the label.
+          "deprecatedMarketplaceDealParty": { # Information about the party that created the label.
+            "buyer": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal-party.
+              "accountId": "A String", # Adx account id of the buyer.
+            },
+            "seller": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal party.
+              "subAccountId": "A String", # Optional sub-account id for the seller.
+              "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+            },
+          },
+          "label": "A String", # The label to use.
+          "accountId": "A String", # The accountId of the party that created the label.
+        },
+      ],
+      "originatorRole": "A String", # Indicates whether the buyer/seller created the offer.(readonly)
+      "revisionTimeMs": "A String", # The time (ms since epoch) when the order was last revised (readonly).
+      "sellerContacts": [ # Optional contact information for the seller (buyer-readonly).
+        {
+          "email": "A String", # Email address of the contact.
+          "name": "A String", # The name of the contact.
+        },
+      ],
+      "lastUpdaterRole": "A String",
+      "orderState": "A String", # The current state of the order. (readonly)
+      "hasSellerSignedOff": True or False, # When an order is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the order can be finalized by the seller. (buyer-readonly)
+      "isRenegotiating": True or False, # True if the order is being renegotiated (readonly).
+      "buyer": { # Reference to the buyer on the order. (readonly, except on create)
+        "accountId": "A String", # Adx account id of the buyer.
+      },
+      "hasBuyerSignedOff": True or False, # When an order is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the order can be finalized by the seller. (seller-readonly)
+      "isSetupComplete": True or False, # True, if the buyside inventory setup is complete for this order. (readonly)
+      "revisionNumber": "A String", # The revision number for the order (readonly).
+      "lastUpdaterOrCommentorRole": "A String", # The role of the last user that either updated the order or left a comment. (readonly)
+      "buyerContacts": [ # Optional contact information fort the buyer. (seller-readonly)
+        {
+          "email": "A String", # Email address of the contact.
+          "name": "A String", # The name of the contact.
+        },
+      ],
+    },
+    "updateAction": "A String", # Indicates an optional action to take on the order
+  }
+
+
+Returns:
+  An object of the form:
+
+    {
+    "deals": [ # List of all deals in the order after edit.
+      { # An order can contain multiple deals. A deal contains the terms and targeting information that is used for serving.
+        "deliveryControl": { # The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher. This message is assigned an id of 100 since some day we would want to model this as a protobuf extension.
+          "frequencyCaps": [
+            {
+              "numTimeUnits": 42,
+              "timeUnitType": "A String",
+              "maxImpressions": 42,
+            },
+          ],
+          "deliveryRateType": "A String",
+        },
+        "orderId": "A String",
+        "kind": "adexchangebuyer#marketplaceDeal", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceDeal".
+        "terms": { # The negotiable terms of the deal. (updatable)
+          "guaranteedFixedPriceTerms": { # The terms for guaranteed fixed price deals.
+            "guaranteedImpressions": "A String", # Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.
+            "fixedPrices": [ # Fixed price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+            "guaranteedLooks": "A String", # Count of guaranteed looks. Required for deal, optional for offer.
+          },
+          "description": "A String", # Description for the proposed terms of the deal.
+          "nonGuaranteedAuctionTerms": { # The terms for non-guaranteed auction deals.
+            "reservePricePerBuyers": [ # Reserve price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+            "privateAuctionId": "A String", # Id of the corresponding private auction.
+          },
+          "nonGuaranteedFixedPriceTerms": { # The terms for non-guaranteed fixed price deals.
+            "fixedPrices": [ # Fixed price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+          },
+        },
+        "name": "A String", # The name of the deal. (updatable)
+        "buyerPrivateData": { # Buyer private data (hidden from seller).
+          "referenceId": "A String",
+          "referencePayload": "A String",
+        },
+        "syndicationProduct": "A String", # The syndication product associated with the deal. (readonly, except on create)
+        "flightEndTimeMs": "A String", # Proposed flight end time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)
+        "sharedTargetings": [ # The shared targeting visible to buyers and sellers. (updatable)
+          {
+            "inclusions": [ # The list of value to include as part of the targeting.
+              {
+                "longValue": "A String", # The long value to exclude/include.
+                "dayPartTargetingValue": { # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING.
+                  "dayParts": [
+                    {
+                      "dayOfWeek": "A String",
+                      "endHour": 42,
+                      "startMinute": 42,
+                      "endMinute": 42,
+                      "startHour": 42,
+                    },
+                  ],
+                  "timeZoneType": "A String",
+                },
+                "creativeSizeValue": { # The creative size value to exclude/include.
+                  "creativeSizeType": "A String", # The Creative size type.
+                  "companionSizes": [ # For video size type, the list of companion sizes.
+                    {
+                      "width": 42, # The width of the creative.
+                      "height": 42, # The height of the creative.
+                    },
+                  ],
+                  "size": { # For regular creative size type, specifies the size of the creative.
+                    "width": 42, # The width of the creative.
+                    "height": 42, # The height of the creative.
+                  },
+                },
+                "stringValue": "A String", # The string value to exclude/include.
+              },
+            ],
+            "exclusions": [ # The list of values to exclude from targeting.
+              {
+                "longValue": "A String", # The long value to exclude/include.
+                "dayPartTargetingValue": { # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING.
+                  "dayParts": [
+                    {
+                      "dayOfWeek": "A String",
+                      "endHour": 42,
+                      "startMinute": 42,
+                      "endMinute": 42,
+                      "startHour": 42,
+                    },
+                  ],
+                  "timeZoneType": "A String",
+                },
+                "creativeSizeValue": { # The creative size value to exclude/include.
+                  "creativeSizeType": "A String", # The Creative size type.
+                  "companionSizes": [ # For video size type, the list of companion sizes.
+                    {
+                      "width": 42, # The width of the creative.
+                      "height": 42, # The height of the creative.
+                    },
+                  ],
+                  "size": { # For regular creative size type, specifies the size of the creative.
+                    "width": 42, # The width of the creative.
+                    "height": 42, # The height of the creative.
+                  },
+                },
+                "stringValue": "A String", # The string value to exclude/include.
+              },
+            ],
+            "key": "A String", # The key representing the shared targeting criterion.
+          },
+        ],
+        "offerId": "A String", # The offer-id from which this deal was created. (readonly, except on create)
+        "dealId": "A String", # A unique deal=id for the deal (readonly).
+        "sellerContacts": [ # Optional Seller contact information for the deal (buyer-readonly)
+          {
+            "email": "A String", # Email address of the contact.
+            "name": "A String", # The name of the contact.
+          },
+        ],
+        "webPropertyCode": "A String",
+        "flightStartTimeMs": "A String", # Proposed flight start time of the deal (ms since epoch) This will generally be stored in a granularity of a second. (updatable)
+        "offerRevisionNumber": "A String", # The revision number of the offer that the deal was created from (readonly, except on create)
+        "creationTimeMs": "A String", # The time (ms since epoch) of the deal creation. (readonly)
+        "lastUpdateTimeMs": "A String", # The time (ms since epoch) when the deal was last updated. (readonly)
+        "externalDealId": "A String", # The external deal id assigned to this deal once the deal is finalized. This is the deal-id that shows up in serving/reporting etc. (readonly)
+        "inventoryDescription": "A String", # Description for the deal terms. (updatable)
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/adexchangebuyer_v1_4.marketplacenotes.html b/docs/dyn/adexchangebuyer_v1_4.marketplacenotes.html new file mode 100644 index 00000000000..63399035410 --- /dev/null +++ b/docs/dyn/adexchangebuyer_v1_4.marketplacenotes.html @@ -0,0 +1,154 @@ + + + +

Ad Exchange Buyer API . marketplacenotes

+

Instance Methods

+

+ insert(orderId, body)

+

Add notes to the order

+

+ list(orderId)

+

Get all the notes associated with an order

+

Method Details

+
+ insert(orderId, body) +
Add notes to the order
+
+Args:
+  orderId: string, The orderId to add notes for. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "notes": [ # The list of notes to add.
+      { # An order is associated with a bunch of notes which may optionally be associated with a deal and/or revision number.
+        "orderId": "A String", # The order_id that a note is attached to. (readonly)
+        "kind": "adexchangebuyer#marketplaceNote", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceNote".
+        "orderRevisionNumber": "A String", # If the note is associated with an order revision number, then store that here. (readonly, except on create)
+        "dealId": "A String", # Notes can optionally be associated with a deal. (readonly, except on create)
+        "note": "A String", # The actual note to attach. (readonly, except on create)
+        "creatorRole": "A String", # The role of the person (buyer/seller) creating the note. (readonly)
+        "noteId": "A String", # The unique id for the note. (readonly)
+        "timestampMs": "A String", # The timestamp (ms since epoch) that this note was created. (readonly)
+      },
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    {
+    "notes": [
+      { # An order is associated with a bunch of notes which may optionally be associated with a deal and/or revision number.
+        "orderId": "A String", # The order_id that a note is attached to. (readonly)
+        "kind": "adexchangebuyer#marketplaceNote", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceNote".
+        "orderRevisionNumber": "A String", # If the note is associated with an order revision number, then store that here. (readonly, except on create)
+        "dealId": "A String", # Notes can optionally be associated with a deal. (readonly, except on create)
+        "note": "A String", # The actual note to attach. (readonly, except on create)
+        "creatorRole": "A String", # The role of the person (buyer/seller) creating the note. (readonly)
+        "noteId": "A String", # The unique id for the note. (readonly)
+        "timestampMs": "A String", # The timestamp (ms since epoch) that this note was created. (readonly)
+      },
+    ],
+  }
+
+ +
+ list(orderId) +
Get all the notes associated with an order
+
+Args:
+  orderId: string, The orderId to get notes for. (required)
+
+Returns:
+  An object of the form:
+
+    {
+    "notes": [ # The list of matching notes.
+      { # An order is associated with a bunch of notes which may optionally be associated with a deal and/or revision number.
+        "orderId": "A String", # The order_id that a note is attached to. (readonly)
+        "kind": "adexchangebuyer#marketplaceNote", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceNote".
+        "orderRevisionNumber": "A String", # If the note is associated with an order revision number, then store that here. (readonly, except on create)
+        "dealId": "A String", # Notes can optionally be associated with a deal. (readonly, except on create)
+        "note": "A String", # The actual note to attach. (readonly, except on create)
+        "creatorRole": "A String", # The role of the person (buyer/seller) creating the note. (readonly)
+        "noteId": "A String", # The unique id for the note. (readonly)
+        "timestampMs": "A String", # The timestamp (ms since epoch) that this note was created. (readonly)
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/adexchangebuyer_v1_4.marketplaceoffers.html b/docs/dyn/adexchangebuyer_v1_4.marketplaceoffers.html new file mode 100644 index 00000000000..3963c033404 --- /dev/null +++ b/docs/dyn/adexchangebuyer_v1_4.marketplaceoffers.html @@ -0,0 +1,420 @@ + + + +

Ad Exchange Buyer API . marketplaceoffers

+

Instance Methods

+

+ get(offerId)

+

Gets the requested negotiation.

+

+ search(pqlQuery=None)

+

Gets the requested negotiation.

+

Method Details

+
+ get(offerId) +
Gets the requested negotiation.
+
+Args:
+  offerId: string, The offerId for the offer to get the head revision for. (required)
+
+Returns:
+  An object of the form:
+
+    { # An offer is segment of inventory that a seller wishes to sell. It is associated with certain terms and targeting information which helps buyer know more about the inventory. Each field in an order can have one of the following setting:
+      #
+      # (readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.
+    "creatorContacts": [ # Optional contact information for the creator of this offer. (buyer-readonly)
+      {
+        "email": "A String", # Email address of the contact.
+        "name": "A String", # The name of the contact.
+      },
+    ],
+    "kind": "adexchangebuyer#marketplaceOffer", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceOffer".
+    "sharedTargetings": [ # Targeting that is shared between the buyer and the seller. Each targeting criteria has a specified key and for each key there is a list of inclusion value or exclusion values. (buyer-readonly)
+      {
+        "inclusions": [ # The list of value to include as part of the targeting.
+          {
+            "longValue": "A String", # The long value to exclude/include.
+            "dayPartTargetingValue": { # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING.
+              "dayParts": [
+                {
+                  "dayOfWeek": "A String",
+                  "endHour": 42,
+                  "startMinute": 42,
+                  "endMinute": 42,
+                  "startHour": 42,
+                },
+              ],
+              "timeZoneType": "A String",
+            },
+            "creativeSizeValue": { # The creative size value to exclude/include.
+              "creativeSizeType": "A String", # The Creative size type.
+              "companionSizes": [ # For video size type, the list of companion sizes.
+                {
+                  "width": 42, # The width of the creative.
+                  "height": 42, # The height of the creative.
+                },
+              ],
+              "size": { # For regular creative size type, specifies the size of the creative.
+                "width": 42, # The width of the creative.
+                "height": 42, # The height of the creative.
+              },
+            },
+            "stringValue": "A String", # The string value to exclude/include.
+          },
+        ],
+        "exclusions": [ # The list of values to exclude from targeting.
+          {
+            "longValue": "A String", # The long value to exclude/include.
+            "dayPartTargetingValue": { # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING.
+              "dayParts": [
+                {
+                  "dayOfWeek": "A String",
+                  "endHour": 42,
+                  "startMinute": 42,
+                  "endMinute": 42,
+                  "startHour": 42,
+                },
+              ],
+              "timeZoneType": "A String",
+            },
+            "creativeSizeValue": { # The creative size value to exclude/include.
+              "creativeSizeType": "A String", # The Creative size type.
+              "companionSizes": [ # For video size type, the list of companion sizes.
+                {
+                  "width": 42, # The width of the creative.
+                  "height": 42, # The height of the creative.
+                },
+              ],
+              "size": { # For regular creative size type, specifies the size of the creative.
+                "width": 42, # The width of the creative.
+                "height": 42, # The height of the creative.
+              },
+            },
+            "stringValue": "A String", # The string value to exclude/include.
+          },
+        ],
+        "key": "A String", # The key representing the shared targeting criterion.
+      },
+    ],
+    "terms": { # The negotiable terms of the deal (buyer-readonly)
+      "guaranteedFixedPriceTerms": { # The terms for guaranteed fixed price deals.
+        "guaranteedImpressions": "A String", # Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.
+        "fixedPrices": [ # Fixed price for the specified buyer.
+          { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+            "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+              "accountId": "A String", # Adx account id of the buyer.
+            },
+            "price": { # The specified price
+              "currencyCode": "A String", # The currency code for the price.
+              "amountMicros": 3.14, # The CPM value in micros.
+            },
+          },
+        ],
+        "guaranteedLooks": "A String", # Count of guaranteed looks. Required for deal, optional for offer.
+      },
+      "description": "A String", # Description for the proposed terms of the deal.
+      "nonGuaranteedAuctionTerms": { # The terms for non-guaranteed auction deals.
+        "reservePricePerBuyers": [ # Reserve price for the specified buyer.
+          { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+            "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+              "accountId": "A String", # Adx account id of the buyer.
+            },
+            "price": { # The specified price
+              "currencyCode": "A String", # The currency code for the price.
+              "amountMicros": 3.14, # The CPM value in micros.
+            },
+          },
+        ],
+        "privateAuctionId": "A String", # Id of the corresponding private auction.
+      },
+      "nonGuaranteedFixedPriceTerms": { # The terms for non-guaranteed fixed price deals.
+        "fixedPrices": [ # Fixed price for the specified buyer.
+          { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+            "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+              "accountId": "A String", # Adx account id of the buyer.
+            },
+            "price": { # The specified price
+              "currencyCode": "A String", # The currency code for the price.
+              "amountMicros": 3.14, # The CPM value in micros.
+            },
+          },
+        ],
+      },
+    },
+    "name": "A String", # The name for this offer as set by the seller. (buyer-readonly)
+    "syndicationProduct": "A String", # The syndication product associated with the deal. (readonly, except on create)
+    "flightEndTimeMs": "A String", # The proposed end time for the deal (ms since epoch) (buyer-readonly)
+    "labels": [ # Optional List of labels for the offer (optional, buyer-readonly).
+      {
+        "createTimeMs": "A String", # The creation time (in ms since epoch) for the label.
+        "deprecatedMarketplaceDealParty": { # Information about the party that created the label.
+          "buyer": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal-party.
+            "accountId": "A String", # Adx account id of the buyer.
+          },
+          "seller": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal party.
+            "subAccountId": "A String", # Optional sub-account id for the seller.
+            "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+          },
+        },
+        "label": "A String", # The label to use.
+        "accountId": "A String", # The accountId of the party that created the label.
+      },
+    ],
+    "offerId": "A String", # The unique id for the offer (readonly)
+    "seller": { # Information about the seller that created this offer (readonly, except on create)
+      "subAccountId": "A String", # Optional sub-account id for the seller.
+      "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+    },
+    "webPropertyCode": "A String",
+    "state": "A String", # The state of the offer. (buyer-readonly)
+    "hasCreatorSignedOff": True or False, # If the creator has already signed off on the offer, then the buyer can finalize the deal by accepting the offer as is. When copying to an order, if any of the terms are changed, then auto_finalize is automatically set to false.
+    "flightStartTimeMs": "A String", # Inventory availability dates. (times are in ms since epoch) The granularity is generally in the order of seconds. (buyer-readonly)
+    "creationTimeMs": "A String", # Creation time in ms. since epoch (readonly)
+    "lastUpdateTimeMs": "A String", # Time of last update in ms. since epoch (readonly)
+    "revisionNumber": "A String", # The revision number of the offer. (readonly)
+  }
+
+ +
+ search(pqlQuery=None) +
Gets the requested negotiation.
+
+Args:
+  pqlQuery: string, The pql query used to query for offers.
+
+Returns:
+  An object of the form:
+
+    {
+    "offers": [ # The returned list of offers.
+      { # An offer is segment of inventory that a seller wishes to sell. It is associated with certain terms and targeting information which helps buyer know more about the inventory. Each field in an order can have one of the following setting:
+          #
+          # (readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.
+        "creatorContacts": [ # Optional contact information for the creator of this offer. (buyer-readonly)
+          {
+            "email": "A String", # Email address of the contact.
+            "name": "A String", # The name of the contact.
+          },
+        ],
+        "kind": "adexchangebuyer#marketplaceOffer", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceOffer".
+        "sharedTargetings": [ # Targeting that is shared between the buyer and the seller. Each targeting criteria has a specified key and for each key there is a list of inclusion value or exclusion values. (buyer-readonly)
+          {
+            "inclusions": [ # The list of value to include as part of the targeting.
+              {
+                "longValue": "A String", # The long value to exclude/include.
+                "dayPartTargetingValue": { # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING.
+                  "dayParts": [
+                    {
+                      "dayOfWeek": "A String",
+                      "endHour": 42,
+                      "startMinute": 42,
+                      "endMinute": 42,
+                      "startHour": 42,
+                    },
+                  ],
+                  "timeZoneType": "A String",
+                },
+                "creativeSizeValue": { # The creative size value to exclude/include.
+                  "creativeSizeType": "A String", # The Creative size type.
+                  "companionSizes": [ # For video size type, the list of companion sizes.
+                    {
+                      "width": 42, # The width of the creative.
+                      "height": 42, # The height of the creative.
+                    },
+                  ],
+                  "size": { # For regular creative size type, specifies the size of the creative.
+                    "width": 42, # The width of the creative.
+                    "height": 42, # The height of the creative.
+                  },
+                },
+                "stringValue": "A String", # The string value to exclude/include.
+              },
+            ],
+            "exclusions": [ # The list of values to exclude from targeting.
+              {
+                "longValue": "A String", # The long value to exclude/include.
+                "dayPartTargetingValue": { # The daypart targeting to include / exclude. Filled in when the key is GOOG_DAYPART_TARGETING.
+                  "dayParts": [
+                    {
+                      "dayOfWeek": "A String",
+                      "endHour": 42,
+                      "startMinute": 42,
+                      "endMinute": 42,
+                      "startHour": 42,
+                    },
+                  ],
+                  "timeZoneType": "A String",
+                },
+                "creativeSizeValue": { # The creative size value to exclude/include.
+                  "creativeSizeType": "A String", # The Creative size type.
+                  "companionSizes": [ # For video size type, the list of companion sizes.
+                    {
+                      "width": 42, # The width of the creative.
+                      "height": 42, # The height of the creative.
+                    },
+                  ],
+                  "size": { # For regular creative size type, specifies the size of the creative.
+                    "width": 42, # The width of the creative.
+                    "height": 42, # The height of the creative.
+                  },
+                },
+                "stringValue": "A String", # The string value to exclude/include.
+              },
+            ],
+            "key": "A String", # The key representing the shared targeting criterion.
+          },
+        ],
+        "terms": { # The negotiable terms of the deal (buyer-readonly)
+          "guaranteedFixedPriceTerms": { # The terms for guaranteed fixed price deals.
+            "guaranteedImpressions": "A String", # Guaranteed impressions as a percentage. This is the percentage of guaranteed looks that the buyer is guaranteeing to buy.
+            "fixedPrices": [ # Fixed price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+            "guaranteedLooks": "A String", # Count of guaranteed looks. Required for deal, optional for offer.
+          },
+          "description": "A String", # Description for the proposed terms of the deal.
+          "nonGuaranteedAuctionTerms": { # The terms for non-guaranteed auction deals.
+            "reservePricePerBuyers": [ # Reserve price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+            "privateAuctionId": "A String", # Id of the corresponding private auction.
+          },
+          "nonGuaranteedFixedPriceTerms": { # The terms for non-guaranteed fixed price deals.
+            "fixedPrices": [ # Fixed price for the specified buyer.
+              { # Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in an offer can become [0,1] deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.
+                "buyer": { # The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).
+                  "accountId": "A String", # Adx account id of the buyer.
+                },
+                "price": { # The specified price
+                  "currencyCode": "A String", # The currency code for the price.
+                  "amountMicros": 3.14, # The CPM value in micros.
+                },
+              },
+            ],
+          },
+        },
+        "name": "A String", # The name for this offer as set by the seller. (buyer-readonly)
+        "syndicationProduct": "A String", # The syndication product associated with the deal. (readonly, except on create)
+        "flightEndTimeMs": "A String", # The proposed end time for the deal (ms since epoch) (buyer-readonly)
+        "labels": [ # Optional List of labels for the offer (optional, buyer-readonly).
+          {
+            "createTimeMs": "A String", # The creation time (in ms since epoch) for the label.
+            "deprecatedMarketplaceDealParty": { # Information about the party that created the label.
+              "buyer": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal-party.
+                "accountId": "A String", # Adx account id of the buyer.
+              },
+              "seller": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal party.
+                "subAccountId": "A String", # Optional sub-account id for the seller.
+                "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+              },
+            },
+            "label": "A String", # The label to use.
+            "accountId": "A String", # The accountId of the party that created the label.
+          },
+        ],
+        "offerId": "A String", # The unique id for the offer (readonly)
+        "seller": { # Information about the seller that created this offer (readonly, except on create)
+          "subAccountId": "A String", # Optional sub-account id for the seller.
+          "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+        },
+        "webPropertyCode": "A String",
+        "state": "A String", # The state of the offer. (buyer-readonly)
+        "hasCreatorSignedOff": True or False, # If the creator has already signed off on the offer, then the buyer can finalize the deal by accepting the offer as is. When copying to an order, if any of the terms are changed, then auto_finalize is automatically set to false.
+        "flightStartTimeMs": "A String", # Inventory availability dates. (times are in ms since epoch) The granularity is generally in the order of seconds. (buyer-readonly)
+        "creationTimeMs": "A String", # Creation time in ms. since epoch (readonly)
+        "lastUpdateTimeMs": "A String", # Time of last update in ms. since epoch (readonly)
+        "revisionNumber": "A String", # The revision number of the offer. (readonly)
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/adexchangebuyer_v1_4.marketplaceorders.html b/docs/dyn/adexchangebuyer_v1_4.marketplaceorders.html new file mode 100644 index 00000000000..cabdc4f83b2 --- /dev/null +++ b/docs/dyn/adexchangebuyer_v1_4.marketplaceorders.html @@ -0,0 +1,665 @@ + + + +

Ad Exchange Buyer API . marketplaceorders

+

Instance Methods

+

+ get(orderId)

+

Get an order given its id

+

+ insert(body)

+

Create the given list of orders

+

+ patch(orderId, revisionNumber, updateAction, body)

+

Update the given order. This method supports patch semantics.

+

+ search(pqlQuery=None)

+

Search for orders using pql query

+

+ update(orderId, revisionNumber, updateAction, body)

+

Update the given order

+

Method Details

+
+ get(orderId) +
Get an order given its id
+
+Args:
+  orderId: string, Id of the order to retrieve. (required)
+
+Returns:
+  An object of the form:
+
+    { # Represents an order in the marketplace. An order is the unit of negotiation between a seller and a buyer and contains deals which are served. Each field in an order can have one of the following setting:
+      #
+      # (readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.
+    "orderId": "A String", # The unique id of the order. (readonly).
+    "kind": "adexchangebuyer#marketplaceOrder", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceOrder".
+    "seller": { # Reference to the seller on the order. (readonly, except on create)
+      "subAccountId": "A String", # Optional sub-account id for the seller.
+      "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+    },
+    "name": "A String", # The name for the order (updatable)
+    "buyerPrivateData": { # Private data for buyer. (hidden from seller).
+      "referenceId": "A String",
+      "referencePayload": "A String",
+    },
+    "billedBuyer": { # Reference to the buyer that will get billed for this order. (readonly)
+      "accountId": "A String", # Adx account id of the buyer.
+    },
+    "labels": [ # List of labels associated with the order. (readonly)
+      {
+        "createTimeMs": "A String", # The creation time (in ms since epoch) for the label.
+        "deprecatedMarketplaceDealParty": { # Information about the party that created the label.
+          "buyer": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal-party.
+            "accountId": "A String", # Adx account id of the buyer.
+          },
+          "seller": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal party.
+            "subAccountId": "A String", # Optional sub-account id for the seller.
+            "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+          },
+        },
+        "label": "A String", # The label to use.
+        "accountId": "A String", # The accountId of the party that created the label.
+      },
+    ],
+    "originatorRole": "A String", # Indicates whether the buyer/seller created the offer.(readonly)
+    "revisionTimeMs": "A String", # The time (ms since epoch) when the order was last revised (readonly).
+    "sellerContacts": [ # Optional contact information for the seller (buyer-readonly).
+      {
+        "email": "A String", # Email address of the contact.
+        "name": "A String", # The name of the contact.
+      },
+    ],
+    "lastUpdaterRole": "A String",
+    "orderState": "A String", # The current state of the order. (readonly)
+    "hasSellerSignedOff": True or False, # When an order is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the order can be finalized by the seller. (buyer-readonly)
+    "isRenegotiating": True or False, # True if the order is being renegotiated (readonly).
+    "buyer": { # Reference to the buyer on the order. (readonly, except on create)
+      "accountId": "A String", # Adx account id of the buyer.
+    },
+    "hasBuyerSignedOff": True or False, # When an order is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the order can be finalized by the seller. (seller-readonly)
+    "isSetupComplete": True or False, # True, if the buyside inventory setup is complete for this order. (readonly)
+    "revisionNumber": "A String", # The revision number for the order (readonly).
+    "lastUpdaterOrCommentorRole": "A String", # The role of the last user that either updated the order or left a comment. (readonly)
+    "buyerContacts": [ # Optional contact information fort the buyer. (seller-readonly)
+      {
+        "email": "A String", # Email address of the contact.
+        "name": "A String", # The name of the contact.
+      },
+    ],
+  }
+
+ +
+ insert(body) +
Create the given list of orders
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "webPropertyCode": "A String",
+    "orders": [ # The list of orders to create.
+      { # Represents an order in the marketplace. An order is the unit of negotiation between a seller and a buyer and contains deals which are served. Each field in an order can have one of the following setting:
+          #
+          # (readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.
+        "orderId": "A String", # The unique id of the order. (readonly).
+        "kind": "adexchangebuyer#marketplaceOrder", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceOrder".
+        "seller": { # Reference to the seller on the order. (readonly, except on create)
+          "subAccountId": "A String", # Optional sub-account id for the seller.
+          "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+        },
+        "name": "A String", # The name for the order (updatable)
+        "buyerPrivateData": { # Private data for buyer. (hidden from seller).
+          "referenceId": "A String",
+          "referencePayload": "A String",
+        },
+        "billedBuyer": { # Reference to the buyer that will get billed for this order. (readonly)
+          "accountId": "A String", # Adx account id of the buyer.
+        },
+        "labels": [ # List of labels associated with the order. (readonly)
+          {
+            "createTimeMs": "A String", # The creation time (in ms since epoch) for the label.
+            "deprecatedMarketplaceDealParty": { # Information about the party that created the label.
+              "buyer": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal-party.
+                "accountId": "A String", # Adx account id of the buyer.
+              },
+              "seller": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal party.
+                "subAccountId": "A String", # Optional sub-account id for the seller.
+                "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+              },
+            },
+            "label": "A String", # The label to use.
+            "accountId": "A String", # The accountId of the party that created the label.
+          },
+        ],
+        "originatorRole": "A String", # Indicates whether the buyer/seller created the offer.(readonly)
+        "revisionTimeMs": "A String", # The time (ms since epoch) when the order was last revised (readonly).
+        "sellerContacts": [ # Optional contact information for the seller (buyer-readonly).
+          {
+            "email": "A String", # Email address of the contact.
+            "name": "A String", # The name of the contact.
+          },
+        ],
+        "lastUpdaterRole": "A String",
+        "orderState": "A String", # The current state of the order. (readonly)
+        "hasSellerSignedOff": True or False, # When an order is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the order can be finalized by the seller. (buyer-readonly)
+        "isRenegotiating": True or False, # True if the order is being renegotiated (readonly).
+        "buyer": { # Reference to the buyer on the order. (readonly, except on create)
+          "accountId": "A String", # Adx account id of the buyer.
+        },
+        "hasBuyerSignedOff": True or False, # When an order is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the order can be finalized by the seller. (seller-readonly)
+        "isSetupComplete": True or False, # True, if the buyside inventory setup is complete for this order. (readonly)
+        "revisionNumber": "A String", # The revision number for the order (readonly).
+        "lastUpdaterOrCommentorRole": "A String", # The role of the last user that either updated the order or left a comment. (readonly)
+        "buyerContacts": [ # Optional contact information fort the buyer. (seller-readonly)
+          {
+            "email": "A String", # Email address of the contact.
+            "name": "A String", # The name of the contact.
+          },
+        ],
+      },
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    {
+    "orders": [ # The list of orders successfully created.
+      { # Represents an order in the marketplace. An order is the unit of negotiation between a seller and a buyer and contains deals which are served. Each field in an order can have one of the following setting:
+          #
+          # (readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.
+        "orderId": "A String", # The unique id of the order. (readonly).
+        "kind": "adexchangebuyer#marketplaceOrder", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceOrder".
+        "seller": { # Reference to the seller on the order. (readonly, except on create)
+          "subAccountId": "A String", # Optional sub-account id for the seller.
+          "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+        },
+        "name": "A String", # The name for the order (updatable)
+        "buyerPrivateData": { # Private data for buyer. (hidden from seller).
+          "referenceId": "A String",
+          "referencePayload": "A String",
+        },
+        "billedBuyer": { # Reference to the buyer that will get billed for this order. (readonly)
+          "accountId": "A String", # Adx account id of the buyer.
+        },
+        "labels": [ # List of labels associated with the order. (readonly)
+          {
+            "createTimeMs": "A String", # The creation time (in ms since epoch) for the label.
+            "deprecatedMarketplaceDealParty": { # Information about the party that created the label.
+              "buyer": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal-party.
+                "accountId": "A String", # Adx account id of the buyer.
+              },
+              "seller": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal party.
+                "subAccountId": "A String", # Optional sub-account id for the seller.
+                "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+              },
+            },
+            "label": "A String", # The label to use.
+            "accountId": "A String", # The accountId of the party that created the label.
+          },
+        ],
+        "originatorRole": "A String", # Indicates whether the buyer/seller created the offer.(readonly)
+        "revisionTimeMs": "A String", # The time (ms since epoch) when the order was last revised (readonly).
+        "sellerContacts": [ # Optional contact information for the seller (buyer-readonly).
+          {
+            "email": "A String", # Email address of the contact.
+            "name": "A String", # The name of the contact.
+          },
+        ],
+        "lastUpdaterRole": "A String",
+        "orderState": "A String", # The current state of the order. (readonly)
+        "hasSellerSignedOff": True or False, # When an order is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the order can be finalized by the seller. (buyer-readonly)
+        "isRenegotiating": True or False, # True if the order is being renegotiated (readonly).
+        "buyer": { # Reference to the buyer on the order. (readonly, except on create)
+          "accountId": "A String", # Adx account id of the buyer.
+        },
+        "hasBuyerSignedOff": True or False, # When an order is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the order can be finalized by the seller. (seller-readonly)
+        "isSetupComplete": True or False, # True, if the buyside inventory setup is complete for this order. (readonly)
+        "revisionNumber": "A String", # The revision number for the order (readonly).
+        "lastUpdaterOrCommentorRole": "A String", # The role of the last user that either updated the order or left a comment. (readonly)
+        "buyerContacts": [ # Optional contact information fort the buyer. (seller-readonly)
+          {
+            "email": "A String", # Email address of the contact.
+            "name": "A String", # The name of the contact.
+          },
+        ],
+      },
+    ],
+  }
+
+ +
+ patch(orderId, revisionNumber, updateAction, body) +
Update the given order. This method supports patch semantics.
+
+Args:
+  orderId: string, The order id to update. (required)
+  revisionNumber: string, The last known revision number to update. If the head revision in the marketplace database has since changed, an error will be thrown. The caller should then fetch the lastest order at head revision and retry the update at that revision. (required)
+  updateAction: string, The proposed action to take on the order. (required)
+    Allowed values
+      accept - 
+      cancel - 
+      propose - 
+      unknownAction - 
+      updateFinalized - 
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Represents an order in the marketplace. An order is the unit of negotiation between a seller and a buyer and contains deals which are served. Each field in an order can have one of the following setting:
+    # 
+    # (readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.
+  "orderId": "A String", # The unique id of the order. (readonly).
+  "kind": "adexchangebuyer#marketplaceOrder", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceOrder".
+  "seller": { # Reference to the seller on the order. (readonly, except on create)
+    "subAccountId": "A String", # Optional sub-account id for the seller.
+    "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+  },
+  "name": "A String", # The name for the order (updatable)
+  "buyerPrivateData": { # Private data for buyer. (hidden from seller).
+    "referenceId": "A String",
+    "referencePayload": "A String",
+  },
+  "billedBuyer": { # Reference to the buyer that will get billed for this order. (readonly)
+    "accountId": "A String", # Adx account id of the buyer.
+  },
+  "labels": [ # List of labels associated with the order. (readonly)
+    {
+      "createTimeMs": "A String", # The creation time (in ms since epoch) for the label.
+      "deprecatedMarketplaceDealParty": { # Information about the party that created the label.
+        "buyer": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal-party.
+          "accountId": "A String", # Adx account id of the buyer.
+        },
+        "seller": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal party.
+          "subAccountId": "A String", # Optional sub-account id for the seller.
+          "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+        },
+      },
+      "label": "A String", # The label to use.
+      "accountId": "A String", # The accountId of the party that created the label.
+    },
+  ],
+  "originatorRole": "A String", # Indicates whether the buyer/seller created the offer.(readonly)
+  "revisionTimeMs": "A String", # The time (ms since epoch) when the order was last revised (readonly).
+  "sellerContacts": [ # Optional contact information for the seller (buyer-readonly).
+    {
+      "email": "A String", # Email address of the contact.
+      "name": "A String", # The name of the contact.
+    },
+  ],
+  "lastUpdaterRole": "A String",
+  "orderState": "A String", # The current state of the order. (readonly)
+  "hasSellerSignedOff": True or False, # When an order is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the order can be finalized by the seller. (buyer-readonly)
+  "isRenegotiating": True or False, # True if the order is being renegotiated (readonly).
+  "buyer": { # Reference to the buyer on the order. (readonly, except on create)
+    "accountId": "A String", # Adx account id of the buyer.
+  },
+  "hasBuyerSignedOff": True or False, # When an order is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the order can be finalized by the seller. (seller-readonly)
+  "isSetupComplete": True or False, # True, if the buyside inventory setup is complete for this order. (readonly)
+  "revisionNumber": "A String", # The revision number for the order (readonly).
+  "lastUpdaterOrCommentorRole": "A String", # The role of the last user that either updated the order or left a comment. (readonly)
+  "buyerContacts": [ # Optional contact information fort the buyer. (seller-readonly)
+    {
+      "email": "A String", # Email address of the contact.
+      "name": "A String", # The name of the contact.
+    },
+  ],
+}
+
+
+Returns:
+  An object of the form:
+
+    { # Represents an order in the marketplace. An order is the unit of negotiation between a seller and a buyer and contains deals which are served. Each field in an order can have one of the following setting:
+      #
+      # (readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.
+    "orderId": "A String", # The unique id of the order. (readonly).
+    "kind": "adexchangebuyer#marketplaceOrder", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceOrder".
+    "seller": { # Reference to the seller on the order. (readonly, except on create)
+      "subAccountId": "A String", # Optional sub-account id for the seller.
+      "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+    },
+    "name": "A String", # The name for the order (updatable)
+    "buyerPrivateData": { # Private data for buyer. (hidden from seller).
+      "referenceId": "A String",
+      "referencePayload": "A String",
+    },
+    "billedBuyer": { # Reference to the buyer that will get billed for this order. (readonly)
+      "accountId": "A String", # Adx account id of the buyer.
+    },
+    "labels": [ # List of labels associated with the order. (readonly)
+      {
+        "createTimeMs": "A String", # The creation time (in ms since epoch) for the label.
+        "deprecatedMarketplaceDealParty": { # Information about the party that created the label.
+          "buyer": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal-party.
+            "accountId": "A String", # Adx account id of the buyer.
+          },
+          "seller": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal party.
+            "subAccountId": "A String", # Optional sub-account id for the seller.
+            "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+          },
+        },
+        "label": "A String", # The label to use.
+        "accountId": "A String", # The accountId of the party that created the label.
+      },
+    ],
+    "originatorRole": "A String", # Indicates whether the buyer/seller created the offer.(readonly)
+    "revisionTimeMs": "A String", # The time (ms since epoch) when the order was last revised (readonly).
+    "sellerContacts": [ # Optional contact information for the seller (buyer-readonly).
+      {
+        "email": "A String", # Email address of the contact.
+        "name": "A String", # The name of the contact.
+      },
+    ],
+    "lastUpdaterRole": "A String",
+    "orderState": "A String", # The current state of the order. (readonly)
+    "hasSellerSignedOff": True or False, # When an order is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the order can be finalized by the seller. (buyer-readonly)
+    "isRenegotiating": True or False, # True if the order is being renegotiated (readonly).
+    "buyer": { # Reference to the buyer on the order. (readonly, except on create)
+      "accountId": "A String", # Adx account id of the buyer.
+    },
+    "hasBuyerSignedOff": True or False, # When an order is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the order can be finalized by the seller. (seller-readonly)
+    "isSetupComplete": True or False, # True, if the buyside inventory setup is complete for this order. (readonly)
+    "revisionNumber": "A String", # The revision number for the order (readonly).
+    "lastUpdaterOrCommentorRole": "A String", # The role of the last user that either updated the order or left a comment. (readonly)
+    "buyerContacts": [ # Optional contact information fort the buyer. (seller-readonly)
+      {
+        "email": "A String", # Email address of the contact.
+        "name": "A String", # The name of the contact.
+      },
+    ],
+  }
+
+ +
+ search(pqlQuery=None) +
Search for orders using pql query
+
+Args:
+  pqlQuery: string, Query string to retrieve specific orders.
+
+Returns:
+  An object of the form:
+
+    {
+    "orders": [ # The list of matching orders.
+      { # Represents an order in the marketplace. An order is the unit of negotiation between a seller and a buyer and contains deals which are served. Each field in an order can have one of the following setting:
+          #
+          # (readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.
+        "orderId": "A String", # The unique id of the order. (readonly).
+        "kind": "adexchangebuyer#marketplaceOrder", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceOrder".
+        "seller": { # Reference to the seller on the order. (readonly, except on create)
+          "subAccountId": "A String", # Optional sub-account id for the seller.
+          "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+        },
+        "name": "A String", # The name for the order (updatable)
+        "buyerPrivateData": { # Private data for buyer. (hidden from seller).
+          "referenceId": "A String",
+          "referencePayload": "A String",
+        },
+        "billedBuyer": { # Reference to the buyer that will get billed for this order. (readonly)
+          "accountId": "A String", # Adx account id of the buyer.
+        },
+        "labels": [ # List of labels associated with the order. (readonly)
+          {
+            "createTimeMs": "A String", # The creation time (in ms since epoch) for the label.
+            "deprecatedMarketplaceDealParty": { # Information about the party that created the label.
+              "buyer": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal-party.
+                "accountId": "A String", # Adx account id of the buyer.
+              },
+              "seller": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal party.
+                "subAccountId": "A String", # Optional sub-account id for the seller.
+                "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+              },
+            },
+            "label": "A String", # The label to use.
+            "accountId": "A String", # The accountId of the party that created the label.
+          },
+        ],
+        "originatorRole": "A String", # Indicates whether the buyer/seller created the offer.(readonly)
+        "revisionTimeMs": "A String", # The time (ms since epoch) when the order was last revised (readonly).
+        "sellerContacts": [ # Optional contact information for the seller (buyer-readonly).
+          {
+            "email": "A String", # Email address of the contact.
+            "name": "A String", # The name of the contact.
+          },
+        ],
+        "lastUpdaterRole": "A String",
+        "orderState": "A String", # The current state of the order. (readonly)
+        "hasSellerSignedOff": True or False, # When an order is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the order can be finalized by the seller. (buyer-readonly)
+        "isRenegotiating": True or False, # True if the order is being renegotiated (readonly).
+        "buyer": { # Reference to the buyer on the order. (readonly, except on create)
+          "accountId": "A String", # Adx account id of the buyer.
+        },
+        "hasBuyerSignedOff": True or False, # When an order is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the order can be finalized by the seller. (seller-readonly)
+        "isSetupComplete": True or False, # True, if the buyside inventory setup is complete for this order. (readonly)
+        "revisionNumber": "A String", # The revision number for the order (readonly).
+        "lastUpdaterOrCommentorRole": "A String", # The role of the last user that either updated the order or left a comment. (readonly)
+        "buyerContacts": [ # Optional contact information fort the buyer. (seller-readonly)
+          {
+            "email": "A String", # Email address of the contact.
+            "name": "A String", # The name of the contact.
+          },
+        ],
+      },
+    ],
+  }
+
+ +
+ update(orderId, revisionNumber, updateAction, body) +
Update the given order
+
+Args:
+  orderId: string, The order id to update. (required)
+  revisionNumber: string, The last known revision number to update. If the head revision in the marketplace database has since changed, an error will be thrown. The caller should then fetch the lastest order at head revision and retry the update at that revision. (required)
+  updateAction: string, The proposed action to take on the order. (required)
+    Allowed values
+      accept - 
+      cancel - 
+      propose - 
+      unknownAction - 
+      updateFinalized - 
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Represents an order in the marketplace. An order is the unit of negotiation between a seller and a buyer and contains deals which are served. Each field in an order can have one of the following setting:
+    # 
+    # (readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.
+  "orderId": "A String", # The unique id of the order. (readonly).
+  "kind": "adexchangebuyer#marketplaceOrder", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceOrder".
+  "seller": { # Reference to the seller on the order. (readonly, except on create)
+    "subAccountId": "A String", # Optional sub-account id for the seller.
+    "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+  },
+  "name": "A String", # The name for the order (updatable)
+  "buyerPrivateData": { # Private data for buyer. (hidden from seller).
+    "referenceId": "A String",
+    "referencePayload": "A String",
+  },
+  "billedBuyer": { # Reference to the buyer that will get billed for this order. (readonly)
+    "accountId": "A String", # Adx account id of the buyer.
+  },
+  "labels": [ # List of labels associated with the order. (readonly)
+    {
+      "createTimeMs": "A String", # The creation time (in ms since epoch) for the label.
+      "deprecatedMarketplaceDealParty": { # Information about the party that created the label.
+        "buyer": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal-party.
+          "accountId": "A String", # Adx account id of the buyer.
+        },
+        "seller": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal party.
+          "subAccountId": "A String", # Optional sub-account id for the seller.
+          "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+        },
+      },
+      "label": "A String", # The label to use.
+      "accountId": "A String", # The accountId of the party that created the label.
+    },
+  ],
+  "originatorRole": "A String", # Indicates whether the buyer/seller created the offer.(readonly)
+  "revisionTimeMs": "A String", # The time (ms since epoch) when the order was last revised (readonly).
+  "sellerContacts": [ # Optional contact information for the seller (buyer-readonly).
+    {
+      "email": "A String", # Email address of the contact.
+      "name": "A String", # The name of the contact.
+    },
+  ],
+  "lastUpdaterRole": "A String",
+  "orderState": "A String", # The current state of the order. (readonly)
+  "hasSellerSignedOff": True or False, # When an order is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the order can be finalized by the seller. (buyer-readonly)
+  "isRenegotiating": True or False, # True if the order is being renegotiated (readonly).
+  "buyer": { # Reference to the buyer on the order. (readonly, except on create)
+    "accountId": "A String", # Adx account id of the buyer.
+  },
+  "hasBuyerSignedOff": True or False, # When an order is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the order can be finalized by the seller. (seller-readonly)
+  "isSetupComplete": True or False, # True, if the buyside inventory setup is complete for this order. (readonly)
+  "revisionNumber": "A String", # The revision number for the order (readonly).
+  "lastUpdaterOrCommentorRole": "A String", # The role of the last user that either updated the order or left a comment. (readonly)
+  "buyerContacts": [ # Optional contact information fort the buyer. (seller-readonly)
+    {
+      "email": "A String", # Email address of the contact.
+      "name": "A String", # The name of the contact.
+    },
+  ],
+}
+
+
+Returns:
+  An object of the form:
+
+    { # Represents an order in the marketplace. An order is the unit of negotiation between a seller and a buyer and contains deals which are served. Each field in an order can have one of the following setting:
+      #
+      # (readonly) - It is an error to try and set this field. (buyer-readonly) - Only the seller can set this field. (seller-readonly) - Only the buyer can set this field. (updatable) - The field is updatable at all times by either buyer or the seller.
+    "orderId": "A String", # The unique id of the order. (readonly).
+    "kind": "adexchangebuyer#marketplaceOrder", # Identifies what kind of resource this is. Value: the fixed string "adexchangebuyer#marketplaceOrder".
+    "seller": { # Reference to the seller on the order. (readonly, except on create)
+      "subAccountId": "A String", # Optional sub-account id for the seller.
+      "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+    },
+    "name": "A String", # The name for the order (updatable)
+    "buyerPrivateData": { # Private data for buyer. (hidden from seller).
+      "referenceId": "A String",
+      "referencePayload": "A String",
+    },
+    "billedBuyer": { # Reference to the buyer that will get billed for this order. (readonly)
+      "accountId": "A String", # Adx account id of the buyer.
+    },
+    "labels": [ # List of labels associated with the order. (readonly)
+      {
+        "createTimeMs": "A String", # The creation time (in ms since epoch) for the label.
+        "deprecatedMarketplaceDealParty": { # Information about the party that created the label.
+          "buyer": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal-party.
+            "accountId": "A String", # Adx account id of the buyer.
+          },
+          "seller": { # The buyer/seller associated with the deal. One of buyer/seller is specified for a deal party.
+            "subAccountId": "A String", # Optional sub-account id for the seller.
+            "accountId": "A String", # The unique id for the seller. The seller fills in this field. The seller account id is then available to buyer in the offer.
+          },
+        },
+        "label": "A String", # The label to use.
+        "accountId": "A String", # The accountId of the party that created the label.
+      },
+    ],
+    "originatorRole": "A String", # Indicates whether the buyer/seller created the offer.(readonly)
+    "revisionTimeMs": "A String", # The time (ms since epoch) when the order was last revised (readonly).
+    "sellerContacts": [ # Optional contact information for the seller (buyer-readonly).
+      {
+        "email": "A String", # Email address of the contact.
+        "name": "A String", # The name of the contact.
+      },
+    ],
+    "lastUpdaterRole": "A String",
+    "orderState": "A String", # The current state of the order. (readonly)
+    "hasSellerSignedOff": True or False, # When an order is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the order can be finalized by the seller. (buyer-readonly)
+    "isRenegotiating": True or False, # True if the order is being renegotiated (readonly).
+    "buyer": { # Reference to the buyer on the order. (readonly, except on create)
+      "accountId": "A String", # Adx account id of the buyer.
+    },
+    "hasBuyerSignedOff": True or False, # When an order is in an accepted state, indicates whether the buyer has signed off Once both sides have signed off on a deal, the order can be finalized by the seller. (seller-readonly)
+    "isSetupComplete": True or False, # True, if the buyside inventory setup is complete for this order. (readonly)
+    "revisionNumber": "A String", # The revision number for the order (readonly).
+    "lastUpdaterOrCommentorRole": "A String", # The role of the last user that either updated the order or left a comment. (readonly)
+    "buyerContacts": [ # Optional contact information fort the buyer. (seller-readonly)
+      {
+        "email": "A String", # Email address of the contact.
+        "name": "A String", # The name of the contact.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/adexchangebuyer_v1_4.negotiationrounds.html b/docs/dyn/adexchangebuyer_v1_4.negotiationrounds.html new file mode 100644 index 00000000000..673931078ba --- /dev/null +++ b/docs/dyn/adexchangebuyer_v1_4.negotiationrounds.html @@ -0,0 +1,539 @@ + + + +

Ad Exchange Buyer API . negotiationrounds

+

Instance Methods

+

+ insert(negotiationId, body)

+

Adds the requested negotiationRound to the requested negotiation.

+

Method Details

+
+ insert(negotiationId, body) +
Adds the requested negotiationRound to the requested negotiation.
+
+Args:
+  negotiationId: string, A parameter (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+  "kind": "adexchangebuyer#negotiationRound",
+  "terms": { # The detailed terms proposed in this negotiation round.
+    "finalizeAutomatically": True or False, # If true, the offer will finalize automatically when accepted.
+    "inventorySegmentTargeting": { # The inventory segment targeting for the offer.
+      "positiveIcmInterests": [
+        "A String",
+      ],
+      "positiveInventorySlots": [
+        "A String",
+      ],
+      "negativeSiteUrls": [
+        "A String",
+      ],
+      "positiveIcmBrands": [
+        "A String",
+      ],
+      "negativeXfpPlacements": [
+        "A String",
+      ],
+      "positiveVideoAdPositionSegments": [
+        "A String",
+      ],
+      "negativeIcmInterests": [
+        "A String",
+      ],
+      "negativeAudienceSegments": [
+        "A String",
+      ],
+      "positiveOperatingSystems": [
+        "A String",
+      ],
+      "negativeOperatingSystems": [
+        "A String",
+      ],
+      "negativeIcmBrands": [
+        "A String",
+      ],
+      "positiveLocations": [
+        "A String",
+      ],
+      "negativeMobileApps": [
+        "A String",
+      ],
+      "positiveDeviceCategories": [
+        "A String",
+      ],
+      "negativeAdSizes": [
+        {
+          "width": 42,
+          "height": 42,
+        },
+      ],
+      "negativeInventorySlots": [
+        "A String",
+      ],
+      "negativeVideoAdPositionSegments": [
+        "A String",
+      ],
+      "negativeVideoDurationSegments": [
+        "A String",
+      ],
+      "positiveSizes": [
+        "A String",
+      ],
+      "positiveXfpAdSlots": [
+        "A String",
+      ],
+      "positiveKeyValues": [
+        {
+          "keyName": "A String",
+          "value": "A String",
+        },
+      ],
+      "positiveSiteUrls": [
+        "A String",
+      ],
+      "positiveMobileApps": [
+        "A String",
+      ],
+      "negativeKeyValues": [
+        {
+          "keyName": "A String",
+          "value": "A String",
+        },
+      ],
+      "negativeSizes": [
+        "A String",
+      ],
+      "positiveOperatingSystemVersions": [
+        "A String",
+      ],
+      "negativeLocations": [
+        "A String",
+      ],
+      "positiveAdSizes": [
+        {
+          "width": 42,
+          "height": 42,
+        },
+      ],
+      "negativeOperatingSystemVersions": [
+        "A String",
+      ],
+      "positiveXfpPlacements": [
+        "A String",
+      ],
+      "negativeXfpAdSlots": [
+        "A String",
+      ],
+      "positiveVideoDurationSegments": [
+        "A String",
+      ],
+      "positiveAudienceSegments": [
+        "A String",
+      ],
+      "negativeDeviceCategories": [
+        "A String",
+      ],
+      "positiveAdTypeSegments": [
+        "A String",
+      ],
+      "negativeAdTypeSegments": [
+        "A String",
+      ],
+    },
+    "endDate": { # The end date for the offer.
+      "timeZoneId": "A String",
+      "hour": 42,
+      "month": 42,
+      "second": 42,
+      "year": 42,
+      "day": 42,
+      "minute": 42,
+    },
+    "termsAttributes": [ # A list of terms attributes.
+      "A String",
+    ],
+    "startDate": { # The start date for the offer.
+      "timeZoneId": "A String",
+      "hour": 42,
+      "month": 42,
+      "second": 42,
+      "year": 42,
+      "day": 42,
+      "minute": 42,
+    },
+    "buyerBillingType": "A String", # The buyer billing type.
+    "estimatedImpressionsPerDay": "A String", # The estimated daily impressions for the offer.
+    "monetizerType": "A String", # The monetizer type.
+    "targetByDealId": True or False, # Whether to target by deal id.
+    "adSlots": [ # The particular ad slots targeted by the offer.
+      {
+        "name": "A String",
+        "description": "A String",
+        "channelId": 42,
+        "channelCode": "A String",
+        "webPropertyId": 42,
+        "size": "A String",
+      },
+    ],
+    "advertisers": [ # A list of advertisers for this offer.
+      {
+        "brands": [
+          {
+            "advertiserId": "A String",
+            "id": "A String",
+            "name": "A String",
+          },
+        ],
+        "status": "A String",
+        "id": "A String",
+        "name": "A String",
+      },
+    ],
+    "minimumSpendMicros": "A String", # The minimum spend for the offer.
+    "targetingAllAdSlots": True or False, # If true, the offer targets all ad slots.
+    "creativeReviewPolicy": "A String", # Whether to use publisher review policy or AdX review policy.
+    "audienceSegmentDescription": "A String", # A description of the audience segment for the offer.
+    "dealPremium": { # The premium terms.
+      "micros": "A String",
+      "currencyCode": "A String",
+    },
+    "creativeBlockingLevel": "A String", # Whether to use or ignore publisher blocking rules.
+    "audienceSegment": { # The audience segment for the offer.
+      "numCookies": "A String",
+      "description": "A String",
+      "name": "A String",
+      "id": "A String",
+    },
+    "description": "A String", # A description for these terms.
+    "billingTerms": "A String", # The billing terms.
+    "semiTransparent": True or False, # Whether this offer is semi-transparent.
+    "minimumTrueLooks": "A String", # The minimum true looks for the offer.
+    "cpm": { # The cpm terms.
+      "micros": "A String",
+      "currencyCode": "A String",
+    },
+    "isReservation": True or False, # Whether the offer is a reservation.
+    "descriptiveName": "A String", # A descriptive name for these terms.
+    "urls": [ # The urls applicable to the offer.
+      "A String",
+    ],
+    "estimatedSpend": { # The estimated spend for the offer.
+      "micros": "A String",
+      "currencyCode": "A String",
+    },
+  },
+  "negotiationId": "A String", # The ID of the negotiation to which this negotiation round applies.
+  "roundNumber": "A String", # The number of this negotiation round, in sequence.
+  "notes": "A String", # Notes regarding this negotiation round.
+  "originatorRole": "A String", # The role, either buyer or seller, initiating this negotiation round.
+  "dbmPartnerId": "A String", # Stores DBM partner ID for use by DBM
+  "editHistory": { # The edit history of this negotiation round.
+    "createdTimeStamp": "A String",
+    "createdByLoginName": "A String",
+    "lastUpdatedByLoginName": "A String",
+    "lastUpdateTimeStamp": "A String",
+  },
+  "action": "A String", # The action performed by this negotiation round.
+}
+
+
+Returns:
+  An object of the form:
+
+    {
+    "kind": "adexchangebuyer#negotiationRound",
+    "terms": { # The detailed terms proposed in this negotiation round.
+      "finalizeAutomatically": True or False, # If true, the offer will finalize automatically when accepted.
+      "inventorySegmentTargeting": { # The inventory segment targeting for the offer.
+        "positiveIcmInterests": [
+          "A String",
+        ],
+        "positiveInventorySlots": [
+          "A String",
+        ],
+        "negativeSiteUrls": [
+          "A String",
+        ],
+        "positiveIcmBrands": [
+          "A String",
+        ],
+        "negativeXfpPlacements": [
+          "A String",
+        ],
+        "positiveVideoAdPositionSegments": [
+          "A String",
+        ],
+        "negativeIcmInterests": [
+          "A String",
+        ],
+        "negativeAudienceSegments": [
+          "A String",
+        ],
+        "positiveOperatingSystems": [
+          "A String",
+        ],
+        "negativeOperatingSystems": [
+          "A String",
+        ],
+        "negativeIcmBrands": [
+          "A String",
+        ],
+        "positiveLocations": [
+          "A String",
+        ],
+        "negativeMobileApps": [
+          "A String",
+        ],
+        "positiveDeviceCategories": [
+          "A String",
+        ],
+        "negativeAdSizes": [
+          {
+            "width": 42,
+            "height": 42,
+          },
+        ],
+        "negativeInventorySlots": [
+          "A String",
+        ],
+        "negativeVideoAdPositionSegments": [
+          "A String",
+        ],
+        "negativeVideoDurationSegments": [
+          "A String",
+        ],
+        "positiveSizes": [
+          "A String",
+        ],
+        "positiveXfpAdSlots": [
+          "A String",
+        ],
+        "positiveKeyValues": [
+          {
+            "keyName": "A String",
+            "value": "A String",
+          },
+        ],
+        "positiveSiteUrls": [
+          "A String",
+        ],
+        "positiveMobileApps": [
+          "A String",
+        ],
+        "negativeKeyValues": [
+          {
+            "keyName": "A String",
+            "value": "A String",
+          },
+        ],
+        "negativeSizes": [
+          "A String",
+        ],
+        "positiveOperatingSystemVersions": [
+          "A String",
+        ],
+        "negativeLocations": [
+          "A String",
+        ],
+        "positiveAdSizes": [
+          {
+            "width": 42,
+            "height": 42,
+          },
+        ],
+        "negativeOperatingSystemVersions": [
+          "A String",
+        ],
+        "positiveXfpPlacements": [
+          "A String",
+        ],
+        "negativeXfpAdSlots": [
+          "A String",
+        ],
+        "positiveVideoDurationSegments": [
+          "A String",
+        ],
+        "positiveAudienceSegments": [
+          "A String",
+        ],
+        "negativeDeviceCategories": [
+          "A String",
+        ],
+        "positiveAdTypeSegments": [
+          "A String",
+        ],
+        "negativeAdTypeSegments": [
+          "A String",
+        ],
+      },
+      "endDate": { # The end date for the offer.
+        "timeZoneId": "A String",
+        "hour": 42,
+        "month": 42,
+        "second": 42,
+        "year": 42,
+        "day": 42,
+        "minute": 42,
+      },
+      "termsAttributes": [ # A list of terms attributes.
+        "A String",
+      ],
+      "startDate": { # The start date for the offer.
+        "timeZoneId": "A String",
+        "hour": 42,
+        "month": 42,
+        "second": 42,
+        "year": 42,
+        "day": 42,
+        "minute": 42,
+      },
+      "buyerBillingType": "A String", # The buyer billing type.
+      "estimatedImpressionsPerDay": "A String", # The estimated daily impressions for the offer.
+      "monetizerType": "A String", # The monetizer type.
+      "targetByDealId": True or False, # Whether to target by deal id.
+      "adSlots": [ # The particular ad slots targeted by the offer.
+        {
+          "name": "A String",
+          "description": "A String",
+          "channelId": 42,
+          "channelCode": "A String",
+          "webPropertyId": 42,
+          "size": "A String",
+        },
+      ],
+      "advertisers": [ # A list of advertisers for this offer.
+        {
+          "brands": [
+            {
+              "advertiserId": "A String",
+              "id": "A String",
+              "name": "A String",
+            },
+          ],
+          "status": "A String",
+          "id": "A String",
+          "name": "A String",
+        },
+      ],
+      "minimumSpendMicros": "A String", # The minimum spend for the offer.
+      "targetingAllAdSlots": True or False, # If true, the offer targets all ad slots.
+      "creativeReviewPolicy": "A String", # Whether to use publisher review policy or AdX review policy.
+      "audienceSegmentDescription": "A String", # A description of the audience segment for the offer.
+      "dealPremium": { # The premium terms.
+        "micros": "A String",
+        "currencyCode": "A String",
+      },
+      "creativeBlockingLevel": "A String", # Whether to use or ignore publisher blocking rules.
+      "audienceSegment": { # The audience segment for the offer.
+        "numCookies": "A String",
+        "description": "A String",
+        "name": "A String",
+        "id": "A String",
+      },
+      "description": "A String", # A description for these terms.
+      "billingTerms": "A String", # The billing terms.
+      "semiTransparent": True or False, # Whether this offer is semi-transparent.
+      "minimumTrueLooks": "A String", # The minimum true looks for the offer.
+      "cpm": { # The cpm terms.
+        "micros": "A String",
+        "currencyCode": "A String",
+      },
+      "isReservation": True or False, # Whether the offer is a reservation.
+      "descriptiveName": "A String", # A descriptive name for these terms.
+      "urls": [ # The urls applicable to the offer.
+        "A String",
+      ],
+      "estimatedSpend": { # The estimated spend for the offer.
+        "micros": "A String",
+        "currencyCode": "A String",
+      },
+    },
+    "negotiationId": "A String", # The ID of the negotiation to which this negotiation round applies.
+    "roundNumber": "A String", # The number of this negotiation round, in sequence.
+    "notes": "A String", # Notes regarding this negotiation round.
+    "originatorRole": "A String", # The role, either buyer or seller, initiating this negotiation round.
+    "dbmPartnerId": "A String", # Stores DBM partner ID for use by DBM
+    "editHistory": { # The edit history of this negotiation round.
+      "createdTimeStamp": "A String",
+      "createdByLoginName": "A String",
+      "lastUpdatedByLoginName": "A String",
+      "lastUpdateTimeStamp": "A String",
+    },
+    "action": "A String", # The action performed by this negotiation round.
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/adexchangebuyer_v1_4.negotiations.html b/docs/dyn/adexchangebuyer_v1_4.negotiations.html new file mode 100644 index 00000000000..afebd4ed0b4 --- /dev/null +++ b/docs/dyn/adexchangebuyer_v1_4.negotiations.html @@ -0,0 +1,1450 @@ + + + +

Ad Exchange Buyer API . negotiations

+

Instance Methods

+

+ get(negotiationId)

+

Gets the requested negotiation.

+

+ insert(body)

+

Creates or updates the requested negotiation.

+

+ list()

+

Lists all negotiations the authenticated user has access to.

+

Method Details

+
+ get(negotiationId) +
Gets the requested negotiation.
+
+Args:
+  negotiationId: string, A parameter (required)
+
+Returns:
+  An object of the form:
+
+    {
+    "status": "A String", # The status of this negotiation.
+    "buyerEmailContacts": [ # The buyer party's contact email.
+      "A String",
+    ],
+    "labelNames": [ # A list of label names applicable to this negotiation.
+      "A String",
+    ],
+    "billedBuyer": { # The billed buyer; Specified by a buyer buying through an intermediary.
+      "buyer": {
+        "enabledForPreferredDeals": True or False,
+        "displayName": "A String",
+        "customerId": 42,
+        "enabledForInterestTargetingDeals": True or False,
+        "sponsorAccountId": 42,
+        "id": 42,
+        "accountId": 42,
+      },
+      "webProperty": {
+        "enabledForPreferredDeals": True or False,
+        "name": "A String",
+        "syndicationProduct": "A String",
+        "allowInterestTargetedAds": True or False,
+        "siteUrls": [
+          "A String",
+        ],
+        "propertyCode": "A String",
+        "id": 42,
+      },
+      "customerId": 42,
+      "name": "A String",
+      "buyerSellerRole": "A String",
+    },
+    "kind": "adexchangebuyer#negotiation",
+    "offerId": "A String", # The ID of this negotiation's original offer.
+    "negotiationRounds": [ # The series of negotiation rounds for this negotiation.
+      {
+        "kind": "adexchangebuyer#negotiationRound",
+        "terms": { # The detailed terms proposed in this negotiation round.
+          "finalizeAutomatically": True or False, # If true, the offer will finalize automatically when accepted.
+          "inventorySegmentTargeting": { # The inventory segment targeting for the offer.
+            "positiveIcmInterests": [
+              "A String",
+            ],
+            "positiveInventorySlots": [
+              "A String",
+            ],
+            "negativeSiteUrls": [
+              "A String",
+            ],
+            "positiveIcmBrands": [
+              "A String",
+            ],
+            "negativeXfpPlacements": [
+              "A String",
+            ],
+            "positiveVideoAdPositionSegments": [
+              "A String",
+            ],
+            "negativeIcmInterests": [
+              "A String",
+            ],
+            "negativeAudienceSegments": [
+              "A String",
+            ],
+            "positiveOperatingSystems": [
+              "A String",
+            ],
+            "negativeOperatingSystems": [
+              "A String",
+            ],
+            "negativeIcmBrands": [
+              "A String",
+            ],
+            "positiveLocations": [
+              "A String",
+            ],
+            "negativeMobileApps": [
+              "A String",
+            ],
+            "positiveDeviceCategories": [
+              "A String",
+            ],
+            "negativeAdSizes": [
+              {
+                "width": 42,
+                "height": 42,
+              },
+            ],
+            "negativeInventorySlots": [
+              "A String",
+            ],
+            "negativeVideoAdPositionSegments": [
+              "A String",
+            ],
+            "negativeVideoDurationSegments": [
+              "A String",
+            ],
+            "positiveSizes": [
+              "A String",
+            ],
+            "positiveXfpAdSlots": [
+              "A String",
+            ],
+            "positiveKeyValues": [
+              {
+                "keyName": "A String",
+                "value": "A String",
+              },
+            ],
+            "positiveSiteUrls": [
+              "A String",
+            ],
+            "positiveMobileApps": [
+              "A String",
+            ],
+            "negativeKeyValues": [
+              {
+                "keyName": "A String",
+                "value": "A String",
+              },
+            ],
+            "negativeSizes": [
+              "A String",
+            ],
+            "positiveOperatingSystemVersions": [
+              "A String",
+            ],
+            "negativeLocations": [
+              "A String",
+            ],
+            "positiveAdSizes": [
+              {
+                "width": 42,
+                "height": 42,
+              },
+            ],
+            "negativeOperatingSystemVersions": [
+              "A String",
+            ],
+            "positiveXfpPlacements": [
+              "A String",
+            ],
+            "negativeXfpAdSlots": [
+              "A String",
+            ],
+            "positiveVideoDurationSegments": [
+              "A String",
+            ],
+            "positiveAudienceSegments": [
+              "A String",
+            ],
+            "negativeDeviceCategories": [
+              "A String",
+            ],
+            "positiveAdTypeSegments": [
+              "A String",
+            ],
+            "negativeAdTypeSegments": [
+              "A String",
+            ],
+          },
+          "endDate": { # The end date for the offer.
+            "timeZoneId": "A String",
+            "hour": 42,
+            "month": 42,
+            "second": 42,
+            "year": 42,
+            "day": 42,
+            "minute": 42,
+          },
+          "termsAttributes": [ # A list of terms attributes.
+            "A String",
+          ],
+          "startDate": { # The start date for the offer.
+            "timeZoneId": "A String",
+            "hour": 42,
+            "month": 42,
+            "second": 42,
+            "year": 42,
+            "day": 42,
+            "minute": 42,
+          },
+          "buyerBillingType": "A String", # The buyer billing type.
+          "estimatedImpressionsPerDay": "A String", # The estimated daily impressions for the offer.
+          "monetizerType": "A String", # The monetizer type.
+          "targetByDealId": True or False, # Whether to target by deal id.
+          "adSlots": [ # The particular ad slots targeted by the offer.
+            {
+              "name": "A String",
+              "description": "A String",
+              "channelId": 42,
+              "channelCode": "A String",
+              "webPropertyId": 42,
+              "size": "A String",
+            },
+          ],
+          "advertisers": [ # A list of advertisers for this offer.
+            {
+              "brands": [
+                {
+                  "advertiserId": "A String",
+                  "id": "A String",
+                  "name": "A String",
+                },
+              ],
+              "status": "A String",
+              "id": "A String",
+              "name": "A String",
+            },
+          ],
+          "minimumSpendMicros": "A String", # The minimum spend for the offer.
+          "targetingAllAdSlots": True or False, # If true, the offer targets all ad slots.
+          "creativeReviewPolicy": "A String", # Whether to use publisher review policy or AdX review policy.
+          "audienceSegmentDescription": "A String", # A description of the audience segment for the offer.
+          "dealPremium": { # The premium terms.
+            "micros": "A String",
+            "currencyCode": "A String",
+          },
+          "creativeBlockingLevel": "A String", # Whether to use or ignore publisher blocking rules.
+          "audienceSegment": { # The audience segment for the offer.
+            "numCookies": "A String",
+            "description": "A String",
+            "name": "A String",
+            "id": "A String",
+          },
+          "description": "A String", # A description for these terms.
+          "billingTerms": "A String", # The billing terms.
+          "semiTransparent": True or False, # Whether this offer is semi-transparent.
+          "minimumTrueLooks": "A String", # The minimum true looks for the offer.
+          "cpm": { # The cpm terms.
+            "micros": "A String",
+            "currencyCode": "A String",
+          },
+          "isReservation": True or False, # Whether the offer is a reservation.
+          "descriptiveName": "A String", # A descriptive name for these terms.
+          "urls": [ # The urls applicable to the offer.
+            "A String",
+          ],
+          "estimatedSpend": { # The estimated spend for the offer.
+            "micros": "A String",
+            "currencyCode": "A String",
+          },
+        },
+        "negotiationId": "A String", # The ID of the negotiation to which this negotiation round applies.
+        "roundNumber": "A String", # The number of this negotiation round, in sequence.
+        "notes": "A String", # Notes regarding this negotiation round.
+        "originatorRole": "A String", # The role, either buyer or seller, initiating this negotiation round.
+        "dbmPartnerId": "A String", # Stores DBM partner ID for use by DBM
+        "editHistory": { # The edit history of this negotiation round.
+          "createdTimeStamp": "A String",
+          "createdByLoginName": "A String",
+          "lastUpdatedByLoginName": "A String",
+          "lastUpdateTimeStamp": "A String",
+        },
+        "action": "A String", # The action performed by this negotiation round.
+      },
+    ],
+    "negotiationId": "A String", # The unique ID of this negotiation.
+    "negotiationState": "A String", # The state of this negotiation.
+    "buyer": { # Details of the buyer party in this negotiation.
+      "buyer": {
+        "enabledForPreferredDeals": True or False,
+        "displayName": "A String",
+        "customerId": 42,
+        "enabledForInterestTargetingDeals": True or False,
+        "sponsorAccountId": 42,
+        "id": 42,
+        "accountId": 42,
+      },
+      "webProperty": {
+        "enabledForPreferredDeals": True or False,
+        "name": "A String",
+        "syndicationProduct": "A String",
+        "allowInterestTargetedAds": True or False,
+        "siteUrls": [
+          "A String",
+        ],
+        "propertyCode": "A String",
+        "id": 42,
+      },
+      "customerId": 42,
+      "name": "A String",
+      "buyerSellerRole": "A String",
+    },
+    "stats": { # The stats for this negotiation.
+      "revenue": {
+        "micros": "A String",
+        "currencyCode": "A String",
+      },
+      "bids": "A String",
+      "impressions": "A String",
+      "requests": "A String",
+      "goodBids": "A String",
+      "spend": {
+        "micros": "A String",
+        "currencyCode": "A String",
+      },
+    },
+    "externalDealId": "A String", # For finalized negotiations, the ID of the finalized deal.
+    "seller": { # Details of the seller party in this negotiation.
+      "buyer": {
+        "enabledForPreferredDeals": True or False,
+        "displayName": "A String",
+        "customerId": 42,
+        "enabledForInterestTargetingDeals": True or False,
+        "sponsorAccountId": 42,
+        "id": 42,
+        "accountId": 42,
+      },
+      "webProperty": {
+        "enabledForPreferredDeals": True or False,
+        "name": "A String",
+        "syndicationProduct": "A String",
+        "allowInterestTargetedAds": True or False,
+        "siteUrls": [
+          "A String",
+        ],
+        "propertyCode": "A String",
+        "id": 42,
+      },
+      "customerId": 42,
+      "name": "A String",
+      "buyerSellerRole": "A String",
+    },
+    "dealType": "A String", # The type of this deal.
+    "sellerEmailContacts": [ # The seller party's contact email.
+      "A String",
+    ],
+  }
+
+ +
+ insert(body) +
Creates or updates the requested negotiation.
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+  "status": "A String", # The status of this negotiation.
+  "buyerEmailContacts": [ # The buyer party's contact email.
+    "A String",
+  ],
+  "labelNames": [ # A list of label names applicable to this negotiation.
+    "A String",
+  ],
+  "billedBuyer": { # The billed buyer; Specified by a buyer buying through an intermediary.
+    "buyer": {
+      "enabledForPreferredDeals": True or False,
+      "displayName": "A String",
+      "customerId": 42,
+      "enabledForInterestTargetingDeals": True or False,
+      "sponsorAccountId": 42,
+      "id": 42,
+      "accountId": 42,
+    },
+    "webProperty": {
+      "enabledForPreferredDeals": True or False,
+      "name": "A String",
+      "syndicationProduct": "A String",
+      "allowInterestTargetedAds": True or False,
+      "siteUrls": [
+        "A String",
+      ],
+      "propertyCode": "A String",
+      "id": 42,
+    },
+    "customerId": 42,
+    "name": "A String",
+    "buyerSellerRole": "A String",
+  },
+  "kind": "adexchangebuyer#negotiation",
+  "offerId": "A String", # The ID of this negotiation's original offer.
+  "negotiationRounds": [ # The series of negotiation rounds for this negotiation.
+    {
+      "kind": "adexchangebuyer#negotiationRound",
+      "terms": { # The detailed terms proposed in this negotiation round.
+        "finalizeAutomatically": True or False, # If true, the offer will finalize automatically when accepted.
+        "inventorySegmentTargeting": { # The inventory segment targeting for the offer.
+          "positiveIcmInterests": [
+            "A String",
+          ],
+          "positiveInventorySlots": [
+            "A String",
+          ],
+          "negativeSiteUrls": [
+            "A String",
+          ],
+          "positiveIcmBrands": [
+            "A String",
+          ],
+          "negativeXfpPlacements": [
+            "A String",
+          ],
+          "positiveVideoAdPositionSegments": [
+            "A String",
+          ],
+          "negativeIcmInterests": [
+            "A String",
+          ],
+          "negativeAudienceSegments": [
+            "A String",
+          ],
+          "positiveOperatingSystems": [
+            "A String",
+          ],
+          "negativeOperatingSystems": [
+            "A String",
+          ],
+          "negativeIcmBrands": [
+            "A String",
+          ],
+          "positiveLocations": [
+            "A String",
+          ],
+          "negativeMobileApps": [
+            "A String",
+          ],
+          "positiveDeviceCategories": [
+            "A String",
+          ],
+          "negativeAdSizes": [
+            {
+              "width": 42,
+              "height": 42,
+            },
+          ],
+          "negativeInventorySlots": [
+            "A String",
+          ],
+          "negativeVideoAdPositionSegments": [
+            "A String",
+          ],
+          "negativeVideoDurationSegments": [
+            "A String",
+          ],
+          "positiveSizes": [
+            "A String",
+          ],
+          "positiveXfpAdSlots": [
+            "A String",
+          ],
+          "positiveKeyValues": [
+            {
+              "keyName": "A String",
+              "value": "A String",
+            },
+          ],
+          "positiveSiteUrls": [
+            "A String",
+          ],
+          "positiveMobileApps": [
+            "A String",
+          ],
+          "negativeKeyValues": [
+            {
+              "keyName": "A String",
+              "value": "A String",
+            },
+          ],
+          "negativeSizes": [
+            "A String",
+          ],
+          "positiveOperatingSystemVersions": [
+            "A String",
+          ],
+          "negativeLocations": [
+            "A String",
+          ],
+          "positiveAdSizes": [
+            {
+              "width": 42,
+              "height": 42,
+            },
+          ],
+          "negativeOperatingSystemVersions": [
+            "A String",
+          ],
+          "positiveXfpPlacements": [
+            "A String",
+          ],
+          "negativeXfpAdSlots": [
+            "A String",
+          ],
+          "positiveVideoDurationSegments": [
+            "A String",
+          ],
+          "positiveAudienceSegments": [
+            "A String",
+          ],
+          "negativeDeviceCategories": [
+            "A String",
+          ],
+          "positiveAdTypeSegments": [
+            "A String",
+          ],
+          "negativeAdTypeSegments": [
+            "A String",
+          ],
+        },
+        "endDate": { # The end date for the offer.
+          "timeZoneId": "A String",
+          "hour": 42,
+          "month": 42,
+          "second": 42,
+          "year": 42,
+          "day": 42,
+          "minute": 42,
+        },
+        "termsAttributes": [ # A list of terms attributes.
+          "A String",
+        ],
+        "startDate": { # The start date for the offer.
+          "timeZoneId": "A String",
+          "hour": 42,
+          "month": 42,
+          "second": 42,
+          "year": 42,
+          "day": 42,
+          "minute": 42,
+        },
+        "buyerBillingType": "A String", # The buyer billing type.
+        "estimatedImpressionsPerDay": "A String", # The estimated daily impressions for the offer.
+        "monetizerType": "A String", # The monetizer type.
+        "targetByDealId": True or False, # Whether to target by deal id.
+        "adSlots": [ # The particular ad slots targeted by the offer.
+          {
+            "name": "A String",
+            "description": "A String",
+            "channelId": 42,
+            "channelCode": "A String",
+            "webPropertyId": 42,
+            "size": "A String",
+          },
+        ],
+        "advertisers": [ # A list of advertisers for this offer.
+          {
+            "brands": [
+              {
+                "advertiserId": "A String",
+                "id": "A String",
+                "name": "A String",
+              },
+            ],
+            "status": "A String",
+            "id": "A String",
+            "name": "A String",
+          },
+        ],
+        "minimumSpendMicros": "A String", # The minimum spend for the offer.
+        "targetingAllAdSlots": True or False, # If true, the offer targets all ad slots.
+        "creativeReviewPolicy": "A String", # Whether to use publisher review policy or AdX review policy.
+        "audienceSegmentDescription": "A String", # A description of the audience segment for the offer.
+        "dealPremium": { # The premium terms.
+          "micros": "A String",
+          "currencyCode": "A String",
+        },
+        "creativeBlockingLevel": "A String", # Whether to use or ignore publisher blocking rules.
+        "audienceSegment": { # The audience segment for the offer.
+          "numCookies": "A String",
+          "description": "A String",
+          "name": "A String",
+          "id": "A String",
+        },
+        "description": "A String", # A description for these terms.
+        "billingTerms": "A String", # The billing terms.
+        "semiTransparent": True or False, # Whether this offer is semi-transparent.
+        "minimumTrueLooks": "A String", # The minimum true looks for the offer.
+        "cpm": { # The cpm terms.
+          "micros": "A String",
+          "currencyCode": "A String",
+        },
+        "isReservation": True or False, # Whether the offer is a reservation.
+        "descriptiveName": "A String", # A descriptive name for these terms.
+        "urls": [ # The urls applicable to the offer.
+          "A String",
+        ],
+        "estimatedSpend": { # The estimated spend for the offer.
+          "micros": "A String",
+          "currencyCode": "A String",
+        },
+      },
+      "negotiationId": "A String", # The ID of the negotiation to which this negotiation round applies.
+      "roundNumber": "A String", # The number of this negotiation round, in sequence.
+      "notes": "A String", # Notes regarding this negotiation round.
+      "originatorRole": "A String", # The role, either buyer or seller, initiating this negotiation round.
+      "dbmPartnerId": "A String", # Stores DBM partner ID for use by DBM
+      "editHistory": { # The edit history of this negotiation round.
+        "createdTimeStamp": "A String",
+        "createdByLoginName": "A String",
+        "lastUpdatedByLoginName": "A String",
+        "lastUpdateTimeStamp": "A String",
+      },
+      "action": "A String", # The action performed by this negotiation round.
+    },
+  ],
+  "negotiationId": "A String", # The unique ID of this negotiation.
+  "negotiationState": "A String", # The state of this negotiation.
+  "buyer": { # Details of the buyer party in this negotiation.
+    "buyer": {
+      "enabledForPreferredDeals": True or False,
+      "displayName": "A String",
+      "customerId": 42,
+      "enabledForInterestTargetingDeals": True or False,
+      "sponsorAccountId": 42,
+      "id": 42,
+      "accountId": 42,
+    },
+    "webProperty": {
+      "enabledForPreferredDeals": True or False,
+      "name": "A String",
+      "syndicationProduct": "A String",
+      "allowInterestTargetedAds": True or False,
+      "siteUrls": [
+        "A String",
+      ],
+      "propertyCode": "A String",
+      "id": 42,
+    },
+    "customerId": 42,
+    "name": "A String",
+    "buyerSellerRole": "A String",
+  },
+  "stats": { # The stats for this negotiation.
+    "revenue": {
+      "micros": "A String",
+      "currencyCode": "A String",
+    },
+    "bids": "A String",
+    "impressions": "A String",
+    "requests": "A String",
+    "goodBids": "A String",
+    "spend": {
+      "micros": "A String",
+      "currencyCode": "A String",
+    },
+  },
+  "externalDealId": "A String", # For finalized negotiations, the ID of the finalized deal.
+  "seller": { # Details of the seller party in this negotiation.
+    "buyer": {
+      "enabledForPreferredDeals": True or False,
+      "displayName": "A String",
+      "customerId": 42,
+      "enabledForInterestTargetingDeals": True or False,
+      "sponsorAccountId": 42,
+      "id": 42,
+      "accountId": 42,
+    },
+    "webProperty": {
+      "enabledForPreferredDeals": True or False,
+      "name": "A String",
+      "syndicationProduct": "A String",
+      "allowInterestTargetedAds": True or False,
+      "siteUrls": [
+        "A String",
+      ],
+      "propertyCode": "A String",
+      "id": 42,
+    },
+    "customerId": 42,
+    "name": "A String",
+    "buyerSellerRole": "A String",
+  },
+  "dealType": "A String", # The type of this deal.
+  "sellerEmailContacts": [ # The seller party's contact email.
+    "A String",
+  ],
+}
+
+
+Returns:
+  An object of the form:
+
+    {
+    "status": "A String", # The status of this negotiation.
+    "buyerEmailContacts": [ # The buyer party's contact email.
+      "A String",
+    ],
+    "labelNames": [ # A list of label names applicable to this negotiation.
+      "A String",
+    ],
+    "billedBuyer": { # The billed buyer; Specified by a buyer buying through an intermediary.
+      "buyer": {
+        "enabledForPreferredDeals": True or False,
+        "displayName": "A String",
+        "customerId": 42,
+        "enabledForInterestTargetingDeals": True or False,
+        "sponsorAccountId": 42,
+        "id": 42,
+        "accountId": 42,
+      },
+      "webProperty": {
+        "enabledForPreferredDeals": True or False,
+        "name": "A String",
+        "syndicationProduct": "A String",
+        "allowInterestTargetedAds": True or False,
+        "siteUrls": [
+          "A String",
+        ],
+        "propertyCode": "A String",
+        "id": 42,
+      },
+      "customerId": 42,
+      "name": "A String",
+      "buyerSellerRole": "A String",
+    },
+    "kind": "adexchangebuyer#negotiation",
+    "offerId": "A String", # The ID of this negotiation's original offer.
+    "negotiationRounds": [ # The series of negotiation rounds for this negotiation.
+      {
+        "kind": "adexchangebuyer#negotiationRound",
+        "terms": { # The detailed terms proposed in this negotiation round.
+          "finalizeAutomatically": True or False, # If true, the offer will finalize automatically when accepted.
+          "inventorySegmentTargeting": { # The inventory segment targeting for the offer.
+            "positiveIcmInterests": [
+              "A String",
+            ],
+            "positiveInventorySlots": [
+              "A String",
+            ],
+            "negativeSiteUrls": [
+              "A String",
+            ],
+            "positiveIcmBrands": [
+              "A String",
+            ],
+            "negativeXfpPlacements": [
+              "A String",
+            ],
+            "positiveVideoAdPositionSegments": [
+              "A String",
+            ],
+            "negativeIcmInterests": [
+              "A String",
+            ],
+            "negativeAudienceSegments": [
+              "A String",
+            ],
+            "positiveOperatingSystems": [
+              "A String",
+            ],
+            "negativeOperatingSystems": [
+              "A String",
+            ],
+            "negativeIcmBrands": [
+              "A String",
+            ],
+            "positiveLocations": [
+              "A String",
+            ],
+            "negativeMobileApps": [
+              "A String",
+            ],
+            "positiveDeviceCategories": [
+              "A String",
+            ],
+            "negativeAdSizes": [
+              {
+                "width": 42,
+                "height": 42,
+              },
+            ],
+            "negativeInventorySlots": [
+              "A String",
+            ],
+            "negativeVideoAdPositionSegments": [
+              "A String",
+            ],
+            "negativeVideoDurationSegments": [
+              "A String",
+            ],
+            "positiveSizes": [
+              "A String",
+            ],
+            "positiveXfpAdSlots": [
+              "A String",
+            ],
+            "positiveKeyValues": [
+              {
+                "keyName": "A String",
+                "value": "A String",
+              },
+            ],
+            "positiveSiteUrls": [
+              "A String",
+            ],
+            "positiveMobileApps": [
+              "A String",
+            ],
+            "negativeKeyValues": [
+              {
+                "keyName": "A String",
+                "value": "A String",
+              },
+            ],
+            "negativeSizes": [
+              "A String",
+            ],
+            "positiveOperatingSystemVersions": [
+              "A String",
+            ],
+            "negativeLocations": [
+              "A String",
+            ],
+            "positiveAdSizes": [
+              {
+                "width": 42,
+                "height": 42,
+              },
+            ],
+            "negativeOperatingSystemVersions": [
+              "A String",
+            ],
+            "positiveXfpPlacements": [
+              "A String",
+            ],
+            "negativeXfpAdSlots": [
+              "A String",
+            ],
+            "positiveVideoDurationSegments": [
+              "A String",
+            ],
+            "positiveAudienceSegments": [
+              "A String",
+            ],
+            "negativeDeviceCategories": [
+              "A String",
+            ],
+            "positiveAdTypeSegments": [
+              "A String",
+            ],
+            "negativeAdTypeSegments": [
+              "A String",
+            ],
+          },
+          "endDate": { # The end date for the offer.
+            "timeZoneId": "A String",
+            "hour": 42,
+            "month": 42,
+            "second": 42,
+            "year": 42,
+            "day": 42,
+            "minute": 42,
+          },
+          "termsAttributes": [ # A list of terms attributes.
+            "A String",
+          ],
+          "startDate": { # The start date for the offer.
+            "timeZoneId": "A String",
+            "hour": 42,
+            "month": 42,
+            "second": 42,
+            "year": 42,
+            "day": 42,
+            "minute": 42,
+          },
+          "buyerBillingType": "A String", # The buyer billing type.
+          "estimatedImpressionsPerDay": "A String", # The estimated daily impressions for the offer.
+          "monetizerType": "A String", # The monetizer type.
+          "targetByDealId": True or False, # Whether to target by deal id.
+          "adSlots": [ # The particular ad slots targeted by the offer.
+            {
+              "name": "A String",
+              "description": "A String",
+              "channelId": 42,
+              "channelCode": "A String",
+              "webPropertyId": 42,
+              "size": "A String",
+            },
+          ],
+          "advertisers": [ # A list of advertisers for this offer.
+            {
+              "brands": [
+                {
+                  "advertiserId": "A String",
+                  "id": "A String",
+                  "name": "A String",
+                },
+              ],
+              "status": "A String",
+              "id": "A String",
+              "name": "A String",
+            },
+          ],
+          "minimumSpendMicros": "A String", # The minimum spend for the offer.
+          "targetingAllAdSlots": True or False, # If true, the offer targets all ad slots.
+          "creativeReviewPolicy": "A String", # Whether to use publisher review policy or AdX review policy.
+          "audienceSegmentDescription": "A String", # A description of the audience segment for the offer.
+          "dealPremium": { # The premium terms.
+            "micros": "A String",
+            "currencyCode": "A String",
+          },
+          "creativeBlockingLevel": "A String", # Whether to use or ignore publisher blocking rules.
+          "audienceSegment": { # The audience segment for the offer.
+            "numCookies": "A String",
+            "description": "A String",
+            "name": "A String",
+            "id": "A String",
+          },
+          "description": "A String", # A description for these terms.
+          "billingTerms": "A String", # The billing terms.
+          "semiTransparent": True or False, # Whether this offer is semi-transparent.
+          "minimumTrueLooks": "A String", # The minimum true looks for the offer.
+          "cpm": { # The cpm terms.
+            "micros": "A String",
+            "currencyCode": "A String",
+          },
+          "isReservation": True or False, # Whether the offer is a reservation.
+          "descriptiveName": "A String", # A descriptive name for these terms.
+          "urls": [ # The urls applicable to the offer.
+            "A String",
+          ],
+          "estimatedSpend": { # The estimated spend for the offer.
+            "micros": "A String",
+            "currencyCode": "A String",
+          },
+        },
+        "negotiationId": "A String", # The ID of the negotiation to which this negotiation round applies.
+        "roundNumber": "A String", # The number of this negotiation round, in sequence.
+        "notes": "A String", # Notes regarding this negotiation round.
+        "originatorRole": "A String", # The role, either buyer or seller, initiating this negotiation round.
+        "dbmPartnerId": "A String", # Stores DBM partner ID for use by DBM
+        "editHistory": { # The edit history of this negotiation round.
+          "createdTimeStamp": "A String",
+          "createdByLoginName": "A String",
+          "lastUpdatedByLoginName": "A String",
+          "lastUpdateTimeStamp": "A String",
+        },
+        "action": "A String", # The action performed by this negotiation round.
+      },
+    ],
+    "negotiationId": "A String", # The unique ID of this negotiation.
+    "negotiationState": "A String", # The state of this negotiation.
+    "buyer": { # Details of the buyer party in this negotiation.
+      "buyer": {
+        "enabledForPreferredDeals": True or False,
+        "displayName": "A String",
+        "customerId": 42,
+        "enabledForInterestTargetingDeals": True or False,
+        "sponsorAccountId": 42,
+        "id": 42,
+        "accountId": 42,
+      },
+      "webProperty": {
+        "enabledForPreferredDeals": True or False,
+        "name": "A String",
+        "syndicationProduct": "A String",
+        "allowInterestTargetedAds": True or False,
+        "siteUrls": [
+          "A String",
+        ],
+        "propertyCode": "A String",
+        "id": 42,
+      },
+      "customerId": 42,
+      "name": "A String",
+      "buyerSellerRole": "A String",
+    },
+    "stats": { # The stats for this negotiation.
+      "revenue": {
+        "micros": "A String",
+        "currencyCode": "A String",
+      },
+      "bids": "A String",
+      "impressions": "A String",
+      "requests": "A String",
+      "goodBids": "A String",
+      "spend": {
+        "micros": "A String",
+        "currencyCode": "A String",
+      },
+    },
+    "externalDealId": "A String", # For finalized negotiations, the ID of the finalized deal.
+    "seller": { # Details of the seller party in this negotiation.
+      "buyer": {
+        "enabledForPreferredDeals": True or False,
+        "displayName": "A String",
+        "customerId": 42,
+        "enabledForInterestTargetingDeals": True or False,
+        "sponsorAccountId": 42,
+        "id": 42,
+        "accountId": 42,
+      },
+      "webProperty": {
+        "enabledForPreferredDeals": True or False,
+        "name": "A String",
+        "syndicationProduct": "A String",
+        "allowInterestTargetedAds": True or False,
+        "siteUrls": [
+          "A String",
+        ],
+        "propertyCode": "A String",
+        "id": 42,
+      },
+      "customerId": 42,
+      "name": "A String",
+      "buyerSellerRole": "A String",
+    },
+    "dealType": "A String", # The type of this deal.
+    "sellerEmailContacts": [ # The seller party's contact email.
+      "A String",
+    ],
+  }
+
+ +
+ list() +
Lists all negotiations the authenticated user has access to.
+
+Args:
+
+Returns:
+  An object of the form:
+
+    {
+    "kind": "adexchangebuyer#negotiationsList",
+    "negotiations": [
+      {
+        "status": "A String", # The status of this negotiation.
+        "buyerEmailContacts": [ # The buyer party's contact email.
+          "A String",
+        ],
+        "labelNames": [ # A list of label names applicable to this negotiation.
+          "A String",
+        ],
+        "billedBuyer": { # The billed buyer; Specified by a buyer buying through an intermediary.
+          "buyer": {
+            "enabledForPreferredDeals": True or False,
+            "displayName": "A String",
+            "customerId": 42,
+            "enabledForInterestTargetingDeals": True or False,
+            "sponsorAccountId": 42,
+            "id": 42,
+            "accountId": 42,
+          },
+          "webProperty": {
+            "enabledForPreferredDeals": True or False,
+            "name": "A String",
+            "syndicationProduct": "A String",
+            "allowInterestTargetedAds": True or False,
+            "siteUrls": [
+              "A String",
+            ],
+            "propertyCode": "A String",
+            "id": 42,
+          },
+          "customerId": 42,
+          "name": "A String",
+          "buyerSellerRole": "A String",
+        },
+        "kind": "adexchangebuyer#negotiation",
+        "offerId": "A String", # The ID of this negotiation's original offer.
+        "negotiationRounds": [ # The series of negotiation rounds for this negotiation.
+          {
+            "kind": "adexchangebuyer#negotiationRound",
+            "terms": { # The detailed terms proposed in this negotiation round.
+              "finalizeAutomatically": True or False, # If true, the offer will finalize automatically when accepted.
+              "inventorySegmentTargeting": { # The inventory segment targeting for the offer.
+                "positiveIcmInterests": [
+                  "A String",
+                ],
+                "positiveInventorySlots": [
+                  "A String",
+                ],
+                "negativeSiteUrls": [
+                  "A String",
+                ],
+                "positiveIcmBrands": [
+                  "A String",
+                ],
+                "negativeXfpPlacements": [
+                  "A String",
+                ],
+                "positiveVideoAdPositionSegments": [
+                  "A String",
+                ],
+                "negativeIcmInterests": [
+                  "A String",
+                ],
+                "negativeAudienceSegments": [
+                  "A String",
+                ],
+                "positiveOperatingSystems": [
+                  "A String",
+                ],
+                "negativeOperatingSystems": [
+                  "A String",
+                ],
+                "negativeIcmBrands": [
+                  "A String",
+                ],
+                "positiveLocations": [
+                  "A String",
+                ],
+                "negativeMobileApps": [
+                  "A String",
+                ],
+                "positiveDeviceCategories": [
+                  "A String",
+                ],
+                "negativeAdSizes": [
+                  {
+                    "width": 42,
+                    "height": 42,
+                  },
+                ],
+                "negativeInventorySlots": [
+                  "A String",
+                ],
+                "negativeVideoAdPositionSegments": [
+                  "A String",
+                ],
+                "negativeVideoDurationSegments": [
+                  "A String",
+                ],
+                "positiveSizes": [
+                  "A String",
+                ],
+                "positiveXfpAdSlots": [
+                  "A String",
+                ],
+                "positiveKeyValues": [
+                  {
+                    "keyName": "A String",
+                    "value": "A String",
+                  },
+                ],
+                "positiveSiteUrls": [
+                  "A String",
+                ],
+                "positiveMobileApps": [
+                  "A String",
+                ],
+                "negativeKeyValues": [
+                  {
+                    "keyName": "A String",
+                    "value": "A String",
+                  },
+                ],
+                "negativeSizes": [
+                  "A String",
+                ],
+                "positiveOperatingSystemVersions": [
+                  "A String",
+                ],
+                "negativeLocations": [
+                  "A String",
+                ],
+                "positiveAdSizes": [
+                  {
+                    "width": 42,
+                    "height": 42,
+                  },
+                ],
+                "negativeOperatingSystemVersions": [
+                  "A String",
+                ],
+                "positiveXfpPlacements": [
+                  "A String",
+                ],
+                "negativeXfpAdSlots": [
+                  "A String",
+                ],
+                "positiveVideoDurationSegments": [
+                  "A String",
+                ],
+                "positiveAudienceSegments": [
+                  "A String",
+                ],
+                "negativeDeviceCategories": [
+                  "A String",
+                ],
+                "positiveAdTypeSegments": [
+                  "A String",
+                ],
+                "negativeAdTypeSegments": [
+                  "A String",
+                ],
+              },
+              "endDate": { # The end date for the offer.
+                "timeZoneId": "A String",
+                "hour": 42,
+                "month": 42,
+                "second": 42,
+                "year": 42,
+                "day": 42,
+                "minute": 42,
+              },
+              "termsAttributes": [ # A list of terms attributes.
+                "A String",
+              ],
+              "startDate": { # The start date for the offer.
+                "timeZoneId": "A String",
+                "hour": 42,
+                "month": 42,
+                "second": 42,
+                "year": 42,
+                "day": 42,
+                "minute": 42,
+              },
+              "buyerBillingType": "A String", # The buyer billing type.
+              "estimatedImpressionsPerDay": "A String", # The estimated daily impressions for the offer.
+              "monetizerType": "A String", # The monetizer type.
+              "targetByDealId": True or False, # Whether to target by deal id.
+              "adSlots": [ # The particular ad slots targeted by the offer.
+                {
+                  "name": "A String",
+                  "description": "A String",
+                  "channelId": 42,
+                  "channelCode": "A String",
+                  "webPropertyId": 42,
+                  "size": "A String",
+                },
+              ],
+              "advertisers": [ # A list of advertisers for this offer.
+                {
+                  "brands": [
+                    {
+                      "advertiserId": "A String",
+                      "id": "A String",
+                      "name": "A String",
+                    },
+                  ],
+                  "status": "A String",
+                  "id": "A String",
+                  "name": "A String",
+                },
+              ],
+              "minimumSpendMicros": "A String", # The minimum spend for the offer.
+              "targetingAllAdSlots": True or False, # If true, the offer targets all ad slots.
+              "creativeReviewPolicy": "A String", # Whether to use publisher review policy or AdX review policy.
+              "audienceSegmentDescription": "A String", # A description of the audience segment for the offer.
+              "dealPremium": { # The premium terms.
+                "micros": "A String",
+                "currencyCode": "A String",
+              },
+              "creativeBlockingLevel": "A String", # Whether to use or ignore publisher blocking rules.
+              "audienceSegment": { # The audience segment for the offer.
+                "numCookies": "A String",
+                "description": "A String",
+                "name": "A String",
+                "id": "A String",
+              },
+              "description": "A String", # A description for these terms.
+              "billingTerms": "A String", # The billing terms.
+              "semiTransparent": True or False, # Whether this offer is semi-transparent.
+              "minimumTrueLooks": "A String", # The minimum true looks for the offer.
+              "cpm": { # The cpm terms.
+                "micros": "A String",
+                "currencyCode": "A String",
+              },
+              "isReservation": True or False, # Whether the offer is a reservation.
+              "descriptiveName": "A String", # A descriptive name for these terms.
+              "urls": [ # The urls applicable to the offer.
+                "A String",
+              ],
+              "estimatedSpend": { # The estimated spend for the offer.
+                "micros": "A String",
+                "currencyCode": "A String",
+              },
+            },
+            "negotiationId": "A String", # The ID of the negotiation to which this negotiation round applies.
+            "roundNumber": "A String", # The number of this negotiation round, in sequence.
+            "notes": "A String", # Notes regarding this negotiation round.
+            "originatorRole": "A String", # The role, either buyer or seller, initiating this negotiation round.
+            "dbmPartnerId": "A String", # Stores DBM partner ID for use by DBM
+            "editHistory": { # The edit history of this negotiation round.
+              "createdTimeStamp": "A String",
+              "createdByLoginName": "A String",
+              "lastUpdatedByLoginName": "A String",
+              "lastUpdateTimeStamp": "A String",
+            },
+            "action": "A String", # The action performed by this negotiation round.
+          },
+        ],
+        "negotiationId": "A String", # The unique ID of this negotiation.
+        "negotiationState": "A String", # The state of this negotiation.
+        "buyer": { # Details of the buyer party in this negotiation.
+          "buyer": {
+            "enabledForPreferredDeals": True or False,
+            "displayName": "A String",
+            "customerId": 42,
+            "enabledForInterestTargetingDeals": True or False,
+            "sponsorAccountId": 42,
+            "id": 42,
+            "accountId": 42,
+          },
+          "webProperty": {
+            "enabledForPreferredDeals": True or False,
+            "name": "A String",
+            "syndicationProduct": "A String",
+            "allowInterestTargetedAds": True or False,
+            "siteUrls": [
+              "A String",
+            ],
+            "propertyCode": "A String",
+            "id": 42,
+          },
+          "customerId": 42,
+          "name": "A String",
+          "buyerSellerRole": "A String",
+        },
+        "stats": { # The stats for this negotiation.
+          "revenue": {
+            "micros": "A String",
+            "currencyCode": "A String",
+          },
+          "bids": "A String",
+          "impressions": "A String",
+          "requests": "A String",
+          "goodBids": "A String",
+          "spend": {
+            "micros": "A String",
+            "currencyCode": "A String",
+          },
+        },
+        "externalDealId": "A String", # For finalized negotiations, the ID of the finalized deal.
+        "seller": { # Details of the seller party in this negotiation.
+          "buyer": {
+            "enabledForPreferredDeals": True or False,
+            "displayName": "A String",
+            "customerId": 42,
+            "enabledForInterestTargetingDeals": True or False,
+            "sponsorAccountId": 42,
+            "id": 42,
+            "accountId": 42,
+          },
+          "webProperty": {
+            "enabledForPreferredDeals": True or False,
+            "name": "A String",
+            "syndicationProduct": "A String",
+            "allowInterestTargetedAds": True or False,
+            "siteUrls": [
+              "A String",
+            ],
+            "propertyCode": "A String",
+            "id": 42,
+          },
+          "customerId": 42,
+          "name": "A String",
+          "buyerSellerRole": "A String",
+        },
+        "dealType": "A String", # The type of this deal.
+        "sellerEmailContacts": [ # The seller party's contact email.
+          "A String",
+        ],
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/adexchangebuyer_v1_4.offers.html b/docs/dyn/adexchangebuyer_v1_4.offers.html new file mode 100644 index 00000000000..0d9e056f39b --- /dev/null +++ b/docs/dyn/adexchangebuyer_v1_4.offers.html @@ -0,0 +1,1430 @@ + + + +

Ad Exchange Buyer API . offers

+

Instance Methods

+

+ get(offerId)

+

Gets the requested offer.

+

+ insert(body)

+

Creates or updates the requested offer.

+

+ list()

+

Lists all offers the authenticated user has access to.

+

Method Details

+
+ get(offerId) +
Gets the requested offer.
+
+Args:
+  offerId: string, A parameter (required)
+
+Returns:
+  An object of the form:
+
+    {
+      "status": "A String", # The status of this offer.
+      "kind": "adexchangebuyer#offer",
+      "labelNames": [ # The list of label names applicable to this offer.
+        "A String",
+      ],
+      "pointOfContact": "A String", # The point of contact for this offer.
+      "isOpen": True or False, # Whether this offer is open.
+      "creator": { # The creator of this offer.
+        "buyer": {
+          "enabledForPreferredDeals": True or False,
+          "displayName": "A String",
+          "customerId": 42,
+          "enabledForInterestTargetingDeals": True or False,
+          "sponsorAccountId": 42,
+          "id": 42,
+          "accountId": 42,
+        },
+        "webProperty": {
+          "enabledForPreferredDeals": True or False,
+          "name": "A String",
+          "syndicationProduct": "A String",
+          "allowInterestTargetedAds": True or False,
+          "siteUrls": [
+            "A String",
+          ],
+          "propertyCode": "A String",
+          "id": 42,
+        },
+        "customerId": 42,
+        "name": "A String",
+        "buyerSellerRole": "A String",
+      },
+      "closedToDealParties": [ # The list of buyer or seller parties this offer is closed to.
+        {
+          "buyer": {
+            "enabledForPreferredDeals": True or False,
+            "displayName": "A String",
+            "customerId": 42,
+            "enabledForInterestTargetingDeals": True or False,
+            "sponsorAccountId": 42,
+            "id": 42,
+            "accountId": 42,
+          },
+          "webProperty": {
+            "enabledForPreferredDeals": True or False,
+            "name": "A String",
+            "syndicationProduct": "A String",
+            "allowInterestTargetedAds": True or False,
+            "siteUrls": [
+              "A String",
+            ],
+            "propertyCode": "A String",
+            "id": 42,
+          },
+          "customerId": 42,
+          "name": "A String",
+          "buyerSellerRole": "A String",
+        },
+      ],
+      "billedBuyer": { # The billed buyer; For buyer initiated offers, buying through an intermediary.
+        "buyer": {
+          "enabledForPreferredDeals": True or False,
+          "displayName": "A String",
+          "customerId": 42,
+          "enabledForInterestTargetingDeals": True or False,
+          "sponsorAccountId": 42,
+          "id": 42,
+          "accountId": 42,
+        },
+        "webProperty": {
+          "enabledForPreferredDeals": True or False,
+          "name": "A String",
+          "syndicationProduct": "A String",
+          "allowInterestTargetedAds": True or False,
+          "siteUrls": [
+            "A String",
+          ],
+          "propertyCode": "A String",
+          "id": 42,
+        },
+        "customerId": 42,
+        "name": "A String",
+        "buyerSellerRole": "A String",
+      },
+      "offerId": "A String", # The unique ID of this offer.
+      "openToDealParties": [ # The list of buyer or seller parties this offer is open to.
+        {
+          "buyer": {
+            "enabledForPreferredDeals": True or False,
+            "displayName": "A String",
+            "customerId": 42,
+            "enabledForInterestTargetingDeals": True or False,
+            "sponsorAccountId": 42,
+            "id": 42,
+            "accountId": 42,
+          },
+          "webProperty": {
+            "enabledForPreferredDeals": True or False,
+            "name": "A String",
+            "syndicationProduct": "A String",
+            "allowInterestTargetedAds": True or False,
+            "siteUrls": [
+              "A String",
+            ],
+            "propertyCode": "A String",
+            "id": 42,
+          },
+          "customerId": 42,
+          "name": "A String",
+          "buyerSellerRole": "A String",
+        },
+      ],
+      "offerState": "A String", # The state of this offer.
+      "anonymous": True or False, # Whether this offer is anonymous.
+      "terms": { # The terms of this offer.
+        "finalizeAutomatically": True or False, # If true, the offer will finalize automatically when accepted.
+        "inventorySegmentTargeting": { # The inventory segment targeting for the offer.
+          "positiveIcmInterests": [
+            "A String",
+          ],
+          "positiveInventorySlots": [
+            "A String",
+          ],
+          "negativeSiteUrls": [
+            "A String",
+          ],
+          "positiveIcmBrands": [
+            "A String",
+          ],
+          "negativeXfpPlacements": [
+            "A String",
+          ],
+          "positiveVideoAdPositionSegments": [
+            "A String",
+          ],
+          "negativeIcmInterests": [
+            "A String",
+          ],
+          "negativeAudienceSegments": [
+            "A String",
+          ],
+          "positiveOperatingSystems": [
+            "A String",
+          ],
+          "negativeOperatingSystems": [
+            "A String",
+          ],
+          "negativeIcmBrands": [
+            "A String",
+          ],
+          "positiveLocations": [
+            "A String",
+          ],
+          "negativeMobileApps": [
+            "A String",
+          ],
+          "positiveDeviceCategories": [
+            "A String",
+          ],
+          "negativeAdSizes": [
+            {
+              "width": 42,
+              "height": 42,
+            },
+          ],
+          "negativeInventorySlots": [
+            "A String",
+          ],
+          "negativeVideoAdPositionSegments": [
+            "A String",
+          ],
+          "negativeVideoDurationSegments": [
+            "A String",
+          ],
+          "positiveSizes": [
+            "A String",
+          ],
+          "positiveXfpAdSlots": [
+            "A String",
+          ],
+          "positiveKeyValues": [
+            {
+              "keyName": "A String",
+              "value": "A String",
+            },
+          ],
+          "positiveSiteUrls": [
+            "A String",
+          ],
+          "positiveMobileApps": [
+            "A String",
+          ],
+          "negativeKeyValues": [
+            {
+              "keyName": "A String",
+              "value": "A String",
+            },
+          ],
+          "negativeSizes": [
+            "A String",
+          ],
+          "positiveOperatingSystemVersions": [
+            "A String",
+          ],
+          "negativeLocations": [
+            "A String",
+          ],
+          "positiveAdSizes": [
+            {
+              "width": 42,
+              "height": 42,
+            },
+          ],
+          "negativeOperatingSystemVersions": [
+            "A String",
+          ],
+          "positiveXfpPlacements": [
+            "A String",
+          ],
+          "negativeXfpAdSlots": [
+            "A String",
+          ],
+          "positiveVideoDurationSegments": [
+            "A String",
+          ],
+          "positiveAudienceSegments": [
+            "A String",
+          ],
+          "negativeDeviceCategories": [
+            "A String",
+          ],
+          "positiveAdTypeSegments": [
+            "A String",
+          ],
+          "negativeAdTypeSegments": [
+            "A String",
+          ],
+        },
+        "endDate": { # The end date for the offer.
+          "timeZoneId": "A String",
+          "hour": 42,
+          "month": 42,
+          "second": 42,
+          "year": 42,
+          "day": 42,
+          "minute": 42,
+        },
+        "termsAttributes": [ # A list of terms attributes.
+          "A String",
+        ],
+        "startDate": { # The start date for the offer.
+          "timeZoneId": "A String",
+          "hour": 42,
+          "month": 42,
+          "second": 42,
+          "year": 42,
+          "day": 42,
+          "minute": 42,
+        },
+        "buyerBillingType": "A String", # The buyer billing type.
+        "estimatedImpressionsPerDay": "A String", # The estimated daily impressions for the offer.
+        "monetizerType": "A String", # The monetizer type.
+        "targetByDealId": True or False, # Whether to target by deal id.
+        "adSlots": [ # The particular ad slots targeted by the offer.
+          {
+            "name": "A String",
+            "description": "A String",
+            "channelId": 42,
+            "channelCode": "A String",
+            "webPropertyId": 42,
+            "size": "A String",
+          },
+        ],
+        "advertisers": [ # A list of advertisers for this offer.
+          {
+            "brands": [
+              {
+                "advertiserId": "A String",
+                "id": "A String",
+                "name": "A String",
+              },
+            ],
+            "status": "A String",
+            "id": "A String",
+            "name": "A String",
+          },
+        ],
+        "minimumSpendMicros": "A String", # The minimum spend for the offer.
+        "targetingAllAdSlots": True or False, # If true, the offer targets all ad slots.
+        "creativeReviewPolicy": "A String", # Whether to use publisher review policy or AdX review policy.
+        "audienceSegmentDescription": "A String", # A description of the audience segment for the offer.
+        "dealPremium": { # The premium terms.
+          "micros": "A String",
+          "currencyCode": "A String",
+        },
+        "creativeBlockingLevel": "A String", # Whether to use or ignore publisher blocking rules.
+        "audienceSegment": { # The audience segment for the offer.
+          "numCookies": "A String",
+          "description": "A String",
+          "name": "A String",
+          "id": "A String",
+        },
+        "description": "A String", # A description for these terms.
+        "billingTerms": "A String", # The billing terms.
+        "semiTransparent": True or False, # Whether this offer is semi-transparent.
+        "minimumTrueLooks": "A String", # The minimum true looks for the offer.
+        "cpm": { # The cpm terms.
+          "micros": "A String",
+          "currencyCode": "A String",
+        },
+        "isReservation": True or False, # Whether the offer is a reservation.
+        "descriptiveName": "A String", # A descriptive name for these terms.
+        "urls": [ # The urls applicable to the offer.
+          "A String",
+        ],
+        "estimatedSpend": { # The estimated spend for the offer.
+          "micros": "A String",
+          "currencyCode": "A String",
+        },
+      },
+      "emailContacts": [ # The list of email contacts for this offer.
+        "A String",
+      ],
+    }
+
+ +
+ insert(body) +
Creates or updates the requested offer.
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "status": "A String", # The status of this offer.
+    "kind": "adexchangebuyer#offer",
+    "labelNames": [ # The list of label names applicable to this offer.
+      "A String",
+    ],
+    "pointOfContact": "A String", # The point of contact for this offer.
+    "isOpen": True or False, # Whether this offer is open.
+    "creator": { # The creator of this offer.
+      "buyer": {
+        "enabledForPreferredDeals": True or False,
+        "displayName": "A String",
+        "customerId": 42,
+        "enabledForInterestTargetingDeals": True or False,
+        "sponsorAccountId": 42,
+        "id": 42,
+        "accountId": 42,
+      },
+      "webProperty": {
+        "enabledForPreferredDeals": True or False,
+        "name": "A String",
+        "syndicationProduct": "A String",
+        "allowInterestTargetedAds": True or False,
+        "siteUrls": [
+          "A String",
+        ],
+        "propertyCode": "A String",
+        "id": 42,
+      },
+      "customerId": 42,
+      "name": "A String",
+      "buyerSellerRole": "A String",
+    },
+    "closedToDealParties": [ # The list of buyer or seller parties this offer is closed to.
+      {
+        "buyer": {
+          "enabledForPreferredDeals": True or False,
+          "displayName": "A String",
+          "customerId": 42,
+          "enabledForInterestTargetingDeals": True or False,
+          "sponsorAccountId": 42,
+          "id": 42,
+          "accountId": 42,
+        },
+        "webProperty": {
+          "enabledForPreferredDeals": True or False,
+          "name": "A String",
+          "syndicationProduct": "A String",
+          "allowInterestTargetedAds": True or False,
+          "siteUrls": [
+            "A String",
+          ],
+          "propertyCode": "A String",
+          "id": 42,
+        },
+        "customerId": 42,
+        "name": "A String",
+        "buyerSellerRole": "A String",
+      },
+    ],
+    "billedBuyer": { # The billed buyer; For buyer initiated offers, buying through an intermediary.
+      "buyer": {
+        "enabledForPreferredDeals": True or False,
+        "displayName": "A String",
+        "customerId": 42,
+        "enabledForInterestTargetingDeals": True or False,
+        "sponsorAccountId": 42,
+        "id": 42,
+        "accountId": 42,
+      },
+      "webProperty": {
+        "enabledForPreferredDeals": True or False,
+        "name": "A String",
+        "syndicationProduct": "A String",
+        "allowInterestTargetedAds": True or False,
+        "siteUrls": [
+          "A String",
+        ],
+        "propertyCode": "A String",
+        "id": 42,
+      },
+      "customerId": 42,
+      "name": "A String",
+      "buyerSellerRole": "A String",
+    },
+    "offerId": "A String", # The unique ID of this offer.
+    "openToDealParties": [ # The list of buyer or seller parties this offer is open to.
+      {
+        "buyer": {
+          "enabledForPreferredDeals": True or False,
+          "displayName": "A String",
+          "customerId": 42,
+          "enabledForInterestTargetingDeals": True or False,
+          "sponsorAccountId": 42,
+          "id": 42,
+          "accountId": 42,
+        },
+        "webProperty": {
+          "enabledForPreferredDeals": True or False,
+          "name": "A String",
+          "syndicationProduct": "A String",
+          "allowInterestTargetedAds": True or False,
+          "siteUrls": [
+            "A String",
+          ],
+          "propertyCode": "A String",
+          "id": 42,
+        },
+        "customerId": 42,
+        "name": "A String",
+        "buyerSellerRole": "A String",
+      },
+    ],
+    "offerState": "A String", # The state of this offer.
+    "anonymous": True or False, # Whether this offer is anonymous.
+    "terms": { # The terms of this offer.
+      "finalizeAutomatically": True or False, # If true, the offer will finalize automatically when accepted.
+      "inventorySegmentTargeting": { # The inventory segment targeting for the offer.
+        "positiveIcmInterests": [
+          "A String",
+        ],
+        "positiveInventorySlots": [
+          "A String",
+        ],
+        "negativeSiteUrls": [
+          "A String",
+        ],
+        "positiveIcmBrands": [
+          "A String",
+        ],
+        "negativeXfpPlacements": [
+          "A String",
+        ],
+        "positiveVideoAdPositionSegments": [
+          "A String",
+        ],
+        "negativeIcmInterests": [
+          "A String",
+        ],
+        "negativeAudienceSegments": [
+          "A String",
+        ],
+        "positiveOperatingSystems": [
+          "A String",
+        ],
+        "negativeOperatingSystems": [
+          "A String",
+        ],
+        "negativeIcmBrands": [
+          "A String",
+        ],
+        "positiveLocations": [
+          "A String",
+        ],
+        "negativeMobileApps": [
+          "A String",
+        ],
+        "positiveDeviceCategories": [
+          "A String",
+        ],
+        "negativeAdSizes": [
+          {
+            "width": 42,
+            "height": 42,
+          },
+        ],
+        "negativeInventorySlots": [
+          "A String",
+        ],
+        "negativeVideoAdPositionSegments": [
+          "A String",
+        ],
+        "negativeVideoDurationSegments": [
+          "A String",
+        ],
+        "positiveSizes": [
+          "A String",
+        ],
+        "positiveXfpAdSlots": [
+          "A String",
+        ],
+        "positiveKeyValues": [
+          {
+            "keyName": "A String",
+            "value": "A String",
+          },
+        ],
+        "positiveSiteUrls": [
+          "A String",
+        ],
+        "positiveMobileApps": [
+          "A String",
+        ],
+        "negativeKeyValues": [
+          {
+            "keyName": "A String",
+            "value": "A String",
+          },
+        ],
+        "negativeSizes": [
+          "A String",
+        ],
+        "positiveOperatingSystemVersions": [
+          "A String",
+        ],
+        "negativeLocations": [
+          "A String",
+        ],
+        "positiveAdSizes": [
+          {
+            "width": 42,
+            "height": 42,
+          },
+        ],
+        "negativeOperatingSystemVersions": [
+          "A String",
+        ],
+        "positiveXfpPlacements": [
+          "A String",
+        ],
+        "negativeXfpAdSlots": [
+          "A String",
+        ],
+        "positiveVideoDurationSegments": [
+          "A String",
+        ],
+        "positiveAudienceSegments": [
+          "A String",
+        ],
+        "negativeDeviceCategories": [
+          "A String",
+        ],
+        "positiveAdTypeSegments": [
+          "A String",
+        ],
+        "negativeAdTypeSegments": [
+          "A String",
+        ],
+      },
+      "endDate": { # The end date for the offer.
+        "timeZoneId": "A String",
+        "hour": 42,
+        "month": 42,
+        "second": 42,
+        "year": 42,
+        "day": 42,
+        "minute": 42,
+      },
+      "termsAttributes": [ # A list of terms attributes.
+        "A String",
+      ],
+      "startDate": { # The start date for the offer.
+        "timeZoneId": "A String",
+        "hour": 42,
+        "month": 42,
+        "second": 42,
+        "year": 42,
+        "day": 42,
+        "minute": 42,
+      },
+      "buyerBillingType": "A String", # The buyer billing type.
+      "estimatedImpressionsPerDay": "A String", # The estimated daily impressions for the offer.
+      "monetizerType": "A String", # The monetizer type.
+      "targetByDealId": True or False, # Whether to target by deal id.
+      "adSlots": [ # The particular ad slots targeted by the offer.
+        {
+          "name": "A String",
+          "description": "A String",
+          "channelId": 42,
+          "channelCode": "A String",
+          "webPropertyId": 42,
+          "size": "A String",
+        },
+      ],
+      "advertisers": [ # A list of advertisers for this offer.
+        {
+          "brands": [
+            {
+              "advertiserId": "A String",
+              "id": "A String",
+              "name": "A String",
+            },
+          ],
+          "status": "A String",
+          "id": "A String",
+          "name": "A String",
+        },
+      ],
+      "minimumSpendMicros": "A String", # The minimum spend for the offer.
+      "targetingAllAdSlots": True or False, # If true, the offer targets all ad slots.
+      "creativeReviewPolicy": "A String", # Whether to use publisher review policy or AdX review policy.
+      "audienceSegmentDescription": "A String", # A description of the audience segment for the offer.
+      "dealPremium": { # The premium terms.
+        "micros": "A String",
+        "currencyCode": "A String",
+      },
+      "creativeBlockingLevel": "A String", # Whether to use or ignore publisher blocking rules.
+      "audienceSegment": { # The audience segment for the offer.
+        "numCookies": "A String",
+        "description": "A String",
+        "name": "A String",
+        "id": "A String",
+      },
+      "description": "A String", # A description for these terms.
+      "billingTerms": "A String", # The billing terms.
+      "semiTransparent": True or False, # Whether this offer is semi-transparent.
+      "minimumTrueLooks": "A String", # The minimum true looks for the offer.
+      "cpm": { # The cpm terms.
+        "micros": "A String",
+        "currencyCode": "A String",
+      },
+      "isReservation": True or False, # Whether the offer is a reservation.
+      "descriptiveName": "A String", # A descriptive name for these terms.
+      "urls": [ # The urls applicable to the offer.
+        "A String",
+      ],
+      "estimatedSpend": { # The estimated spend for the offer.
+        "micros": "A String",
+        "currencyCode": "A String",
+      },
+    },
+    "emailContacts": [ # The list of email contacts for this offer.
+      "A String",
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    {
+      "status": "A String", # The status of this offer.
+      "kind": "adexchangebuyer#offer",
+      "labelNames": [ # The list of label names applicable to this offer.
+        "A String",
+      ],
+      "pointOfContact": "A String", # The point of contact for this offer.
+      "isOpen": True or False, # Whether this offer is open.
+      "creator": { # The creator of this offer.
+        "buyer": {
+          "enabledForPreferredDeals": True or False,
+          "displayName": "A String",
+          "customerId": 42,
+          "enabledForInterestTargetingDeals": True or False,
+          "sponsorAccountId": 42,
+          "id": 42,
+          "accountId": 42,
+        },
+        "webProperty": {
+          "enabledForPreferredDeals": True or False,
+          "name": "A String",
+          "syndicationProduct": "A String",
+          "allowInterestTargetedAds": True or False,
+          "siteUrls": [
+            "A String",
+          ],
+          "propertyCode": "A String",
+          "id": 42,
+        },
+        "customerId": 42,
+        "name": "A String",
+        "buyerSellerRole": "A String",
+      },
+      "closedToDealParties": [ # The list of buyer or seller parties this offer is closed to.
+        {
+          "buyer": {
+            "enabledForPreferredDeals": True or False,
+            "displayName": "A String",
+            "customerId": 42,
+            "enabledForInterestTargetingDeals": True or False,
+            "sponsorAccountId": 42,
+            "id": 42,
+            "accountId": 42,
+          },
+          "webProperty": {
+            "enabledForPreferredDeals": True or False,
+            "name": "A String",
+            "syndicationProduct": "A String",
+            "allowInterestTargetedAds": True or False,
+            "siteUrls": [
+              "A String",
+            ],
+            "propertyCode": "A String",
+            "id": 42,
+          },
+          "customerId": 42,
+          "name": "A String",
+          "buyerSellerRole": "A String",
+        },
+      ],
+      "billedBuyer": { # The billed buyer; For buyer initiated offers, buying through an intermediary.
+        "buyer": {
+          "enabledForPreferredDeals": True or False,
+          "displayName": "A String",
+          "customerId": 42,
+          "enabledForInterestTargetingDeals": True or False,
+          "sponsorAccountId": 42,
+          "id": 42,
+          "accountId": 42,
+        },
+        "webProperty": {
+          "enabledForPreferredDeals": True or False,
+          "name": "A String",
+          "syndicationProduct": "A String",
+          "allowInterestTargetedAds": True or False,
+          "siteUrls": [
+            "A String",
+          ],
+          "propertyCode": "A String",
+          "id": 42,
+        },
+        "customerId": 42,
+        "name": "A String",
+        "buyerSellerRole": "A String",
+      },
+      "offerId": "A String", # The unique ID of this offer.
+      "openToDealParties": [ # The list of buyer or seller parties this offer is open to.
+        {
+          "buyer": {
+            "enabledForPreferredDeals": True or False,
+            "displayName": "A String",
+            "customerId": 42,
+            "enabledForInterestTargetingDeals": True or False,
+            "sponsorAccountId": 42,
+            "id": 42,
+            "accountId": 42,
+          },
+          "webProperty": {
+            "enabledForPreferredDeals": True or False,
+            "name": "A String",
+            "syndicationProduct": "A String",
+            "allowInterestTargetedAds": True or False,
+            "siteUrls": [
+              "A String",
+            ],
+            "propertyCode": "A String",
+            "id": 42,
+          },
+          "customerId": 42,
+          "name": "A String",
+          "buyerSellerRole": "A String",
+        },
+      ],
+      "offerState": "A String", # The state of this offer.
+      "anonymous": True or False, # Whether this offer is anonymous.
+      "terms": { # The terms of this offer.
+        "finalizeAutomatically": True or False, # If true, the offer will finalize automatically when accepted.
+        "inventorySegmentTargeting": { # The inventory segment targeting for the offer.
+          "positiveIcmInterests": [
+            "A String",
+          ],
+          "positiveInventorySlots": [
+            "A String",
+          ],
+          "negativeSiteUrls": [
+            "A String",
+          ],
+          "positiveIcmBrands": [
+            "A String",
+          ],
+          "negativeXfpPlacements": [
+            "A String",
+          ],
+          "positiveVideoAdPositionSegments": [
+            "A String",
+          ],
+          "negativeIcmInterests": [
+            "A String",
+          ],
+          "negativeAudienceSegments": [
+            "A String",
+          ],
+          "positiveOperatingSystems": [
+            "A String",
+          ],
+          "negativeOperatingSystems": [
+            "A String",
+          ],
+          "negativeIcmBrands": [
+            "A String",
+          ],
+          "positiveLocations": [
+            "A String",
+          ],
+          "negativeMobileApps": [
+            "A String",
+          ],
+          "positiveDeviceCategories": [
+            "A String",
+          ],
+          "negativeAdSizes": [
+            {
+              "width": 42,
+              "height": 42,
+            },
+          ],
+          "negativeInventorySlots": [
+            "A String",
+          ],
+          "negativeVideoAdPositionSegments": [
+            "A String",
+          ],
+          "negativeVideoDurationSegments": [
+            "A String",
+          ],
+          "positiveSizes": [
+            "A String",
+          ],
+          "positiveXfpAdSlots": [
+            "A String",
+          ],
+          "positiveKeyValues": [
+            {
+              "keyName": "A String",
+              "value": "A String",
+            },
+          ],
+          "positiveSiteUrls": [
+            "A String",
+          ],
+          "positiveMobileApps": [
+            "A String",
+          ],
+          "negativeKeyValues": [
+            {
+              "keyName": "A String",
+              "value": "A String",
+            },
+          ],
+          "negativeSizes": [
+            "A String",
+          ],
+          "positiveOperatingSystemVersions": [
+            "A String",
+          ],
+          "negativeLocations": [
+            "A String",
+          ],
+          "positiveAdSizes": [
+            {
+              "width": 42,
+              "height": 42,
+            },
+          ],
+          "negativeOperatingSystemVersions": [
+            "A String",
+          ],
+          "positiveXfpPlacements": [
+            "A String",
+          ],
+          "negativeXfpAdSlots": [
+            "A String",
+          ],
+          "positiveVideoDurationSegments": [
+            "A String",
+          ],
+          "positiveAudienceSegments": [
+            "A String",
+          ],
+          "negativeDeviceCategories": [
+            "A String",
+          ],
+          "positiveAdTypeSegments": [
+            "A String",
+          ],
+          "negativeAdTypeSegments": [
+            "A String",
+          ],
+        },
+        "endDate": { # The end date for the offer.
+          "timeZoneId": "A String",
+          "hour": 42,
+          "month": 42,
+          "second": 42,
+          "year": 42,
+          "day": 42,
+          "minute": 42,
+        },
+        "termsAttributes": [ # A list of terms attributes.
+          "A String",
+        ],
+        "startDate": { # The start date for the offer.
+          "timeZoneId": "A String",
+          "hour": 42,
+          "month": 42,
+          "second": 42,
+          "year": 42,
+          "day": 42,
+          "minute": 42,
+        },
+        "buyerBillingType": "A String", # The buyer billing type.
+        "estimatedImpressionsPerDay": "A String", # The estimated daily impressions for the offer.
+        "monetizerType": "A String", # The monetizer type.
+        "targetByDealId": True or False, # Whether to target by deal id.
+        "adSlots": [ # The particular ad slots targeted by the offer.
+          {
+            "name": "A String",
+            "description": "A String",
+            "channelId": 42,
+            "channelCode": "A String",
+            "webPropertyId": 42,
+            "size": "A String",
+          },
+        ],
+        "advertisers": [ # A list of advertisers for this offer.
+          {
+            "brands": [
+              {
+                "advertiserId": "A String",
+                "id": "A String",
+                "name": "A String",
+              },
+            ],
+            "status": "A String",
+            "id": "A String",
+            "name": "A String",
+          },
+        ],
+        "minimumSpendMicros": "A String", # The minimum spend for the offer.
+        "targetingAllAdSlots": True or False, # If true, the offer targets all ad slots.
+        "creativeReviewPolicy": "A String", # Whether to use publisher review policy or AdX review policy.
+        "audienceSegmentDescription": "A String", # A description of the audience segment for the offer.
+        "dealPremium": { # The premium terms.
+          "micros": "A String",
+          "currencyCode": "A String",
+        },
+        "creativeBlockingLevel": "A String", # Whether to use or ignore publisher blocking rules.
+        "audienceSegment": { # The audience segment for the offer.
+          "numCookies": "A String",
+          "description": "A String",
+          "name": "A String",
+          "id": "A String",
+        },
+        "description": "A String", # A description for these terms.
+        "billingTerms": "A String", # The billing terms.
+        "semiTransparent": True or False, # Whether this offer is semi-transparent.
+        "minimumTrueLooks": "A String", # The minimum true looks for the offer.
+        "cpm": { # The cpm terms.
+          "micros": "A String",
+          "currencyCode": "A String",
+        },
+        "isReservation": True or False, # Whether the offer is a reservation.
+        "descriptiveName": "A String", # A descriptive name for these terms.
+        "urls": [ # The urls applicable to the offer.
+          "A String",
+        ],
+        "estimatedSpend": { # The estimated spend for the offer.
+          "micros": "A String",
+          "currencyCode": "A String",
+        },
+      },
+      "emailContacts": [ # The list of email contacts for this offer.
+        "A String",
+      ],
+    }
+
+ +
+ list() +
Lists all offers the authenticated user has access to.
+
+Args:
+
+Returns:
+  An object of the form:
+
+    {
+    "kind": "adexchangebuyer#offersList",
+    "offers": [
+      {
+          "status": "A String", # The status of this offer.
+          "kind": "adexchangebuyer#offer",
+          "labelNames": [ # The list of label names applicable to this offer.
+            "A String",
+          ],
+          "pointOfContact": "A String", # The point of contact for this offer.
+          "isOpen": True or False, # Whether this offer is open.
+          "creator": { # The creator of this offer.
+            "buyer": {
+              "enabledForPreferredDeals": True or False,
+              "displayName": "A String",
+              "customerId": 42,
+              "enabledForInterestTargetingDeals": True or False,
+              "sponsorAccountId": 42,
+              "id": 42,
+              "accountId": 42,
+            },
+            "webProperty": {
+              "enabledForPreferredDeals": True or False,
+              "name": "A String",
+              "syndicationProduct": "A String",
+              "allowInterestTargetedAds": True or False,
+              "siteUrls": [
+                "A String",
+              ],
+              "propertyCode": "A String",
+              "id": 42,
+            },
+            "customerId": 42,
+            "name": "A String",
+            "buyerSellerRole": "A String",
+          },
+          "closedToDealParties": [ # The list of buyer or seller parties this offer is closed to.
+            {
+              "buyer": {
+                "enabledForPreferredDeals": True or False,
+                "displayName": "A String",
+                "customerId": 42,
+                "enabledForInterestTargetingDeals": True or False,
+                "sponsorAccountId": 42,
+                "id": 42,
+                "accountId": 42,
+              },
+              "webProperty": {
+                "enabledForPreferredDeals": True or False,
+                "name": "A String",
+                "syndicationProduct": "A String",
+                "allowInterestTargetedAds": True or False,
+                "siteUrls": [
+                  "A String",
+                ],
+                "propertyCode": "A String",
+                "id": 42,
+              },
+              "customerId": 42,
+              "name": "A String",
+              "buyerSellerRole": "A String",
+            },
+          ],
+          "billedBuyer": { # The billed buyer; For buyer initiated offers, buying through an intermediary.
+            "buyer": {
+              "enabledForPreferredDeals": True or False,
+              "displayName": "A String",
+              "customerId": 42,
+              "enabledForInterestTargetingDeals": True or False,
+              "sponsorAccountId": 42,
+              "id": 42,
+              "accountId": 42,
+            },
+            "webProperty": {
+              "enabledForPreferredDeals": True or False,
+              "name": "A String",
+              "syndicationProduct": "A String",
+              "allowInterestTargetedAds": True or False,
+              "siteUrls": [
+                "A String",
+              ],
+              "propertyCode": "A String",
+              "id": 42,
+            },
+            "customerId": 42,
+            "name": "A String",
+            "buyerSellerRole": "A String",
+          },
+          "offerId": "A String", # The unique ID of this offer.
+          "openToDealParties": [ # The list of buyer or seller parties this offer is open to.
+            {
+              "buyer": {
+                "enabledForPreferredDeals": True or False,
+                "displayName": "A String",
+                "customerId": 42,
+                "enabledForInterestTargetingDeals": True or False,
+                "sponsorAccountId": 42,
+                "id": 42,
+                "accountId": 42,
+              },
+              "webProperty": {
+                "enabledForPreferredDeals": True or False,
+                "name": "A String",
+                "syndicationProduct": "A String",
+                "allowInterestTargetedAds": True or False,
+                "siteUrls": [
+                  "A String",
+                ],
+                "propertyCode": "A String",
+                "id": 42,
+              },
+              "customerId": 42,
+              "name": "A String",
+              "buyerSellerRole": "A String",
+            },
+          ],
+          "offerState": "A String", # The state of this offer.
+          "anonymous": True or False, # Whether this offer is anonymous.
+          "terms": { # The terms of this offer.
+            "finalizeAutomatically": True or False, # If true, the offer will finalize automatically when accepted.
+            "inventorySegmentTargeting": { # The inventory segment targeting for the offer.
+              "positiveIcmInterests": [
+                "A String",
+              ],
+              "positiveInventorySlots": [
+                "A String",
+              ],
+              "negativeSiteUrls": [
+                "A String",
+              ],
+              "positiveIcmBrands": [
+                "A String",
+              ],
+              "negativeXfpPlacements": [
+                "A String",
+              ],
+              "positiveVideoAdPositionSegments": [
+                "A String",
+              ],
+              "negativeIcmInterests": [
+                "A String",
+              ],
+              "negativeAudienceSegments": [
+                "A String",
+              ],
+              "positiveOperatingSystems": [
+                "A String",
+              ],
+              "negativeOperatingSystems": [
+                "A String",
+              ],
+              "negativeIcmBrands": [
+                "A String",
+              ],
+              "positiveLocations": [
+                "A String",
+              ],
+              "negativeMobileApps": [
+                "A String",
+              ],
+              "positiveDeviceCategories": [
+                "A String",
+              ],
+              "negativeAdSizes": [
+                {
+                  "width": 42,
+                  "height": 42,
+                },
+              ],
+              "negativeInventorySlots": [
+                "A String",
+              ],
+              "negativeVideoAdPositionSegments": [
+                "A String",
+              ],
+              "negativeVideoDurationSegments": [
+                "A String",
+              ],
+              "positiveSizes": [
+                "A String",
+              ],
+              "positiveXfpAdSlots": [
+                "A String",
+              ],
+              "positiveKeyValues": [
+                {
+                  "keyName": "A String",
+                  "value": "A String",
+                },
+              ],
+              "positiveSiteUrls": [
+                "A String",
+              ],
+              "positiveMobileApps": [
+                "A String",
+              ],
+              "negativeKeyValues": [
+                {
+                  "keyName": "A String",
+                  "value": "A String",
+                },
+              ],
+              "negativeSizes": [
+                "A String",
+              ],
+              "positiveOperatingSystemVersions": [
+                "A String",
+              ],
+              "negativeLocations": [
+                "A String",
+              ],
+              "positiveAdSizes": [
+                {
+                  "width": 42,
+                  "height": 42,
+                },
+              ],
+              "negativeOperatingSystemVersions": [
+                "A String",
+              ],
+              "positiveXfpPlacements": [
+                "A String",
+              ],
+              "negativeXfpAdSlots": [
+                "A String",
+              ],
+              "positiveVideoDurationSegments": [
+                "A String",
+              ],
+              "positiveAudienceSegments": [
+                "A String",
+              ],
+              "negativeDeviceCategories": [
+                "A String",
+              ],
+              "positiveAdTypeSegments": [
+                "A String",
+              ],
+              "negativeAdTypeSegments": [
+                "A String",
+              ],
+            },
+            "endDate": { # The end date for the offer.
+              "timeZoneId": "A String",
+              "hour": 42,
+              "month": 42,
+              "second": 42,
+              "year": 42,
+              "day": 42,
+              "minute": 42,
+            },
+            "termsAttributes": [ # A list of terms attributes.
+              "A String",
+            ],
+            "startDate": { # The start date for the offer.
+              "timeZoneId": "A String",
+              "hour": 42,
+              "month": 42,
+              "second": 42,
+              "year": 42,
+              "day": 42,
+              "minute": 42,
+            },
+            "buyerBillingType": "A String", # The buyer billing type.
+            "estimatedImpressionsPerDay": "A String", # The estimated daily impressions for the offer.
+            "monetizerType": "A String", # The monetizer type.
+            "targetByDealId": True or False, # Whether to target by deal id.
+            "adSlots": [ # The particular ad slots targeted by the offer.
+              {
+                "name": "A String",
+                "description": "A String",
+                "channelId": 42,
+                "channelCode": "A String",
+                "webPropertyId": 42,
+                "size": "A String",
+              },
+            ],
+            "advertisers": [ # A list of advertisers for this offer.
+              {
+                "brands": [
+                  {
+                    "advertiserId": "A String",
+                    "id": "A String",
+                    "name": "A String",
+                  },
+                ],
+                "status": "A String",
+                "id": "A String",
+                "name": "A String",
+              },
+            ],
+            "minimumSpendMicros": "A String", # The minimum spend for the offer.
+            "targetingAllAdSlots": True or False, # If true, the offer targets all ad slots.
+            "creativeReviewPolicy": "A String", # Whether to use publisher review policy or AdX review policy.
+            "audienceSegmentDescription": "A String", # A description of the audience segment for the offer.
+            "dealPremium": { # The premium terms.
+              "micros": "A String",
+              "currencyCode": "A String",
+            },
+            "creativeBlockingLevel": "A String", # Whether to use or ignore publisher blocking rules.
+            "audienceSegment": { # The audience segment for the offer.
+              "numCookies": "A String",
+              "description": "A String",
+              "name": "A String",
+              "id": "A String",
+            },
+            "description": "A String", # A description for these terms.
+            "billingTerms": "A String", # The billing terms.
+            "semiTransparent": True or False, # Whether this offer is semi-transparent.
+            "minimumTrueLooks": "A String", # The minimum true looks for the offer.
+            "cpm": { # The cpm terms.
+              "micros": "A String",
+              "currencyCode": "A String",
+            },
+            "isReservation": True or False, # Whether the offer is a reservation.
+            "descriptiveName": "A String", # A descriptive name for these terms.
+            "urls": [ # The urls applicable to the offer.
+              "A String",
+            ],
+            "estimatedSpend": { # The estimated spend for the offer.
+              "micros": "A String",
+              "currencyCode": "A String",
+            },
+          },
+          "emailContacts": [ # The list of email contacts for this offer.
+            "A String",
+          ],
+        },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/adexchangebuyer_v1_4.performanceReport.html b/docs/dyn/adexchangebuyer_v1_4.performanceReport.html new file mode 100644 index 00000000000..0808b4ca7f5 --- /dev/null +++ b/docs/dyn/adexchangebuyer_v1_4.performanceReport.html @@ -0,0 +1,134 @@ + + + +

Ad Exchange Buyer API . performanceReport

+

Instance Methods

+

+ list(accountId, endDateTime, startDateTime, pageToken=None, maxResults=None)

+

Retrieves the authenticated user's list of performance metrics.

+

Method Details

+
+ list(accountId, endDateTime, startDateTime, pageToken=None, maxResults=None) +
Retrieves the authenticated user's list of performance metrics.
+
+Args:
+  accountId: string, The account id to get the reports. (required)
+  endDateTime: string, The end time of the report in ISO 8601 timestamp format using UTC. (required)
+  startDateTime: string, The start time of the report in ISO 8601 timestamp format using UTC. (required)
+  pageToken: string, A continuation token, used to page through performance reports. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response. Optional.
+  maxResults: integer, Maximum number of entries returned on one result page. If not set, the default is 100. Optional.
+
+Returns:
+  An object of the form:
+
+    { # The configuration data for an Ad Exchange performance report list. https://sites.google.com/a/google.com/adx-integration/Home/engineering/binary-releases/rtb-api-release https://cs.corp.google.com/#piper///depot/google3/contentads/adx/tools/rtb_api/adxrtb.py
+    "kind": "adexchangebuyer#performanceReportList", # Resource type.
+    "performanceReport": [ # A list of performance reports relevant for the account.
+      { # The configuration data for an Ad Exchange performance report list.
+        "bidRequestRate": 3.14, # The number of bid requests sent to your bidder.
+        "unsuccessfulRequestRate": 3.14, # The number of bid responses that were unsuccessful due to timeouts, incorrect formatting, etc.
+        "successfulRequestRate": 3.14, # The number of properly formed bid responses received by our servers within the deadline.
+        "hostedMatchStatusRate": [ # Average QPS for hosted match operations.
+          "",
+        ],
+        "bidRate": 3.14, # The number of bid responses with an ad.
+        "quotaThrottledLimit": 3.14, # The throttled quota limits for this account.
+        "cookieMatcherStatusRate": [ # Average QPS for cookie matcher operations.
+          "",
+        ],
+        "calloutStatusRate": [ # Rate of various prefiltering statuses per match. Please refer to the callout-status-codes.txt file for different statuses.
+          "",
+        ],
+        "noQuotaInRegion": 3.14, # Rate of various quota account statuses per quota check.
+        "timestamp": "A String", # The unix timestamp of the starting time of this performance data.
+        "latency50thPercentile": 3.14, # The 50th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.
+        "latency85thPercentile": 3.14, # The 85th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.
+        "pixelMatchResponses": 3.14, # Average QPS for pixel match responses from clients.
+        "creativeStatusRate": [ # Rate of ads with a given status. Please refer to the creative-status-codes.txt file for different statuses.
+          "",
+        ],
+        "latency95thPercentile": 3.14, # The 95th percentile round trip latency(ms) as perceived from Google servers for the duration period covered by the report.
+        "kind": "adexchangebuyer#performanceReport", # Resource type.
+        "inventoryMatchRate": 3.14, # The number of potential queries based on your pretargeting settings.
+        "region": "A String", # The trading location of this data.
+        "quotaConfiguredLimit": 3.14, # The configured quota limits for this account.
+        "outOfQuota": 3.14, # Rate of various quota account statuses per quota check.
+        "filteredBidRate": 3.14, # The number of bid responses that were filtered due to a policy violation or other errors.
+        "pixelMatchRequests": 3.14, # Average QPS for pixel match requests from clients.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/adexchangebuyer_v1_4.pretargetingConfig.html b/docs/dyn/adexchangebuyer_v1_4.pretargetingConfig.html new file mode 100644 index 00000000000..62982bc1e78 --- /dev/null +++ b/docs/dyn/adexchangebuyer_v1_4.pretargetingConfig.html @@ -0,0 +1,746 @@ + + + +

Ad Exchange Buyer API . pretargetingConfig

+

Instance Methods

+

+ delete(accountId, configId)

+

Deletes an existing pretargeting config.

+

+ get(accountId, configId)

+

Gets a specific pretargeting configuration

+

+ insert(accountId, body)

+

Inserts a new pretargeting configuration.

+

+ list(accountId)

+

Retrieves a list of the authenticated user's pretargeting configurations.

+

+ patch(accountId, configId, body)

+

Updates an existing pretargeting config. This method supports patch semantics.

+

+ update(accountId, configId, body)

+

Updates an existing pretargeting config.

+

Method Details

+
+ delete(accountId, configId) +
Deletes an existing pretargeting config.
+
+Args:
+  accountId: string, The account id to delete the pretargeting config for. (required)
+  configId: string, The specific id of the configuration to delete. (required)
+
+
+ +
+ get(accountId, configId) +
Gets a specific pretargeting configuration
+
+Args:
+  accountId: string, The account id to get the pretargeting config for. (required)
+  configId: string, The specific id of the configuration to retrieve. (required)
+
+Returns:
+  An object of the form:
+
+    {
+      "verticals": [ # Requests containing any of these vertical ids will match.
+        "A String",
+      ],
+      "platforms": [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
+        "A String",
+      ],
+      "configId": "A String", # The config id; generated automatically. Leave this field blank for insert requests.
+      "excludedVerticals": [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
+        "A String",
+      ],
+      "configName": "A String", # The name of the config. Must be unique. Required for all requests.
+      "excludedGeoCriteriaIds": [ # Requests containing any of these geo criteria ids will not match.
+        "A String",
+      ],
+      "excludedContentLabels": [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
+        "A String",
+      ],
+      "languages": [ # Request containing any of these language codes will match.
+        "A String",
+      ],
+      "mobileDevices": [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
+        "A String",
+      ],
+      "mobileCarriers": [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
+        "A String",
+      ],
+      "excludedPlacements": [ # Requests containing any of these placements will not match.
+        {
+          "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+          "type": "A String", # The type of the placement.
+        },
+      ],
+      "billingId": "A String", # The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.
+      "geoCriteriaIds": [ # Requests containing any of these geo criteria ids will match.
+        "A String",
+      ],
+      "mobileOperatingSystemVersions": [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
+        "A String",
+      ],
+      "excludedUserLists": [ # Requests containing any of these users list ids will not match.
+        "A String",
+      ],
+      "isActive": True or False, # Whether this config is active. Required for all requests.
+      "dimensions": [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
+        {
+          "width": "A String", # Width in pixels.
+          "height": "A String", # Height in pixels.
+        },
+      ],
+      "kind": "adexchangebuyer#pretargetingConfig", # The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig".
+      "supportedCreativeAttributes": [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
+        "A String",
+      ],
+      "vendorTypes": [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
+        "A String",
+      ],
+      "userLists": [ # Requests containing any of these user list ids will match.
+        "A String",
+      ],
+      "creativeType": [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
+        "A String",
+      ],
+      "placements": [ # Requests containing any of these placements will match.
+        {
+          "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+          "type": "A String", # The type of the placement.
+        },
+      ],
+    }
+
+ +
+ insert(accountId, body) +
Inserts a new pretargeting configuration.
+
+Args:
+  accountId: string, The account id to insert the pretargeting config for. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "verticals": [ # Requests containing any of these vertical ids will match.
+      "A String",
+    ],
+    "platforms": [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
+      "A String",
+    ],
+    "configId": "A String", # The config id; generated automatically. Leave this field blank for insert requests.
+    "excludedVerticals": [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
+      "A String",
+    ],
+    "configName": "A String", # The name of the config. Must be unique. Required for all requests.
+    "excludedGeoCriteriaIds": [ # Requests containing any of these geo criteria ids will not match.
+      "A String",
+    ],
+    "excludedContentLabels": [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
+      "A String",
+    ],
+    "languages": [ # Request containing any of these language codes will match.
+      "A String",
+    ],
+    "mobileDevices": [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
+      "A String",
+    ],
+    "mobileCarriers": [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
+      "A String",
+    ],
+    "excludedPlacements": [ # Requests containing any of these placements will not match.
+      {
+        "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+        "type": "A String", # The type of the placement.
+      },
+    ],
+    "billingId": "A String", # The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.
+    "geoCriteriaIds": [ # Requests containing any of these geo criteria ids will match.
+      "A String",
+    ],
+    "mobileOperatingSystemVersions": [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
+      "A String",
+    ],
+    "excludedUserLists": [ # Requests containing any of these users list ids will not match.
+      "A String",
+    ],
+    "isActive": True or False, # Whether this config is active. Required for all requests.
+    "dimensions": [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
+      {
+        "width": "A String", # Width in pixels.
+        "height": "A String", # Height in pixels.
+      },
+    ],
+    "kind": "adexchangebuyer#pretargetingConfig", # The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig".
+    "supportedCreativeAttributes": [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
+      "A String",
+    ],
+    "vendorTypes": [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
+      "A String",
+    ],
+    "userLists": [ # Requests containing any of these user list ids will match.
+      "A String",
+    ],
+    "creativeType": [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
+      "A String",
+    ],
+    "placements": [ # Requests containing any of these placements will match.
+      {
+        "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+        "type": "A String", # The type of the placement.
+      },
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    {
+      "verticals": [ # Requests containing any of these vertical ids will match.
+        "A String",
+      ],
+      "platforms": [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
+        "A String",
+      ],
+      "configId": "A String", # The config id; generated automatically. Leave this field blank for insert requests.
+      "excludedVerticals": [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
+        "A String",
+      ],
+      "configName": "A String", # The name of the config. Must be unique. Required for all requests.
+      "excludedGeoCriteriaIds": [ # Requests containing any of these geo criteria ids will not match.
+        "A String",
+      ],
+      "excludedContentLabels": [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
+        "A String",
+      ],
+      "languages": [ # Request containing any of these language codes will match.
+        "A String",
+      ],
+      "mobileDevices": [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
+        "A String",
+      ],
+      "mobileCarriers": [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
+        "A String",
+      ],
+      "excludedPlacements": [ # Requests containing any of these placements will not match.
+        {
+          "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+          "type": "A String", # The type of the placement.
+        },
+      ],
+      "billingId": "A String", # The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.
+      "geoCriteriaIds": [ # Requests containing any of these geo criteria ids will match.
+        "A String",
+      ],
+      "mobileOperatingSystemVersions": [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
+        "A String",
+      ],
+      "excludedUserLists": [ # Requests containing any of these users list ids will not match.
+        "A String",
+      ],
+      "isActive": True or False, # Whether this config is active. Required for all requests.
+      "dimensions": [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
+        {
+          "width": "A String", # Width in pixels.
+          "height": "A String", # Height in pixels.
+        },
+      ],
+      "kind": "adexchangebuyer#pretargetingConfig", # The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig".
+      "supportedCreativeAttributes": [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
+        "A String",
+      ],
+      "vendorTypes": [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
+        "A String",
+      ],
+      "userLists": [ # Requests containing any of these user list ids will match.
+        "A String",
+      ],
+      "creativeType": [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
+        "A String",
+      ],
+      "placements": [ # Requests containing any of these placements will match.
+        {
+          "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+          "type": "A String", # The type of the placement.
+        },
+      ],
+    }
+
+ +
+ list(accountId) +
Retrieves a list of the authenticated user's pretargeting configurations.
+
+Args:
+  accountId: string, The account id to get the pretargeting configs for. (required)
+
+Returns:
+  An object of the form:
+
+    {
+    "items": [ # A list of pretargeting configs
+      {
+          "verticals": [ # Requests containing any of these vertical ids will match.
+            "A String",
+          ],
+          "platforms": [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
+            "A String",
+          ],
+          "configId": "A String", # The config id; generated automatically. Leave this field blank for insert requests.
+          "excludedVerticals": [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
+            "A String",
+          ],
+          "configName": "A String", # The name of the config. Must be unique. Required for all requests.
+          "excludedGeoCriteriaIds": [ # Requests containing any of these geo criteria ids will not match.
+            "A String",
+          ],
+          "excludedContentLabels": [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
+            "A String",
+          ],
+          "languages": [ # Request containing any of these language codes will match.
+            "A String",
+          ],
+          "mobileDevices": [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
+            "A String",
+          ],
+          "mobileCarriers": [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
+            "A String",
+          ],
+          "excludedPlacements": [ # Requests containing any of these placements will not match.
+            {
+              "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+              "type": "A String", # The type of the placement.
+            },
+          ],
+          "billingId": "A String", # The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.
+          "geoCriteriaIds": [ # Requests containing any of these geo criteria ids will match.
+            "A String",
+          ],
+          "mobileOperatingSystemVersions": [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
+            "A String",
+          ],
+          "excludedUserLists": [ # Requests containing any of these users list ids will not match.
+            "A String",
+          ],
+          "isActive": True or False, # Whether this config is active. Required for all requests.
+          "dimensions": [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
+            {
+              "width": "A String", # Width in pixels.
+              "height": "A String", # Height in pixels.
+            },
+          ],
+          "kind": "adexchangebuyer#pretargetingConfig", # The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig".
+          "supportedCreativeAttributes": [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
+            "A String",
+          ],
+          "vendorTypes": [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
+            "A String",
+          ],
+          "userLists": [ # Requests containing any of these user list ids will match.
+            "A String",
+          ],
+          "creativeType": [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
+            "A String",
+          ],
+          "placements": [ # Requests containing any of these placements will match.
+            {
+              "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+              "type": "A String", # The type of the placement.
+            },
+          ],
+        },
+    ],
+    "kind": "adexchangebuyer#pretargetingConfigList", # Resource type.
+  }
+
+ +
+ patch(accountId, configId, body) +
Updates an existing pretargeting config. This method supports patch semantics.
+
+Args:
+  accountId: string, The account id to update the pretargeting config for. (required)
+  configId: string, The specific id of the configuration to update. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "verticals": [ # Requests containing any of these vertical ids will match.
+      "A String",
+    ],
+    "platforms": [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
+      "A String",
+    ],
+    "configId": "A String", # The config id; generated automatically. Leave this field blank for insert requests.
+    "excludedVerticals": [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
+      "A String",
+    ],
+    "configName": "A String", # The name of the config. Must be unique. Required for all requests.
+    "excludedGeoCriteriaIds": [ # Requests containing any of these geo criteria ids will not match.
+      "A String",
+    ],
+    "excludedContentLabels": [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
+      "A String",
+    ],
+    "languages": [ # Request containing any of these language codes will match.
+      "A String",
+    ],
+    "mobileDevices": [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
+      "A String",
+    ],
+    "mobileCarriers": [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
+      "A String",
+    ],
+    "excludedPlacements": [ # Requests containing any of these placements will not match.
+      {
+        "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+        "type": "A String", # The type of the placement.
+      },
+    ],
+    "billingId": "A String", # The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.
+    "geoCriteriaIds": [ # Requests containing any of these geo criteria ids will match.
+      "A String",
+    ],
+    "mobileOperatingSystemVersions": [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
+      "A String",
+    ],
+    "excludedUserLists": [ # Requests containing any of these users list ids will not match.
+      "A String",
+    ],
+    "isActive": True or False, # Whether this config is active. Required for all requests.
+    "dimensions": [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
+      {
+        "width": "A String", # Width in pixels.
+        "height": "A String", # Height in pixels.
+      },
+    ],
+    "kind": "adexchangebuyer#pretargetingConfig", # The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig".
+    "supportedCreativeAttributes": [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
+      "A String",
+    ],
+    "vendorTypes": [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
+      "A String",
+    ],
+    "userLists": [ # Requests containing any of these user list ids will match.
+      "A String",
+    ],
+    "creativeType": [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
+      "A String",
+    ],
+    "placements": [ # Requests containing any of these placements will match.
+      {
+        "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+        "type": "A String", # The type of the placement.
+      },
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    {
+      "verticals": [ # Requests containing any of these vertical ids will match.
+        "A String",
+      ],
+      "platforms": [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
+        "A String",
+      ],
+      "configId": "A String", # The config id; generated automatically. Leave this field blank for insert requests.
+      "excludedVerticals": [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
+        "A String",
+      ],
+      "configName": "A String", # The name of the config. Must be unique. Required for all requests.
+      "excludedGeoCriteriaIds": [ # Requests containing any of these geo criteria ids will not match.
+        "A String",
+      ],
+      "excludedContentLabels": [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
+        "A String",
+      ],
+      "languages": [ # Request containing any of these language codes will match.
+        "A String",
+      ],
+      "mobileDevices": [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
+        "A String",
+      ],
+      "mobileCarriers": [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
+        "A String",
+      ],
+      "excludedPlacements": [ # Requests containing any of these placements will not match.
+        {
+          "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+          "type": "A String", # The type of the placement.
+        },
+      ],
+      "billingId": "A String", # The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.
+      "geoCriteriaIds": [ # Requests containing any of these geo criteria ids will match.
+        "A String",
+      ],
+      "mobileOperatingSystemVersions": [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
+        "A String",
+      ],
+      "excludedUserLists": [ # Requests containing any of these users list ids will not match.
+        "A String",
+      ],
+      "isActive": True or False, # Whether this config is active. Required for all requests.
+      "dimensions": [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
+        {
+          "width": "A String", # Width in pixels.
+          "height": "A String", # Height in pixels.
+        },
+      ],
+      "kind": "adexchangebuyer#pretargetingConfig", # The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig".
+      "supportedCreativeAttributes": [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
+        "A String",
+      ],
+      "vendorTypes": [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
+        "A String",
+      ],
+      "userLists": [ # Requests containing any of these user list ids will match.
+        "A String",
+      ],
+      "creativeType": [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
+        "A String",
+      ],
+      "placements": [ # Requests containing any of these placements will match.
+        {
+          "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+          "type": "A String", # The type of the placement.
+        },
+      ],
+    }
+
+ +
+ update(accountId, configId, body) +
Updates an existing pretargeting config.
+
+Args:
+  accountId: string, The account id to update the pretargeting config for. (required)
+  configId: string, The specific id of the configuration to update. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "verticals": [ # Requests containing any of these vertical ids will match.
+      "A String",
+    ],
+    "platforms": [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
+      "A String",
+    ],
+    "configId": "A String", # The config id; generated automatically. Leave this field blank for insert requests.
+    "excludedVerticals": [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
+      "A String",
+    ],
+    "configName": "A String", # The name of the config. Must be unique. Required for all requests.
+    "excludedGeoCriteriaIds": [ # Requests containing any of these geo criteria ids will not match.
+      "A String",
+    ],
+    "excludedContentLabels": [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
+      "A String",
+    ],
+    "languages": [ # Request containing any of these language codes will match.
+      "A String",
+    ],
+    "mobileDevices": [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
+      "A String",
+    ],
+    "mobileCarriers": [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
+      "A String",
+    ],
+    "excludedPlacements": [ # Requests containing any of these placements will not match.
+      {
+        "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+        "type": "A String", # The type of the placement.
+      },
+    ],
+    "billingId": "A String", # The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.
+    "geoCriteriaIds": [ # Requests containing any of these geo criteria ids will match.
+      "A String",
+    ],
+    "mobileOperatingSystemVersions": [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
+      "A String",
+    ],
+    "excludedUserLists": [ # Requests containing any of these users list ids will not match.
+      "A String",
+    ],
+    "isActive": True or False, # Whether this config is active. Required for all requests.
+    "dimensions": [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
+      {
+        "width": "A String", # Width in pixels.
+        "height": "A String", # Height in pixels.
+      },
+    ],
+    "kind": "adexchangebuyer#pretargetingConfig", # The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig".
+    "supportedCreativeAttributes": [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
+      "A String",
+    ],
+    "vendorTypes": [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
+      "A String",
+    ],
+    "userLists": [ # Requests containing any of these user list ids will match.
+      "A String",
+    ],
+    "creativeType": [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
+      "A String",
+    ],
+    "placements": [ # Requests containing any of these placements will match.
+      {
+        "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+        "type": "A String", # The type of the placement.
+      },
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    {
+      "verticals": [ # Requests containing any of these vertical ids will match.
+        "A String",
+      ],
+      "platforms": [ # Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
+        "A String",
+      ],
+      "configId": "A String", # The config id; generated automatically. Leave this field blank for insert requests.
+      "excludedVerticals": [ # Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
+        "A String",
+      ],
+      "configName": "A String", # The name of the config. Must be unique. Required for all requests.
+      "excludedGeoCriteriaIds": [ # Requests containing any of these geo criteria ids will not match.
+        "A String",
+      ],
+      "excludedContentLabels": [ # Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
+        "A String",
+      ],
+      "languages": [ # Request containing any of these language codes will match.
+        "A String",
+      ],
+      "mobileDevices": [ # Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
+        "A String",
+      ],
+      "mobileCarriers": [ # Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
+        "A String",
+      ],
+      "excludedPlacements": [ # Requests containing any of these placements will not match.
+        {
+          "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+          "type": "A String", # The type of the placement.
+        },
+      ],
+      "billingId": "A String", # The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.
+      "geoCriteriaIds": [ # Requests containing any of these geo criteria ids will match.
+        "A String",
+      ],
+      "mobileOperatingSystemVersions": [ # Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
+        "A String",
+      ],
+      "excludedUserLists": [ # Requests containing any of these users list ids will not match.
+        "A String",
+      ],
+      "isActive": True or False, # Whether this config is active. Required for all requests.
+      "dimensions": [ # Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
+        {
+          "width": "A String", # Width in pixels.
+          "height": "A String", # Height in pixels.
+        },
+      ],
+      "kind": "adexchangebuyer#pretargetingConfig", # The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig".
+      "supportedCreativeAttributes": [ # Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
+        "A String",
+      ],
+      "vendorTypes": [ # Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
+        "A String",
+      ],
+      "userLists": [ # Requests containing any of these user list ids will match.
+        "A String",
+      ],
+      "creativeType": [ # List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
+        "A String",
+      ],
+      "placements": [ # Requests containing any of these placements will match.
+        {
+          "token": "A String", # The value of the placement. Interpretation depends on the placement type, e.g. URL for a site placement, channel name for a channel placement, app id for a mobile app placement.
+          "type": "A String", # The type of the placement.
+        },
+      ],
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/analytics_v3.management.experiments.html b/docs/dyn/analytics_v3.management.experiments.html index 875fbc49ff3..a3e5b0aaf54 100644 --- a/docs/dyn/analytics_v3.management.experiments.html +++ b/docs/dyn/analytics_v3.management.experiments.html @@ -119,7 +119,7 @@

Method Details

An object of the form: { # JSON template for Analytics experiment resource. - "trafficCoverage": 3.14, # A floating-point number between 0 and 1. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED. + "trafficCoverage": 3.14, # A floating-point number in (0, 1]. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED. "webPropertyId": "A String", # Web property ID to which this experiment belongs. The web property ID is of the form UA-XXXXX-YY. This field is read-only. "optimizationType": "A String", # Whether the objectiveMetric should be minimized or maximized. Possible values: "MAXIMUM", "MINIMUM". Optional--defaults to "MAXIMUM". Cannot be specified without objectiveMetric. Cannot be modified when status is "RUNNING" or "ENDED". "objectiveMetric": "A String", # The metric that the experiment is optimizing. Valid values: "ga:goal(n)Completions", "ga:adsenseAdsClicks", "ga:adsenseAdsViewed", "ga:adsenseRevenue", "ga:bounces", "ga:pageviews", "ga:sessionDuration", "ga:transactions", "ga:transactionRevenue". This field is required if status is "RUNNING" and servingFramework is one of "REDIRECT" or "API". @@ -138,7 +138,7 @@

Method Details

"description": "A String", # Notes about this experiment. "reasonExperimentEnded": "A String", # Why the experiment ended. Possible values: "STOPPED_BY_USER", "WINNER_FOUND", "EXPERIMENT_EXPIRED", "ENDED_WITH_NO_WINNER", "GOAL_OBJECTIVE_CHANGED". "ENDED_WITH_NO_WINNER" means that the experiment didn't expire but no winner was projected to be found. If the experiment status is changed via the API to ENDED this field is set to STOPPED_BY_USER. This field is read-only. "internalWebPropertyId": "A String", # Internal ID for the web property to which this experiment belongs. This field is read-only. - "winnerConfidenceLevel": 3.14, # A floating-point number between 0 and 1. Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose status is ENDED. + "winnerConfidenceLevel": 3.14, # A floating-point number in (0, 1). Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose status is ENDED. "startTime": "A String", # The starting time of the experiment (the time the status changed from READY_TO_RUN to RUNNING). This field is present only if the experiment has started. This field is read-only. "winnerFound": True or False, # Boolean specifying whether a winner has been found for this experiment. This field is read-only. "kind": "analytics#experiment", # Resource type for an Analytics experiment. This field is read-only. @@ -176,7 +176,7 @@

Method Details

The object takes the form of: { # JSON template for Analytics experiment resource. - "trafficCoverage": 3.14, # A floating-point number between 0 and 1. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED. + "trafficCoverage": 3.14, # A floating-point number in (0, 1]. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED. "webPropertyId": "A String", # Web property ID to which this experiment belongs. The web property ID is of the form UA-XXXXX-YY. This field is read-only. "optimizationType": "A String", # Whether the objectiveMetric should be minimized or maximized. Possible values: "MAXIMUM", "MINIMUM". Optional--defaults to "MAXIMUM". Cannot be specified without objectiveMetric. Cannot be modified when status is "RUNNING" or "ENDED". "objectiveMetric": "A String", # The metric that the experiment is optimizing. Valid values: "ga:goal(n)Completions", "ga:adsenseAdsClicks", "ga:adsenseAdsViewed", "ga:adsenseRevenue", "ga:bounces", "ga:pageviews", "ga:sessionDuration", "ga:transactions", "ga:transactionRevenue". This field is required if status is "RUNNING" and servingFramework is one of "REDIRECT" or "API". @@ -195,7 +195,7 @@

Method Details

"description": "A String", # Notes about this experiment. "reasonExperimentEnded": "A String", # Why the experiment ended. Possible values: "STOPPED_BY_USER", "WINNER_FOUND", "EXPERIMENT_EXPIRED", "ENDED_WITH_NO_WINNER", "GOAL_OBJECTIVE_CHANGED". "ENDED_WITH_NO_WINNER" means that the experiment didn't expire but no winner was projected to be found. If the experiment status is changed via the API to ENDED this field is set to STOPPED_BY_USER. This field is read-only. "internalWebPropertyId": "A String", # Internal ID for the web property to which this experiment belongs. This field is read-only. - "winnerConfidenceLevel": 3.14, # A floating-point number between 0 and 1. Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose status is ENDED. + "winnerConfidenceLevel": 3.14, # A floating-point number in (0, 1). Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose status is ENDED. "startTime": "A String", # The starting time of the experiment (the time the status changed from READY_TO_RUN to RUNNING). This field is present only if the experiment has started. This field is read-only. "winnerFound": True or False, # Boolean specifying whether a winner has been found for this experiment. This field is read-only. "kind": "analytics#experiment", # Resource type for an Analytics experiment. This field is read-only. @@ -225,7 +225,7 @@

Method Details

An object of the form: { # JSON template for Analytics experiment resource. - "trafficCoverage": 3.14, # A floating-point number between 0 and 1. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED. + "trafficCoverage": 3.14, # A floating-point number in (0, 1]. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED. "webPropertyId": "A String", # Web property ID to which this experiment belongs. The web property ID is of the form UA-XXXXX-YY. This field is read-only. "optimizationType": "A String", # Whether the objectiveMetric should be minimized or maximized. Possible values: "MAXIMUM", "MINIMUM". Optional--defaults to "MAXIMUM". Cannot be specified without objectiveMetric. Cannot be modified when status is "RUNNING" or "ENDED". "objectiveMetric": "A String", # The metric that the experiment is optimizing. Valid values: "ga:goal(n)Completions", "ga:adsenseAdsClicks", "ga:adsenseAdsViewed", "ga:adsenseRevenue", "ga:bounces", "ga:pageviews", "ga:sessionDuration", "ga:transactions", "ga:transactionRevenue". This field is required if status is "RUNNING" and servingFramework is one of "REDIRECT" or "API". @@ -244,7 +244,7 @@

Method Details

"description": "A String", # Notes about this experiment. "reasonExperimentEnded": "A String", # Why the experiment ended. Possible values: "STOPPED_BY_USER", "WINNER_FOUND", "EXPERIMENT_EXPIRED", "ENDED_WITH_NO_WINNER", "GOAL_OBJECTIVE_CHANGED". "ENDED_WITH_NO_WINNER" means that the experiment didn't expire but no winner was projected to be found. If the experiment status is changed via the API to ENDED this field is set to STOPPED_BY_USER. This field is read-only. "internalWebPropertyId": "A String", # Internal ID for the web property to which this experiment belongs. This field is read-only. - "winnerConfidenceLevel": 3.14, # A floating-point number between 0 and 1. Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose status is ENDED. + "winnerConfidenceLevel": 3.14, # A floating-point number in (0, 1). Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose status is ENDED. "startTime": "A String", # The starting time of the experiment (the time the status changed from READY_TO_RUN to RUNNING). This field is present only if the experiment has started. This field is read-only. "winnerFound": True or False, # Boolean specifying whether a winner has been found for this experiment. This field is read-only. "kind": "analytics#experiment", # Resource type for an Analytics experiment. This field is read-only. @@ -289,7 +289,7 @@

Method Details

"kind": "analytics#experiments", # Collection type. "items": [ # A list of experiments. { # JSON template for Analytics experiment resource. - "trafficCoverage": 3.14, # A floating-point number between 0 and 1. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED. + "trafficCoverage": 3.14, # A floating-point number in (0, 1]. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED. "webPropertyId": "A String", # Web property ID to which this experiment belongs. The web property ID is of the form UA-XXXXX-YY. This field is read-only. "optimizationType": "A String", # Whether the objectiveMetric should be minimized or maximized. Possible values: "MAXIMUM", "MINIMUM". Optional--defaults to "MAXIMUM". Cannot be specified without objectiveMetric. Cannot be modified when status is "RUNNING" or "ENDED". "objectiveMetric": "A String", # The metric that the experiment is optimizing. Valid values: "ga:goal(n)Completions", "ga:adsenseAdsClicks", "ga:adsenseAdsViewed", "ga:adsenseRevenue", "ga:bounces", "ga:pageviews", "ga:sessionDuration", "ga:transactions", "ga:transactionRevenue". This field is required if status is "RUNNING" and servingFramework is one of "REDIRECT" or "API". @@ -308,7 +308,7 @@

Method Details

"description": "A String", # Notes about this experiment. "reasonExperimentEnded": "A String", # Why the experiment ended. Possible values: "STOPPED_BY_USER", "WINNER_FOUND", "EXPERIMENT_EXPIRED", "ENDED_WITH_NO_WINNER", "GOAL_OBJECTIVE_CHANGED". "ENDED_WITH_NO_WINNER" means that the experiment didn't expire but no winner was projected to be found. If the experiment status is changed via the API to ENDED this field is set to STOPPED_BY_USER. This field is read-only. "internalWebPropertyId": "A String", # Internal ID for the web property to which this experiment belongs. This field is read-only. - "winnerConfidenceLevel": 3.14, # A floating-point number between 0 and 1. Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose status is ENDED. + "winnerConfidenceLevel": 3.14, # A floating-point number in (0, 1). Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose status is ENDED. "startTime": "A String", # The starting time of the experiment (the time the status changed from READY_TO_RUN to RUNNING). This field is present only if the experiment has started. This field is read-only. "winnerFound": True or False, # Boolean specifying whether a winner has been found for this experiment. This field is read-only. "kind": "analytics#experiment", # Resource type for an Analytics experiment. This field is read-only. @@ -354,7 +354,7 @@

Method Details

The object takes the form of: { # JSON template for Analytics experiment resource. - "trafficCoverage": 3.14, # A floating-point number between 0 and 1. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED. + "trafficCoverage": 3.14, # A floating-point number in (0, 1]. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED. "webPropertyId": "A String", # Web property ID to which this experiment belongs. The web property ID is of the form UA-XXXXX-YY. This field is read-only. "optimizationType": "A String", # Whether the objectiveMetric should be minimized or maximized. Possible values: "MAXIMUM", "MINIMUM". Optional--defaults to "MAXIMUM". Cannot be specified without objectiveMetric. Cannot be modified when status is "RUNNING" or "ENDED". "objectiveMetric": "A String", # The metric that the experiment is optimizing. Valid values: "ga:goal(n)Completions", "ga:adsenseAdsClicks", "ga:adsenseAdsViewed", "ga:adsenseRevenue", "ga:bounces", "ga:pageviews", "ga:sessionDuration", "ga:transactions", "ga:transactionRevenue". This field is required if status is "RUNNING" and servingFramework is one of "REDIRECT" or "API". @@ -373,7 +373,7 @@

Method Details

"description": "A String", # Notes about this experiment. "reasonExperimentEnded": "A String", # Why the experiment ended. Possible values: "STOPPED_BY_USER", "WINNER_FOUND", "EXPERIMENT_EXPIRED", "ENDED_WITH_NO_WINNER", "GOAL_OBJECTIVE_CHANGED". "ENDED_WITH_NO_WINNER" means that the experiment didn't expire but no winner was projected to be found. If the experiment status is changed via the API to ENDED this field is set to STOPPED_BY_USER. This field is read-only. "internalWebPropertyId": "A String", # Internal ID for the web property to which this experiment belongs. This field is read-only. - "winnerConfidenceLevel": 3.14, # A floating-point number between 0 and 1. Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose status is ENDED. + "winnerConfidenceLevel": 3.14, # A floating-point number in (0, 1). Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose status is ENDED. "startTime": "A String", # The starting time of the experiment (the time the status changed from READY_TO_RUN to RUNNING). This field is present only if the experiment has started. This field is read-only. "winnerFound": True or False, # Boolean specifying whether a winner has been found for this experiment. This field is read-only. "kind": "analytics#experiment", # Resource type for an Analytics experiment. This field is read-only. @@ -403,7 +403,7 @@

Method Details

An object of the form: { # JSON template for Analytics experiment resource. - "trafficCoverage": 3.14, # A floating-point number between 0 and 1. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED. + "trafficCoverage": 3.14, # A floating-point number in (0, 1]. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED. "webPropertyId": "A String", # Web property ID to which this experiment belongs. The web property ID is of the form UA-XXXXX-YY. This field is read-only. "optimizationType": "A String", # Whether the objectiveMetric should be minimized or maximized. Possible values: "MAXIMUM", "MINIMUM". Optional--defaults to "MAXIMUM". Cannot be specified without objectiveMetric. Cannot be modified when status is "RUNNING" or "ENDED". "objectiveMetric": "A String", # The metric that the experiment is optimizing. Valid values: "ga:goal(n)Completions", "ga:adsenseAdsClicks", "ga:adsenseAdsViewed", "ga:adsenseRevenue", "ga:bounces", "ga:pageviews", "ga:sessionDuration", "ga:transactions", "ga:transactionRevenue". This field is required if status is "RUNNING" and servingFramework is one of "REDIRECT" or "API". @@ -422,7 +422,7 @@

Method Details

"description": "A String", # Notes about this experiment. "reasonExperimentEnded": "A String", # Why the experiment ended. Possible values: "STOPPED_BY_USER", "WINNER_FOUND", "EXPERIMENT_EXPIRED", "ENDED_WITH_NO_WINNER", "GOAL_OBJECTIVE_CHANGED". "ENDED_WITH_NO_WINNER" means that the experiment didn't expire but no winner was projected to be found. If the experiment status is changed via the API to ENDED this field is set to STOPPED_BY_USER. This field is read-only. "internalWebPropertyId": "A String", # Internal ID for the web property to which this experiment belongs. This field is read-only. - "winnerConfidenceLevel": 3.14, # A floating-point number between 0 and 1. Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose status is ENDED. + "winnerConfidenceLevel": 3.14, # A floating-point number in (0, 1). Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose status is ENDED. "startTime": "A String", # The starting time of the experiment (the time the status changed from READY_TO_RUN to RUNNING). This field is present only if the experiment has started. This field is read-only. "winnerFound": True or False, # Boolean specifying whether a winner has been found for this experiment. This field is read-only. "kind": "analytics#experiment", # Resource type for an Analytics experiment. This field is read-only. @@ -461,7 +461,7 @@

Method Details

The object takes the form of: { # JSON template for Analytics experiment resource. - "trafficCoverage": 3.14, # A floating-point number between 0 and 1. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED. + "trafficCoverage": 3.14, # A floating-point number in (0, 1]. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED. "webPropertyId": "A String", # Web property ID to which this experiment belongs. The web property ID is of the form UA-XXXXX-YY. This field is read-only. "optimizationType": "A String", # Whether the objectiveMetric should be minimized or maximized. Possible values: "MAXIMUM", "MINIMUM". Optional--defaults to "MAXIMUM". Cannot be specified without objectiveMetric. Cannot be modified when status is "RUNNING" or "ENDED". "objectiveMetric": "A String", # The metric that the experiment is optimizing. Valid values: "ga:goal(n)Completions", "ga:adsenseAdsClicks", "ga:adsenseAdsViewed", "ga:adsenseRevenue", "ga:bounces", "ga:pageviews", "ga:sessionDuration", "ga:transactions", "ga:transactionRevenue". This field is required if status is "RUNNING" and servingFramework is one of "REDIRECT" or "API". @@ -480,7 +480,7 @@

Method Details

"description": "A String", # Notes about this experiment. "reasonExperimentEnded": "A String", # Why the experiment ended. Possible values: "STOPPED_BY_USER", "WINNER_FOUND", "EXPERIMENT_EXPIRED", "ENDED_WITH_NO_WINNER", "GOAL_OBJECTIVE_CHANGED". "ENDED_WITH_NO_WINNER" means that the experiment didn't expire but no winner was projected to be found. If the experiment status is changed via the API to ENDED this field is set to STOPPED_BY_USER. This field is read-only. "internalWebPropertyId": "A String", # Internal ID for the web property to which this experiment belongs. This field is read-only. - "winnerConfidenceLevel": 3.14, # A floating-point number between 0 and 1. Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose status is ENDED. + "winnerConfidenceLevel": 3.14, # A floating-point number in (0, 1). Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose status is ENDED. "startTime": "A String", # The starting time of the experiment (the time the status changed from READY_TO_RUN to RUNNING). This field is present only if the experiment has started. This field is read-only. "winnerFound": True or False, # Boolean specifying whether a winner has been found for this experiment. This field is read-only. "kind": "analytics#experiment", # Resource type for an Analytics experiment. This field is read-only. @@ -510,7 +510,7 @@

Method Details

An object of the form: { # JSON template for Analytics experiment resource. - "trafficCoverage": 3.14, # A floating-point number between 0 and 1. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED. + "trafficCoverage": 3.14, # A floating-point number in (0, 1]. Specifies the fraction of the traffic that participates in the experiment. Can be changed for a running experiment. This field may not be changed for an experiments whose status is ENDED. "webPropertyId": "A String", # Web property ID to which this experiment belongs. The web property ID is of the form UA-XXXXX-YY. This field is read-only. "optimizationType": "A String", # Whether the objectiveMetric should be minimized or maximized. Possible values: "MAXIMUM", "MINIMUM". Optional--defaults to "MAXIMUM". Cannot be specified without objectiveMetric. Cannot be modified when status is "RUNNING" or "ENDED". "objectiveMetric": "A String", # The metric that the experiment is optimizing. Valid values: "ga:goal(n)Completions", "ga:adsenseAdsClicks", "ga:adsenseAdsViewed", "ga:adsenseRevenue", "ga:bounces", "ga:pageviews", "ga:sessionDuration", "ga:transactions", "ga:transactionRevenue". This field is required if status is "RUNNING" and servingFramework is one of "REDIRECT" or "API". @@ -529,7 +529,7 @@

Method Details

"description": "A String", # Notes about this experiment. "reasonExperimentEnded": "A String", # Why the experiment ended. Possible values: "STOPPED_BY_USER", "WINNER_FOUND", "EXPERIMENT_EXPIRED", "ENDED_WITH_NO_WINNER", "GOAL_OBJECTIVE_CHANGED". "ENDED_WITH_NO_WINNER" means that the experiment didn't expire but no winner was projected to be found. If the experiment status is changed via the API to ENDED this field is set to STOPPED_BY_USER. This field is read-only. "internalWebPropertyId": "A String", # Internal ID for the web property to which this experiment belongs. This field is read-only. - "winnerConfidenceLevel": 3.14, # A floating-point number between 0 and 1. Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose status is ENDED. + "winnerConfidenceLevel": 3.14, # A floating-point number in (0, 1). Specifies the necessary confidence level to choose a winner. This field may not be changed for an experiments whose status is ENDED. "startTime": "A String", # The starting time of the experiment (the time the status changed from READY_TO_RUN to RUNNING). This field is present only if the experiment has started. This field is read-only. "winnerFound": True or False, # Boolean specifying whether a winner has been found for this experiment. This field is read-only. "kind": "analytics#experiment", # Resource type for an Analytics experiment. This field is read-only. diff --git a/docs/dyn/analytics_v3.management.filters.html b/docs/dyn/analytics_v3.management.filters.html index 1984653e40b..deab1b60e6a 100644 --- a/docs/dyn/analytics_v3.management.filters.html +++ b/docs/dyn/analytics_v3.management.filters.html @@ -225,7 +225,7 @@

Method Details

# - CUSTOM_DIMENSION (See accompanying field index), "caseSensitive": True or False, # Determines if the filter is case sensitive. "fieldIndex": 42, # The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION. - "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters. + "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES. }, "includeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type INCLUDE. "kind": "analytics#filterExpression", # Kind value for filter expression @@ -319,7 +319,7 @@

Method Details

# - CUSTOM_DIMENSION (See accompanying field index), "caseSensitive": True or False, # Determines if the filter is case sensitive. "fieldIndex": 42, # The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION. - "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters. + "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES. }, "parentLink": { # Parent link for this filter. Points to the account to which this filter belongs. "href": "A String", # Link to the account to which this filter belongs. @@ -470,7 +470,7 @@

Method Details

# - CUSTOM_DIMENSION (See accompanying field index), "caseSensitive": True or False, # Determines if the filter is case sensitive. "fieldIndex": 42, # The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION. - "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters. + "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES. }, "includeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type INCLUDE. "kind": "analytics#filterExpression", # Kind value for filter expression @@ -564,7 +564,7 @@

Method Details

# - CUSTOM_DIMENSION (See accompanying field index), "caseSensitive": True or False, # Determines if the filter is case sensitive. "fieldIndex": 42, # The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION. - "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters. + "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES. }, "parentLink": { # Parent link for this filter. Points to the account to which this filter belongs. "href": "A String", # Link to the account to which this filter belongs. @@ -713,7 +713,7 @@

Method Details

# - CUSTOM_DIMENSION (See accompanying field index), "caseSensitive": True or False, # Determines if the filter is case sensitive. "fieldIndex": 42, # The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION. - "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters. + "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES. }, "includeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type INCLUDE. "kind": "analytics#filterExpression", # Kind value for filter expression @@ -807,7 +807,7 @@

Method Details

# - CUSTOM_DIMENSION (See accompanying field index), "caseSensitive": True or False, # Determines if the filter is case sensitive. "fieldIndex": 42, # The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION. - "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters. + "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES. }, "parentLink": { # Parent link for this filter. Points to the account to which this filter belongs. "href": "A String", # Link to the account to which this filter belongs. @@ -950,7 +950,7 @@

Method Details

# - CUSTOM_DIMENSION (See accompanying field index), "caseSensitive": True or False, # Determines if the filter is case sensitive. "fieldIndex": 42, # The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION. - "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters. + "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES. }, "includeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type INCLUDE. "kind": "analytics#filterExpression", # Kind value for filter expression @@ -1044,7 +1044,7 @@

Method Details

# - CUSTOM_DIMENSION (See accompanying field index), "caseSensitive": True or False, # Determines if the filter is case sensitive. "fieldIndex": 42, # The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION. - "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters. + "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES. }, "parentLink": { # Parent link for this filter. Points to the account to which this filter belongs. "href": "A String", # Link to the account to which this filter belongs. @@ -1200,7 +1200,7 @@

Method Details

# - CUSTOM_DIMENSION (See accompanying field index), "caseSensitive": True or False, # Determines if the filter is case sensitive. "fieldIndex": 42, # The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION. - "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters. + "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES. }, "includeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type INCLUDE. "kind": "analytics#filterExpression", # Kind value for filter expression @@ -1294,7 +1294,7 @@

Method Details

# - CUSTOM_DIMENSION (See accompanying field index), "caseSensitive": True or False, # Determines if the filter is case sensitive. "fieldIndex": 42, # The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION. - "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters. + "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES. }, "parentLink": { # Parent link for this filter. Points to the account to which this filter belongs. "href": "A String", # Link to the account to which this filter belongs. @@ -1451,7 +1451,7 @@

Method Details

# - CUSTOM_DIMENSION (See accompanying field index), "caseSensitive": True or False, # Determines if the filter is case sensitive. "fieldIndex": 42, # The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION. - "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters. + "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES. }, "includeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type INCLUDE. "kind": "analytics#filterExpression", # Kind value for filter expression @@ -1545,7 +1545,7 @@

Method Details

# - CUSTOM_DIMENSION (See accompanying field index), "caseSensitive": True or False, # Determines if the filter is case sensitive. "fieldIndex": 42, # The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION. - "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters. + "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES. }, "parentLink": { # Parent link for this filter. Points to the account to which this filter belongs. "href": "A String", # Link to the account to which this filter belongs. @@ -1688,7 +1688,7 @@

Method Details

# - CUSTOM_DIMENSION (See accompanying field index), "caseSensitive": True or False, # Determines if the filter is case sensitive. "fieldIndex": 42, # The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION. - "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters. + "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES. }, "includeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type INCLUDE. "kind": "analytics#filterExpression", # Kind value for filter expression @@ -1782,7 +1782,7 @@

Method Details

# - CUSTOM_DIMENSION (See accompanying field index), "caseSensitive": True or False, # Determines if the filter is case sensitive. "fieldIndex": 42, # The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION. - "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters. + "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES. }, "parentLink": { # Parent link for this filter. Points to the account to which this filter belongs. "href": "A String", # Link to the account to which this filter belongs. @@ -1932,7 +1932,7 @@

Method Details

# - CUSTOM_DIMENSION (See accompanying field index), "caseSensitive": True or False, # Determines if the filter is case sensitive. "fieldIndex": 42, # The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION. - "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters. + "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES. }, "includeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type INCLUDE. "kind": "analytics#filterExpression", # Kind value for filter expression @@ -2026,7 +2026,7 @@

Method Details

# - CUSTOM_DIMENSION (See accompanying field index), "caseSensitive": True or False, # Determines if the filter is case sensitive. "fieldIndex": 42, # The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION. - "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters. + "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES. }, "parentLink": { # Parent link for this filter. Points to the account to which this filter belongs. "href": "A String", # Link to the account to which this filter belongs. @@ -2169,7 +2169,7 @@

Method Details

# - CUSTOM_DIMENSION (See accompanying field index), "caseSensitive": True or False, # Determines if the filter is case sensitive. "fieldIndex": 42, # The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION. - "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters. + "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES. }, "includeDetails": { # JSON template for an Analytics filter expression. # Details for the filter of the type INCLUDE. "kind": "analytics#filterExpression", # Kind value for filter expression @@ -2263,7 +2263,7 @@

Method Details

# - CUSTOM_DIMENSION (See accompanying field index), "caseSensitive": True or False, # Determines if the filter is case sensitive. "fieldIndex": 42, # The Index of the custom dimension. Set only if the field is a is CUSTOM_DIMENSION. - "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filters can use any match type. Match type is not applicable to Upper case and Lower case filters. Search and Replace expressions in the Search and Replace filter and all filter expressions in the Advanced filter default to MATCHES. User should not set match type for those filters. + "matchType": "A String", # Match type for this filter. Possible values are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, or MATCHES. GEO_DOMAIN, GEO_IP_ADDRESS, PAGE_REQUEST_URI, or PAGE_HOSTNAME filters can use any match type; all other filters must use MATCHES. }, "parentLink": { # Parent link for this filter. Points to the account to which this filter belongs. "href": "A String", # Link to the account to which this filter belongs. diff --git a/docs/dyn/analytics_v3.management.profiles.html b/docs/dyn/analytics_v3.management.profiles.html index 33fb77bb53c..bfa0370105d 100644 --- a/docs/dyn/analytics_v3.management.profiles.html +++ b/docs/dyn/analytics_v3.management.profiles.html @@ -117,7 +117,7 @@

Method Details

An object of the form: { # JSON template for an Analytics view (profile). - "currency": "A String", # The currency type associated with this view (profile). The supported values are: + "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: # ARS, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, INR, JPY, KRW, LTL, MXN, NOK, NZD, PHP, PLN, RUB, SEK, THB, TRY, TWD, USD, VND, ZAR "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. @@ -166,7 +166,7 @@

Method Details

The object takes the form of: { # JSON template for an Analytics view (profile). - "currency": "A String", # The currency type associated with this view (profile). The supported values are: + "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: # ARS, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, INR, JPY, KRW, LTL, MXN, NOK, NZD, PHP, PLN, RUB, SEK, THB, TRY, TWD, USD, VND, ZAR "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. @@ -208,7 +208,7 @@

Method Details

An object of the form: { # JSON template for an Analytics view (profile). - "currency": "A String", # The currency type associated with this view (profile). The supported values are: + "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: # ARS, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, INR, JPY, KRW, LTL, MXN, NOK, NZD, PHP, PLN, RUB, SEK, THB, TRY, TWD, USD, VND, ZAR "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. @@ -264,7 +264,7 @@

Method Details

"kind": "analytics#profiles", # Collection type. "items": [ # A list of views (profiles). { # JSON template for an Analytics view (profile). - "currency": "A String", # The currency type associated with this view (profile). The supported values are: + "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: # ARS, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, INR, JPY, KRW, LTL, MXN, NOK, NZD, PHP, PLN, RUB, SEK, THB, TRY, TWD, USD, VND, ZAR "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. @@ -321,7 +321,7 @@

Method Details

The object takes the form of: { # JSON template for an Analytics view (profile). - "currency": "A String", # The currency type associated with this view (profile). The supported values are: + "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: # ARS, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, INR, JPY, KRW, LTL, MXN, NOK, NZD, PHP, PLN, RUB, SEK, THB, TRY, TWD, USD, VND, ZAR "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. @@ -363,7 +363,7 @@

Method Details

An object of the form: { # JSON template for an Analytics view (profile). - "currency": "A String", # The currency type associated with this view (profile). The supported values are: + "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: # ARS, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, INR, JPY, KRW, LTL, MXN, NOK, NZD, PHP, PLN, RUB, SEK, THB, TRY, TWD, USD, VND, ZAR "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. @@ -413,7 +413,7 @@

Method Details

The object takes the form of: { # JSON template for an Analytics view (profile). - "currency": "A String", # The currency type associated with this view (profile). The supported values are: + "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: # ARS, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, INR, JPY, KRW, LTL, MXN, NOK, NZD, PHP, PLN, RUB, SEK, THB, TRY, TWD, USD, VND, ZAR "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. @@ -455,7 +455,7 @@

Method Details

An object of the form: { # JSON template for an Analytics view (profile). - "currency": "A String", # The currency type associated with this view (profile). The supported values are: + "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: # ARS, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, INR, JPY, KRW, LTL, MXN, NOK, NZD, PHP, PLN, RUB, SEK, THB, TRY, TWD, USD, VND, ZAR "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. diff --git a/docs/dyn/analytics_v3.provisioning.html b/docs/dyn/analytics_v3.provisioning.html index 6264eff3704..3f5afb883e1 100644 --- a/docs/dyn/analytics_v3.provisioning.html +++ b/docs/dyn/analytics_v3.provisioning.html @@ -88,7 +88,7 @@

Method Details

{ # JSON template for an Analytics account ticket. The account ticket consists of the ticket ID and the basic information for the account, property and profile. "profile": { # JSON template for an Analytics view (profile). # View (Profile) for the account. - "currency": "A String", # The currency type associated with this view (profile). The supported values are: + "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: # ARS, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, INR, JPY, KRW, LTL, MXN, NOK, NZD, PHP, PLN, RUB, SEK, THB, TRY, TWD, USD, VND, ZAR "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. @@ -180,7 +180,7 @@

Method Details

{ # JSON template for an Analytics account ticket. The account ticket consists of the ticket ID and the basic information for the account, property and profile. "profile": { # JSON template for an Analytics view (profile). # View (Profile) for the account. - "currency": "A String", # The currency type associated with this view (profile). The supported values are: + "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: # ARS, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, INR, JPY, KRW, LTL, MXN, NOK, NZD, PHP, PLN, RUB, SEK, THB, TRY, TWD, USD, VND, ZAR "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. diff --git a/docs/dyn/androidenterprise_v1.collections.html b/docs/dyn/androidenterprise_v1.collections.html index 41d03cfff9b..6c727086ac8 100644 --- a/docs/dyn/androidenterprise_v1.collections.html +++ b/docs/dyn/androidenterprise_v1.collections.html @@ -122,7 +122,9 @@

Method Details

"A String", ], "name": "A String", # A user-friendly name for the collection (should be unique), e.g. "Accounting apps". - "visibility": "A String", # Whether this collection is visible to all users, or only to the users that have been granted access through the collection_viewers api. Even if a collection is visible to allUsers, it is possible to add and remove viewers, but this will have no effect until the collection's visibility changes to viewersOnly. + "visibility": "A String", # Whether this collection is visible to all users, or only to the users that have been granted access through the "Collectionviewers" API. With the launch of the "setAvailableProductSet" API, this property should always be set to "viewersOnly", as the "allUsers" option will bypass the "availableProductSet" for all users within a domain. + # + # The "allUsers" setting is deprecated, and will be removed. "collectionId": "A String", # Arbitrary unique ID, allocated by the API on creation. } @@ -144,7 +146,9 @@

Method Details

"A String", ], "name": "A String", # A user-friendly name for the collection (should be unique), e.g. "Accounting apps". - "visibility": "A String", # Whether this collection is visible to all users, or only to the users that have been granted access through the collection_viewers api. Even if a collection is visible to allUsers, it is possible to add and remove viewers, but this will have no effect until the collection's visibility changes to viewersOnly. + "visibility": "A String", # Whether this collection is visible to all users, or only to the users that have been granted access through the "Collectionviewers" API. With the launch of the "setAvailableProductSet" API, this property should always be set to "viewersOnly", as the "allUsers" option will bypass the "availableProductSet" for all users within a domain. + # + # The "allUsers" setting is deprecated, and will be removed. "collectionId": "A String", # Arbitrary unique ID, allocated by the API on creation. } @@ -160,7 +164,9 @@

Method Details

"A String", ], "name": "A String", # A user-friendly name for the collection (should be unique), e.g. "Accounting apps". - "visibility": "A String", # Whether this collection is visible to all users, or only to the users that have been granted access through the collection_viewers api. Even if a collection is visible to allUsers, it is possible to add and remove viewers, but this will have no effect until the collection's visibility changes to viewersOnly. + "visibility": "A String", # Whether this collection is visible to all users, or only to the users that have been granted access through the "Collectionviewers" API. With the launch of the "setAvailableProductSet" API, this property should always be set to "viewersOnly", as the "allUsers" option will bypass the "availableProductSet" for all users within a domain. + # + # The "allUsers" setting is deprecated, and will be removed. "collectionId": "A String", # Arbitrary unique ID, allocated by the API on creation. } @@ -177,7 +183,7 @@

Method Details

{ # The collection resources for the enterprise. "kind": "androidenterprise#collectionsListResponse", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#collectionsListResponse". - "collection": [ # An ordered collection of products which can be made visible on the Google Play Store app to a selected group of users. + "collection": [ # An ordered collection of products which can be made visible on the Google Play Store to a selected group of users. { # A collection resource defines a named set of apps that is visible to a set of users in the Google Play Store app running on those users' managed devices. Those users can then install any of those apps if they wish (which will trigger creation of install and entitlement resources). A user cannot install an app on a managed device unless the app is listed in at least one collection that is visible to that user. # # Note that the API can be used to directly install an app regardless of whether it is in any collection - so an enterprise has a choice of either directly pushing apps to users, or allowing users to install apps if they want. Which is appropriate will depend on the enterprise's policies and the purpose of the apps concerned. @@ -186,7 +192,9 @@

Method Details

"A String", ], "name": "A String", # A user-friendly name for the collection (should be unique), e.g. "Accounting apps". - "visibility": "A String", # Whether this collection is visible to all users, or only to the users that have been granted access through the collection_viewers api. Even if a collection is visible to allUsers, it is possible to add and remove viewers, but this will have no effect until the collection's visibility changes to viewersOnly. + "visibility": "A String", # Whether this collection is visible to all users, or only to the users that have been granted access through the "Collectionviewers" API. With the launch of the "setAvailableProductSet" API, this property should always be set to "viewersOnly", as the "allUsers" option will bypass the "availableProductSet" for all users within a domain. + # + # The "allUsers" setting is deprecated, and will be removed. "collectionId": "A String", # Arbitrary unique ID, allocated by the API on creation. }, ], @@ -211,7 +219,9 @@

Method Details

"A String", ], "name": "A String", # A user-friendly name for the collection (should be unique), e.g. "Accounting apps". - "visibility": "A String", # Whether this collection is visible to all users, or only to the users that have been granted access through the collection_viewers api. Even if a collection is visible to allUsers, it is possible to add and remove viewers, but this will have no effect until the collection's visibility changes to viewersOnly. + "visibility": "A String", # Whether this collection is visible to all users, or only to the users that have been granted access through the "Collectionviewers" API. With the launch of the "setAvailableProductSet" API, this property should always be set to "viewersOnly", as the "allUsers" option will bypass the "availableProductSet" for all users within a domain. + # + # The "allUsers" setting is deprecated, and will be removed. "collectionId": "A String", # Arbitrary unique ID, allocated by the API on creation. } @@ -227,7 +237,9 @@

Method Details

"A String", ], "name": "A String", # A user-friendly name for the collection (should be unique), e.g. "Accounting apps". - "visibility": "A String", # Whether this collection is visible to all users, or only to the users that have been granted access through the collection_viewers api. Even if a collection is visible to allUsers, it is possible to add and remove viewers, but this will have no effect until the collection's visibility changes to viewersOnly. + "visibility": "A String", # Whether this collection is visible to all users, or only to the users that have been granted access through the "Collectionviewers" API. With the launch of the "setAvailableProductSet" API, this property should always be set to "viewersOnly", as the "allUsers" option will bypass the "availableProductSet" for all users within a domain. + # + # The "allUsers" setting is deprecated, and will be removed. "collectionId": "A String", # Arbitrary unique ID, allocated by the API on creation. } @@ -250,7 +262,9 @@

Method Details

"A String", ], "name": "A String", # A user-friendly name for the collection (should be unique), e.g. "Accounting apps". - "visibility": "A String", # Whether this collection is visible to all users, or only to the users that have been granted access through the collection_viewers api. Even if a collection is visible to allUsers, it is possible to add and remove viewers, but this will have no effect until the collection's visibility changes to viewersOnly. + "visibility": "A String", # Whether this collection is visible to all users, or only to the users that have been granted access through the "Collectionviewers" API. With the launch of the "setAvailableProductSet" API, this property should always be set to "viewersOnly", as the "allUsers" option will bypass the "availableProductSet" for all users within a domain. + # + # The "allUsers" setting is deprecated, and will be removed. "collectionId": "A String", # Arbitrary unique ID, allocated by the API on creation. } @@ -266,7 +280,9 @@

Method Details

"A String", ], "name": "A String", # A user-friendly name for the collection (should be unique), e.g. "Accounting apps". - "visibility": "A String", # Whether this collection is visible to all users, or only to the users that have been granted access through the collection_viewers api. Even if a collection is visible to allUsers, it is possible to add and remove viewers, but this will have no effect until the collection's visibility changes to viewersOnly. + "visibility": "A String", # Whether this collection is visible to all users, or only to the users that have been granted access through the "Collectionviewers" API. With the launch of the "setAvailableProductSet" API, this property should always be set to "viewersOnly", as the "allUsers" option will bypass the "availableProductSet" for all users within a domain. + # + # The "allUsers" setting is deprecated, and will be removed. "collectionId": "A String", # Arbitrary unique ID, allocated by the API on creation. } diff --git a/docs/dyn/androidenterprise_v1.enterprises.html b/docs/dyn/androidenterprise_v1.enterprises.html index 6743d07661c..6f25523d276 100644 --- a/docs/dyn/androidenterprise_v1.enterprises.html +++ b/docs/dyn/androidenterprise_v1.enterprises.html @@ -89,6 +89,9 @@

Instance Methods

list(domain)

Looks up an enterprise by domain name.

+

+ sendTestPushNotification(enterpriseId)

+

Sends a test push notification to validate the MDM integration with the Google Cloud Pubsub service for this enterprise.

setAccount(enterpriseId, body)

Set the account that will be used to authenticate to the API as the enterprise.

@@ -250,6 +253,22 @@

Method Details

} +
+ sendTestPushNotification(enterpriseId) +
Sends a test push notification to validate the MDM integration with the Google Cloud Pubsub service for this enterprise.
+
+Args:
+  enterpriseId: string, The ID of the enterprise. (required)
+
+Returns:
+  An object of the form:
+
+    {
+    "topicName": "A String", # The name of the Cloud Pubsub topic to which notifications for this enterprise's enrolled account will be sent.
+    "messageId": "A String", # The message ID of the test push notification that was sent.
+  }
+
+
setAccount(enterpriseId, body)
Set the account that will be used to authenticate to the API as the enterprise.
diff --git a/docs/dyn/androidenterprise_v1.grouplicenses.html b/docs/dyn/androidenterprise_v1.grouplicenses.html
index cb398f3c847..06da7c93e13 100644
--- a/docs/dyn/androidenterprise_v1.grouplicenses.html
+++ b/docs/dyn/androidenterprise_v1.grouplicenses.html
@@ -92,11 +92,11 @@ 

Method Details

Returns: An object of the form: - { # A group license object indicates a product that an enterprise admin has approved for use in the enterprise. The product may be free or paid. For free products, a group license object is created in these cases: if the enterprise admin approves a product in Google Play, if the product is added to a collection, or if an entitlement for the product is created for a user via the API. For paid products, a group license object is only created as part of the first bulk purchase of that product in Google Play done by the enterprise admin. + { # A group license object indicates a product that an enterprise admin has approved for use in the enterprise. The product may be free or paid. For free products, a group license object is created in these cases: if the enterprise admin approves a product in Google Play, if the product is added to a collection, or if an entitlement for the product is created for a user via the API. For paid products, a group license object is only created as part of the first bulk purchase of that product in Google Play by the enterprise admin. # - # The API can be used to query group licenses; the available information includes the total number of licenses purchased (for paid products) and the total number of licenses that have been provisioned, i.e. the total number of user entitlements in existence for the product. + # The API can be used to query group licenses; the available information includes the total number of licenses purchased (for paid products) and the total number of licenses that have been provisioned, that is, the total number of user entitlements in existence for the product. # - # Group license objects are never deleted; if e.g. a free app is added to a collection and then removed, the group license will remain, allowing to keep track of any remaining entitlements. An enterprise admin may indicate they are no longer interested in the group license by marking it as unapproved in Google Play. + # Group license objects are never deleted. If, for example, a free app is added to a collection and then removed, the group license will remain, allowing the enterprise admin to keep track of any remaining entitlements. An enterprise admin may indicate they are no longer interested in the group license by marking it as unapproved in Google Play. "kind": "androidenterprise#groupLicense", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#groupLicense". "numPurchased": 42, # The number of purchased licenses (possibly in multiple purchases). If this field is omitted then there is no limit on the number of licenses that can be provisioned (e.g. if the acquisition kind is "free"). "numProvisioned": 42, # The total number of provisioned licenses for this product. Returned by read operations, but ignored in write operations. @@ -118,11 +118,11 @@

Method Details

{ # The grouplicense resources for the enterprise. "groupLicense": [ # A group license for a product approved for use in the enterprise. - { # A group license object indicates a product that an enterprise admin has approved for use in the enterprise. The product may be free or paid. For free products, a group license object is created in these cases: if the enterprise admin approves a product in Google Play, if the product is added to a collection, or if an entitlement for the product is created for a user via the API. For paid products, a group license object is only created as part of the first bulk purchase of that product in Google Play done by the enterprise admin. + { # A group license object indicates a product that an enterprise admin has approved for use in the enterprise. The product may be free or paid. For free products, a group license object is created in these cases: if the enterprise admin approves a product in Google Play, if the product is added to a collection, or if an entitlement for the product is created for a user via the API. For paid products, a group license object is only created as part of the first bulk purchase of that product in Google Play by the enterprise admin. # - # The API can be used to query group licenses; the available information includes the total number of licenses purchased (for paid products) and the total number of licenses that have been provisioned, i.e. the total number of user entitlements in existence for the product. + # The API can be used to query group licenses; the available information includes the total number of licenses purchased (for paid products) and the total number of licenses that have been provisioned, that is, the total number of user entitlements in existence for the product. # - # Group license objects are never deleted; if e.g. a free app is added to a collection and then removed, the group license will remain, allowing to keep track of any remaining entitlements. An enterprise admin may indicate they are no longer interested in the group license by marking it as unapproved in Google Play. + # Group license objects are never deleted. If, for example, a free app is added to a collection and then removed, the group license will remain, allowing the enterprise admin to keep track of any remaining entitlements. An enterprise admin may indicate they are no longer interested in the group license by marking it as unapproved in Google Play. "kind": "androidenterprise#groupLicense", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#groupLicense". "numPurchased": 42, # The number of purchased licenses (possibly in multiple purchases). If this field is omitted then there is no limit on the number of licenses that can be provisioned (e.g. if the acquisition kind is "free"). "numProvisioned": 42, # The total number of provisioned licenses for this product. Returned by read operations, but ignored in write operations. diff --git a/docs/dyn/androidenterprise_v1.products.html b/docs/dyn/androidenterprise_v1.products.html index 0d5c6ddb807..ad40c7f0270 100644 --- a/docs/dyn/androidenterprise_v1.products.html +++ b/docs/dyn/androidenterprise_v1.products.html @@ -79,7 +79,7 @@

Instance Methods

Approves the specified product (and the relevant app permissions, if any).

generateApprovalUrl(enterpriseId, productId, languageCode=None)

-

Generates a URL that can be used to display an iframe to view the product's permissions (if any) and approve the product. This URL can be used to approve the product for a limited time (currently 1 hour) using the Products.approve call.

+

Generates a URL that can be rendered in an iframe to display the permissions (if any) of a product. An enterprise admin must view these permissions and accept them on behalf of their organization in order to approve that product.

get(enterpriseId, productId, language=None)

Retrieves details of a product for display to an enterprise admin.

@@ -104,7 +104,7 @@

Method Details

The object takes the form of: { - "approvalUrlInfo": { # Information on an approval URL. + "approvalUrlInfo": { # Information on an approval URL. # The approval URL that was shown to the user. Only the permissions shown to the user with that URL will be accepted, which may not be the product's entire set of permissions. For example, the URL may only display new permissions from an update after the product was approved, or not include new permissions if the product was updated since the URL was generated. "kind": "androidenterprise#approvalUrlInfo", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#approvalUrlInfo". "approvalUrl": "A String", # A URL that displays a product's permissions and that can also be used to approve the product with the Products.approve call. }, @@ -115,18 +115,20 @@

Method Details

generateApprovalUrl(enterpriseId, productId, languageCode=None) -
Generates a URL that can be used to display an iframe to view the product's permissions (if any) and approve the product. This URL can be used to approve the product for a limited time (currently 1 hour) using the Products.approve call.
+  
Generates a URL that can be rendered in an iframe to display the permissions (if any) of a product. An enterprise admin must view these permissions and accept them on behalf of their organization in order to approve that product.
+
+Admins should accept the displayed permissions by interacting with a separate UI element in the EMM console, which in turn should trigger the use of this URL as the approvalUrlInfo.approvalUrl property in a Products.approve call to approve the product. This URL can only be used to display permissions for up to 1 day.
 
 Args:
   enterpriseId: string, The ID of the enterprise. (required)
   productId: string, The ID of the product. (required)
-  languageCode: string, The language code that will be used for permission names and descriptions in the returned iframe.
+  languageCode: string, The BCP 47 language code used for permission names and descriptions in the returned iframe, for instance "en-US".
 
 Returns:
   An object of the form:
 
     {
-    "url": "A String", # A iframe-able URL that displays a product's permissions (if any). This URL can be used to approve the product only once and for a limited time (1 hour), using the Products.approve call. If the product is not currently approved and has no permissions, this URL will point to an empty page. If the product is currently approved and all of its permissions (if any) are also approved, this field will not be populated.
+    "url": "A String", # A URL that can be rendered in an iframe to display the permissions (if any) of a product. This URL can be used to approve the product only once and only within 24 hours of being generated, using the Products.approve call. If the product is currently unapproved and has no permissions, this URL will point to an empty page. If the product is currently approved, a URL will only be generated if that product has added permissions since it was last approved, and the URL will only display those new permissions that have not yet been accepted.
   }
@@ -146,21 +148,20 @@

Method Details

# # The information provided for each product (localized name, icon, link to the full Google Play details page) is intended to allow a basic representation of the product within an MDM user interface. "kind": "androidenterprise#product", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#product". - "distributionChannel": "A String", # How and to whom the package is made available. + "distributionChannel": "A String", # How and to whom the package is made available. The value publicGoogleHosted means that the package is available through the Play Store and not restricted to a specific enterprise. The value privateGoogleHosted means that the package is a private app (restricted to an enterprise) but hosted by Google. The value privateSelfHosted means that the package is a private app (restricted to an enterprise) and is privately hosted. "title": "A String", # The name of the product. "workDetailsUrl": "A String", # A link to the Google Play for Work details page for the product, for use by an Enterprise administrator. - "appVersion": [ # List of app versions available for this product. The returned list contains only public versions. E.g. alpha, beta or canary versions will not be included. - { # App version represents a single APK version. - "versionCode": 42, # Unique increasing identifier for the apk version. - "versionString": "A String", # The string used in the Play Store by the app developer to identify a version of an app. The string is not necessarily unique or localized (e.g. "1.4"). + "appVersion": [ # App versions currently available for this product. The returned list contains only public versions. Alpha and beta versions are not included. + { # This represents a single version of the app. + "versionCode": 42, # Unique increasing identifier for the app version. + "versionString": "A String", # The string used in the Play Store by the app developer to identify the version. The string is not necessarily unique or localized (for example, the string could be "1.4"). }, ], "iconUrl": "A String", # A link to an image that can be used as an icon for the product. "authorName": "A String", # The name of the author of the product (e.g. the app developer). "requiresContainerApp": True or False, # Whether this app can only be installed on devices using the Android for Work container app. "detailsUrl": "A String", # A link to the (consumer) Google Play details page for the product. - "productId": "A String", # A string of the form "app: - # " - e.g. "app:com.google.android.gm" represents the GMail app. + "productId": "A String", # A string of the form app:. For example, app:com.google.android.gm represents the Gmail app. }
@@ -200,6 +201,7 @@

Method Details

"description": "A String", # A longer description of the restriction, giving more detail of what it affects. }, ], + "kind": "androidenterprise#appRestrictionsSchema", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#appRestrictionsSchema". } diff --git a/docs/dyn/androidenterprise_v1.users.html b/docs/dyn/androidenterprise_v1.users.html index d99a2de6cb8..124750a12b3 100644 --- a/docs/dyn/androidenterprise_v1.users.html +++ b/docs/dyn/androidenterprise_v1.users.html @@ -80,12 +80,18 @@

Instance Methods

get(enterpriseId, userId)

Retrieves a user's details.

+

+ getAvailableProductSet(enterpriseId, userId)

+

Retrieves the set of products a user is entitled to access.

list(enterpriseId, email)

Looks up a user by email address.

revokeToken(enterpriseId, userId)

Revokes a previously generated token (activation code) for the user.

+

+ setAvailableProductSet(enterpriseId, userId, body)

+

Modifies the set of products a user is entitled to access.

Method Details

generateToken(enterpriseId, userId) @@ -127,6 +133,25 @@

Method Details

}
+
+ getAvailableProductSet(enterpriseId, userId) +
Retrieves the set of products a user is entitled to access.
+
+Args:
+  enterpriseId: string, The ID of the enterprise. (required)
+  userId: string, The ID of the user. (required)
+
+Returns:
+  An object of the form:
+
+    { # A set of products.
+      "kind": "androidenterprise#productSet", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#productSet".
+      "productId": [ # The list of product IDs making up the set of products.
+        "A String",
+      ],
+    }
+
+
list(enterpriseId, email)
Looks up a user by email address.
@@ -164,4 +189,33 @@ 

Method Details

+
+ setAvailableProductSet(enterpriseId, userId, body) +
Modifies the set of products a user is entitled to access.
+
+Args:
+  enterpriseId: string, The ID of the enterprise. (required)
+  userId: string, The ID of the user. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A set of products.
+    "kind": "androidenterprise#productSet", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#productSet".
+    "productId": [ # The list of product IDs making up the set of products.
+      "A String",
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # A set of products.
+      "kind": "androidenterprise#productSet", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#productSet".
+      "productId": [ # The list of product IDs making up the set of products.
+        "A String",
+      ],
+    }
+
+ \ No newline at end of file diff --git a/docs/dyn/appengine_v1beta4.apps.html b/docs/dyn/appengine_v1beta4.apps.html new file mode 100644 index 00000000000..4b7faa595f1 --- /dev/null +++ b/docs/dyn/appengine_v1beta4.apps.html @@ -0,0 +1,118 @@ + + + +

Google App Engine Admin API . apps

+

Instance Methods

+

+ modules() +

+

Returns the modules Resource.

+ +

+ operations() +

+

Returns the operations Resource.

+ +

+ get(appsId, x__xgafv=None, ensureResourcesExist=None)

+

Gets information about an application.

+

Method Details

+
+ get(appsId, x__xgafv=None, ensureResourcesExist=None) +
Gets information about an application.
+
+Args:
+  appsId: string, Part of `name`. Name of the application to get. For example: "apps/myapp". (required)
+  x__xgafv: string, V1 error format.
+  ensureResourcesExist: boolean, Certain resources associated with an application are created on-demand. Controls whether these resources should be created when performing the `GET` operation. If specified and any resources cloud not be created, the request will fail with an error code.
+
+Returns:
+  An object of the form:
+
+    { # An Application contains the top-level configuration of an App Engine application.
+    "codeBucket": "A String", # A Google Cloud Storage bucket which can be used for storing files associated with an application. This bucket is associated with the application and can be used by the gcloud deployment commands. @OutputOnly
+    "dispatchRules": [ # HTTP path dispatch rules for requests to the app that do not explicitly target a module or version. The rules are order-dependent.
+      { # Rules to match an HTTP request and dispatch that request to a module.
+        "path": "A String", # The pathname within the host. This must start with a '/'. A single '*' (glob) can be included at the end of the path. The sum of the lengths of the domain and path may not exceed 100 characters.
+        "domain": "A String", # The domain name to match on. Supports '*' (glob) wildcarding on the left-hand side of a '.'. If empty, all domains will be matched (the same as '*').
+        "module": "A String", # The resource id of a Module in this application that should service the matched request. The Module must already exist. Example: "default".
+      },
+    ],
+    "location": "A String", # The location from which the application will be run. Choices are "us-central" for United States and "europe-west" for European Union. Application instances will run out of data centers in the chosen location and all of the application's End User Content will be stored at rest in the chosen location. The default is "us-central".
+    "name": "A String", # The full path to the application in the API. Example: "apps/myapp". @OutputOnly
+    "id": "A String", # The relative name/path of the application. Example: "myapp". @OutputOnly
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/appengine_v1beta4.apps.modules.html b/docs/dyn/appengine_v1beta4.apps.modules.html new file mode 100644 index 00000000000..c830caa0e7e --- /dev/null +++ b/docs/dyn/appengine_v1beta4.apps.modules.html @@ -0,0 +1,248 @@ + + + +

Google App Engine Admin API . apps . modules

+

Instance Methods

+

+ versions() +

+

Returns the versions Resource.

+ +

+ delete(appsId, modulesId, x__xgafv=None)

+

Deletes a module and all enclosed versions.

+

+ get(appsId, modulesId, x__xgafv=None)

+

Gets the current configuration of the module.

+

+ list(appsId, pageSize=None, pageToken=None, x__xgafv=None)

+

Lists all the modules in the application.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(appsId, modulesId, body, migrateTraffic=None, mask=None, x__xgafv=None)

+

Updates the configuration of the specified module.

+

Method Details

+
+ delete(appsId, modulesId, x__xgafv=None) +
Deletes a module and all enclosed versions.
+
+Args:
+  appsId: string, Part of `name`. Name of the resource requested. For example: "apps/myapp/modules/default". (required)
+  modulesId: string, Part of `name`. See documentation of `appsId`. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+    "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+    "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error result of the operation in case of failure.
+      "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+      "code": 42, # The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
+      "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
+        {
+          "a_key": "", # Properties of the object. Contains field @ype with type URL.
+        },
+      ],
+    },
+    "done": True or False, # If the value is `false`, it means the operation is still in progress. If true, the operation is completed, and either `error` or `response` is available.
+    "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping above, the `name` should have the format of `operations/some/unique/name`.
+    "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+  }
+
+ +
+ get(appsId, modulesId, x__xgafv=None) +
Gets the current configuration of the module.
+
+Args:
+  appsId: string, Part of `name`. Name of the resource requested. For example: "apps/myapp/modules/default". (required)
+  modulesId: string, Part of `name`. See documentation of `appsId`. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A module is a component of an application that provides a single service or configuration. A module has a collection of versions that define a specific set of code used to implement the functionality of that module.
+      "split": { # Configuration for traffic splitting for versions within a single module. Traffic splitting allows traffic directed to the module to be assigned to one of several versions in a fractional way, enabling experiments and canarying new builds, for example. # A mapping that defines fractional HTTP traffic diversion to different versions within the module.
+        "shardBy": "A String", # Which mechanism should be used as a selector when choosing a version to send a request to. The traffic selection algorithm will be stable for either type until allocations are changed.
+        "allocations": { # Mapping from module version IDs within the module to fractional (0.000, 1] allocations of traffic for that version. Each version may only be specified once, but some versions in the module may not have any traffic allocation. Modules that have traffic allocated in this field may not be deleted until the module is deleted, or their traffic allocation is removed. Allocations must sum to 1. Supports precision up to two decimal places for IP-based splits and up to three decimal places for cookie-based splits.
+          "a_key": 3.14,
+        },
+      },
+      "name": "A String", # The full path to the Module resource in the API. Example: "apps/myapp/modules/default" @OutputOnly
+      "id": "A String", # The relative name/path of the module within the application. Example: "default" @OutputOnly
+    }
+
+ +
+ list(appsId, pageSize=None, pageToken=None, x__xgafv=None) +
Lists all the modules in the application.
+
+Args:
+  appsId: string, Part of `name`. Name of the resource requested. For example: "apps/myapp". (required)
+  pageSize: integer, Maximum results to return per page.
+  pageToken: string, Continuation token for fetching the next page of results.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response message for `Modules.ListModules`.
+    "nextPageToken": "A String", # Continuation token for fetching the next page of results.
+    "modules": [ # The modules belonging to the requested application.
+      { # A module is a component of an application that provides a single service or configuration. A module has a collection of versions that define a specific set of code used to implement the functionality of that module.
+          "split": { # Configuration for traffic splitting for versions within a single module. Traffic splitting allows traffic directed to the module to be assigned to one of several versions in a fractional way, enabling experiments and canarying new builds, for example. # A mapping that defines fractional HTTP traffic diversion to different versions within the module.
+            "shardBy": "A String", # Which mechanism should be used as a selector when choosing a version to send a request to. The traffic selection algorithm will be stable for either type until allocations are changed.
+            "allocations": { # Mapping from module version IDs within the module to fractional (0.000, 1] allocations of traffic for that version. Each version may only be specified once, but some versions in the module may not have any traffic allocation. Modules that have traffic allocated in this field may not be deleted until the module is deleted, or their traffic allocation is removed. Allocations must sum to 1. Supports precision up to two decimal places for IP-based splits and up to three decimal places for cookie-based splits.
+              "a_key": 3.14,
+            },
+          },
+          "name": "A String", # The full path to the Module resource in the API. Example: "apps/myapp/modules/default" @OutputOnly
+          "id": "A String", # The relative name/path of the module within the application. Example: "default" @OutputOnly
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(appsId, modulesId, body, migrateTraffic=None, mask=None, x__xgafv=None) +
Updates the configuration of the specified module.
+
+Args:
+  appsId: string, Part of `name`. Name of the resource to update. For example: "apps/myapp/modules/default". (required)
+  modulesId: string, Part of `name`. See documentation of `appsId`. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A module is a component of an application that provides a single service or configuration. A module has a collection of versions that define a specific set of code used to implement the functionality of that module.
+    "split": { # Configuration for traffic splitting for versions within a single module. Traffic splitting allows traffic directed to the module to be assigned to one of several versions in a fractional way, enabling experiments and canarying new builds, for example. # A mapping that defines fractional HTTP traffic diversion to different versions within the module.
+      "shardBy": "A String", # Which mechanism should be used as a selector when choosing a version to send a request to. The traffic selection algorithm will be stable for either type until allocations are changed.
+      "allocations": { # Mapping from module version IDs within the module to fractional (0.000, 1] allocations of traffic for that version. Each version may only be specified once, but some versions in the module may not have any traffic allocation. Modules that have traffic allocated in this field may not be deleted until the module is deleted, or their traffic allocation is removed. Allocations must sum to 1. Supports precision up to two decimal places for IP-based splits and up to three decimal places for cookie-based splits.
+        "a_key": 3.14,
+      },
+    },
+    "name": "A String", # The full path to the Module resource in the API. Example: "apps/myapp/modules/default" @OutputOnly
+    "id": "A String", # The relative name/path of the module within the application. Example: "default" @OutputOnly
+  }
+
+  migrateTraffic: boolean, Whether to use Traffic Migration to shift traffic gradually. Traffic can only be migrated from a single version to another single version.
+  mask: string, Standard field mask for the set of fields to be updated.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+    "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+    "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error result of the operation in case of failure.
+      "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+      "code": 42, # The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
+      "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
+        {
+          "a_key": "", # Properties of the object. Contains field @ype with type URL.
+        },
+      ],
+    },
+    "done": True or False, # If the value is `false`, it means the operation is still in progress. If true, the operation is completed, and either `error` or `response` is available.
+    "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping above, the `name` should have the format of `operations/some/unique/name`.
+    "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/appengine_v1beta4.apps.modules.versions.html b/docs/dyn/appengine_v1beta4.apps.modules.versions.html new file mode 100644 index 00000000000..35670dba5a7 --- /dev/null +++ b/docs/dyn/appengine_v1beta4.apps.modules.versions.html @@ -0,0 +1,633 @@ + + + +

Google App Engine Admin API . apps . modules . versions

+

Instance Methods

+

+ create(appsId, modulesId, body, x__xgafv=None)

+

Deploys new code and resource files to a version.

+

+ delete(appsId, modulesId, versionsId, x__xgafv=None)

+

Deletes an existing version.

+

+ get(appsId, modulesId, versionsId, x__xgafv=None, view=None)

+

Gets application deployment information.

+

+ list(appsId, modulesId, pageSize=None, pageToken=None, x__xgafv=None, view=None)

+

Lists the versions of a module.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ create(appsId, modulesId, body, x__xgafv=None) +
Deploys new code and resource files to a version.
+
+Args:
+  appsId: string, Part of `name`. Name of the resource to update. For example: "apps/myapp/modules/default". (required)
+  modulesId: string, Part of `name`. See documentation of `appsId`. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A Version is a specific set of source code and configuration files deployed to a module.
+    "basicScaling": { # A module with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity. # A module with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.
+      "idleTimeout": "A String", # The instance will be shut down this amount of time after receiving its last request.
+      "maxInstances": 42, # The maximum number of instances for App Engine to create for this version.
+    },
+    "betaSettings": { # Beta settings supplied to the application via metadata.
+      "a_key": "A String",
+    },
+    "vm": True or False, # Whether to deploy this app in a VM container (deprecated, use "env":"2").
+    "instanceClass": "A String", # The frontend instance class to use to run this app. Valid values are `[F1, F2, F4, F4_1G]`. Default: "F1"
+    "errorHandlers": [ # Custom static error pages instead of these generic error pages, (limit 10 KB/page) Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+      { # A custom static error page to be served when an error occurs.
+        "errorCode": "A String", # The error condition this handler applies to.
+        "mimeType": "A String", # MIME type of file. If unspecified, "text/html" is assumed.
+        "staticFile": "A String", # Static file content to be served for this error.
+      },
+    ],
+    "id": "A String", # The relative name/path of the Version within the module. Example: "v1". Version specifiers can contain lowercase letters, digits, and hyphens. It cannot begin with the prefix `ah-` and the names `default` and `latest` are reserved and cannot be used.
+    "apiConfig": { # API Serving configuration for Cloud Endpoints. # Serving configuration for Google Cloud Endpoints. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+      "url": "A String", # URL to serve the endpoint at.
+      "securityLevel": "A String", # Configures whether security (HTTPS) should be enforced for this URL.
+      "authFailAction": "A String", # For users not logged in, how to handle access to resources with required login. Defaults to "redirect".
+      "login": "A String", # What level of login is required to access this resource. Default is "optional".
+      "script": "A String", # Specifies the path to the script from the application root directory.
+    },
+    "threadsafe": True or False, # If true, multiple requests can be dispatched to the app at once.
+    "healthCheck": { # Configure health checking for the VM instances. Unhealthy VM instances will be killed and replaced with new instances. # Configure health checking for the VM instances. Unhealthy VM instances will be stopped and replaced with new instances. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+      "restartThreshold": 42, # The number of consecutive failed health checks before an instance is restarted.
+      "checkInterval": "A String", # The interval between health checks.
+      "unhealthyThreshold": 42, # The number of consecutive failed health checks before removing traffic.
+      "healthyThreshold": 42, # The number of consecutive successful health checks before receiving traffic.
+      "host": "A String", # The host header to send when performing an HTTP health check (e.g. myapp.appspot.com)
+      "timeout": "A String", # The amount of time before the health check is considered failed.
+      "disableHealthCheck": True or False, # Whether to explicitly disable health checks for this instance.
+    },
+    "defaultExpiration": "A String", # The length of time a static file served by a static file handler ought to be cached by web proxies and browsers, if the handler does not specify its own expiration. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+    "libraries": [ # Configuration for Python runtime third-party libraries required by the application. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+      { # A Python runtime third-party library required by the application.
+        "version": "A String", # The version of the library to select, or "latest".
+        "name": "A String", # The name of the library, e.g. "PIL" or "django".
+      },
+    ],
+    "deployer": "A String", # The email address of the user who created this version. @OutputOnly
+    "env": "A String", # The App Engine execution environment to use for this version. Default: "1"
+    "automaticScaling": { # Automatic scaling is the scaling policy that App Engine has used since its inception. It is based on request rate, response latencies, and other application metrics. # Automatic scaling is the scaling policy that App Engine has used since its inception. It is based on request rate, response latencies, and other application metrics.
+      "minPendingLatency": "A String", # The minimum amount of time that App Engine should allow a request to wait in the pending queue before starting a new instance to handle it.
+      "maxPendingLatency": "A String", # The maximum amount of time that App Engine should allow a request to wait in the pending queue before starting a new instance to handle it.
+      "maxIdleInstances": 42, # The maximum number of idle instances that App Engine should maintain for this version.
+      "minIdleInstances": 42, # The minimum number of idle instances that App Engine should maintain for this version. Only applies to the default version of a module, since other versions are not expected to receive significant traffic.
+      "coolDownPeriod": "A String", # The amount of time that the [Autoscaler](https://cloud.google.com/compute/docs/autoscaler/) should wait between changes to the number of virtual machines. Applies only to the VM runtime.
+      "maxTotalInstances": 42, # Max number of instances that App Engine should start to handle requests.
+      "maxConcurrentRequests": 42, # The number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Default value is chosen based on the runtime.
+      "minTotalInstances": 42, # Minimum number of instances that App Engine should maintain.
+      "cpuUtilization": { # Target scaling by CPU usage. # Target scaling by CPU usage.
+        "targetUtilization": 3.14, # Target (0-1) CPU utilization ratio to maintain when scaling.
+        "aggregationWindowLength": "A String", # The period of time over which CPU utilization is calculated.
+      },
+    },
+    "envVariables": { # Environment variables made available to the application. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+      "a_key": "A String",
+    },
+    "resources": { # Used to specify how many machine resources an app version needs. # Used to specify how many machine resources an app version needs (for VM runtimes only).
+      "diskGb": 3.14, # How much disk size, in GB, an app version needs.
+      "cpu": 3.14, # How many CPU cores an app version needs.
+      "memoryGb": 3.14, # How much memory, in GB, an app version needs.
+    },
+    "manualScaling": { # A module with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. # A module with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
+      "instances": 42, # The number of instances to assign to the module at the start. This number can later be altered by using the [Modules API](https://cloud.google.com/appengine/docs/python/modules/functions) `set_num_instances()` function.
+    },
+    "inboundServices": [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service.
+      "A String",
+    ],
+    "deployment": { # Code and application artifacts used to deploy a version to App Engine. # Code and application artifacts that make up this version. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+      "files": { # A manifest of files stored in Google Cloud Storage which should be included as part of this application. All files must be readable using the credentials supplied with this call.
+        "a_key": { # A single source file which is part of the application to be deployed.
+          "mimeType": "A String", # The MIME type of the file; if unspecified, the value from Google Cloud Storage will be used.
+          "sourceUrl": "A String", # The URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage.
+          "sha1Sum": "A String", # The SHA1 (160 bits) hash of the file in hex.
+        },
+      },
+      "sourceReferences": [ # The origin of the source code for this deployment. There can be more than one source reference per Version if source code is distributed among multiple repositories.
+        { # A reference to a particular snapshot of the source tree used to build and deploy the application.
+          "revisionId": "A String", # The canonical (and persistent) identifier of the deployed revision, i.e. any kind of aliases including tags or branch names are not allowed. Example (git): "2198322f89e0bb2e25021667c2ed489d1fd34e6b"
+          "repository": "A String", # Optional. A URI string identifying the repository. Example: "https://source.developers.google.com/p/app-123/r/default"
+        },
+      ],
+      "container": { # A Docker (container) image which should be used to start the application. # If supplied, a docker (container) image which should be used to start the application. Only applicable to the 'vm' runtime.
+        "image": "A String", # Reference to a hosted container image. Must be a URI to a resource in a Docker repository. Must be fully qualified, including tag or digest. e.g. gcr.io/my-project/image:tag or gcr.io/my-project/image@digest
+      },
+    },
+    "network": { # Used to specify extra network settings (for VM runtimes only). # Used to specify extra network settings (for VM runtimes only).
+      "instanceTag": "A String", # A tag to apply to the VM instance during creation.
+      "forwardedPorts": [ # A list of ports (or port pairs) to forward from the VM into the app container.
+        "A String",
+      ],
+      "name": "A String", # The Google Compute Engine network where the VMs will be created. If not specified, or empty, the network named "default" will be used. (The short name should be specified, not the resource path.)
+    },
+    "nobuildFilesRegex": "A String", # Go only. Files that match this pattern will not be built into the app. May only be set on create requests.
+    "name": "A String", # The full path to the Version resource in the API. Example: "apps/myapp/modules/default/versions/v1". @OutputOnly
+    "handlers": [ # An ordered list of URL Matching patterns that should be applied to incoming requests. The first matching URL consumes the request, and subsequent handlers are not attempted. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+      { # A URL pattern and description of how it should be handled. App Engine can handle URLs by executing application code, or by serving static files uploaded with the code, such as images, CSS or JavaScript.
+        "staticDirectory": { # Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static directory handlers make it easy to serve the entire contents of a directory as static files. # Serves the entire contents of a directory as static files. This attribute is deprecated. You can mimic the behavior of static directories using static files.
+          "mimeType": "A String", # If specified, all files served by this handler will be served using the specified MIME type. If not specified, the MIME type for a file will be derived from the file's filename extension.
+          "httpHeaders": { # HTTP headers to use for all responses from these URLs.
+            "a_key": "A String",
+          },
+          "expiration": "A String", # The length of time a static file served by this handler ought to be cached by web proxies and browsers.
+          "directory": "A String", # The path to the directory containing the static files, from the application root directory. Everything after the end of the matched url pattern is appended to static_dir to form the full path to the requested file.
+          "requireMatchingFile": True or False, # If true, this UrlMap entry does not match the request unless the file referenced by the handler also exists. If no such file exists, processing will continue with the next UrlMap that matches the requested URL.
+          "applicationReadable": True or False, # By default, files declared in static file handlers are uploaded as static data and are only served to end users, they cannot be read by an application. If this field is set to true, the files are also uploaded as code data so your application can read them. Both uploads are charged against your code and static data storage resource quotas.
+        },
+        "securityLevel": "A String", # Configures whether security (HTTPS) should be enforced for this URL.
+        "authFailAction": "A String", # For users not logged in, how to handle access to resources with required login. Defaults to "redirect".
+        "urlRegex": "A String", # A URL prefix. This value uses regular expression syntax (and so regexp special characters must be escaped), but it should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path. This is always required.
+        "script": { # Executes a script to handle the request that matches the URL pattern. # Executes a script to handle the request that matches the URL pattern.
+          "scriptPath": "A String", # Specifies the path to the script from the application root directory.
+        },
+        "staticFiles": { # Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. # Returns the contents of a file, such as an image, as the response.
+          "mimeType": "A String", # If specified, all files served by this handler will be served using the specified MIME type. If not specified, the MIME type for a file will be derived from the file's filename extension.
+          "applicationReadable": True or False, # By default, files declared in static file handlers are uploaded as static data and are only served to end users, they cannot be read by an application. If this field is set to true, the files are also uploaded as code data so your application can read them. Both uploads are charged against your code and static data storage resource quotas.
+          "expiration": "A String", # The length of time a static file served by this handler ought to be cached by web proxies and browsers.
+          "requireMatchingFile": True or False, # If true, this [UrlMap][google.appengine.v1beta4.UrlMap] entry does not match the request unless the file referenced by the handler also exists. If no such file exists, processing will continue with the next [UrlMap][google.appengine.v1beta4.UrlMap] that matches the requested URL.
+          "uploadPathRegex": "A String", # A regular expression that matches the file paths for all files that will be referenced by this handler.
+          "path": "A String", # The path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.
+          "httpHeaders": { # HTTP headers to use for all responses from these URLs.
+            "a_key": "A String",
+          },
+        },
+        "apiEndpoint": { # Use Google Cloud Endpoints to handle requests. # Use API Endpoints to handle requests.
+          "scriptPath": "A String", # Specifies the path to the script from the application root directory.
+        },
+        "login": "A String", # What level of login is required to access this resource.
+        "redirectHttpResponseCode": "A String", # `30x` code to use when performing redirects for the `secure` field. A `302` is used by default.
+      },
+    ],
+    "creationTime": "A String", # Creation time of this version. This will be between the start and end times of the operation that creates this version. @OutputOnly
+    "servingStatus": "A String", # The current serving status of this version. Only `SERVING` versions will have instances created or billed for. If this field is unset when a version is created, `SERVING` status will be assumed. It is an error to explicitly set this field to `SERVING_STATUS_UNSPECIFIED`.
+    "runtime": "A String", # The desired runtime. Values can include python27, java7, go, etc.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+    "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+    "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error result of the operation in case of failure.
+      "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+      "code": 42, # The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
+      "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
+        {
+          "a_key": "", # Properties of the object. Contains field @ype with type URL.
+        },
+      ],
+    },
+    "done": True or False, # If the value is `false`, it means the operation is still in progress. If true, the operation is completed, and either `error` or `response` is available.
+    "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping above, the `name` should have the format of `operations/some/unique/name`.
+    "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+  }
+
+ +
+ delete(appsId, modulesId, versionsId, x__xgafv=None) +
Deletes an existing version.
+
+Args:
+  appsId: string, Part of `name`. Name of the resource requested. For example: "apps/myapp/modules/default/versions/v1". (required)
+  modulesId: string, Part of `name`. See documentation of `appsId`. (required)
+  versionsId: string, Part of `name`. See documentation of `appsId`. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+    "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+    "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error result of the operation in case of failure.
+      "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+      "code": 42, # The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
+      "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
+        {
+          "a_key": "", # Properties of the object. Contains field @ype with type URL.
+        },
+      ],
+    },
+    "done": True or False, # If the value is `false`, it means the operation is still in progress. If true, the operation is completed, and either `error` or `response` is available.
+    "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping above, the `name` should have the format of `operations/some/unique/name`.
+    "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+  }
+
+ +
+ get(appsId, modulesId, versionsId, x__xgafv=None, view=None) +
Gets application deployment information.
+
+Args:
+  appsId: string, Part of `name`. Name of the resource requested. For example: "apps/myapp/modules/default/versions/v1". (required)
+  modulesId: string, Part of `name`. See documentation of `appsId`. (required)
+  versionsId: string, Part of `name`. See documentation of `appsId`. (required)
+  x__xgafv: string, V1 error format.
+  view: string, Controls the set of fields returned in the `Get` response.
+
+Returns:
+  An object of the form:
+
+    { # A Version is a specific set of source code and configuration files deployed to a module.
+      "basicScaling": { # A module with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity. # A module with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.
+        "idleTimeout": "A String", # The instance will be shut down this amount of time after receiving its last request.
+        "maxInstances": 42, # The maximum number of instances for App Engine to create for this version.
+      },
+      "betaSettings": { # Beta settings supplied to the application via metadata.
+        "a_key": "A String",
+      },
+      "vm": True or False, # Whether to deploy this app in a VM container (deprecated, use "env":"2").
+      "instanceClass": "A String", # The frontend instance class to use to run this app. Valid values are `[F1, F2, F4, F4_1G]`. Default: "F1"
+      "errorHandlers": [ # Custom static error pages instead of these generic error pages, (limit 10 KB/page) Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+        { # A custom static error page to be served when an error occurs.
+          "errorCode": "A String", # The error condition this handler applies to.
+          "mimeType": "A String", # MIME type of file. If unspecified, "text/html" is assumed.
+          "staticFile": "A String", # Static file content to be served for this error.
+        },
+      ],
+      "id": "A String", # The relative name/path of the Version within the module. Example: "v1". Version specifiers can contain lowercase letters, digits, and hyphens. It cannot begin with the prefix `ah-` and the names `default` and `latest` are reserved and cannot be used.
+      "apiConfig": { # API Serving configuration for Cloud Endpoints. # Serving configuration for Google Cloud Endpoints. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+        "url": "A String", # URL to serve the endpoint at.
+        "securityLevel": "A String", # Configures whether security (HTTPS) should be enforced for this URL.
+        "authFailAction": "A String", # For users not logged in, how to handle access to resources with required login. Defaults to "redirect".
+        "login": "A String", # What level of login is required to access this resource. Default is "optional".
+        "script": "A String", # Specifies the path to the script from the application root directory.
+      },
+      "threadsafe": True or False, # If true, multiple requests can be dispatched to the app at once.
+      "healthCheck": { # Configure health checking for the VM instances. Unhealthy VM instances will be killed and replaced with new instances. # Configure health checking for the VM instances. Unhealthy VM instances will be stopped and replaced with new instances. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+        "restartThreshold": 42, # The number of consecutive failed health checks before an instance is restarted.
+        "checkInterval": "A String", # The interval between health checks.
+        "unhealthyThreshold": 42, # The number of consecutive failed health checks before removing traffic.
+        "healthyThreshold": 42, # The number of consecutive successful health checks before receiving traffic.
+        "host": "A String", # The host header to send when performing an HTTP health check (e.g. myapp.appspot.com)
+        "timeout": "A String", # The amount of time before the health check is considered failed.
+        "disableHealthCheck": True or False, # Whether to explicitly disable health checks for this instance.
+      },
+      "defaultExpiration": "A String", # The length of time a static file served by a static file handler ought to be cached by web proxies and browsers, if the handler does not specify its own expiration. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+      "libraries": [ # Configuration for Python runtime third-party libraries required by the application. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+        { # A Python runtime third-party library required by the application.
+          "version": "A String", # The version of the library to select, or "latest".
+          "name": "A String", # The name of the library, e.g. "PIL" or "django".
+        },
+      ],
+      "deployer": "A String", # The email address of the user who created this version. @OutputOnly
+      "env": "A String", # The App Engine execution environment to use for this version. Default: "1"
+      "automaticScaling": { # Automatic scaling is the scaling policy that App Engine has used since its inception. It is based on request rate, response latencies, and other application metrics. # Automatic scaling is the scaling policy that App Engine has used since its inception. It is based on request rate, response latencies, and other application metrics.
+        "minPendingLatency": "A String", # The minimum amount of time that App Engine should allow a request to wait in the pending queue before starting a new instance to handle it.
+        "maxPendingLatency": "A String", # The maximum amount of time that App Engine should allow a request to wait in the pending queue before starting a new instance to handle it.
+        "maxIdleInstances": 42, # The maximum number of idle instances that App Engine should maintain for this version.
+        "minIdleInstances": 42, # The minimum number of idle instances that App Engine should maintain for this version. Only applies to the default version of a module, since other versions are not expected to receive significant traffic.
+        "coolDownPeriod": "A String", # The amount of time that the [Autoscaler](https://cloud.google.com/compute/docs/autoscaler/) should wait between changes to the number of virtual machines. Applies only to the VM runtime.
+        "maxTotalInstances": 42, # Max number of instances that App Engine should start to handle requests.
+        "maxConcurrentRequests": 42, # The number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Default value is chosen based on the runtime.
+        "minTotalInstances": 42, # Minimum number of instances that App Engine should maintain.
+        "cpuUtilization": { # Target scaling by CPU usage. # Target scaling by CPU usage.
+          "targetUtilization": 3.14, # Target (0-1) CPU utilization ratio to maintain when scaling.
+          "aggregationWindowLength": "A String", # The period of time over which CPU utilization is calculated.
+        },
+      },
+      "envVariables": { # Environment variables made available to the application. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+        "a_key": "A String",
+      },
+      "resources": { # Used to specify how many machine resources an app version needs. # Used to specify how many machine resources an app version needs (for VM runtimes only).
+        "diskGb": 3.14, # How much disk size, in GB, an app version needs.
+        "cpu": 3.14, # How many CPU cores an app version needs.
+        "memoryGb": 3.14, # How much memory, in GB, an app version needs.
+      },
+      "manualScaling": { # A module with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. # A module with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
+        "instances": 42, # The number of instances to assign to the module at the start. This number can later be altered by using the [Modules API](https://cloud.google.com/appengine/docs/python/modules/functions) `set_num_instances()` function.
+      },
+      "inboundServices": [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service.
+        "A String",
+      ],
+      "deployment": { # Code and application artifacts used to deploy a version to App Engine. # Code and application artifacts that make up this version. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+        "files": { # A manifest of files stored in Google Cloud Storage which should be included as part of this application. All files must be readable using the credentials supplied with this call.
+          "a_key": { # A single source file which is part of the application to be deployed.
+            "mimeType": "A String", # The MIME type of the file; if unspecified, the value from Google Cloud Storage will be used.
+            "sourceUrl": "A String", # The URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage.
+            "sha1Sum": "A String", # The SHA1 (160 bits) hash of the file in hex.
+          },
+        },
+        "sourceReferences": [ # The origin of the source code for this deployment. There can be more than one source reference per Version if source code is distributed among multiple repositories.
+          { # A reference to a particular snapshot of the source tree used to build and deploy the application.
+            "revisionId": "A String", # The canonical (and persistent) identifier of the deployed revision, i.e. any kind of aliases including tags or branch names are not allowed. Example (git): "2198322f89e0bb2e25021667c2ed489d1fd34e6b"
+            "repository": "A String", # Optional. A URI string identifying the repository. Example: "https://source.developers.google.com/p/app-123/r/default"
+          },
+        ],
+        "container": { # A Docker (container) image which should be used to start the application. # If supplied, a docker (container) image which should be used to start the application. Only applicable to the 'vm' runtime.
+          "image": "A String", # Reference to a hosted container image. Must be a URI to a resource in a Docker repository. Must be fully qualified, including tag or digest. e.g. gcr.io/my-project/image:tag or gcr.io/my-project/image@digest
+        },
+      },
+      "network": { # Used to specify extra network settings (for VM runtimes only). # Used to specify extra network settings (for VM runtimes only).
+        "instanceTag": "A String", # A tag to apply to the VM instance during creation.
+        "forwardedPorts": [ # A list of ports (or port pairs) to forward from the VM into the app container.
+          "A String",
+        ],
+        "name": "A String", # The Google Compute Engine network where the VMs will be created. If not specified, or empty, the network named "default" will be used. (The short name should be specified, not the resource path.)
+      },
+      "nobuildFilesRegex": "A String", # Go only. Files that match this pattern will not be built into the app. May only be set on create requests.
+      "name": "A String", # The full path to the Version resource in the API. Example: "apps/myapp/modules/default/versions/v1". @OutputOnly
+      "handlers": [ # An ordered list of URL Matching patterns that should be applied to incoming requests. The first matching URL consumes the request, and subsequent handlers are not attempted. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+        { # A URL pattern and description of how it should be handled. App Engine can handle URLs by executing application code, or by serving static files uploaded with the code, such as images, CSS or JavaScript.
+          "staticDirectory": { # Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static directory handlers make it easy to serve the entire contents of a directory as static files. # Serves the entire contents of a directory as static files. This attribute is deprecated. You can mimic the behavior of static directories using static files.
+            "mimeType": "A String", # If specified, all files served by this handler will be served using the specified MIME type. If not specified, the MIME type for a file will be derived from the file's filename extension.
+            "httpHeaders": { # HTTP headers to use for all responses from these URLs.
+              "a_key": "A String",
+            },
+            "expiration": "A String", # The length of time a static file served by this handler ought to be cached by web proxies and browsers.
+            "directory": "A String", # The path to the directory containing the static files, from the application root directory. Everything after the end of the matched url pattern is appended to static_dir to form the full path to the requested file.
+            "requireMatchingFile": True or False, # If true, this UrlMap entry does not match the request unless the file referenced by the handler also exists. If no such file exists, processing will continue with the next UrlMap that matches the requested URL.
+            "applicationReadable": True or False, # By default, files declared in static file handlers are uploaded as static data and are only served to end users, they cannot be read by an application. If this field is set to true, the files are also uploaded as code data so your application can read them. Both uploads are charged against your code and static data storage resource quotas.
+          },
+          "securityLevel": "A String", # Configures whether security (HTTPS) should be enforced for this URL.
+          "authFailAction": "A String", # For users not logged in, how to handle access to resources with required login. Defaults to "redirect".
+          "urlRegex": "A String", # A URL prefix. This value uses regular expression syntax (and so regexp special characters must be escaped), but it should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path. This is always required.
+          "script": { # Executes a script to handle the request that matches the URL pattern. # Executes a script to handle the request that matches the URL pattern.
+            "scriptPath": "A String", # Specifies the path to the script from the application root directory.
+          },
+          "staticFiles": { # Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. # Returns the contents of a file, such as an image, as the response.
+            "mimeType": "A String", # If specified, all files served by this handler will be served using the specified MIME type. If not specified, the MIME type for a file will be derived from the file's filename extension.
+            "applicationReadable": True or False, # By default, files declared in static file handlers are uploaded as static data and are only served to end users, they cannot be read by an application. If this field is set to true, the files are also uploaded as code data so your application can read them. Both uploads are charged against your code and static data storage resource quotas.
+            "expiration": "A String", # The length of time a static file served by this handler ought to be cached by web proxies and browsers.
+            "requireMatchingFile": True or False, # If true, this [UrlMap][google.appengine.v1beta4.UrlMap] entry does not match the request unless the file referenced by the handler also exists. If no such file exists, processing will continue with the next [UrlMap][google.appengine.v1beta4.UrlMap] that matches the requested URL.
+            "uploadPathRegex": "A String", # A regular expression that matches the file paths for all files that will be referenced by this handler.
+            "path": "A String", # The path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.
+            "httpHeaders": { # HTTP headers to use for all responses from these URLs.
+              "a_key": "A String",
+            },
+          },
+          "apiEndpoint": { # Use Google Cloud Endpoints to handle requests. # Use API Endpoints to handle requests.
+            "scriptPath": "A String", # Specifies the path to the script from the application root directory.
+          },
+          "login": "A String", # What level of login is required to access this resource.
+          "redirectHttpResponseCode": "A String", # `30x` code to use when performing redirects for the `secure` field. A `302` is used by default.
+        },
+      ],
+      "creationTime": "A String", # Creation time of this version. This will be between the start and end times of the operation that creates this version. @OutputOnly
+      "servingStatus": "A String", # The current serving status of this version. Only `SERVING` versions will have instances created or billed for. If this field is unset when a version is created, `SERVING` status will be assumed. It is an error to explicitly set this field to `SERVING_STATUS_UNSPECIFIED`.
+      "runtime": "A String", # The desired runtime. Values can include python27, java7, go, etc.
+    }
+
+ +
+ list(appsId, modulesId, pageSize=None, pageToken=None, x__xgafv=None, view=None) +
Lists the versions of a module.
+
+Args:
+  appsId: string, Part of `name`. Name of the resource requested. For example: "apps/myapp/modules/default". (required)
+  modulesId: string, Part of `name`. See documentation of `appsId`. (required)
+  pageSize: integer, Maximum results to return per page.
+  pageToken: string, Continuation token for fetching the next page of results.
+  x__xgafv: string, V1 error format.
+  view: string, Controls the set of fields returned in the `List` response.
+
+Returns:
+  An object of the form:
+
+    { # Response message for `Versions.ListVersions`.
+    "nextPageToken": "A String", # Continuation token for fetching the next page of results.
+    "versions": [ # The versions belonging to the requested application module.
+      { # A Version is a specific set of source code and configuration files deployed to a module.
+          "basicScaling": { # A module with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity. # A module with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.
+            "idleTimeout": "A String", # The instance will be shut down this amount of time after receiving its last request.
+            "maxInstances": 42, # The maximum number of instances for App Engine to create for this version.
+          },
+          "betaSettings": { # Beta settings supplied to the application via metadata.
+            "a_key": "A String",
+          },
+          "vm": True or False, # Whether to deploy this app in a VM container (deprecated, use "env":"2").
+          "instanceClass": "A String", # The frontend instance class to use to run this app. Valid values are `[F1, F2, F4, F4_1G]`. Default: "F1"
+          "errorHandlers": [ # Custom static error pages instead of these generic error pages, (limit 10 KB/page) Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+            { # A custom static error page to be served when an error occurs.
+              "errorCode": "A String", # The error condition this handler applies to.
+              "mimeType": "A String", # MIME type of file. If unspecified, "text/html" is assumed.
+              "staticFile": "A String", # Static file content to be served for this error.
+            },
+          ],
+          "id": "A String", # The relative name/path of the Version within the module. Example: "v1". Version specifiers can contain lowercase letters, digits, and hyphens. It cannot begin with the prefix `ah-` and the names `default` and `latest` are reserved and cannot be used.
+          "apiConfig": { # API Serving configuration for Cloud Endpoints. # Serving configuration for Google Cloud Endpoints. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+            "url": "A String", # URL to serve the endpoint at.
+            "securityLevel": "A String", # Configures whether security (HTTPS) should be enforced for this URL.
+            "authFailAction": "A String", # For users not logged in, how to handle access to resources with required login. Defaults to "redirect".
+            "login": "A String", # What level of login is required to access this resource. Default is "optional".
+            "script": "A String", # Specifies the path to the script from the application root directory.
+          },
+          "threadsafe": True or False, # If true, multiple requests can be dispatched to the app at once.
+          "healthCheck": { # Configure health checking for the VM instances. Unhealthy VM instances will be killed and replaced with new instances. # Configure health checking for the VM instances. Unhealthy VM instances will be stopped and replaced with new instances. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+            "restartThreshold": 42, # The number of consecutive failed health checks before an instance is restarted.
+            "checkInterval": "A String", # The interval between health checks.
+            "unhealthyThreshold": 42, # The number of consecutive failed health checks before removing traffic.
+            "healthyThreshold": 42, # The number of consecutive successful health checks before receiving traffic.
+            "host": "A String", # The host header to send when performing an HTTP health check (e.g. myapp.appspot.com)
+            "timeout": "A String", # The amount of time before the health check is considered failed.
+            "disableHealthCheck": True or False, # Whether to explicitly disable health checks for this instance.
+          },
+          "defaultExpiration": "A String", # The length of time a static file served by a static file handler ought to be cached by web proxies and browsers, if the handler does not specify its own expiration. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+          "libraries": [ # Configuration for Python runtime third-party libraries required by the application. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+            { # A Python runtime third-party library required by the application.
+              "version": "A String", # The version of the library to select, or "latest".
+              "name": "A String", # The name of the library, e.g. "PIL" or "django".
+            },
+          ],
+          "deployer": "A String", # The email address of the user who created this version. @OutputOnly
+          "env": "A String", # The App Engine execution environment to use for this version. Default: "1"
+          "automaticScaling": { # Automatic scaling is the scaling policy that App Engine has used since its inception. It is based on request rate, response latencies, and other application metrics. # Automatic scaling is the scaling policy that App Engine has used since its inception. It is based on request rate, response latencies, and other application metrics.
+            "minPendingLatency": "A String", # The minimum amount of time that App Engine should allow a request to wait in the pending queue before starting a new instance to handle it.
+            "maxPendingLatency": "A String", # The maximum amount of time that App Engine should allow a request to wait in the pending queue before starting a new instance to handle it.
+            "maxIdleInstances": 42, # The maximum number of idle instances that App Engine should maintain for this version.
+            "minIdleInstances": 42, # The minimum number of idle instances that App Engine should maintain for this version. Only applies to the default version of a module, since other versions are not expected to receive significant traffic.
+            "coolDownPeriod": "A String", # The amount of time that the [Autoscaler](https://cloud.google.com/compute/docs/autoscaler/) should wait between changes to the number of virtual machines. Applies only to the VM runtime.
+            "maxTotalInstances": 42, # Max number of instances that App Engine should start to handle requests.
+            "maxConcurrentRequests": 42, # The number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance. Default value is chosen based on the runtime.
+            "minTotalInstances": 42, # Minimum number of instances that App Engine should maintain.
+            "cpuUtilization": { # Target scaling by CPU usage. # Target scaling by CPU usage.
+              "targetUtilization": 3.14, # Target (0-1) CPU utilization ratio to maintain when scaling.
+              "aggregationWindowLength": "A String", # The period of time over which CPU utilization is calculated.
+            },
+          },
+          "envVariables": { # Environment variables made available to the application. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+            "a_key": "A String",
+          },
+          "resources": { # Used to specify how many machine resources an app version needs. # Used to specify how many machine resources an app version needs (for VM runtimes only).
+            "diskGb": 3.14, # How much disk size, in GB, an app version needs.
+            "cpu": 3.14, # How many CPU cores an app version needs.
+            "memoryGb": 3.14, # How much memory, in GB, an app version needs.
+          },
+          "manualScaling": { # A module with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. # A module with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
+            "instances": 42, # The number of instances to assign to the module at the start. This number can later be altered by using the [Modules API](https://cloud.google.com/appengine/docs/python/modules/functions) `set_num_instances()` function.
+          },
+          "inboundServices": [ # Before an application can receive email or XMPP messages, the application must be configured to enable the service.
+            "A String",
+          ],
+          "deployment": { # Code and application artifacts used to deploy a version to App Engine. # Code and application artifacts that make up this version. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+            "files": { # A manifest of files stored in Google Cloud Storage which should be included as part of this application. All files must be readable using the credentials supplied with this call.
+              "a_key": { # A single source file which is part of the application to be deployed.
+                "mimeType": "A String", # The MIME type of the file; if unspecified, the value from Google Cloud Storage will be used.
+                "sourceUrl": "A String", # The URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage.
+                "sha1Sum": "A String", # The SHA1 (160 bits) hash of the file in hex.
+              },
+            },
+            "sourceReferences": [ # The origin of the source code for this deployment. There can be more than one source reference per Version if source code is distributed among multiple repositories.
+              { # A reference to a particular snapshot of the source tree used to build and deploy the application.
+                "revisionId": "A String", # The canonical (and persistent) identifier of the deployed revision, i.e. any kind of aliases including tags or branch names are not allowed. Example (git): "2198322f89e0bb2e25021667c2ed489d1fd34e6b"
+                "repository": "A String", # Optional. A URI string identifying the repository. Example: "https://source.developers.google.com/p/app-123/r/default"
+              },
+            ],
+            "container": { # A Docker (container) image which should be used to start the application. # If supplied, a docker (container) image which should be used to start the application. Only applicable to the 'vm' runtime.
+              "image": "A String", # Reference to a hosted container image. Must be a URI to a resource in a Docker repository. Must be fully qualified, including tag or digest. e.g. gcr.io/my-project/image:tag or gcr.io/my-project/image@digest
+            },
+          },
+          "network": { # Used to specify extra network settings (for VM runtimes only). # Used to specify extra network settings (for VM runtimes only).
+            "instanceTag": "A String", # A tag to apply to the VM instance during creation.
+            "forwardedPorts": [ # A list of ports (or port pairs) to forward from the VM into the app container.
+              "A String",
+            ],
+            "name": "A String", # The Google Compute Engine network where the VMs will be created. If not specified, or empty, the network named "default" will be used. (The short name should be specified, not the resource path.)
+          },
+          "nobuildFilesRegex": "A String", # Go only. Files that match this pattern will not be built into the app. May only be set on create requests.
+          "name": "A String", # The full path to the Version resource in the API. Example: "apps/myapp/modules/default/versions/v1". @OutputOnly
+          "handlers": [ # An ordered list of URL Matching patterns that should be applied to incoming requests. The first matching URL consumes the request, and subsequent handlers are not attempted. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.
+            { # A URL pattern and description of how it should be handled. App Engine can handle URLs by executing application code, or by serving static files uploaded with the code, such as images, CSS or JavaScript.
+              "staticDirectory": { # Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static directory handlers make it easy to serve the entire contents of a directory as static files. # Serves the entire contents of a directory as static files. This attribute is deprecated. You can mimic the behavior of static directories using static files.
+                "mimeType": "A String", # If specified, all files served by this handler will be served using the specified MIME type. If not specified, the MIME type for a file will be derived from the file's filename extension.
+                "httpHeaders": { # HTTP headers to use for all responses from these URLs.
+                  "a_key": "A String",
+                },
+                "expiration": "A String", # The length of time a static file served by this handler ought to be cached by web proxies and browsers.
+                "directory": "A String", # The path to the directory containing the static files, from the application root directory. Everything after the end of the matched url pattern is appended to static_dir to form the full path to the requested file.
+                "requireMatchingFile": True or False, # If true, this UrlMap entry does not match the request unless the file referenced by the handler also exists. If no such file exists, processing will continue with the next UrlMap that matches the requested URL.
+                "applicationReadable": True or False, # By default, files declared in static file handlers are uploaded as static data and are only served to end users, they cannot be read by an application. If this field is set to true, the files are also uploaded as code data so your application can read them. Both uploads are charged against your code and static data storage resource quotas.
+              },
+              "securityLevel": "A String", # Configures whether security (HTTPS) should be enforced for this URL.
+              "authFailAction": "A String", # For users not logged in, how to handle access to resources with required login. Defaults to "redirect".
+              "urlRegex": "A String", # A URL prefix. This value uses regular expression syntax (and so regexp special characters must be escaped), but it should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path. This is always required.
+              "script": { # Executes a script to handle the request that matches the URL pattern. # Executes a script to handle the request that matches the URL pattern.
+                "scriptPath": "A String", # Specifies the path to the script from the application root directory.
+              },
+              "staticFiles": { # Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them. # Returns the contents of a file, such as an image, as the response.
+                "mimeType": "A String", # If specified, all files served by this handler will be served using the specified MIME type. If not specified, the MIME type for a file will be derived from the file's filename extension.
+                "applicationReadable": True or False, # By default, files declared in static file handlers are uploaded as static data and are only served to end users, they cannot be read by an application. If this field is set to true, the files are also uploaded as code data so your application can read them. Both uploads are charged against your code and static data storage resource quotas.
+                "expiration": "A String", # The length of time a static file served by this handler ought to be cached by web proxies and browsers.
+                "requireMatchingFile": True or False, # If true, this [UrlMap][google.appengine.v1beta4.UrlMap] entry does not match the request unless the file referenced by the handler also exists. If no such file exists, processing will continue with the next [UrlMap][google.appengine.v1beta4.UrlMap] that matches the requested URL.
+                "uploadPathRegex": "A String", # A regular expression that matches the file paths for all files that will be referenced by this handler.
+                "path": "A String", # The path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.
+                "httpHeaders": { # HTTP headers to use for all responses from these URLs.
+                  "a_key": "A String",
+                },
+              },
+              "apiEndpoint": { # Use Google Cloud Endpoints to handle requests. # Use API Endpoints to handle requests.
+                "scriptPath": "A String", # Specifies the path to the script from the application root directory.
+              },
+              "login": "A String", # What level of login is required to access this resource.
+              "redirectHttpResponseCode": "A String", # `30x` code to use when performing redirects for the `secure` field. A `302` is used by default.
+            },
+          ],
+          "creationTime": "A String", # Creation time of this version. This will be between the start and end times of the operation that creates this version. @OutputOnly
+          "servingStatus": "A String", # The current serving status of this version. Only `SERVING` versions will have instances created or billed for. If this field is unset when a version is created, `SERVING` status will be assumed. It is an error to explicitly set this field to `SERVING_STATUS_UNSPECIFIED`.
+          "runtime": "A String", # The desired runtime. Values can include python27, java7, go, etc.
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/appengine_v1beta4.apps.operations.html b/docs/dyn/appengine_v1beta4.apps.operations.html new file mode 100644 index 00000000000..3767bf858c0 --- /dev/null +++ b/docs/dyn/appengine_v1beta4.apps.operations.html @@ -0,0 +1,174 @@ + + + +

Google App Engine Admin API . apps . operations

+

Instance Methods

+

+ get(appsId, operationsId, x__xgafv=None)

+

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

+

+ list(appsId, pageSize=None, filter=None, pageToken=None, x__xgafv=None)

+

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding below allows API services to override the binding to use different resource name schemes, such as `users/*/operations`.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ get(appsId, operationsId, x__xgafv=None) +
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
+
+Args:
+  appsId: string, Part of `name`. The name of the operation resource. (required)
+  operationsId: string, Part of `name`. See documentation of `appsId`. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+    "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+    "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error result of the operation in case of failure.
+      "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+      "code": 42, # The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
+      "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
+        {
+          "a_key": "", # Properties of the object. Contains field @ype with type URL.
+        },
+      ],
+    },
+    "done": True or False, # If the value is `false`, it means the operation is still in progress. If true, the operation is completed, and either `error` or `response` is available.
+    "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping above, the `name` should have the format of `operations/some/unique/name`.
+    "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+  }
+
+ +
+ list(appsId, pageSize=None, filter=None, pageToken=None, x__xgafv=None) +
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding below allows API services to override the binding to use different resource name schemes, such as `users/*/operations`.
+
+Args:
+  appsId: string, Part of `name`. The name of the operation collection. (required)
+  pageSize: integer, The standard list page size.
+  filter: string, The standard list filter.
+  pageToken: string, The standard list page token.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].
+    "operations": [ # A list of operations that matches the specified filter in the request.
+      { # This resource represents a long-running operation that is the result of a network API call.
+        "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
+          "a_key": "", # Properties of the object. Contains field @ype with type URL.
+        },
+        "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error result of the operation in case of failure.
+          "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+          "code": 42, # The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
+          "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
+            {
+              "a_key": "", # Properties of the object. Contains field @ype with type URL.
+            },
+          ],
+        },
+        "done": True or False, # If the value is `false`, it means the operation is still in progress. If true, the operation is completed, and either `error` or `response` is available.
+        "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping above, the `name` should have the format of `operations/some/unique/name`.
+        "metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
+          "a_key": "", # Properties of the object. Contains field @ype with type URL.
+        },
+      },
+    ],
+    "nextPageToken": "A String", # The standard List next-page token.
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/appengine_v1beta4.html b/docs/dyn/appengine_v1beta4.html new file mode 100644 index 00000000000..25d56ea2cde --- /dev/null +++ b/docs/dyn/appengine_v1beta4.html @@ -0,0 +1,103 @@ + + + +

Google App Engine Admin API

+

Instance Methods

+

+ apps() +

+

Returns the apps Resource.

+ +

+ new_batch_http_request()

+

Create a BatchHttpRequest object based on the discovery document.

+

Method Details

+
+ new_batch_http_request() +
Create a BatchHttpRequest object based on the discovery document.
+
+        Args:
+          callback: callable, A callback to be called for each response, of the
+            form callback(id, response, exception). The first parameter is the
+            request id, and the second is the deserialized response object. The
+            third is an apiclient.errors.HttpError exception object if an HTTP
+            error occurred while processing the request, or None if no error
+            occurred.
+
+        Returns:
+          A BatchHttpRequest object based on the discovery document.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/bigquery_v2.datasets.html b/docs/dyn/bigquery_v2.datasets.html index 32c7b97c0de..3a2c83c5508 100644 --- a/docs/dyn/bigquery_v2.datasets.html +++ b/docs/dyn/bigquery_v2.datasets.html @@ -142,7 +142,7 @@

Method Details

], "defaultTableExpirationMs": "A String", # [Experimental] The default lifetime of all tables in the dataset, in milliseconds. The minimum value is 3600000 milliseconds (one hour). Once this property is set, all newly-created tables in the dataset will have an expirationTime property set to the creation time plus the value in this property, and changing the value will only affect new tables, not existing ones. When the expirationTime for a given table is reached, that table will be deleted automatically. If a table's expirationTime is modified or removed before the table expires, or if you provide an explicit expirationTime when creating a table, that value takes precedence over the default expiration time indicated by this property. "etag": "A String", # [Output-only] A hash of the resource. - "location": "A String", # [Experimental] The location where the data resides. If not present, the data will be stored in the US. + "location": "A String", # [Experimental] The geographic location where the dataset should reside. Possible values include EU and US. The default value is US. "friendlyName": "A String", # [Optional] A descriptive name for the dataset. "lastModifiedTime": "A String", # [Output-only] The date when this dataset or any of its tables was last modified, in milliseconds since the epoch. "id": "A String", # [Output-only] The fully-qualified unique name of the dataset in the format projectId:datasetId. The dataset name without the project name is given in the datasetId field. When creating a new dataset, leave this field blank, and instead specify the datasetId field. @@ -183,7 +183,7 @@

Method Details

], "defaultTableExpirationMs": "A String", # [Experimental] The default lifetime of all tables in the dataset, in milliseconds. The minimum value is 3600000 milliseconds (one hour). Once this property is set, all newly-created tables in the dataset will have an expirationTime property set to the creation time plus the value in this property, and changing the value will only affect new tables, not existing ones. When the expirationTime for a given table is reached, that table will be deleted automatically. If a table's expirationTime is modified or removed before the table expires, or if you provide an explicit expirationTime when creating a table, that value takes precedence over the default expiration time indicated by this property. "etag": "A String", # [Output-only] A hash of the resource. - "location": "A String", # [Experimental] The location where the data resides. If not present, the data will be stored in the US. + "location": "A String", # [Experimental] The geographic location where the dataset should reside. Possible values include EU and US. The default value is US. "friendlyName": "A String", # [Optional] A descriptive name for the dataset. "lastModifiedTime": "A String", # [Output-only] The date when this dataset or any of its tables was last modified, in milliseconds since the epoch. "id": "A String", # [Output-only] The fully-qualified unique name of the dataset in the format projectId:datasetId. The dataset name without the project name is given in the datasetId field. When creating a new dataset, leave this field blank, and instead specify the datasetId field. @@ -218,7 +218,7 @@

Method Details

], "defaultTableExpirationMs": "A String", # [Experimental] The default lifetime of all tables in the dataset, in milliseconds. The minimum value is 3600000 milliseconds (one hour). Once this property is set, all newly-created tables in the dataset will have an expirationTime property set to the creation time plus the value in this property, and changing the value will only affect new tables, not existing ones. When the expirationTime for a given table is reached, that table will be deleted automatically. If a table's expirationTime is modified or removed before the table expires, or if you provide an explicit expirationTime when creating a table, that value takes precedence over the default expiration time indicated by this property. "etag": "A String", # [Output-only] A hash of the resource. - "location": "A String", # [Experimental] The location where the data resides. If not present, the data will be stored in the US. + "location": "A String", # [Experimental] The geographic location where the dataset should reside. Possible values include EU and US. The default value is US. "friendlyName": "A String", # [Optional] A descriptive name for the dataset. "lastModifiedTime": "A String", # [Output-only] The date when this dataset or any of its tables was last modified, in milliseconds since the epoch. "id": "A String", # [Output-only] The fully-qualified unique name of the dataset in the format projectId:datasetId. The dataset name without the project name is given in the datasetId field. When creating a new dataset, leave this field blank, and instead specify the datasetId field. @@ -305,7 +305,7 @@

Method Details

], "defaultTableExpirationMs": "A String", # [Experimental] The default lifetime of all tables in the dataset, in milliseconds. The minimum value is 3600000 milliseconds (one hour). Once this property is set, all newly-created tables in the dataset will have an expirationTime property set to the creation time plus the value in this property, and changing the value will only affect new tables, not existing ones. When the expirationTime for a given table is reached, that table will be deleted automatically. If a table's expirationTime is modified or removed before the table expires, or if you provide an explicit expirationTime when creating a table, that value takes precedence over the default expiration time indicated by this property. "etag": "A String", # [Output-only] A hash of the resource. - "location": "A String", # [Experimental] The location where the data resides. If not present, the data will be stored in the US. + "location": "A String", # [Experimental] The geographic location where the dataset should reside. Possible values include EU and US. The default value is US. "friendlyName": "A String", # [Optional] A descriptive name for the dataset. "lastModifiedTime": "A String", # [Output-only] The date when this dataset or any of its tables was last modified, in milliseconds since the epoch. "id": "A String", # [Output-only] The fully-qualified unique name of the dataset in the format projectId:datasetId. The dataset name without the project name is given in the datasetId field. When creating a new dataset, leave this field blank, and instead specify the datasetId field. @@ -340,7 +340,7 @@

Method Details

], "defaultTableExpirationMs": "A String", # [Experimental] The default lifetime of all tables in the dataset, in milliseconds. The minimum value is 3600000 milliseconds (one hour). Once this property is set, all newly-created tables in the dataset will have an expirationTime property set to the creation time plus the value in this property, and changing the value will only affect new tables, not existing ones. When the expirationTime for a given table is reached, that table will be deleted automatically. If a table's expirationTime is modified or removed before the table expires, or if you provide an explicit expirationTime when creating a table, that value takes precedence over the default expiration time indicated by this property. "etag": "A String", # [Output-only] A hash of the resource. - "location": "A String", # [Experimental] The location where the data resides. If not present, the data will be stored in the US. + "location": "A String", # [Experimental] The geographic location where the dataset should reside. Possible values include EU and US. The default value is US. "friendlyName": "A String", # [Optional] A descriptive name for the dataset. "lastModifiedTime": "A String", # [Output-only] The date when this dataset or any of its tables was last modified, in milliseconds since the epoch. "id": "A String", # [Output-only] The fully-qualified unique name of the dataset in the format projectId:datasetId. The dataset name without the project name is given in the datasetId field. When creating a new dataset, leave this field blank, and instead specify the datasetId field. @@ -382,7 +382,7 @@

Method Details

], "defaultTableExpirationMs": "A String", # [Experimental] The default lifetime of all tables in the dataset, in milliseconds. The minimum value is 3600000 milliseconds (one hour). Once this property is set, all newly-created tables in the dataset will have an expirationTime property set to the creation time plus the value in this property, and changing the value will only affect new tables, not existing ones. When the expirationTime for a given table is reached, that table will be deleted automatically. If a table's expirationTime is modified or removed before the table expires, or if you provide an explicit expirationTime when creating a table, that value takes precedence over the default expiration time indicated by this property. "etag": "A String", # [Output-only] A hash of the resource. - "location": "A String", # [Experimental] The location where the data resides. If not present, the data will be stored in the US. + "location": "A String", # [Experimental] The geographic location where the dataset should reside. Possible values include EU and US. The default value is US. "friendlyName": "A String", # [Optional] A descriptive name for the dataset. "lastModifiedTime": "A String", # [Output-only] The date when this dataset or any of its tables was last modified, in milliseconds since the epoch. "id": "A String", # [Output-only] The fully-qualified unique name of the dataset in the format projectId:datasetId. The dataset name without the project name is given in the datasetId field. When creating a new dataset, leave this field blank, and instead specify the datasetId field. @@ -417,7 +417,7 @@

Method Details

], "defaultTableExpirationMs": "A String", # [Experimental] The default lifetime of all tables in the dataset, in milliseconds. The minimum value is 3600000 milliseconds (one hour). Once this property is set, all newly-created tables in the dataset will have an expirationTime property set to the creation time plus the value in this property, and changing the value will only affect new tables, not existing ones. When the expirationTime for a given table is reached, that table will be deleted automatically. If a table's expirationTime is modified or removed before the table expires, or if you provide an explicit expirationTime when creating a table, that value takes precedence over the default expiration time indicated by this property. "etag": "A String", # [Output-only] A hash of the resource. - "location": "A String", # [Experimental] The location where the data resides. If not present, the data will be stored in the US. + "location": "A String", # [Experimental] The geographic location where the dataset should reside. Possible values include EU and US. The default value is US. "friendlyName": "A String", # [Optional] A descriptive name for the dataset. "lastModifiedTime": "A String", # [Output-only] The date when this dataset or any of its tables was last modified, in milliseconds since the epoch. "id": "A String", # [Output-only] The fully-qualified unique name of the dataset in the format projectId:datasetId. The dataset name without the project name is given in the datasetId field. When creating a new dataset, leave this field blank, and instead specify the datasetId field. diff --git a/docs/dyn/bigquery_v2.jobs.html b/docs/dyn/bigquery_v2.jobs.html index fb4ba1a44fc..b4aa84cc8ed 100644 --- a/docs/dyn/bigquery_v2.jobs.html +++ b/docs/dyn/bigquery_v2.jobs.html @@ -76,7 +76,7 @@

BigQuery API . cancel(projectId, jobId)

-

Requests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed successfully.

+

Requests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed successfully. Cancelled jobs may still incur costs.

get(projectId, jobId)

Returns information about a specific job. Job information is available for a six month period after creation. Requires that you're the person who ran the job, or have the Is Owner project role.

@@ -88,7 +88,7 @@

Instance Methods

Starts a new asynchronous job. Requires the Can View project role.

list(projectId, projection=None, stateFilter=None, pageToken=None, allUsers=None, maxResults=None)

-

Lists all jobs that you started in the specified project. The job list returns in reverse chronological order of when the jobs were created, starting with the most recent job created. Requires the Can View project role, or the Is Owner project role if you set the allUsers property.

+

Lists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property.

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -98,7 +98,7 @@

Instance Methods

Method Details

cancel(projectId, jobId) -
Requests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed successfully.
+  
Requests that a job be cancelled. This call will return immediately, and the client will need to poll for the job status to see if the cancel completed successfully. Cancelled jobs may still incur costs.
 
 Args:
   projectId: string, Project ID of the job to cancel (required)
@@ -131,19 +131,21 @@ 

Method Details

"load": { # [Output-only] Statistics for a load job. "outputRows": "A String", # [Output-only] Number of rows imported in a load job. Note that while an import job is in the running state, this value may change. "inputFiles": "A String", # [Output-only] Number of source files in a load job. - "inputFileBytes": "A String", # [Output-only] Number of bytes of source data in a joad job. - "outputBytes": "A String", # [Output-only] Size of the loaded data in bytes. Note that while an import job is in the running state, this value may change. + "inputFileBytes": "A String", # [Output-only] Number of bytes of source data in a load job. + "outputBytes": "A String", # [Output-only] Size of the loaded data in bytes. Note that while a load job is in the running state, this value may change. }, "creationTime": "A String", # [Output-only] Creation time of this job, in milliseconds since the epoch. This field will be present on all jobs. "totalBytesProcessed": "A String", # [Output-only] [Deprecated] Use the bytes processed in the query statistics instead. "startTime": "A String", # [Output-only] Start time of this job, in milliseconds since the epoch. This field will be present when the job transitions from the PENDING state to either RUNNING or DONE. "query": { # [Output-only] Statistics for a query job. "cacheHit": True or False, # [Output-only] Whether the query result was fetched from the query cache. - "totalBytesProcessed": "A String", # [Output-only] Total bytes processed for this job. + "billingTier": 42, # [Output-only] Billing tier for the job. + "totalBytesBilled": "A String", # [Output-only] Total bytes billed for the job. + "totalBytesProcessed": "A String", # [Output-only] Total bytes processed for the job. }, "endTime": "A String", # [Output-only] End time of this job, in milliseconds since the epoch. This field will be present whenever a job is in the DONE state. "extract": { # [Output-only] Statistics for an extract job. - "destinationUriFileCounts": [ # [Experimental] Number of files per destination URI or URI pattern specified in the extract configuration. These values will be in the same order as the URIs specified in the 'destinationUris' field. + "destinationUriFileCounts": [ # [Output-only] Number of files per destination URI or URI pattern specified in the extract configuration. These values will be in the same order as the URIs specified in the 'destinationUris' field. "A String", ], }, @@ -236,10 +238,10 @@

Method Details

"quote": """, # [Optional] The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('"'). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true. "allowQuotedNewlines": True or False, # [Optional] Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false. }, - "sourceFormat": "A String", # [Optional] The data format. External data sources must be in CSV format. The default value is CSV. + "sourceFormat": "A String", # [Required] The data format. For CSV files, specify "CSV". For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". "maxBadRecords": 42, # [Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. - "ignoreUnknownValues": True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns - "sourceUris": [ # [Required] The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. CSV limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs. + "ignoreUnknownValues": True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names + "sourceUris": [ # [Required] The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs. "A String", ], "schema": { # [Required] The schema for the data. @@ -257,6 +259,12 @@

Method Details

}, }, }, + "userDefinedFunctionResources": [ # [Experimental] Describes user-defined function resources used in the query. + { + "resourceUri": "A String", # [Pick one] A code resource to load from a Google Cloud Storage URI (gs://bucket/path). + "inlineCode": "A String", # [Pick one] An inline resource that contains code for a user-defined function (UDF). Providing a inline code resource is equivalent to providing a URI for a file containing the same code. + }, + ], }, "copy": { # [Pick one] Copies a table. "createDisposition": "A String", # [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion. @@ -336,19 +344,21 @@

Method Details

"load": { # [Output-only] Statistics for a load job. "outputRows": "A String", # [Output-only] Number of rows imported in a load job. Note that while an import job is in the running state, this value may change. "inputFiles": "A String", # [Output-only] Number of source files in a load job. - "inputFileBytes": "A String", # [Output-only] Number of bytes of source data in a joad job. - "outputBytes": "A String", # [Output-only] Size of the loaded data in bytes. Note that while an import job is in the running state, this value may change. + "inputFileBytes": "A String", # [Output-only] Number of bytes of source data in a load job. + "outputBytes": "A String", # [Output-only] Size of the loaded data in bytes. Note that while a load job is in the running state, this value may change. }, "creationTime": "A String", # [Output-only] Creation time of this job, in milliseconds since the epoch. This field will be present on all jobs. "totalBytesProcessed": "A String", # [Output-only] [Deprecated] Use the bytes processed in the query statistics instead. "startTime": "A String", # [Output-only] Start time of this job, in milliseconds since the epoch. This field will be present when the job transitions from the PENDING state to either RUNNING or DONE. "query": { # [Output-only] Statistics for a query job. "cacheHit": True or False, # [Output-only] Whether the query result was fetched from the query cache. - "totalBytesProcessed": "A String", # [Output-only] Total bytes processed for this job. + "billingTier": 42, # [Output-only] Billing tier for the job. + "totalBytesBilled": "A String", # [Output-only] Total bytes billed for the job. + "totalBytesProcessed": "A String", # [Output-only] Total bytes processed for the job. }, "endTime": "A String", # [Output-only] End time of this job, in milliseconds since the epoch. This field will be present whenever a job is in the DONE state. "extract": { # [Output-only] Statistics for an extract job. - "destinationUriFileCounts": [ # [Experimental] Number of files per destination URI or URI pattern specified in the extract configuration. These values will be in the same order as the URIs specified in the 'destinationUris' field. + "destinationUriFileCounts": [ # [Output-only] Number of files per destination URI or URI pattern specified in the extract configuration. These values will be in the same order as the URIs specified in the 'destinationUris' field. "A String", ], }, @@ -441,10 +451,10 @@

Method Details

"quote": """, # [Optional] The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('"'). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true. "allowQuotedNewlines": True or False, # [Optional] Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false. }, - "sourceFormat": "A String", # [Optional] The data format. External data sources must be in CSV format. The default value is CSV. + "sourceFormat": "A String", # [Required] The data format. For CSV files, specify "CSV". For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". "maxBadRecords": 42, # [Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. - "ignoreUnknownValues": True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns - "sourceUris": [ # [Required] The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. CSV limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs. + "ignoreUnknownValues": True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names + "sourceUris": [ # [Required] The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs. "A String", ], "schema": { # [Required] The schema for the data. @@ -462,6 +472,12 @@

Method Details

}, }, }, + "userDefinedFunctionResources": [ # [Experimental] Describes user-defined function resources used in the query. + { + "resourceUri": "A String", # [Pick one] A code resource to load from a Google Cloud Storage URI (gs://bucket/path). + "inlineCode": "A String", # [Pick one] An inline resource that contains code for a user-defined function (UDF). Providing a inline code resource is equivalent to providing a URI for a file containing the same code. + }, + ], }, "copy": { # [Pick one] Copies a table. "createDisposition": "A String", # [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion. @@ -512,7 +528,7 @@

Method Details

Args: projectId: string, Project ID of the query job (required) jobId: string, Job ID of the query job (required) - timeoutMs: integer, How long to wait for the query to complete, in milliseconds, before returning. Default is to return immediately. If the timeout passes before the job completes, the request will fail with a TIMEOUT error + timeoutMs: integer, How long to wait for the query to complete, in milliseconds, before returning. Default is 10 seconds. If the timeout passes before the job completes, the 'jobComplete' field in the response will be false pageToken: string, Page token, returned by a previous call, to request the next page of results maxResults: integer, Maximum number of results to read startIndex: string, Zero-based index of the starting row @@ -522,13 +538,12 @@

Method Details

{ "kind": "bigquery#getQueryResultsResponse", # The resource type of the response. - "rows": [ # An object with as many results as can be contained within the maximum permitted reply size. To get any additional rows, you can call GetQueryResults and specify the jobReference returned above. Present only when the query completes successfully. + "errors": [ # [Output-only] All errors and warnings encountered during the running of the job. Errors here do not necessarily mean that the job has completed or was unsuccessful. { - "f": [ # Represents a single row in the result set, consisting of one or more fields. - { - "v": "", - }, - ], + "debugInfo": "A String", # Debugging information. This property is internal to Google and should not be used. + "message": "A String", # A human-readable description of the error. + "reason": "A String", # A short error code that summarizes the error. + "location": "A String", # Specifies where the error occurred, if present. }, ], "jobReference": { # Reference to the BigQuery Job that was created to run the query. This field will be present even if the original request timed out, in which case GetQueryResults can be used to read the results once the query has completed. Since this API only returns the first page of results, subsequent pages can be fetched via the same mechanism (GetQueryResults). @@ -541,6 +556,15 @@

Method Details

"totalBytesProcessed": "A String", # The total number of bytes processed for this query. "cacheHit": True or False, # Whether the query result was fetched from the query cache. "etag": "A String", # A hash of this response. + "rows": [ # An object with as many results as can be contained within the maximum permitted reply size. To get any additional rows, you can call GetQueryResults and specify the jobReference returned above. Present only when the query completes successfully. + { + "f": [ # Represents a single row in the result set, consisting of one or more fields. + { + "v": "", + }, + ], + }, + ], "schema": { # The schema of the results. Present only when the query completes successfully. "fields": [ # Describes the fields in a table. { @@ -589,19 +613,21 @@

Method Details

"load": { # [Output-only] Statistics for a load job. "outputRows": "A String", # [Output-only] Number of rows imported in a load job. Note that while an import job is in the running state, this value may change. "inputFiles": "A String", # [Output-only] Number of source files in a load job. - "inputFileBytes": "A String", # [Output-only] Number of bytes of source data in a joad job. - "outputBytes": "A String", # [Output-only] Size of the loaded data in bytes. Note that while an import job is in the running state, this value may change. + "inputFileBytes": "A String", # [Output-only] Number of bytes of source data in a load job. + "outputBytes": "A String", # [Output-only] Size of the loaded data in bytes. Note that while a load job is in the running state, this value may change. }, "creationTime": "A String", # [Output-only] Creation time of this job, in milliseconds since the epoch. This field will be present on all jobs. "totalBytesProcessed": "A String", # [Output-only] [Deprecated] Use the bytes processed in the query statistics instead. "startTime": "A String", # [Output-only] Start time of this job, in milliseconds since the epoch. This field will be present when the job transitions from the PENDING state to either RUNNING or DONE. "query": { # [Output-only] Statistics for a query job. "cacheHit": True or False, # [Output-only] Whether the query result was fetched from the query cache. - "totalBytesProcessed": "A String", # [Output-only] Total bytes processed for this job. + "billingTier": 42, # [Output-only] Billing tier for the job. + "totalBytesBilled": "A String", # [Output-only] Total bytes billed for the job. + "totalBytesProcessed": "A String", # [Output-only] Total bytes processed for the job. }, "endTime": "A String", # [Output-only] End time of this job, in milliseconds since the epoch. This field will be present whenever a job is in the DONE state. "extract": { # [Output-only] Statistics for an extract job. - "destinationUriFileCounts": [ # [Experimental] Number of files per destination URI or URI pattern specified in the extract configuration. These values will be in the same order as the URIs specified in the 'destinationUris' field. + "destinationUriFileCounts": [ # [Output-only] Number of files per destination URI or URI pattern specified in the extract configuration. These values will be in the same order as the URIs specified in the 'destinationUris' field. "A String", ], }, @@ -694,10 +720,10 @@

Method Details

"quote": """, # [Optional] The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('"'). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true. "allowQuotedNewlines": True or False, # [Optional] Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false. }, - "sourceFormat": "A String", # [Optional] The data format. External data sources must be in CSV format. The default value is CSV. + "sourceFormat": "A String", # [Required] The data format. For CSV files, specify "CSV". For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". "maxBadRecords": 42, # [Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. - "ignoreUnknownValues": True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns - "sourceUris": [ # [Required] The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. CSV limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs. + "ignoreUnknownValues": True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names + "sourceUris": [ # [Required] The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs. "A String", ], "schema": { # [Required] The schema for the data. @@ -715,6 +741,12 @@

Method Details

}, }, }, + "userDefinedFunctionResources": [ # [Experimental] Describes user-defined function resources used in the query. + { + "resourceUri": "A String", # [Pick one] A code resource to load from a Google Cloud Storage URI (gs://bucket/path). + "inlineCode": "A String", # [Pick one] An inline resource that contains code for a user-defined function (UDF). Providing a inline code resource is equivalent to providing a URI for a file containing the same code. + }, + ], }, "copy": { # [Pick one] Copies a table. "createDisposition": "A String", # [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion. @@ -785,19 +817,21 @@

Method Details

"load": { # [Output-only] Statistics for a load job. "outputRows": "A String", # [Output-only] Number of rows imported in a load job. Note that while an import job is in the running state, this value may change. "inputFiles": "A String", # [Output-only] Number of source files in a load job. - "inputFileBytes": "A String", # [Output-only] Number of bytes of source data in a joad job. - "outputBytes": "A String", # [Output-only] Size of the loaded data in bytes. Note that while an import job is in the running state, this value may change. + "inputFileBytes": "A String", # [Output-only] Number of bytes of source data in a load job. + "outputBytes": "A String", # [Output-only] Size of the loaded data in bytes. Note that while a load job is in the running state, this value may change. }, "creationTime": "A String", # [Output-only] Creation time of this job, in milliseconds since the epoch. This field will be present on all jobs. "totalBytesProcessed": "A String", # [Output-only] [Deprecated] Use the bytes processed in the query statistics instead. "startTime": "A String", # [Output-only] Start time of this job, in milliseconds since the epoch. This field will be present when the job transitions from the PENDING state to either RUNNING or DONE. "query": { # [Output-only] Statistics for a query job. "cacheHit": True or False, # [Output-only] Whether the query result was fetched from the query cache. - "totalBytesProcessed": "A String", # [Output-only] Total bytes processed for this job. + "billingTier": 42, # [Output-only] Billing tier for the job. + "totalBytesBilled": "A String", # [Output-only] Total bytes billed for the job. + "totalBytesProcessed": "A String", # [Output-only] Total bytes processed for the job. }, "endTime": "A String", # [Output-only] End time of this job, in milliseconds since the epoch. This field will be present whenever a job is in the DONE state. "extract": { # [Output-only] Statistics for an extract job. - "destinationUriFileCounts": [ # [Experimental] Number of files per destination URI or URI pattern specified in the extract configuration. These values will be in the same order as the URIs specified in the 'destinationUris' field. + "destinationUriFileCounts": [ # [Output-only] Number of files per destination URI or URI pattern specified in the extract configuration. These values will be in the same order as the URIs specified in the 'destinationUris' field. "A String", ], }, @@ -890,10 +924,10 @@

Method Details

"quote": """, # [Optional] The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('"'). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true. "allowQuotedNewlines": True or False, # [Optional] Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false. }, - "sourceFormat": "A String", # [Optional] The data format. External data sources must be in CSV format. The default value is CSV. + "sourceFormat": "A String", # [Required] The data format. For CSV files, specify "CSV". For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". "maxBadRecords": 42, # [Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. - "ignoreUnknownValues": True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns - "sourceUris": [ # [Required] The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. CSV limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs. + "ignoreUnknownValues": True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names + "sourceUris": [ # [Required] The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs. "A String", ], "schema": { # [Required] The schema for the data. @@ -911,6 +945,12 @@

Method Details

}, }, }, + "userDefinedFunctionResources": [ # [Experimental] Describes user-defined function resources used in the query. + { + "resourceUri": "A String", # [Pick one] A code resource to load from a Google Cloud Storage URI (gs://bucket/path). + "inlineCode": "A String", # [Pick one] An inline resource that contains code for a user-defined function (UDF). Providing a inline code resource is equivalent to providing a URI for a file containing the same code. + }, + ], }, "copy": { # [Pick one] Copies a table. "createDisposition": "A String", # [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion. @@ -956,7 +996,7 @@

Method Details

list(projectId, projection=None, stateFilter=None, pageToken=None, allUsers=None, maxResults=None) -
Lists all jobs that you started in the specified project. The job list returns in reverse chronological order of when the jobs were created, starting with the most recent job created. Requires the Can View project role, or the Is Owner project role if you set the allUsers property.
+  
Lists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property.
 
 Args:
   projectId: string, Project ID of the jobs to list (required)
@@ -1004,19 +1044,21 @@ 

Method Details

"load": { # [Output-only] Statistics for a load job. "outputRows": "A String", # [Output-only] Number of rows imported in a load job. Note that while an import job is in the running state, this value may change. "inputFiles": "A String", # [Output-only] Number of source files in a load job. - "inputFileBytes": "A String", # [Output-only] Number of bytes of source data in a joad job. - "outputBytes": "A String", # [Output-only] Size of the loaded data in bytes. Note that while an import job is in the running state, this value may change. + "inputFileBytes": "A String", # [Output-only] Number of bytes of source data in a load job. + "outputBytes": "A String", # [Output-only] Size of the loaded data in bytes. Note that while a load job is in the running state, this value may change. }, "creationTime": "A String", # [Output-only] Creation time of this job, in milliseconds since the epoch. This field will be present on all jobs. "totalBytesProcessed": "A String", # [Output-only] [Deprecated] Use the bytes processed in the query statistics instead. "startTime": "A String", # [Output-only] Start time of this job, in milliseconds since the epoch. This field will be present when the job transitions from the PENDING state to either RUNNING or DONE. "query": { # [Output-only] Statistics for a query job. "cacheHit": True or False, # [Output-only] Whether the query result was fetched from the query cache. - "totalBytesProcessed": "A String", # [Output-only] Total bytes processed for this job. + "billingTier": 42, # [Output-only] Billing tier for the job. + "totalBytesBilled": "A String", # [Output-only] Total bytes billed for the job. + "totalBytesProcessed": "A String", # [Output-only] Total bytes processed for the job. }, "endTime": "A String", # [Output-only] End time of this job, in milliseconds since the epoch. This field will be present whenever a job is in the DONE state. "extract": { # [Output-only] Statistics for an extract job. - "destinationUriFileCounts": [ # [Experimental] Number of files per destination URI or URI pattern specified in the extract configuration. These values will be in the same order as the URIs specified in the 'destinationUris' field. + "destinationUriFileCounts": [ # [Output-only] Number of files per destination URI or URI pattern specified in the extract configuration. These values will be in the same order as the URIs specified in the 'destinationUris' field. "A String", ], }, @@ -1109,10 +1151,10 @@

Method Details

"quote": """, # [Optional] The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('"'). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true. "allowQuotedNewlines": True or False, # [Optional] Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false. }, - "sourceFormat": "A String", # [Optional] The data format. External data sources must be in CSV format. The default value is CSV. + "sourceFormat": "A String", # [Required] The data format. For CSV files, specify "CSV". For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". "maxBadRecords": 42, # [Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. - "ignoreUnknownValues": True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns - "sourceUris": [ # [Required] The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. CSV limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs. + "ignoreUnknownValues": True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names + "sourceUris": [ # [Required] The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs. "A String", ], "schema": { # [Required] The schema for the data. @@ -1130,6 +1172,12 @@

Method Details

}, }, }, + "userDefinedFunctionResources": [ # [Experimental] Describes user-defined function resources used in the query. + { + "resourceUri": "A String", # [Pick one] A code resource to load from a Google Cloud Storage URI (gs://bucket/path). + "inlineCode": "A String", # [Pick one] An inline resource that contains code for a user-defined function (UDF). Providing a inline code resource is equivalent to providing a URI for a file containing the same code. + }, + ], }, "copy": { # [Pick one] Copies a table. "createDisposition": "A String", # [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion. @@ -1206,7 +1254,7 @@

Method Details

{ "timeoutMs": 42, # [Optional] How long to wait for the query to complete, in milliseconds, before the request times out and returns. Note that this is only a timeout for the request, not the query. If the query takes longer to run than the timeout value, the call returns without any results and with the 'jobComplete' flag set to false. You can call GetQueryResults() to wait for the query to complete and read the results. The default value is 10000 milliseconds (10 seconds). "kind": "bigquery#queryRequest", # The resource type of the request. - "dryRun": True or False, # [Optional] If set, don't actually run this job. A valid query will return a mostly empty response with some processing statistics, while an invalid query will return the same error it would if it wasn't a dry run. + "dryRun": True or False, # [Optional] If set to true, BigQuery doesn't run the job. Instead, if the query is valid, BigQuery returns statistics about the job such as how many bytes would be processed. If the query is invalid, an error returns. The default value is false. "useQueryCache": true, # [Optional] Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever tables in the query are modified. The default value is true. "defaultDataset": { # [Optional] Specifies the default datasetId and projectId to assume for any unqualified table names in the query. If not set, all table names in the query string must be qualified in the format 'datasetId.tableId'. "projectId": "A String", # [Optional] The ID of the project containing this dataset. @@ -1223,13 +1271,12 @@

Method Details

{ "kind": "bigquery#queryResponse", # The resource type. - "rows": [ # An object with as many results as can be contained within the maximum permitted reply size. To get any additional rows, you can call GetQueryResults and specify the jobReference returned above. + "errors": [ # [Output-only] All errors and warnings encountered during the running of the job. Errors here do not necessarily mean that the job has completed or was unsuccessful. { - "f": [ # Represents a single row in the result set, consisting of one or more fields. - { - "v": "", - }, - ], + "debugInfo": "A String", # Debugging information. This property is internal to Google and should not be used. + "message": "A String", # A human-readable description of the error. + "reason": "A String", # A short error code that summarizes the error. + "location": "A String", # Specifies where the error occurred, if present. }, ], "jobReference": { # Reference to the Job that was created to run the query. This field will be present even if the original request timed out, in which case GetQueryResults can be used to read the results once the query has completed. Since this API only returns the first page of results, subsequent pages can be fetched via the same mechanism (GetQueryResults). @@ -1241,6 +1288,15 @@

Method Details

"totalRows": "A String", # The total number of rows in the complete query result set, which can be more than the number of rows in this single page of results. "totalBytesProcessed": "A String", # The total number of bytes processed for this query. If this query was a dry run, this is the number of bytes that would be processed if the query were run. "cacheHit": True or False, # Whether the query result was fetched from the query cache. + "rows": [ # An object with as many results as can be contained within the maximum permitted reply size. To get any additional rows, you can call GetQueryResults and specify the jobReference returned above. + { + "f": [ # Represents a single row in the result set, consisting of one or more fields. + { + "v": "", + }, + ], + }, + ], "schema": { # The schema of the results. Present only when the query completes successfully. "fields": [ # Describes the fields in a table. { diff --git a/docs/dyn/bigquery_v2.tables.html b/docs/dyn/bigquery_v2.tables.html index fec1c637af6..b4b1a319573 100644 --- a/docs/dyn/bigquery_v2.tables.html +++ b/docs/dyn/bigquery_v2.tables.html @@ -124,14 +124,50 @@

Method Details

"lastModifiedTime": "A String", # [Output-only] The time when this table was last modified, in milliseconds since the epoch. "description": "A String", # [Optional] A user-friendly description of this table. "creationTime": "A String", # [Output-only] The time when this table was created, in milliseconds since the epoch. + "externalDataConfiguration": { # [Experimental] Describes the data format, location, and other properties of a table stored outside of BigQuery. By defining these properties, the data source can then be queried as if it were a standard BigQuery table. + "compression": "A String", # [Optional] The compression type of the data source. Possible values include GZIP and NONE. The default value is NONE. + "csvOptions": { # Additional properties to set if sourceFormat is set to CSV. + "fieldDelimiter": "A String", # [Optional] The separator for fields in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. BigQuery also supports the escape sequence "\t" to specify a tab separator. The default value is a comma (','). + "encoding": "A String", # [Optional] The character encoding of the data. The supported values are UTF-8 or ISO-8859-1. The default value is UTF-8. BigQuery decodes the data after the raw, binary data has been split using the values of the quote and fieldDelimiter properties. + "skipLeadingRows": 42, # [Optional] The number of rows at the top of a CSV file that BigQuery will skip when reading the data. The default value is 0. This property is useful if you have header rows in the file that should be skipped. + "allowJaggedRows": True or False, # [Optional] Indicates if BigQuery should accept rows that are missing trailing optional columns. If true, BigQuery treats missing trailing columns as null values. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. + "quote": """, # [Optional] The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('"'). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true. + "allowQuotedNewlines": True or False, # [Optional] Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false. + }, + "sourceFormat": "A String", # [Required] The data format. For CSV files, specify "CSV". For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". + "maxBadRecords": 42, # [Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. + "ignoreUnknownValues": True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names + "sourceUris": [ # [Required] The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs. + "A String", + ], + "schema": { # [Required] The schema for the data. + "fields": [ # Describes the fields in a table. + { + "fields": [ # [Optional] Describes the nested schema fields if the type property is set to RECORD. + # Object with schema name: TableFieldSchema + ], + "type": "A String", # [Required] The field data type. Possible values include STRING, INTEGER, FLOAT, BOOLEAN, TIMESTAMP or RECORD (where RECORD indicates that the field contains a nested schema). + "description": "A String", # [Optional] The field description. The maximum length is 16K characters. + "name": "A String", # [Required] The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters. + "mode": "A String", # [Optional] The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE. + }, + ], + }, + }, "tableReference": { # [Required] Reference describing the ID of this table. "projectId": "A String", # [Required] The ID of the project containing this table. "tableId": "A String", # [Required] The ID of the table. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. "datasetId": "A String", # [Required] The ID of the dataset containing this table. }, - "numRows": "A String", # [Output-only] The number of rows of data in this table. This property is unavailable for tables that are actively receiving streaming inserts. - "numBytes": "A String", # [Output-only] The size of the table in bytes. This property is unavailable for tables that are actively receiving streaming inserts. + "numRows": "A String", # [Output-only] The number of rows of data in this table, excluding any data in the streaming buffer. + "numBytes": "A String", # [Output-only] The size of this table in bytes, excluding any data in the streaming buffer. "etag": "A String", # [Output-only] A hash of this resource. + "location": "A String", # [Output-only] The geographic location where the table resides. This value is inherited from the dataset. + "streamingBuffer": { # [Output-only] Contains information regarding this table's streaming buffer, if one is present. This field will be absent if the table is not being streamed to or if there is no data in the streaming buffer. + "estimatedBytes": "A String", # [Output-only] A lower-bound estimate of the number of bytes currently in the streaming buffer. + "estimatedRows": "A String", # [Output-only] A lower-bound estimate of the number of rows currently in the streaming buffer. + "oldestEntryTime": "A String", # [Output-only] Contains the timestamp of the oldest entry in the streaming buffer, in milliseconds since the epoch, if the streaming buffer is available. + }, "friendlyName": "A String", # [Optional] A descriptive name for this table. "expirationTime": "A String", # [Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed. "view": { # [Optional] The view definition. @@ -171,14 +207,50 @@

Method Details

"lastModifiedTime": "A String", # [Output-only] The time when this table was last modified, in milliseconds since the epoch. "description": "A String", # [Optional] A user-friendly description of this table. "creationTime": "A String", # [Output-only] The time when this table was created, in milliseconds since the epoch. + "externalDataConfiguration": { # [Experimental] Describes the data format, location, and other properties of a table stored outside of BigQuery. By defining these properties, the data source can then be queried as if it were a standard BigQuery table. + "compression": "A String", # [Optional] The compression type of the data source. Possible values include GZIP and NONE. The default value is NONE. + "csvOptions": { # Additional properties to set if sourceFormat is set to CSV. + "fieldDelimiter": "A String", # [Optional] The separator for fields in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. BigQuery also supports the escape sequence "\t" to specify a tab separator. The default value is a comma (','). + "encoding": "A String", # [Optional] The character encoding of the data. The supported values are UTF-8 or ISO-8859-1. The default value is UTF-8. BigQuery decodes the data after the raw, binary data has been split using the values of the quote and fieldDelimiter properties. + "skipLeadingRows": 42, # [Optional] The number of rows at the top of a CSV file that BigQuery will skip when reading the data. The default value is 0. This property is useful if you have header rows in the file that should be skipped. + "allowJaggedRows": True or False, # [Optional] Indicates if BigQuery should accept rows that are missing trailing optional columns. If true, BigQuery treats missing trailing columns as null values. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. + "quote": """, # [Optional] The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('"'). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true. + "allowQuotedNewlines": True or False, # [Optional] Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false. + }, + "sourceFormat": "A String", # [Required] The data format. For CSV files, specify "CSV". For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". + "maxBadRecords": 42, # [Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. + "ignoreUnknownValues": True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names + "sourceUris": [ # [Required] The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs. + "A String", + ], + "schema": { # [Required] The schema for the data. + "fields": [ # Describes the fields in a table. + { + "fields": [ # [Optional] Describes the nested schema fields if the type property is set to RECORD. + # Object with schema name: TableFieldSchema + ], + "type": "A String", # [Required] The field data type. Possible values include STRING, INTEGER, FLOAT, BOOLEAN, TIMESTAMP or RECORD (where RECORD indicates that the field contains a nested schema). + "description": "A String", # [Optional] The field description. The maximum length is 16K characters. + "name": "A String", # [Required] The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters. + "mode": "A String", # [Optional] The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE. + }, + ], + }, + }, "tableReference": { # [Required] Reference describing the ID of this table. "projectId": "A String", # [Required] The ID of the project containing this table. "tableId": "A String", # [Required] The ID of the table. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. "datasetId": "A String", # [Required] The ID of the dataset containing this table. }, - "numRows": "A String", # [Output-only] The number of rows of data in this table. This property is unavailable for tables that are actively receiving streaming inserts. - "numBytes": "A String", # [Output-only] The size of the table in bytes. This property is unavailable for tables that are actively receiving streaming inserts. + "numRows": "A String", # [Output-only] The number of rows of data in this table, excluding any data in the streaming buffer. + "numBytes": "A String", # [Output-only] The size of this table in bytes, excluding any data in the streaming buffer. "etag": "A String", # [Output-only] A hash of this resource. + "location": "A String", # [Output-only] The geographic location where the table resides. This value is inherited from the dataset. + "streamingBuffer": { # [Output-only] Contains information regarding this table's streaming buffer, if one is present. This field will be absent if the table is not being streamed to or if there is no data in the streaming buffer. + "estimatedBytes": "A String", # [Output-only] A lower-bound estimate of the number of bytes currently in the streaming buffer. + "estimatedRows": "A String", # [Output-only] A lower-bound estimate of the number of rows currently in the streaming buffer. + "oldestEntryTime": "A String", # [Output-only] Contains the timestamp of the oldest entry in the streaming buffer, in milliseconds since the epoch, if the streaming buffer is available. + }, "friendlyName": "A String", # [Optional] A descriptive name for this table. "expirationTime": "A String", # [Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed. "view": { # [Optional] The view definition. @@ -211,14 +283,50 @@

Method Details

"lastModifiedTime": "A String", # [Output-only] The time when this table was last modified, in milliseconds since the epoch. "description": "A String", # [Optional] A user-friendly description of this table. "creationTime": "A String", # [Output-only] The time when this table was created, in milliseconds since the epoch. + "externalDataConfiguration": { # [Experimental] Describes the data format, location, and other properties of a table stored outside of BigQuery. By defining these properties, the data source can then be queried as if it were a standard BigQuery table. + "compression": "A String", # [Optional] The compression type of the data source. Possible values include GZIP and NONE. The default value is NONE. + "csvOptions": { # Additional properties to set if sourceFormat is set to CSV. + "fieldDelimiter": "A String", # [Optional] The separator for fields in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. BigQuery also supports the escape sequence "\t" to specify a tab separator. The default value is a comma (','). + "encoding": "A String", # [Optional] The character encoding of the data. The supported values are UTF-8 or ISO-8859-1. The default value is UTF-8. BigQuery decodes the data after the raw, binary data has been split using the values of the quote and fieldDelimiter properties. + "skipLeadingRows": 42, # [Optional] The number of rows at the top of a CSV file that BigQuery will skip when reading the data. The default value is 0. This property is useful if you have header rows in the file that should be skipped. + "allowJaggedRows": True or False, # [Optional] Indicates if BigQuery should accept rows that are missing trailing optional columns. If true, BigQuery treats missing trailing columns as null values. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. + "quote": """, # [Optional] The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('"'). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true. + "allowQuotedNewlines": True or False, # [Optional] Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false. + }, + "sourceFormat": "A String", # [Required] The data format. For CSV files, specify "CSV". For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". + "maxBadRecords": 42, # [Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. + "ignoreUnknownValues": True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names + "sourceUris": [ # [Required] The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs. + "A String", + ], + "schema": { # [Required] The schema for the data. + "fields": [ # Describes the fields in a table. + { + "fields": [ # [Optional] Describes the nested schema fields if the type property is set to RECORD. + # Object with schema name: TableFieldSchema + ], + "type": "A String", # [Required] The field data type. Possible values include STRING, INTEGER, FLOAT, BOOLEAN, TIMESTAMP or RECORD (where RECORD indicates that the field contains a nested schema). + "description": "A String", # [Optional] The field description. The maximum length is 16K characters. + "name": "A String", # [Required] The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters. + "mode": "A String", # [Optional] The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE. + }, + ], + }, + }, "tableReference": { # [Required] Reference describing the ID of this table. "projectId": "A String", # [Required] The ID of the project containing this table. "tableId": "A String", # [Required] The ID of the table. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. "datasetId": "A String", # [Required] The ID of the dataset containing this table. }, - "numRows": "A String", # [Output-only] The number of rows of data in this table. This property is unavailable for tables that are actively receiving streaming inserts. - "numBytes": "A String", # [Output-only] The size of the table in bytes. This property is unavailable for tables that are actively receiving streaming inserts. + "numRows": "A String", # [Output-only] The number of rows of data in this table, excluding any data in the streaming buffer. + "numBytes": "A String", # [Output-only] The size of this table in bytes, excluding any data in the streaming buffer. "etag": "A String", # [Output-only] A hash of this resource. + "location": "A String", # [Output-only] The geographic location where the table resides. This value is inherited from the dataset. + "streamingBuffer": { # [Output-only] Contains information regarding this table's streaming buffer, if one is present. This field will be absent if the table is not being streamed to or if there is no data in the streaming buffer. + "estimatedBytes": "A String", # [Output-only] A lower-bound estimate of the number of bytes currently in the streaming buffer. + "estimatedRows": "A String", # [Output-only] A lower-bound estimate of the number of rows currently in the streaming buffer. + "oldestEntryTime": "A String", # [Output-only] Contains the timestamp of the oldest entry in the streaming buffer, in milliseconds since the epoch, if the streaming buffer is available. + }, "friendlyName": "A String", # [Optional] A descriptive name for this table. "expirationTime": "A String", # [Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed. "view": { # [Optional] The view definition. @@ -307,14 +415,50 @@

Method Details

"lastModifiedTime": "A String", # [Output-only] The time when this table was last modified, in milliseconds since the epoch. "description": "A String", # [Optional] A user-friendly description of this table. "creationTime": "A String", # [Output-only] The time when this table was created, in milliseconds since the epoch. + "externalDataConfiguration": { # [Experimental] Describes the data format, location, and other properties of a table stored outside of BigQuery. By defining these properties, the data source can then be queried as if it were a standard BigQuery table. + "compression": "A String", # [Optional] The compression type of the data source. Possible values include GZIP and NONE. The default value is NONE. + "csvOptions": { # Additional properties to set if sourceFormat is set to CSV. + "fieldDelimiter": "A String", # [Optional] The separator for fields in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. BigQuery also supports the escape sequence "\t" to specify a tab separator. The default value is a comma (','). + "encoding": "A String", # [Optional] The character encoding of the data. The supported values are UTF-8 or ISO-8859-1. The default value is UTF-8. BigQuery decodes the data after the raw, binary data has been split using the values of the quote and fieldDelimiter properties. + "skipLeadingRows": 42, # [Optional] The number of rows at the top of a CSV file that BigQuery will skip when reading the data. The default value is 0. This property is useful if you have header rows in the file that should be skipped. + "allowJaggedRows": True or False, # [Optional] Indicates if BigQuery should accept rows that are missing trailing optional columns. If true, BigQuery treats missing trailing columns as null values. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. + "quote": """, # [Optional] The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('"'). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true. + "allowQuotedNewlines": True or False, # [Optional] Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false. + }, + "sourceFormat": "A String", # [Required] The data format. For CSV files, specify "CSV". For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". + "maxBadRecords": 42, # [Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. + "ignoreUnknownValues": True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names + "sourceUris": [ # [Required] The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs. + "A String", + ], + "schema": { # [Required] The schema for the data. + "fields": [ # Describes the fields in a table. + { + "fields": [ # [Optional] Describes the nested schema fields if the type property is set to RECORD. + # Object with schema name: TableFieldSchema + ], + "type": "A String", # [Required] The field data type. Possible values include STRING, INTEGER, FLOAT, BOOLEAN, TIMESTAMP or RECORD (where RECORD indicates that the field contains a nested schema). + "description": "A String", # [Optional] The field description. The maximum length is 16K characters. + "name": "A String", # [Required] The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters. + "mode": "A String", # [Optional] The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE. + }, + ], + }, + }, "tableReference": { # [Required] Reference describing the ID of this table. "projectId": "A String", # [Required] The ID of the project containing this table. "tableId": "A String", # [Required] The ID of the table. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. "datasetId": "A String", # [Required] The ID of the dataset containing this table. }, - "numRows": "A String", # [Output-only] The number of rows of data in this table. This property is unavailable for tables that are actively receiving streaming inserts. - "numBytes": "A String", # [Output-only] The size of the table in bytes. This property is unavailable for tables that are actively receiving streaming inserts. + "numRows": "A String", # [Output-only] The number of rows of data in this table, excluding any data in the streaming buffer. + "numBytes": "A String", # [Output-only] The size of this table in bytes, excluding any data in the streaming buffer. "etag": "A String", # [Output-only] A hash of this resource. + "location": "A String", # [Output-only] The geographic location where the table resides. This value is inherited from the dataset. + "streamingBuffer": { # [Output-only] Contains information regarding this table's streaming buffer, if one is present. This field will be absent if the table is not being streamed to or if there is no data in the streaming buffer. + "estimatedBytes": "A String", # [Output-only] A lower-bound estimate of the number of bytes currently in the streaming buffer. + "estimatedRows": "A String", # [Output-only] A lower-bound estimate of the number of rows currently in the streaming buffer. + "oldestEntryTime": "A String", # [Output-only] Contains the timestamp of the oldest entry in the streaming buffer, in milliseconds since the epoch, if the streaming buffer is available. + }, "friendlyName": "A String", # [Optional] A descriptive name for this table. "expirationTime": "A String", # [Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed. "view": { # [Optional] The view definition. @@ -347,14 +491,50 @@

Method Details

"lastModifiedTime": "A String", # [Output-only] The time when this table was last modified, in milliseconds since the epoch. "description": "A String", # [Optional] A user-friendly description of this table. "creationTime": "A String", # [Output-only] The time when this table was created, in milliseconds since the epoch. + "externalDataConfiguration": { # [Experimental] Describes the data format, location, and other properties of a table stored outside of BigQuery. By defining these properties, the data source can then be queried as if it were a standard BigQuery table. + "compression": "A String", # [Optional] The compression type of the data source. Possible values include GZIP and NONE. The default value is NONE. + "csvOptions": { # Additional properties to set if sourceFormat is set to CSV. + "fieldDelimiter": "A String", # [Optional] The separator for fields in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. BigQuery also supports the escape sequence "\t" to specify a tab separator. The default value is a comma (','). + "encoding": "A String", # [Optional] The character encoding of the data. The supported values are UTF-8 or ISO-8859-1. The default value is UTF-8. BigQuery decodes the data after the raw, binary data has been split using the values of the quote and fieldDelimiter properties. + "skipLeadingRows": 42, # [Optional] The number of rows at the top of a CSV file that BigQuery will skip when reading the data. The default value is 0. This property is useful if you have header rows in the file that should be skipped. + "allowJaggedRows": True or False, # [Optional] Indicates if BigQuery should accept rows that are missing trailing optional columns. If true, BigQuery treats missing trailing columns as null values. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. + "quote": """, # [Optional] The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('"'). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true. + "allowQuotedNewlines": True or False, # [Optional] Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false. + }, + "sourceFormat": "A String", # [Required] The data format. For CSV files, specify "CSV". For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". + "maxBadRecords": 42, # [Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. + "ignoreUnknownValues": True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names + "sourceUris": [ # [Required] The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs. + "A String", + ], + "schema": { # [Required] The schema for the data. + "fields": [ # Describes the fields in a table. + { + "fields": [ # [Optional] Describes the nested schema fields if the type property is set to RECORD. + # Object with schema name: TableFieldSchema + ], + "type": "A String", # [Required] The field data type. Possible values include STRING, INTEGER, FLOAT, BOOLEAN, TIMESTAMP or RECORD (where RECORD indicates that the field contains a nested schema). + "description": "A String", # [Optional] The field description. The maximum length is 16K characters. + "name": "A String", # [Required] The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters. + "mode": "A String", # [Optional] The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE. + }, + ], + }, + }, "tableReference": { # [Required] Reference describing the ID of this table. "projectId": "A String", # [Required] The ID of the project containing this table. "tableId": "A String", # [Required] The ID of the table. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. "datasetId": "A String", # [Required] The ID of the dataset containing this table. }, - "numRows": "A String", # [Output-only] The number of rows of data in this table. This property is unavailable for tables that are actively receiving streaming inserts. - "numBytes": "A String", # [Output-only] The size of the table in bytes. This property is unavailable for tables that are actively receiving streaming inserts. + "numRows": "A String", # [Output-only] The number of rows of data in this table, excluding any data in the streaming buffer. + "numBytes": "A String", # [Output-only] The size of this table in bytes, excluding any data in the streaming buffer. "etag": "A String", # [Output-only] A hash of this resource. + "location": "A String", # [Output-only] The geographic location where the table resides. This value is inherited from the dataset. + "streamingBuffer": { # [Output-only] Contains information regarding this table's streaming buffer, if one is present. This field will be absent if the table is not being streamed to or if there is no data in the streaming buffer. + "estimatedBytes": "A String", # [Output-only] A lower-bound estimate of the number of bytes currently in the streaming buffer. + "estimatedRows": "A String", # [Output-only] A lower-bound estimate of the number of rows currently in the streaming buffer. + "oldestEntryTime": "A String", # [Output-only] Contains the timestamp of the oldest entry in the streaming buffer, in milliseconds since the epoch, if the streaming buffer is available. + }, "friendlyName": "A String", # [Optional] A descriptive name for this table. "expirationTime": "A String", # [Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed. "view": { # [Optional] The view definition. @@ -395,14 +575,50 @@

Method Details

"lastModifiedTime": "A String", # [Output-only] The time when this table was last modified, in milliseconds since the epoch. "description": "A String", # [Optional] A user-friendly description of this table. "creationTime": "A String", # [Output-only] The time when this table was created, in milliseconds since the epoch. + "externalDataConfiguration": { # [Experimental] Describes the data format, location, and other properties of a table stored outside of BigQuery. By defining these properties, the data source can then be queried as if it were a standard BigQuery table. + "compression": "A String", # [Optional] The compression type of the data source. Possible values include GZIP and NONE. The default value is NONE. + "csvOptions": { # Additional properties to set if sourceFormat is set to CSV. + "fieldDelimiter": "A String", # [Optional] The separator for fields in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. BigQuery also supports the escape sequence "\t" to specify a tab separator. The default value is a comma (','). + "encoding": "A String", # [Optional] The character encoding of the data. The supported values are UTF-8 or ISO-8859-1. The default value is UTF-8. BigQuery decodes the data after the raw, binary data has been split using the values of the quote and fieldDelimiter properties. + "skipLeadingRows": 42, # [Optional] The number of rows at the top of a CSV file that BigQuery will skip when reading the data. The default value is 0. This property is useful if you have header rows in the file that should be skipped. + "allowJaggedRows": True or False, # [Optional] Indicates if BigQuery should accept rows that are missing trailing optional columns. If true, BigQuery treats missing trailing columns as null values. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. + "quote": """, # [Optional] The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('"'). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true. + "allowQuotedNewlines": True or False, # [Optional] Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false. + }, + "sourceFormat": "A String", # [Required] The data format. For CSV files, specify "CSV". For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". + "maxBadRecords": 42, # [Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. + "ignoreUnknownValues": True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names + "sourceUris": [ # [Required] The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs. + "A String", + ], + "schema": { # [Required] The schema for the data. + "fields": [ # Describes the fields in a table. + { + "fields": [ # [Optional] Describes the nested schema fields if the type property is set to RECORD. + # Object with schema name: TableFieldSchema + ], + "type": "A String", # [Required] The field data type. Possible values include STRING, INTEGER, FLOAT, BOOLEAN, TIMESTAMP or RECORD (where RECORD indicates that the field contains a nested schema). + "description": "A String", # [Optional] The field description. The maximum length is 16K characters. + "name": "A String", # [Required] The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters. + "mode": "A String", # [Optional] The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE. + }, + ], + }, + }, "tableReference": { # [Required] Reference describing the ID of this table. "projectId": "A String", # [Required] The ID of the project containing this table. "tableId": "A String", # [Required] The ID of the table. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. "datasetId": "A String", # [Required] The ID of the dataset containing this table. }, - "numRows": "A String", # [Output-only] The number of rows of data in this table. This property is unavailable for tables that are actively receiving streaming inserts. - "numBytes": "A String", # [Output-only] The size of the table in bytes. This property is unavailable for tables that are actively receiving streaming inserts. + "numRows": "A String", # [Output-only] The number of rows of data in this table, excluding any data in the streaming buffer. + "numBytes": "A String", # [Output-only] The size of this table in bytes, excluding any data in the streaming buffer. "etag": "A String", # [Output-only] A hash of this resource. + "location": "A String", # [Output-only] The geographic location where the table resides. This value is inherited from the dataset. + "streamingBuffer": { # [Output-only] Contains information regarding this table's streaming buffer, if one is present. This field will be absent if the table is not being streamed to or if there is no data in the streaming buffer. + "estimatedBytes": "A String", # [Output-only] A lower-bound estimate of the number of bytes currently in the streaming buffer. + "estimatedRows": "A String", # [Output-only] A lower-bound estimate of the number of rows currently in the streaming buffer. + "oldestEntryTime": "A String", # [Output-only] Contains the timestamp of the oldest entry in the streaming buffer, in milliseconds since the epoch, if the streaming buffer is available. + }, "friendlyName": "A String", # [Optional] A descriptive name for this table. "expirationTime": "A String", # [Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed. "view": { # [Optional] The view definition. @@ -435,14 +651,50 @@

Method Details

"lastModifiedTime": "A String", # [Output-only] The time when this table was last modified, in milliseconds since the epoch. "description": "A String", # [Optional] A user-friendly description of this table. "creationTime": "A String", # [Output-only] The time when this table was created, in milliseconds since the epoch. + "externalDataConfiguration": { # [Experimental] Describes the data format, location, and other properties of a table stored outside of BigQuery. By defining these properties, the data source can then be queried as if it were a standard BigQuery table. + "compression": "A String", # [Optional] The compression type of the data source. Possible values include GZIP and NONE. The default value is NONE. + "csvOptions": { # Additional properties to set if sourceFormat is set to CSV. + "fieldDelimiter": "A String", # [Optional] The separator for fields in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. BigQuery also supports the escape sequence "\t" to specify a tab separator. The default value is a comma (','). + "encoding": "A String", # [Optional] The character encoding of the data. The supported values are UTF-8 or ISO-8859-1. The default value is UTF-8. BigQuery decodes the data after the raw, binary data has been split using the values of the quote and fieldDelimiter properties. + "skipLeadingRows": 42, # [Optional] The number of rows at the top of a CSV file that BigQuery will skip when reading the data. The default value is 0. This property is useful if you have header rows in the file that should be skipped. + "allowJaggedRows": True or False, # [Optional] Indicates if BigQuery should accept rows that are missing trailing optional columns. If true, BigQuery treats missing trailing columns as null values. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. + "quote": """, # [Optional] The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('"'). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true. + "allowQuotedNewlines": True or False, # [Optional] Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false. + }, + "sourceFormat": "A String", # [Required] The data format. For CSV files, specify "CSV". For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". + "maxBadRecords": 42, # [Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. + "ignoreUnknownValues": True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names + "sourceUris": [ # [Required] The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources, plus an additional limit of 10 GB maximum size across all URIs. + "A String", + ], + "schema": { # [Required] The schema for the data. + "fields": [ # Describes the fields in a table. + { + "fields": [ # [Optional] Describes the nested schema fields if the type property is set to RECORD. + # Object with schema name: TableFieldSchema + ], + "type": "A String", # [Required] The field data type. Possible values include STRING, INTEGER, FLOAT, BOOLEAN, TIMESTAMP or RECORD (where RECORD indicates that the field contains a nested schema). + "description": "A String", # [Optional] The field description. The maximum length is 16K characters. + "name": "A String", # [Required] The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters. + "mode": "A String", # [Optional] The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE. + }, + ], + }, + }, "tableReference": { # [Required] Reference describing the ID of this table. "projectId": "A String", # [Required] The ID of the project containing this table. "tableId": "A String", # [Required] The ID of the table. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. "datasetId": "A String", # [Required] The ID of the dataset containing this table. }, - "numRows": "A String", # [Output-only] The number of rows of data in this table. This property is unavailable for tables that are actively receiving streaming inserts. - "numBytes": "A String", # [Output-only] The size of the table in bytes. This property is unavailable for tables that are actively receiving streaming inserts. + "numRows": "A String", # [Output-only] The number of rows of data in this table, excluding any data in the streaming buffer. + "numBytes": "A String", # [Output-only] The size of this table in bytes, excluding any data in the streaming buffer. "etag": "A String", # [Output-only] A hash of this resource. + "location": "A String", # [Output-only] The geographic location where the table resides. This value is inherited from the dataset. + "streamingBuffer": { # [Output-only] Contains information regarding this table's streaming buffer, if one is present. This field will be absent if the table is not being streamed to or if there is no data in the streaming buffer. + "estimatedBytes": "A String", # [Output-only] A lower-bound estimate of the number of bytes currently in the streaming buffer. + "estimatedRows": "A String", # [Output-only] A lower-bound estimate of the number of rows currently in the streaming buffer. + "oldestEntryTime": "A String", # [Output-only] Contains the timestamp of the oldest entry in the streaming buffer, in milliseconds since the epoch, if the streaming buffer is available. + }, "friendlyName": "A String", # [Optional] A descriptive name for this table. "expirationTime": "A String", # [Optional] The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed. "view": { # [Optional] The view definition. diff --git a/docs/dyn/calendar_v3.acl.html b/docs/dyn/calendar_v3.acl.html index 2a07be721a7..1c4842c85b3 100644 --- a/docs/dyn/calendar_v3.acl.html +++ b/docs/dyn/calendar_v3.acl.html @@ -104,7 +104,7 @@

Method Details

Deletes an access control rule.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   ruleId: string, ACL rule identifier. (required)
 
@@ -114,7 +114,7 @@

Method Details

Returns an access control rule.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   ruleId: string, ACL rule identifier. (required)
 
 Returns:
@@ -146,7 +146,7 @@ 

Method Details

Creates an access control rule.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
@@ -200,7 +200,7 @@ 

Method Details

Returns the rules in the access control list for the calendar.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   syncToken: string, Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. All entries deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False.
 If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken.
 Learn more about incremental synchronization.
@@ -260,7 +260,7 @@ 

Method Details

Updates an access control rule. This method supports patch semantics.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   ruleId: string, ACL rule identifier. (required)
   body: object, The request body. (required)
     The object takes the form of:
@@ -315,7 +315,7 @@ 

Method Details

Updates an access control rule.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   ruleId: string, ACL rule identifier. (required)
   body: object, The request body. (required)
     The object takes the form of:
@@ -370,7 +370,7 @@ 

Method Details

Watch for changes to ACL resources.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
diff --git a/docs/dyn/calendar_v3.calendarList.html b/docs/dyn/calendar_v3.calendarList.html
index c3f229fad6b..8373ac861f8 100644
--- a/docs/dyn/calendar_v3.calendarList.html
+++ b/docs/dyn/calendar_v3.calendarList.html
@@ -104,7 +104,7 @@ 

Method Details

Deletes an entry on the user's calendar list.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
 
@@ -113,26 +113,26 @@

Method Details

Returns an entry on the user's calendar list.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
 
 Returns:
   An object of the form:
 
     {
       "kind": "calendar#calendarListEntry", # Type of the resource ("calendar#calendarListEntry").
-      "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. Optional.
+      "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional.
       "defaultReminders": [ # The default reminders that the authenticated user has for this calendar.
         {
-          "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger.
+          "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes).
           "method": "A String", # The method used by this reminder. Possible values are:
               # - "email" - Reminders are sent via email.
-              # - "sms" - Reminders are sent via SMS.
+              # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored.
               # - "popup" - Reminders are sent via a UI popup.
         },
       ],
       "description": "A String", # Description of the calendar. Optional. Read-only.
       "deleted": false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
-      "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). Optional.
+      "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). This property is superseded by the backgroundColor and foregroundColor properties and can be ignored when using these properties. Optional.
       "selected": false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False.
       "notificationSettings": { # The notifications that the authenticated user is receiving for this calendar.
         "notifications": [ # The list of notifications set for this calendar.
@@ -145,14 +145,14 @@ 

Method Details

# - "agenda" - An agenda with the events of the day (sent out in the morning). "method": "A String", # The method used to deliver the notification. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. + # - "sms" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. SMS reminders are only available for Google Apps for Work, Education, and Government customers. }, ], }, "primary": false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False. "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the calendar as free-form text. Optional. Read-only. - "backgroundColor": "A String", # The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. Optional. + "backgroundColor": "A String", # The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional. "summaryOverride": "A String", # The summary that the authenticated user has set for this calendar. Optional. "timeZone": "A String", # The time zone of the calendar. Optional. Read-only. "hidden": false, # Whether the calendar has been hidden from the list. Optional. The default is False. @@ -176,19 +176,19 @@

Method Details

{ "kind": "calendar#calendarListEntry", # Type of the resource ("calendar#calendarListEntry"). - "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. Optional. + "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional. "defaultReminders": [ # The default reminders that the authenticated user has for this calendar. { - "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. + "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). "method": "A String", # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. + # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. }, ], "description": "A String", # Description of the calendar. Optional. Read-only. "deleted": false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False. - "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). Optional. + "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). This property is superseded by the backgroundColor and foregroundColor properties and can be ignored when using these properties. Optional. "selected": false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False. "notificationSettings": { # The notifications that the authenticated user is receiving for this calendar. "notifications": [ # The list of notifications set for this calendar. @@ -201,14 +201,14 @@

Method Details

# - "agenda" - An agenda with the events of the day (sent out in the morning). "method": "A String", # The method used to deliver the notification. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. + # - "sms" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. SMS reminders are only available for Google Apps for Work, Education, and Government customers. }, ], }, "primary": false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False. "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the calendar as free-form text. Optional. Read-only. - "backgroundColor": "A String", # The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. Optional. + "backgroundColor": "A String", # The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional. "summaryOverride": "A String", # The summary that the authenticated user has set for this calendar. Optional. "timeZone": "A String", # The time zone of the calendar. Optional. Read-only. "hidden": false, # Whether the calendar has been hidden from the list. Optional. The default is False. @@ -228,19 +228,19 @@

Method Details

{ "kind": "calendar#calendarListEntry", # Type of the resource ("calendar#calendarListEntry"). - "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. Optional. + "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional. "defaultReminders": [ # The default reminders that the authenticated user has for this calendar. { - "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. + "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). "method": "A String", # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. + # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. }, ], "description": "A String", # Description of the calendar. Optional. Read-only. "deleted": false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False. - "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). Optional. + "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). This property is superseded by the backgroundColor and foregroundColor properties and can be ignored when using these properties. Optional. "selected": false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False. "notificationSettings": { # The notifications that the authenticated user is receiving for this calendar. "notifications": [ # The list of notifications set for this calendar. @@ -253,14 +253,14 @@

Method Details

# - "agenda" - An agenda with the events of the day (sent out in the morning). "method": "A String", # The method used to deliver the notification. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. + # - "sms" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. SMS reminders are only available for Google Apps for Work, Education, and Government customers. }, ], }, "primary": false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False. "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the calendar as free-form text. Optional. Read-only. - "backgroundColor": "A String", # The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. Optional. + "backgroundColor": "A String", # The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional. "summaryOverride": "A String", # The summary that the authenticated user has set for this calendar. Optional. "timeZone": "A String", # The time zone of the calendar. Optional. Read-only. "hidden": false, # Whether the calendar has been hidden from the list. Optional. The default is False. @@ -303,19 +303,19 @@

Method Details

"items": [ # Calendars that are present on the user's calendar list. { "kind": "calendar#calendarListEntry", # Type of the resource ("calendar#calendarListEntry"). - "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. Optional. + "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional. "defaultReminders": [ # The default reminders that the authenticated user has for this calendar. { - "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. + "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). "method": "A String", # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. + # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. }, ], "description": "A String", # Description of the calendar. Optional. Read-only. "deleted": false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False. - "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). Optional. + "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). This property is superseded by the backgroundColor and foregroundColor properties and can be ignored when using these properties. Optional. "selected": false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False. "notificationSettings": { # The notifications that the authenticated user is receiving for this calendar. "notifications": [ # The list of notifications set for this calendar. @@ -328,14 +328,14 @@

Method Details

# - "agenda" - An agenda with the events of the day (sent out in the morning). "method": "A String", # The method used to deliver the notification. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. + # - "sms" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. SMS reminders are only available for Google Apps for Work, Education, and Government customers. }, ], }, "primary": false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False. "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the calendar as free-form text. Optional. Read-only. - "backgroundColor": "A String", # The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. Optional. + "backgroundColor": "A String", # The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional. "summaryOverride": "A String", # The summary that the authenticated user has set for this calendar. Optional. "timeZone": "A String", # The time zone of the calendar. Optional. Read-only. "hidden": false, # Whether the calendar has been hidden from the list. Optional. The default is False. @@ -373,25 +373,25 @@

Method Details

Updates an entry on the user's calendar list. This method supports patch semantics.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
 {
     "kind": "calendar#calendarListEntry", # Type of the resource ("calendar#calendarListEntry").
-    "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. Optional.
+    "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional.
     "defaultReminders": [ # The default reminders that the authenticated user has for this calendar.
       {
-        "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger.
+        "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes).
         "method": "A String", # The method used by this reminder. Possible values are:
             # - "email" - Reminders are sent via email.
-            # - "sms" - Reminders are sent via SMS.
+            # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored.
             # - "popup" - Reminders are sent via a UI popup.
       },
     ],
     "description": "A String", # Description of the calendar. Optional. Read-only.
     "deleted": false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
-    "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). Optional.
+    "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). This property is superseded by the backgroundColor and foregroundColor properties and can be ignored when using these properties. Optional.
     "selected": false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False.
     "notificationSettings": { # The notifications that the authenticated user is receiving for this calendar.
       "notifications": [ # The list of notifications set for this calendar.
@@ -404,14 +404,14 @@ 

Method Details

# - "agenda" - An agenda with the events of the day (sent out in the morning). "method": "A String", # The method used to deliver the notification. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. + # - "sms" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. SMS reminders are only available for Google Apps for Work, Education, and Government customers. }, ], }, "primary": false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False. "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the calendar as free-form text. Optional. Read-only. - "backgroundColor": "A String", # The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. Optional. + "backgroundColor": "A String", # The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional. "summaryOverride": "A String", # The summary that the authenticated user has set for this calendar. Optional. "timeZone": "A String", # The time zone of the calendar. Optional. Read-only. "hidden": false, # Whether the calendar has been hidden from the list. Optional. The default is False. @@ -431,19 +431,19 @@

Method Details

{ "kind": "calendar#calendarListEntry", # Type of the resource ("calendar#calendarListEntry"). - "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. Optional. + "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional. "defaultReminders": [ # The default reminders that the authenticated user has for this calendar. { - "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. + "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). "method": "A String", # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. + # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. }, ], "description": "A String", # Description of the calendar. Optional. Read-only. "deleted": false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False. - "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). Optional. + "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). This property is superseded by the backgroundColor and foregroundColor properties and can be ignored when using these properties. Optional. "selected": false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False. "notificationSettings": { # The notifications that the authenticated user is receiving for this calendar. "notifications": [ # The list of notifications set for this calendar. @@ -456,14 +456,14 @@

Method Details

# - "agenda" - An agenda with the events of the day (sent out in the morning). "method": "A String", # The method used to deliver the notification. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. + # - "sms" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. SMS reminders are only available for Google Apps for Work, Education, and Government customers. }, ], }, "primary": false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False. "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the calendar as free-form text. Optional. Read-only. - "backgroundColor": "A String", # The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. Optional. + "backgroundColor": "A String", # The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional. "summaryOverride": "A String", # The summary that the authenticated user has set for this calendar. Optional. "timeZone": "A String", # The time zone of the calendar. Optional. Read-only. "hidden": false, # Whether the calendar has been hidden from the list. Optional. The default is False. @@ -482,25 +482,25 @@

Method Details

Updates an entry on the user's calendar list.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
 {
     "kind": "calendar#calendarListEntry", # Type of the resource ("calendar#calendarListEntry").
-    "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. Optional.
+    "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional.
     "defaultReminders": [ # The default reminders that the authenticated user has for this calendar.
       {
-        "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger.
+        "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes).
         "method": "A String", # The method used by this reminder. Possible values are:
             # - "email" - Reminders are sent via email.
-            # - "sms" - Reminders are sent via SMS.
+            # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored.
             # - "popup" - Reminders are sent via a UI popup.
       },
     ],
     "description": "A String", # Description of the calendar. Optional. Read-only.
     "deleted": false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False.
-    "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). Optional.
+    "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). This property is superseded by the backgroundColor and foregroundColor properties and can be ignored when using these properties. Optional.
     "selected": false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False.
     "notificationSettings": { # The notifications that the authenticated user is receiving for this calendar.
       "notifications": [ # The list of notifications set for this calendar.
@@ -513,14 +513,14 @@ 

Method Details

# - "agenda" - An agenda with the events of the day (sent out in the morning). "method": "A String", # The method used to deliver the notification. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. + # - "sms" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. SMS reminders are only available for Google Apps for Work, Education, and Government customers. }, ], }, "primary": false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False. "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the calendar as free-form text. Optional. Read-only. - "backgroundColor": "A String", # The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. Optional. + "backgroundColor": "A String", # The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional. "summaryOverride": "A String", # The summary that the authenticated user has set for this calendar. Optional. "timeZone": "A String", # The time zone of the calendar. Optional. Read-only. "hidden": false, # Whether the calendar has been hidden from the list. Optional. The default is False. @@ -540,19 +540,19 @@

Method Details

{ "kind": "calendar#calendarListEntry", # Type of the resource ("calendar#calendarListEntry"). - "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. Optional. + "foregroundColor": "A String", # The foreground color of the calendar in the hexadecimal format "#ffffff". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional. "defaultReminders": [ # The default reminders that the authenticated user has for this calendar. { - "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. + "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). "method": "A String", # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. + # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. }, ], "description": "A String", # Description of the calendar. Optional. Read-only. "deleted": false, # Whether this calendar list entry has been deleted from the calendar list. Read-only. Optional. The default is False. - "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). Optional. + "colorId": "A String", # The color of the calendar. This is an ID referring to an entry in the calendar section of the colors definition (see the colors endpoint). This property is superseded by the backgroundColor and foregroundColor properties and can be ignored when using these properties. Optional. "selected": false, # Whether the calendar content shows up in the calendar UI. Optional. The default is False. "notificationSettings": { # The notifications that the authenticated user is receiving for this calendar. "notifications": [ # The list of notifications set for this calendar. @@ -565,14 +565,14 @@

Method Details

# - "agenda" - An agenda with the events of the day (sent out in the morning). "method": "A String", # The method used to deliver the notification. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. + # - "sms" - Reminders are sent via SMS. This value is read-only and is ignored on inserts and updates. SMS reminders are only available for Google Apps for Work, Education, and Government customers. }, ], }, "primary": false, # Whether the calendar is the primary calendar of the authenticated user. Read-only. Optional. The default is False. "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the calendar as free-form text. Optional. Read-only. - "backgroundColor": "A String", # The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. Optional. + "backgroundColor": "A String", # The main color of the calendar in the hexadecimal format "#0088aa". This property supersedes the index-based colorId property. To set or change this property, you need to specify colorRgbFormat=true in the parameters of the insert, update and patch methods. Optional. "summaryOverride": "A String", # The summary that the authenticated user has set for this calendar. Optional. "timeZone": "A String", # The time zone of the calendar. Optional. Read-only. "hidden": false, # Whether the calendar has been hidden from the list. Optional. The default is False. diff --git a/docs/dyn/calendar_v3.calendars.html b/docs/dyn/calendar_v3.calendars.html index 5a967ebc3f9..2c6b0771d85 100644 --- a/docs/dyn/calendar_v3.calendars.html +++ b/docs/dyn/calendar_v3.calendars.html @@ -98,7 +98,7 @@

Method Details

Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
 
@@ -107,7 +107,7 @@

Method Details

Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
 
@@ -116,7 +116,7 @@

Method Details

Returns metadata for a calendar.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
 
 Returns:
   An object of the form:
@@ -128,7 +128,7 @@ 

Method Details

"etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the calendar as free-form text. Optional. "timeZone": "A String", # The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) Optional. - "id": "A String", # Identifier of the calendar. + "id": "A String", # Identifier of the calendar. To retrieve IDs call the calendarList.list() method. }
@@ -147,7 +147,7 @@

Method Details

"etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the calendar as free-form text. Optional. "timeZone": "A String", # The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) Optional. - "id": "A String", # Identifier of the calendar. + "id": "A String", # Identifier of the calendar. To retrieve IDs call the calendarList.list() method. } @@ -161,7 +161,7 @@

Method Details

"etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the calendar as free-form text. Optional. "timeZone": "A String", # The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) Optional. - "id": "A String", # Identifier of the calendar. + "id": "A String", # Identifier of the calendar. To retrieve IDs call the calendarList.list() method. }
@@ -170,7 +170,7 @@

Method Details

Updates metadata for a calendar. This method supports patch semantics.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
@@ -181,7 +181,7 @@ 

Method Details

"etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the calendar as free-form text. Optional. "timeZone": "A String", # The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) Optional. - "id": "A String", # Identifier of the calendar. + "id": "A String", # Identifier of the calendar. To retrieve IDs call the calendarList.list() method. } @@ -195,7 +195,7 @@

Method Details

"etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the calendar as free-form text. Optional. "timeZone": "A String", # The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) Optional. - "id": "A String", # Identifier of the calendar. + "id": "A String", # Identifier of the calendar. To retrieve IDs call the calendarList.list() method. }
@@ -204,7 +204,7 @@

Method Details

Updates metadata for a calendar.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
@@ -215,7 +215,7 @@ 

Method Details

"etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the calendar as free-form text. Optional. "timeZone": "A String", # The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) Optional. - "id": "A String", # Identifier of the calendar. + "id": "A String", # Identifier of the calendar. To retrieve IDs call the calendarList.list() method. } @@ -229,7 +229,7 @@

Method Details

"etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the calendar as free-form text. Optional. "timeZone": "A String", # The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) Optional. - "id": "A String", # Identifier of the calendar. + "id": "A String", # Identifier of the calendar. To retrieve IDs call the calendarList.list() method. }
diff --git a/docs/dyn/calendar_v3.colors.html b/docs/dyn/calendar_v3.colors.html index 6e7ca2310cc..2574cee8ea9 100644 --- a/docs/dyn/calendar_v3.colors.html +++ b/docs/dyn/calendar_v3.colors.html @@ -88,14 +88,14 @@

Method Details

An object of the form: { - "calendar": { # Palette of calendar colors, mapping from the color ID to its definition. A calendarListEntry resource refers to one of these color IDs in its color field. Read-only. + "calendar": { # A global palette of calendar colors, mapping from the color ID to its definition. A calendarListEntry resource refers to one of these color IDs in its color field. Read-only. "a_key": { # A calendar color defintion. "foreground": "A String", # The foreground color that can be used to write on top of a background with 'background' color. "background": "A String", # The background color associated with this color definition. }, }, - "updated": "A String", # Last modification time of the color palette (as a RFC 3339 timestamp). Read-only. - "event": { # Palette of event colors, mapping from the color ID to its definition. An event resource may refer to one of these color IDs in its color field. Read-only. + "updated": "A String", # Last modification time of the color palette (as a RFC3339 timestamp). Read-only. + "event": { # A global palette of event colors, mapping from the color ID to its definition. An event resource may refer to one of these color IDs in its color field. Read-only. "a_key": { # An event color definition. "foreground": "A String", # The foreground color that can be used to write on top of a background with 'background' color. "background": "A String", # The background color associated with this color definition. diff --git a/docs/dyn/calendar_v3.events.html b/docs/dyn/calendar_v3.events.html index 746c45cb8f9..9021ef41560 100644 --- a/docs/dyn/calendar_v3.events.html +++ b/docs/dyn/calendar_v3.events.html @@ -81,10 +81,10 @@

Instance Methods

get(calendarId, eventId, alwaysIncludeEmail=None, timeZone=None, maxAttendees=None)

Returns an event.

- import_(calendarId, body)

+ import_(calendarId, body, supportsAttachments=None)

Imports an event. This operation is used to add a private copy of an existing event to a calendar.

- insert(calendarId, body, sendNotifications=None, maxAttendees=None)

+ insert(calendarId, body, sendNotifications=None, supportsAttachments=None, maxAttendees=None)

Creates an event.

instances(calendarId, eventId, timeMin=None, showDeleted=None, alwaysIncludeEmail=None, pageToken=None, maxAttendees=None, maxResults=None, timeMax=None, timeZone=None, originalStart=None)

@@ -102,13 +102,13 @@

Instance Methods

move(calendarId, eventId, destination, sendNotifications=None)

Moves an event to another calendar, i.e. changes an event's organizer.

- patch(calendarId, eventId, body, sendNotifications=None, alwaysIncludeEmail=None, maxAttendees=None)

+ patch(calendarId, eventId, body, sendNotifications=None, alwaysIncludeEmail=None, supportsAttachments=None, maxAttendees=None)

Updates an event. This method supports patch semantics.

quickAdd(calendarId, text, sendNotifications=None)

Creates an event based on a simple text string.

- update(calendarId, eventId, body, sendNotifications=None, alwaysIncludeEmail=None, maxAttendees=None)

+ update(calendarId, eventId, body, sendNotifications=None, alwaysIncludeEmail=None, supportsAttachments=None, maxAttendees=None)

Updates an event.

watch(calendarId, body, orderBy=None, showHiddenInvitations=None, timeMin=None, privateExtendedProperty=None, pageToken=None, updatedMin=None, singleEvents=None, alwaysIncludeEmail=None, showDeleted=None, sharedExtendedProperty=None, maxAttendees=None, syncToken=None, iCalUID=None, maxResults=None, timeMax=None, q=None, timeZone=None)

@@ -119,7 +119,7 @@

Method Details

Deletes an event.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   eventId: string, Event identifier. (required)
   sendNotifications: boolean, Whether to send notifications about the deletion of the event. Optional. The default is False.
 
@@ -130,7 +130,7 @@

Method Details

Returns an event.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   eventId: string, Event identifier. (required)
   alwaysIncludeEmail: boolean, Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.
   timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
@@ -140,25 +140,40 @@ 

Method Details

An object of the form: { + "attachments": [ # File attachments for the event. Currently only Google Drive attachments are supported. + # In order to modify attachments the supportsAttachments request parameter should be set to true. + # There can be at most 25 attachments per event, + { + "mimeType": "A String", # Internet media type (MIME type) of the attachment. + "title": "A String", # Attachment title. + "fileUrl": "A String", # URL link to the attachment. + # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API. + "iconLink": "A String", # URL link to the attachment's icon. Read-only. + "fileId": "A String", # ID of the attached file. Read-only. + # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API. + }, + ], "creator": { # The creator of the event. Read-only. "self": false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False. "displayName": "A String", # The creator's name, if available. "email": "A String", # The creator's email address, if available. - "id": "A String", # The creator's Profile ID, if available. + "id": "A String", # The creator's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API }, "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event. "self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False. "displayName": "A String", # The organizer's name, if available. - "email": "A String", # The organizer's email address, if available. - "id": "A String", # The organizer's Profile ID, if available. + "email": "A String", # The organizer's email address, if available. It must be a valid email address as per RFC5322. + "id": "A String", # The organizer's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API }, "summary": "A String", # Title of the event. - "id": "A String", # Identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: + "id": "A String", # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938 # - the length of the ID must be between 5 and 1024 characters # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122. + # If you do not specify an ID, it will be automatically generated by the server. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "hangoutLink": "A String", # An absolute link to the Google+ hangout associated with this event. Read-only. - "attendees": [ # The attendees of the event. + "attendees": [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. { "comment": "A String", # The attendee's response comment. Optional. "displayName": "A String", # The attendee's name, if available. Optional. @@ -168,51 +183,52 @@

Method Details

# - "tentative" - The attendee has tentatively accepted the invitation. # - "accepted" - The attendee has accepted the invitation. "self": false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False. - "id": "A String", # The attendee's Profile ID, if available. + "id": "A String", # The attendee's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API "additionalGuests": 0, # Number of additional guests. Optional. The default is 0. "resource": false, # Whether the attendee is a resource. Read-only. The default is False. "organizer": True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False. "optional": false, # Whether this is an optional attendee. Optional. The default is False. - "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. + "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322. }, ], "start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only. - "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events. + "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events. "A String", ], - "source": { # Source of an event from which it was created; for example a web page, an email message or any document identifiable by an URL using HTTP/HTTPS protocol. Accessible only by the creator of the event. - "url": "A String", # URL of the source pointing to a resource. URL's protocol must be HTTP or HTTPS. + "source": { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event. + "url": "A String", # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS. "title": "A String", # Title of the source; for example a title of a web page or an email subject. }, "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the event as free-form text. Optional. - "recurringEventId": "A String", # For an instance of a recurring event, this is the event ID of the recurring event itself. Immutable. + "recurringEventId": "A String", # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable. "gadget": { # A gadget that extends this event. "preferences": { # Preferences. "a_key": "A String", # The preference name and corresponding value. }, "title": "A String", # The gadget's title. - "height": 42, # The gadget's height in pixels. Optional. - "width": 42, # The gadget's width in pixels. Optional. - "link": "A String", # The gadget's URL. + "height": 42, # The gadget's height in pixels. The height must be an integer greater than 0. Optional. + "width": 42, # The gadget's width in pixels. The width must be an integer greater than 0. Optional. + "link": "A String", # The gadget's URL. The URL scheme must be HTTPS. "type": "A String", # The gadget's type. "display": "A String", # The gadget's display mode. Optional. Possible values are: # - "icon" - The gadget displays next to the event's title in the calendar view. # - "chip" - The gadget displays when the event is clicked. - "iconLink": "A String", # The gadget's icon URL. + "iconLink": "A String", # The gadget's icon URL. The URL scheme must be HTTPS. }, "status": "A String", # Status of the event. Optional. Possible values are: # - "confirmed" - The event is confirmed. This is the default status. # - "tentative" - The event is tentatively confirmed. # - "cancelled" - The event is cancelled. - "updated": "A String", # Last modification time of the event (as a RFC 3339 timestamp). Read-only. + "updated": "A String", # Last modification time of the event (as a RFC3339 timestamp). Read-only. "description": "A String", # Description of the event. Optional. - "iCalUID": "A String", # Event ID in the iCalendar format. + "iCalUID": "A String", # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "extendedProperties": { # Extended properties of the event. "shared": { # Properties that are shared between copies of the event on other attendees' calendars. "a_key": "A String", # The name of the shared property and the corresponding value. @@ -232,21 +248,21 @@

Method Details

"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "attendeesOmitted": false, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False. "kind": "calendar#event", # Type of the resource ("calendar#event"). "locked": false, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only. - "created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only. + "created": "A String", # Creation time of the event (as a RFC3339 timestamp). Read-only. "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional. "anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False. "reminders": { # Information about the event's reminders for the authenticated user. - "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. + "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5. { - "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. + "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). "method": "A String", # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. + # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. }, ], @@ -256,7 +272,7 @@

Method Details

"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True. "transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are: @@ -267,34 +283,49 @@

Method Details

- import_(calendarId, body) + import_(calendarId, body, supportsAttachments=None)
Imports an event. This operation is used to add a private copy of an existing event to a calendar.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
 {
+    "attachments": [ # File attachments for the event. Currently only Google Drive attachments are supported.
+        # In order to modify attachments the supportsAttachments request parameter should be set to true.
+        # There can be at most 25 attachments per event,
+      {
+        "mimeType": "A String", # Internet media type (MIME type) of the attachment.
+        "title": "A String", # Attachment title.
+        "fileUrl": "A String", # URL link to the attachment.
+            # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
+        "iconLink": "A String", # URL link to the attachment's icon. Read-only.
+        "fileId": "A String", # ID of the attached file. Read-only.
+            # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
+      },
+    ],
     "creator": { # The creator of the event. Read-only.
       "self": false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
       "displayName": "A String", # The creator's name, if available.
       "email": "A String", # The creator's email address, if available.
-      "id": "A String", # The creator's Profile ID, if available.
+      "id": "A String", # The creator's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API
     },
     "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
       "self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
       "displayName": "A String", # The organizer's name, if available.
-      "email": "A String", # The organizer's email address, if available.
-      "id": "A String", # The organizer's Profile ID, if available.
+      "email": "A String", # The organizer's email address, if available. It must be a valid email address as per RFC5322.
+      "id": "A String", # The organizer's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API
     },
     "summary": "A String", # Title of the event.
-    "id": "A String", # Identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
+    "id": "A String", # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
         # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938
         # - the length of the ID must be between 5 and 1024 characters
         # - the ID must be unique per calendar  Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.
+        # If you do not specify an ID, it will be automatically generated by the server.
+        # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
     "hangoutLink": "A String", # An absolute link to the Google+ hangout associated with this event. Read-only.
-    "attendees": [ # The attendees of the event.
+    "attendees": [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
       {
         "comment": "A String", # The attendee's response comment. Optional.
         "displayName": "A String", # The attendee's name, if available. Optional.
@@ -304,51 +335,52 @@ 

Method Details

# - "tentative" - The attendee has tentatively accepted the invitation. # - "accepted" - The attendee has accepted the invitation. "self": false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False. - "id": "A String", # The attendee's Profile ID, if available. + "id": "A String", # The attendee's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API "additionalGuests": 0, # Number of additional guests. Optional. The default is 0. "resource": false, # Whether the attendee is a resource. Read-only. The default is False. "organizer": True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False. "optional": false, # Whether this is an optional attendee. Optional. The default is False. - "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. + "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322. }, ], "start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only. - "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events. + "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events. "A String", ], - "source": { # Source of an event from which it was created; for example a web page, an email message or any document identifiable by an URL using HTTP/HTTPS protocol. Accessible only by the creator of the event. - "url": "A String", # URL of the source pointing to a resource. URL's protocol must be HTTP or HTTPS. + "source": { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event. + "url": "A String", # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS. "title": "A String", # Title of the source; for example a title of a web page or an email subject. }, "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the event as free-form text. Optional. - "recurringEventId": "A String", # For an instance of a recurring event, this is the event ID of the recurring event itself. Immutable. + "recurringEventId": "A String", # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable. "gadget": { # A gadget that extends this event. "preferences": { # Preferences. "a_key": "A String", # The preference name and corresponding value. }, "title": "A String", # The gadget's title. - "height": 42, # The gadget's height in pixels. Optional. - "width": 42, # The gadget's width in pixels. Optional. - "link": "A String", # The gadget's URL. + "height": 42, # The gadget's height in pixels. The height must be an integer greater than 0. Optional. + "width": 42, # The gadget's width in pixels. The width must be an integer greater than 0. Optional. + "link": "A String", # The gadget's URL. The URL scheme must be HTTPS. "type": "A String", # The gadget's type. "display": "A String", # The gadget's display mode. Optional. Possible values are: # - "icon" - The gadget displays next to the event's title in the calendar view. # - "chip" - The gadget displays when the event is clicked. - "iconLink": "A String", # The gadget's icon URL. + "iconLink": "A String", # The gadget's icon URL. The URL scheme must be HTTPS. }, "status": "A String", # Status of the event. Optional. Possible values are: # - "confirmed" - The event is confirmed. This is the default status. # - "tentative" - The event is tentatively confirmed. # - "cancelled" - The event is cancelled. - "updated": "A String", # Last modification time of the event (as a RFC 3339 timestamp). Read-only. + "updated": "A String", # Last modification time of the event (as a RFC3339 timestamp). Read-only. "description": "A String", # Description of the event. Optional. - "iCalUID": "A String", # Event ID in the iCalendar format. + "iCalUID": "A String", # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "extendedProperties": { # Extended properties of the event. "shared": { # Properties that are shared between copies of the event on other attendees' calendars. "a_key": "A String", # The name of the shared property and the corresponding value. @@ -368,21 +400,21 @@

Method Details

"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "attendeesOmitted": false, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False. "kind": "calendar#event", # Type of the resource ("calendar#event"). "locked": false, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only. - "created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only. + "created": "A String", # Creation time of the event (as a RFC3339 timestamp). Read-only. "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional. "anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False. "reminders": { # Information about the event's reminders for the authenticated user. - "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. + "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5. { - "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. + "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). "method": "A String", # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. + # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. }, ], @@ -392,7 +424,7 @@

Method Details

"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True. "transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are: @@ -401,30 +433,46 @@

Method Details

"privateCopy": false, # Whether this is a private event copy where changes are not shared with other copies on other calendars. Optional. Immutable. The default is False. } + supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False. Returns: An object of the form: { + "attachments": [ # File attachments for the event. Currently only Google Drive attachments are supported. + # In order to modify attachments the supportsAttachments request parameter should be set to true. + # There can be at most 25 attachments per event, + { + "mimeType": "A String", # Internet media type (MIME type) of the attachment. + "title": "A String", # Attachment title. + "fileUrl": "A String", # URL link to the attachment. + # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API. + "iconLink": "A String", # URL link to the attachment's icon. Read-only. + "fileId": "A String", # ID of the attached file. Read-only. + # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API. + }, + ], "creator": { # The creator of the event. Read-only. "self": false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False. "displayName": "A String", # The creator's name, if available. "email": "A String", # The creator's email address, if available. - "id": "A String", # The creator's Profile ID, if available. + "id": "A String", # The creator's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API }, "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event. "self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False. "displayName": "A String", # The organizer's name, if available. - "email": "A String", # The organizer's email address, if available. - "id": "A String", # The organizer's Profile ID, if available. + "email": "A String", # The organizer's email address, if available. It must be a valid email address as per RFC5322. + "id": "A String", # The organizer's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API }, "summary": "A String", # Title of the event. - "id": "A String", # Identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: + "id": "A String", # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938 # - the length of the ID must be between 5 and 1024 characters # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122. + # If you do not specify an ID, it will be automatically generated by the server. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "hangoutLink": "A String", # An absolute link to the Google+ hangout associated with this event. Read-only. - "attendees": [ # The attendees of the event. + "attendees": [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. { "comment": "A String", # The attendee's response comment. Optional. "displayName": "A String", # The attendee's name, if available. Optional. @@ -434,51 +482,52 @@

Method Details

# - "tentative" - The attendee has tentatively accepted the invitation. # - "accepted" - The attendee has accepted the invitation. "self": false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False. - "id": "A String", # The attendee's Profile ID, if available. + "id": "A String", # The attendee's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API "additionalGuests": 0, # Number of additional guests. Optional. The default is 0. "resource": false, # Whether the attendee is a resource. Read-only. The default is False. "organizer": True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False. "optional": false, # Whether this is an optional attendee. Optional. The default is False. - "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. + "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322. }, ], "start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only. - "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events. + "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events. "A String", ], - "source": { # Source of an event from which it was created; for example a web page, an email message or any document identifiable by an URL using HTTP/HTTPS protocol. Accessible only by the creator of the event. - "url": "A String", # URL of the source pointing to a resource. URL's protocol must be HTTP or HTTPS. + "source": { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event. + "url": "A String", # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS. "title": "A String", # Title of the source; for example a title of a web page or an email subject. }, "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the event as free-form text. Optional. - "recurringEventId": "A String", # For an instance of a recurring event, this is the event ID of the recurring event itself. Immutable. + "recurringEventId": "A String", # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable. "gadget": { # A gadget that extends this event. "preferences": { # Preferences. "a_key": "A String", # The preference name and corresponding value. }, "title": "A String", # The gadget's title. - "height": 42, # The gadget's height in pixels. Optional. - "width": 42, # The gadget's width in pixels. Optional. - "link": "A String", # The gadget's URL. + "height": 42, # The gadget's height in pixels. The height must be an integer greater than 0. Optional. + "width": 42, # The gadget's width in pixels. The width must be an integer greater than 0. Optional. + "link": "A String", # The gadget's URL. The URL scheme must be HTTPS. "type": "A String", # The gadget's type. "display": "A String", # The gadget's display mode. Optional. Possible values are: # - "icon" - The gadget displays next to the event's title in the calendar view. # - "chip" - The gadget displays when the event is clicked. - "iconLink": "A String", # The gadget's icon URL. + "iconLink": "A String", # The gadget's icon URL. The URL scheme must be HTTPS. }, "status": "A String", # Status of the event. Optional. Possible values are: # - "confirmed" - The event is confirmed. This is the default status. # - "tentative" - The event is tentatively confirmed. # - "cancelled" - The event is cancelled. - "updated": "A String", # Last modification time of the event (as a RFC 3339 timestamp). Read-only. + "updated": "A String", # Last modification time of the event (as a RFC3339 timestamp). Read-only. "description": "A String", # Description of the event. Optional. - "iCalUID": "A String", # Event ID in the iCalendar format. + "iCalUID": "A String", # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "extendedProperties": { # Extended properties of the event. "shared": { # Properties that are shared between copies of the event on other attendees' calendars. "a_key": "A String", # The name of the shared property and the corresponding value. @@ -498,21 +547,21 @@

Method Details

"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "attendeesOmitted": false, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False. "kind": "calendar#event", # Type of the resource ("calendar#event"). "locked": false, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only. - "created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only. + "created": "A String", # Creation time of the event (as a RFC3339 timestamp). Read-only. "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional. "anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False. "reminders": { # Information about the event's reminders for the authenticated user. - "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. + "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5. { - "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. + "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). "method": "A String", # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. + # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. }, ], @@ -522,7 +571,7 @@

Method Details

"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True. "transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are: @@ -533,34 +582,49 @@

Method Details

- insert(calendarId, body, sendNotifications=None, maxAttendees=None) + insert(calendarId, body, sendNotifications=None, supportsAttachments=None, maxAttendees=None)
Creates an event.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
 {
+    "attachments": [ # File attachments for the event. Currently only Google Drive attachments are supported.
+        # In order to modify attachments the supportsAttachments request parameter should be set to true.
+        # There can be at most 25 attachments per event,
+      {
+        "mimeType": "A String", # Internet media type (MIME type) of the attachment.
+        "title": "A String", # Attachment title.
+        "fileUrl": "A String", # URL link to the attachment.
+            # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
+        "iconLink": "A String", # URL link to the attachment's icon. Read-only.
+        "fileId": "A String", # ID of the attached file. Read-only.
+            # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
+      },
+    ],
     "creator": { # The creator of the event. Read-only.
       "self": false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
       "displayName": "A String", # The creator's name, if available.
       "email": "A String", # The creator's email address, if available.
-      "id": "A String", # The creator's Profile ID, if available.
+      "id": "A String", # The creator's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API
     },
     "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
       "self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
       "displayName": "A String", # The organizer's name, if available.
-      "email": "A String", # The organizer's email address, if available.
-      "id": "A String", # The organizer's Profile ID, if available.
+      "email": "A String", # The organizer's email address, if available. It must be a valid email address as per RFC5322.
+      "id": "A String", # The organizer's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API
     },
     "summary": "A String", # Title of the event.
-    "id": "A String", # Identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
+    "id": "A String", # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
         # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938
         # - the length of the ID must be between 5 and 1024 characters
         # - the ID must be unique per calendar  Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.
+        # If you do not specify an ID, it will be automatically generated by the server.
+        # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
     "hangoutLink": "A String", # An absolute link to the Google+ hangout associated with this event. Read-only.
-    "attendees": [ # The attendees of the event.
+    "attendees": [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
       {
         "comment": "A String", # The attendee's response comment. Optional.
         "displayName": "A String", # The attendee's name, if available. Optional.
@@ -570,51 +634,52 @@ 

Method Details

# - "tentative" - The attendee has tentatively accepted the invitation. # - "accepted" - The attendee has accepted the invitation. "self": false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False. - "id": "A String", # The attendee's Profile ID, if available. + "id": "A String", # The attendee's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API "additionalGuests": 0, # Number of additional guests. Optional. The default is 0. "resource": false, # Whether the attendee is a resource. Read-only. The default is False. "organizer": True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False. "optional": false, # Whether this is an optional attendee. Optional. The default is False. - "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. + "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322. }, ], "start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only. - "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events. + "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events. "A String", ], - "source": { # Source of an event from which it was created; for example a web page, an email message or any document identifiable by an URL using HTTP/HTTPS protocol. Accessible only by the creator of the event. - "url": "A String", # URL of the source pointing to a resource. URL's protocol must be HTTP or HTTPS. + "source": { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event. + "url": "A String", # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS. "title": "A String", # Title of the source; for example a title of a web page or an email subject. }, "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the event as free-form text. Optional. - "recurringEventId": "A String", # For an instance of a recurring event, this is the event ID of the recurring event itself. Immutable. + "recurringEventId": "A String", # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable. "gadget": { # A gadget that extends this event. "preferences": { # Preferences. "a_key": "A String", # The preference name and corresponding value. }, "title": "A String", # The gadget's title. - "height": 42, # The gadget's height in pixels. Optional. - "width": 42, # The gadget's width in pixels. Optional. - "link": "A String", # The gadget's URL. + "height": 42, # The gadget's height in pixels. The height must be an integer greater than 0. Optional. + "width": 42, # The gadget's width in pixels. The width must be an integer greater than 0. Optional. + "link": "A String", # The gadget's URL. The URL scheme must be HTTPS. "type": "A String", # The gadget's type. "display": "A String", # The gadget's display mode. Optional. Possible values are: # - "icon" - The gadget displays next to the event's title in the calendar view. # - "chip" - The gadget displays when the event is clicked. - "iconLink": "A String", # The gadget's icon URL. + "iconLink": "A String", # The gadget's icon URL. The URL scheme must be HTTPS. }, "status": "A String", # Status of the event. Optional. Possible values are: # - "confirmed" - The event is confirmed. This is the default status. # - "tentative" - The event is tentatively confirmed. # - "cancelled" - The event is cancelled. - "updated": "A String", # Last modification time of the event (as a RFC 3339 timestamp). Read-only. + "updated": "A String", # Last modification time of the event (as a RFC3339 timestamp). Read-only. "description": "A String", # Description of the event. Optional. - "iCalUID": "A String", # Event ID in the iCalendar format. + "iCalUID": "A String", # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "extendedProperties": { # Extended properties of the event. "shared": { # Properties that are shared between copies of the event on other attendees' calendars. "a_key": "A String", # The name of the shared property and the corresponding value. @@ -634,21 +699,21 @@

Method Details

"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "attendeesOmitted": false, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False. "kind": "calendar#event", # Type of the resource ("calendar#event"). "locked": false, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only. - "created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only. + "created": "A String", # Creation time of the event (as a RFC3339 timestamp). Read-only. "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional. "anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False. "reminders": { # Information about the event's reminders for the authenticated user. - "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. + "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5. { - "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. + "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). "method": "A String", # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. + # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. }, ], @@ -658,7 +723,7 @@

Method Details

"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True. "transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are: @@ -668,31 +733,47 @@

Method Details

} sendNotifications: boolean, Whether to send notifications about the creation of the new event. Optional. The default is False. + supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False. maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional. Returns: An object of the form: { + "attachments": [ # File attachments for the event. Currently only Google Drive attachments are supported. + # In order to modify attachments the supportsAttachments request parameter should be set to true. + # There can be at most 25 attachments per event, + { + "mimeType": "A String", # Internet media type (MIME type) of the attachment. + "title": "A String", # Attachment title. + "fileUrl": "A String", # URL link to the attachment. + # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API. + "iconLink": "A String", # URL link to the attachment's icon. Read-only. + "fileId": "A String", # ID of the attached file. Read-only. + # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API. + }, + ], "creator": { # The creator of the event. Read-only. "self": false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False. "displayName": "A String", # The creator's name, if available. "email": "A String", # The creator's email address, if available. - "id": "A String", # The creator's Profile ID, if available. + "id": "A String", # The creator's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API }, "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event. "self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False. "displayName": "A String", # The organizer's name, if available. - "email": "A String", # The organizer's email address, if available. - "id": "A String", # The organizer's Profile ID, if available. + "email": "A String", # The organizer's email address, if available. It must be a valid email address as per RFC5322. + "id": "A String", # The organizer's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API }, "summary": "A String", # Title of the event. - "id": "A String", # Identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: + "id": "A String", # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938 # - the length of the ID must be between 5 and 1024 characters # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122. + # If you do not specify an ID, it will be automatically generated by the server. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "hangoutLink": "A String", # An absolute link to the Google+ hangout associated with this event. Read-only. - "attendees": [ # The attendees of the event. + "attendees": [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. { "comment": "A String", # The attendee's response comment. Optional. "displayName": "A String", # The attendee's name, if available. Optional. @@ -702,51 +783,52 @@

Method Details

# - "tentative" - The attendee has tentatively accepted the invitation. # - "accepted" - The attendee has accepted the invitation. "self": false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False. - "id": "A String", # The attendee's Profile ID, if available. + "id": "A String", # The attendee's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API "additionalGuests": 0, # Number of additional guests. Optional. The default is 0. "resource": false, # Whether the attendee is a resource. Read-only. The default is False. "organizer": True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False. "optional": false, # Whether this is an optional attendee. Optional. The default is False. - "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. + "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322. }, ], "start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only. - "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events. + "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events. "A String", ], - "source": { # Source of an event from which it was created; for example a web page, an email message or any document identifiable by an URL using HTTP/HTTPS protocol. Accessible only by the creator of the event. - "url": "A String", # URL of the source pointing to a resource. URL's protocol must be HTTP or HTTPS. + "source": { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event. + "url": "A String", # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS. "title": "A String", # Title of the source; for example a title of a web page or an email subject. }, "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the event as free-form text. Optional. - "recurringEventId": "A String", # For an instance of a recurring event, this is the event ID of the recurring event itself. Immutable. + "recurringEventId": "A String", # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable. "gadget": { # A gadget that extends this event. "preferences": { # Preferences. "a_key": "A String", # The preference name and corresponding value. }, "title": "A String", # The gadget's title. - "height": 42, # The gadget's height in pixels. Optional. - "width": 42, # The gadget's width in pixels. Optional. - "link": "A String", # The gadget's URL. + "height": 42, # The gadget's height in pixels. The height must be an integer greater than 0. Optional. + "width": 42, # The gadget's width in pixels. The width must be an integer greater than 0. Optional. + "link": "A String", # The gadget's URL. The URL scheme must be HTTPS. "type": "A String", # The gadget's type. "display": "A String", # The gadget's display mode. Optional. Possible values are: # - "icon" - The gadget displays next to the event's title in the calendar view. # - "chip" - The gadget displays when the event is clicked. - "iconLink": "A String", # The gadget's icon URL. + "iconLink": "A String", # The gadget's icon URL. The URL scheme must be HTTPS. }, "status": "A String", # Status of the event. Optional. Possible values are: # - "confirmed" - The event is confirmed. This is the default status. # - "tentative" - The event is tentatively confirmed. # - "cancelled" - The event is cancelled. - "updated": "A String", # Last modification time of the event (as a RFC 3339 timestamp). Read-only. + "updated": "A String", # Last modification time of the event (as a RFC3339 timestamp). Read-only. "description": "A String", # Description of the event. Optional. - "iCalUID": "A String", # Event ID in the iCalendar format. + "iCalUID": "A String", # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "extendedProperties": { # Extended properties of the event. "shared": { # Properties that are shared between copies of the event on other attendees' calendars. "a_key": "A String", # The name of the shared property and the corresponding value. @@ -766,21 +848,21 @@

Method Details

"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "attendeesOmitted": false, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False. "kind": "calendar#event", # Type of the resource ("calendar#event"). "locked": false, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only. - "created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only. + "created": "A String", # Creation time of the event (as a RFC3339 timestamp). Read-only. "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional. "anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False. "reminders": { # Information about the event's reminders for the authenticated user. - "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. + "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5. { - "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. + "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). "method": "A String", # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. + # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. }, ], @@ -790,7 +872,7 @@

Method Details

"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True. "transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are: @@ -805,15 +887,15 @@

Method Details

Returns instances of the specified recurring event.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   eventId: string, Recurring event identifier. (required)
-  timeMin: string, Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time.
+  timeMin: string, Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset.
   showDeleted: boolean, Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events will still be included if singleEvents is False. Optional. The default is False.
   alwaysIncludeEmail: boolean, Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.
   pageToken: string, Token specifying which result page to return. Optional.
   maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.
   maxResults: integer, Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.
-  timeMax: string, Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time.
+  timeMax: string, Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with mandatory time zone offset.
   timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar.
   originalStart: string, The original start time of the instance in the result. Optional.
 
@@ -825,35 +907,50 @@ 

Method Details

"kind": "calendar#events", # Type of the collection ("calendar#events"). "defaultReminders": [ # The default reminders on the calendar for the authenticated user. These reminders apply to all events on this calendar that do not explicitly override them (i.e. do not have reminders.useDefault set to True). { - "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. + "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). "method": "A String", # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. + # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. }, ], "description": "A String", # Description of the calendar. Read-only. "items": [ # List of events on the calendar. { + "attachments": [ # File attachments for the event. Currently only Google Drive attachments are supported. + # In order to modify attachments the supportsAttachments request parameter should be set to true. + # There can be at most 25 attachments per event, + { + "mimeType": "A String", # Internet media type (MIME type) of the attachment. + "title": "A String", # Attachment title. + "fileUrl": "A String", # URL link to the attachment. + # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API. + "iconLink": "A String", # URL link to the attachment's icon. Read-only. + "fileId": "A String", # ID of the attached file. Read-only. + # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API. + }, + ], "creator": { # The creator of the event. Read-only. "self": false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False. "displayName": "A String", # The creator's name, if available. "email": "A String", # The creator's email address, if available. - "id": "A String", # The creator's Profile ID, if available. + "id": "A String", # The creator's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API }, "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event. "self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False. "displayName": "A String", # The organizer's name, if available. - "email": "A String", # The organizer's email address, if available. - "id": "A String", # The organizer's Profile ID, if available. + "email": "A String", # The organizer's email address, if available. It must be a valid email address as per RFC5322. + "id": "A String", # The organizer's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API }, "summary": "A String", # Title of the event. - "id": "A String", # Identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: + "id": "A String", # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938 # - the length of the ID must be between 5 and 1024 characters # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122. + # If you do not specify an ID, it will be automatically generated by the server. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "hangoutLink": "A String", # An absolute link to the Google+ hangout associated with this event. Read-only. - "attendees": [ # The attendees of the event. + "attendees": [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. { "comment": "A String", # The attendee's response comment. Optional. "displayName": "A String", # The attendee's name, if available. Optional. @@ -863,51 +960,52 @@

Method Details

# - "tentative" - The attendee has tentatively accepted the invitation. # - "accepted" - The attendee has accepted the invitation. "self": false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False. - "id": "A String", # The attendee's Profile ID, if available. + "id": "A String", # The attendee's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API "additionalGuests": 0, # Number of additional guests. Optional. The default is 0. "resource": false, # Whether the attendee is a resource. Read-only. The default is False. "organizer": True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False. "optional": false, # Whether this is an optional attendee. Optional. The default is False. - "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. + "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322. }, ], "start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only. - "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events. + "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events. "A String", ], - "source": { # Source of an event from which it was created; for example a web page, an email message or any document identifiable by an URL using HTTP/HTTPS protocol. Accessible only by the creator of the event. - "url": "A String", # URL of the source pointing to a resource. URL's protocol must be HTTP or HTTPS. + "source": { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event. + "url": "A String", # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS. "title": "A String", # Title of the source; for example a title of a web page or an email subject. }, "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the event as free-form text. Optional. - "recurringEventId": "A String", # For an instance of a recurring event, this is the event ID of the recurring event itself. Immutable. + "recurringEventId": "A String", # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable. "gadget": { # A gadget that extends this event. "preferences": { # Preferences. "a_key": "A String", # The preference name and corresponding value. }, "title": "A String", # The gadget's title. - "height": 42, # The gadget's height in pixels. Optional. - "width": 42, # The gadget's width in pixels. Optional. - "link": "A String", # The gadget's URL. + "height": 42, # The gadget's height in pixels. The height must be an integer greater than 0. Optional. + "width": 42, # The gadget's width in pixels. The width must be an integer greater than 0. Optional. + "link": "A String", # The gadget's URL. The URL scheme must be HTTPS. "type": "A String", # The gadget's type. "display": "A String", # The gadget's display mode. Optional. Possible values are: # - "icon" - The gadget displays next to the event's title in the calendar view. # - "chip" - The gadget displays when the event is clicked. - "iconLink": "A String", # The gadget's icon URL. + "iconLink": "A String", # The gadget's icon URL. The URL scheme must be HTTPS. }, "status": "A String", # Status of the event. Optional. Possible values are: # - "confirmed" - The event is confirmed. This is the default status. # - "tentative" - The event is tentatively confirmed. # - "cancelled" - The event is cancelled. - "updated": "A String", # Last modification time of the event (as a RFC 3339 timestamp). Read-only. + "updated": "A String", # Last modification time of the event (as a RFC3339 timestamp). Read-only. "description": "A String", # Description of the event. Optional. - "iCalUID": "A String", # Event ID in the iCalendar format. + "iCalUID": "A String", # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "extendedProperties": { # Extended properties of the event. "shared": { # Properties that are shared between copies of the event on other attendees' calendars. "a_key": "A String", # The name of the shared property and the corresponding value. @@ -927,21 +1025,21 @@

Method Details

"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "attendeesOmitted": false, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False. "kind": "calendar#event", # Type of the resource ("calendar#event"). "locked": false, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only. - "created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only. + "created": "A String", # Creation time of the event (as a RFC3339 timestamp). Read-only. "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional. "anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False. "reminders": { # Information about the event's reminders for the authenticated user. - "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. + "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5. { - "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. + "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). "method": "A String", # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. + # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. }, ], @@ -951,7 +1049,7 @@

Method Details

"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True. "transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are: @@ -960,7 +1058,7 @@

Method Details

"privateCopy": false, # Whether this is a private event copy where changes are not shared with other copies on other calendars. Optional. Immutable. The default is False. }, ], - "updated": "A String", # Last modification time of the calendar (as a RFC 3339 timestamp). Read-only. + "updated": "A String", # Last modification time of the calendar (as a RFC3339 timestamp). Read-only. "summary": "A String", # Title of the calendar. Read-only. "etag": "A String", # ETag of the collection. "timeZone": "A String", # The time zone of the calendar. Read-only. @@ -993,16 +1091,16 @@

Method Details

Returns events on the specified calendar.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   orderBy: string, The order of the events returned in the result. Optional. The default is an unspecified, stable order.
     Allowed values
       startTime - Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)
       updated - Order by last modification time (ascending).
   showHiddenInvitations: boolean, Whether to include hidden invitations in the result. Optional. The default is False.
-  timeMin: string, Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time.
+  timeMin: string, Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but will be ignored.
   privateExtendedProperty: string, Extended properties constraint specified as propertyName=value. Matches only private properties. This parameter might be repeated multiple times to return events that match all given constraints. (repeated)
   pageToken: string, Token specifying which result page to return. Optional.
-  updatedMin: string, Lower bound for an event's last modification time (as a RFC 3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.
+  updatedMin: string, Lower bound for an event's last modification time (as a RFC3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.
   singleEvents: boolean, Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring events themselves. Optional. The default is False.
   alwaysIncludeEmail: boolean, Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False.
   showDeleted: boolean, Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be included if showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only single instances of deleted events (but not the underlying recurring events) are returned. Optional. The default is False.
@@ -1024,7 +1122,7 @@ 

Method Details

Optional. The default is to return all entries. iCalUID: string, Specifies event ID in the iCalendar format to be included in the response. Optional. maxResults: integer, Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional. - timeMax: string, Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. + timeMax: string, Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but will be ignored. q: string, Free text search terms to find events that match these terms in any field, except for extended properties. Optional. timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar. @@ -1036,35 +1134,50 @@

Method Details

"kind": "calendar#events", # Type of the collection ("calendar#events"). "defaultReminders": [ # The default reminders on the calendar for the authenticated user. These reminders apply to all events on this calendar that do not explicitly override them (i.e. do not have reminders.useDefault set to True). { - "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. + "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). "method": "A String", # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. + # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. }, ], "description": "A String", # Description of the calendar. Read-only. "items": [ # List of events on the calendar. { + "attachments": [ # File attachments for the event. Currently only Google Drive attachments are supported. + # In order to modify attachments the supportsAttachments request parameter should be set to true. + # There can be at most 25 attachments per event, + { + "mimeType": "A String", # Internet media type (MIME type) of the attachment. + "title": "A String", # Attachment title. + "fileUrl": "A String", # URL link to the attachment. + # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API. + "iconLink": "A String", # URL link to the attachment's icon. Read-only. + "fileId": "A String", # ID of the attached file. Read-only. + # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API. + }, + ], "creator": { # The creator of the event. Read-only. "self": false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False. "displayName": "A String", # The creator's name, if available. "email": "A String", # The creator's email address, if available. - "id": "A String", # The creator's Profile ID, if available. + "id": "A String", # The creator's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API }, "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event. "self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False. "displayName": "A String", # The organizer's name, if available. - "email": "A String", # The organizer's email address, if available. - "id": "A String", # The organizer's Profile ID, if available. + "email": "A String", # The organizer's email address, if available. It must be a valid email address as per RFC5322. + "id": "A String", # The organizer's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API }, "summary": "A String", # Title of the event. - "id": "A String", # Identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: + "id": "A String", # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938 # - the length of the ID must be between 5 and 1024 characters # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122. + # If you do not specify an ID, it will be automatically generated by the server. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "hangoutLink": "A String", # An absolute link to the Google+ hangout associated with this event. Read-only. - "attendees": [ # The attendees of the event. + "attendees": [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. { "comment": "A String", # The attendee's response comment. Optional. "displayName": "A String", # The attendee's name, if available. Optional. @@ -1074,51 +1187,52 @@

Method Details

# - "tentative" - The attendee has tentatively accepted the invitation. # - "accepted" - The attendee has accepted the invitation. "self": false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False. - "id": "A String", # The attendee's Profile ID, if available. + "id": "A String", # The attendee's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API "additionalGuests": 0, # Number of additional guests. Optional. The default is 0. "resource": false, # Whether the attendee is a resource. Read-only. The default is False. "organizer": True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False. "optional": false, # Whether this is an optional attendee. Optional. The default is False. - "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. + "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322. }, ], "start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only. - "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events. + "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events. "A String", ], - "source": { # Source of an event from which it was created; for example a web page, an email message or any document identifiable by an URL using HTTP/HTTPS protocol. Accessible only by the creator of the event. - "url": "A String", # URL of the source pointing to a resource. URL's protocol must be HTTP or HTTPS. + "source": { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event. + "url": "A String", # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS. "title": "A String", # Title of the source; for example a title of a web page or an email subject. }, "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the event as free-form text. Optional. - "recurringEventId": "A String", # For an instance of a recurring event, this is the event ID of the recurring event itself. Immutable. + "recurringEventId": "A String", # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable. "gadget": { # A gadget that extends this event. "preferences": { # Preferences. "a_key": "A String", # The preference name and corresponding value. }, "title": "A String", # The gadget's title. - "height": 42, # The gadget's height in pixels. Optional. - "width": 42, # The gadget's width in pixels. Optional. - "link": "A String", # The gadget's URL. + "height": 42, # The gadget's height in pixels. The height must be an integer greater than 0. Optional. + "width": 42, # The gadget's width in pixels. The width must be an integer greater than 0. Optional. + "link": "A String", # The gadget's URL. The URL scheme must be HTTPS. "type": "A String", # The gadget's type. "display": "A String", # The gadget's display mode. Optional. Possible values are: # - "icon" - The gadget displays next to the event's title in the calendar view. # - "chip" - The gadget displays when the event is clicked. - "iconLink": "A String", # The gadget's icon URL. + "iconLink": "A String", # The gadget's icon URL. The URL scheme must be HTTPS. }, "status": "A String", # Status of the event. Optional. Possible values are: # - "confirmed" - The event is confirmed. This is the default status. # - "tentative" - The event is tentatively confirmed. # - "cancelled" - The event is cancelled. - "updated": "A String", # Last modification time of the event (as a RFC 3339 timestamp). Read-only. + "updated": "A String", # Last modification time of the event (as a RFC3339 timestamp). Read-only. "description": "A String", # Description of the event. Optional. - "iCalUID": "A String", # Event ID in the iCalendar format. + "iCalUID": "A String", # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "extendedProperties": { # Extended properties of the event. "shared": { # Properties that are shared between copies of the event on other attendees' calendars. "a_key": "A String", # The name of the shared property and the corresponding value. @@ -1138,21 +1252,21 @@

Method Details

"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "attendeesOmitted": false, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False. "kind": "calendar#event", # Type of the resource ("calendar#event"). "locked": false, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only. - "created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only. + "created": "A String", # Creation time of the event (as a RFC3339 timestamp). Read-only. "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional. "anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False. "reminders": { # Information about the event's reminders for the authenticated user. - "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. + "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5. { - "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. + "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). "method": "A String", # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. + # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. }, ], @@ -1162,7 +1276,7 @@

Method Details

"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True. "transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are: @@ -1171,7 +1285,7 @@

Method Details

"privateCopy": false, # Whether this is a private event copy where changes are not shared with other copies on other calendars. Optional. Immutable. The default is False. }, ], - "updated": "A String", # Last modification time of the calendar (as a RFC 3339 timestamp). Read-only. + "updated": "A String", # Last modification time of the calendar (as a RFC3339 timestamp). Read-only. "summary": "A String", # Title of the calendar. Read-only. "etag": "A String", # ETag of the collection. "timeZone": "A String", # The time zone of the calendar. Read-only. @@ -1213,25 +1327,40 @@

Method Details

An object of the form: { + "attachments": [ # File attachments for the event. Currently only Google Drive attachments are supported. + # In order to modify attachments the supportsAttachments request parameter should be set to true. + # There can be at most 25 attachments per event, + { + "mimeType": "A String", # Internet media type (MIME type) of the attachment. + "title": "A String", # Attachment title. + "fileUrl": "A String", # URL link to the attachment. + # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API. + "iconLink": "A String", # URL link to the attachment's icon. Read-only. + "fileId": "A String", # ID of the attached file. Read-only. + # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API. + }, + ], "creator": { # The creator of the event. Read-only. "self": false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False. "displayName": "A String", # The creator's name, if available. "email": "A String", # The creator's email address, if available. - "id": "A String", # The creator's Profile ID, if available. + "id": "A String", # The creator's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API }, "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event. "self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False. "displayName": "A String", # The organizer's name, if available. - "email": "A String", # The organizer's email address, if available. - "id": "A String", # The organizer's Profile ID, if available. + "email": "A String", # The organizer's email address, if available. It must be a valid email address as per RFC5322. + "id": "A String", # The organizer's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API }, "summary": "A String", # Title of the event. - "id": "A String", # Identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: + "id": "A String", # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938 # - the length of the ID must be between 5 and 1024 characters # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122. + # If you do not specify an ID, it will be automatically generated by the server. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "hangoutLink": "A String", # An absolute link to the Google+ hangout associated with this event. Read-only. - "attendees": [ # The attendees of the event. + "attendees": [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. { "comment": "A String", # The attendee's response comment. Optional. "displayName": "A String", # The attendee's name, if available. Optional. @@ -1241,51 +1370,52 @@

Method Details

# - "tentative" - The attendee has tentatively accepted the invitation. # - "accepted" - The attendee has accepted the invitation. "self": false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False. - "id": "A String", # The attendee's Profile ID, if available. + "id": "A String", # The attendee's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API "additionalGuests": 0, # Number of additional guests. Optional. The default is 0. "resource": false, # Whether the attendee is a resource. Read-only. The default is False. "organizer": True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False. "optional": false, # Whether this is an optional attendee. Optional. The default is False. - "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. + "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322. }, ], "start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only. - "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events. + "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events. "A String", ], - "source": { # Source of an event from which it was created; for example a web page, an email message or any document identifiable by an URL using HTTP/HTTPS protocol. Accessible only by the creator of the event. - "url": "A String", # URL of the source pointing to a resource. URL's protocol must be HTTP or HTTPS. + "source": { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event. + "url": "A String", # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS. "title": "A String", # Title of the source; for example a title of a web page or an email subject. }, "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the event as free-form text. Optional. - "recurringEventId": "A String", # For an instance of a recurring event, this is the event ID of the recurring event itself. Immutable. + "recurringEventId": "A String", # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable. "gadget": { # A gadget that extends this event. "preferences": { # Preferences. "a_key": "A String", # The preference name and corresponding value. }, "title": "A String", # The gadget's title. - "height": 42, # The gadget's height in pixels. Optional. - "width": 42, # The gadget's width in pixels. Optional. - "link": "A String", # The gadget's URL. + "height": 42, # The gadget's height in pixels. The height must be an integer greater than 0. Optional. + "width": 42, # The gadget's width in pixels. The width must be an integer greater than 0. Optional. + "link": "A String", # The gadget's URL. The URL scheme must be HTTPS. "type": "A String", # The gadget's type. "display": "A String", # The gadget's display mode. Optional. Possible values are: # - "icon" - The gadget displays next to the event's title in the calendar view. # - "chip" - The gadget displays when the event is clicked. - "iconLink": "A String", # The gadget's icon URL. + "iconLink": "A String", # The gadget's icon URL. The URL scheme must be HTTPS. }, "status": "A String", # Status of the event. Optional. Possible values are: # - "confirmed" - The event is confirmed. This is the default status. # - "tentative" - The event is tentatively confirmed. # - "cancelled" - The event is cancelled. - "updated": "A String", # Last modification time of the event (as a RFC 3339 timestamp). Read-only. + "updated": "A String", # Last modification time of the event (as a RFC3339 timestamp). Read-only. "description": "A String", # Description of the event. Optional. - "iCalUID": "A String", # Event ID in the iCalendar format. + "iCalUID": "A String", # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "extendedProperties": { # Extended properties of the event. "shared": { # Properties that are shared between copies of the event on other attendees' calendars. "a_key": "A String", # The name of the shared property and the corresponding value. @@ -1305,21 +1435,21 @@

Method Details

"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "attendeesOmitted": false, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False. "kind": "calendar#event", # Type of the resource ("calendar#event"). "locked": false, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only. - "created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only. + "created": "A String", # Creation time of the event (as a RFC3339 timestamp). Read-only. "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional. "anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False. "reminders": { # Information about the event's reminders for the authenticated user. - "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. + "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5. { - "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. + "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). "method": "A String", # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. + # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. }, ], @@ -1329,7 +1459,7 @@

Method Details

"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True. "transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are: @@ -1340,35 +1470,50 @@

Method Details

- patch(calendarId, eventId, body, sendNotifications=None, alwaysIncludeEmail=None, maxAttendees=None) + patch(calendarId, eventId, body, sendNotifications=None, alwaysIncludeEmail=None, supportsAttachments=None, maxAttendees=None)
Updates an event. This method supports patch semantics.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   eventId: string, Event identifier. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
 {
+    "attachments": [ # File attachments for the event. Currently only Google Drive attachments are supported.
+        # In order to modify attachments the supportsAttachments request parameter should be set to true.
+        # There can be at most 25 attachments per event,
+      {
+        "mimeType": "A String", # Internet media type (MIME type) of the attachment.
+        "title": "A String", # Attachment title.
+        "fileUrl": "A String", # URL link to the attachment.
+            # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
+        "iconLink": "A String", # URL link to the attachment's icon. Read-only.
+        "fileId": "A String", # ID of the attached file. Read-only.
+            # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
+      },
+    ],
     "creator": { # The creator of the event. Read-only.
       "self": false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
       "displayName": "A String", # The creator's name, if available.
       "email": "A String", # The creator's email address, if available.
-      "id": "A String", # The creator's Profile ID, if available.
+      "id": "A String", # The creator's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API
     },
     "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
       "self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
       "displayName": "A String", # The organizer's name, if available.
-      "email": "A String", # The organizer's email address, if available.
-      "id": "A String", # The organizer's Profile ID, if available.
+      "email": "A String", # The organizer's email address, if available. It must be a valid email address as per RFC5322.
+      "id": "A String", # The organizer's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API
     },
     "summary": "A String", # Title of the event.
-    "id": "A String", # Identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
+    "id": "A String", # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
         # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938
         # - the length of the ID must be between 5 and 1024 characters
         # - the ID must be unique per calendar  Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.
+        # If you do not specify an ID, it will be automatically generated by the server.
+        # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
     "hangoutLink": "A String", # An absolute link to the Google+ hangout associated with this event. Read-only.
-    "attendees": [ # The attendees of the event.
+    "attendees": [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
       {
         "comment": "A String", # The attendee's response comment. Optional.
         "displayName": "A String", # The attendee's name, if available. Optional.
@@ -1378,51 +1523,52 @@ 

Method Details

# - "tentative" - The attendee has tentatively accepted the invitation. # - "accepted" - The attendee has accepted the invitation. "self": false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False. - "id": "A String", # The attendee's Profile ID, if available. + "id": "A String", # The attendee's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API "additionalGuests": 0, # Number of additional guests. Optional. The default is 0. "resource": false, # Whether the attendee is a resource. Read-only. The default is False. "organizer": True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False. "optional": false, # Whether this is an optional attendee. Optional. The default is False. - "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. + "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322. }, ], "start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only. - "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events. + "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events. "A String", ], - "source": { # Source of an event from which it was created; for example a web page, an email message or any document identifiable by an URL using HTTP/HTTPS protocol. Accessible only by the creator of the event. - "url": "A String", # URL of the source pointing to a resource. URL's protocol must be HTTP or HTTPS. + "source": { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event. + "url": "A String", # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS. "title": "A String", # Title of the source; for example a title of a web page or an email subject. }, "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the event as free-form text. Optional. - "recurringEventId": "A String", # For an instance of a recurring event, this is the event ID of the recurring event itself. Immutable. + "recurringEventId": "A String", # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable. "gadget": { # A gadget that extends this event. "preferences": { # Preferences. "a_key": "A String", # The preference name and corresponding value. }, "title": "A String", # The gadget's title. - "height": 42, # The gadget's height in pixels. Optional. - "width": 42, # The gadget's width in pixels. Optional. - "link": "A String", # The gadget's URL. + "height": 42, # The gadget's height in pixels. The height must be an integer greater than 0. Optional. + "width": 42, # The gadget's width in pixels. The width must be an integer greater than 0. Optional. + "link": "A String", # The gadget's URL. The URL scheme must be HTTPS. "type": "A String", # The gadget's type. "display": "A String", # The gadget's display mode. Optional. Possible values are: # - "icon" - The gadget displays next to the event's title in the calendar view. # - "chip" - The gadget displays when the event is clicked. - "iconLink": "A String", # The gadget's icon URL. + "iconLink": "A String", # The gadget's icon URL. The URL scheme must be HTTPS. }, "status": "A String", # Status of the event. Optional. Possible values are: # - "confirmed" - The event is confirmed. This is the default status. # - "tentative" - The event is tentatively confirmed. # - "cancelled" - The event is cancelled. - "updated": "A String", # Last modification time of the event (as a RFC 3339 timestamp). Read-only. + "updated": "A String", # Last modification time of the event (as a RFC3339 timestamp). Read-only. "description": "A String", # Description of the event. Optional. - "iCalUID": "A String", # Event ID in the iCalendar format. + "iCalUID": "A String", # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "extendedProperties": { # Extended properties of the event. "shared": { # Properties that are shared between copies of the event on other attendees' calendars. "a_key": "A String", # The name of the shared property and the corresponding value. @@ -1442,21 +1588,21 @@

Method Details

"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "attendeesOmitted": false, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False. "kind": "calendar#event", # Type of the resource ("calendar#event"). "locked": false, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only. - "created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only. + "created": "A String", # Creation time of the event (as a RFC3339 timestamp). Read-only. "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional. "anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False. "reminders": { # Information about the event's reminders for the authenticated user. - "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. + "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5. { - "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. + "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). "method": "A String", # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. + # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. }, ], @@ -1466,7 +1612,7 @@

Method Details

"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True. "transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are: @@ -1477,31 +1623,47 @@

Method Details

sendNotifications: boolean, Whether to send notifications about the event update (e.g. attendee's responses, title changes, etc.). Optional. The default is False. alwaysIncludeEmail: boolean, Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False. + supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False. maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional. Returns: An object of the form: { + "attachments": [ # File attachments for the event. Currently only Google Drive attachments are supported. + # In order to modify attachments the supportsAttachments request parameter should be set to true. + # There can be at most 25 attachments per event, + { + "mimeType": "A String", # Internet media type (MIME type) of the attachment. + "title": "A String", # Attachment title. + "fileUrl": "A String", # URL link to the attachment. + # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API. + "iconLink": "A String", # URL link to the attachment's icon. Read-only. + "fileId": "A String", # ID of the attached file. Read-only. + # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API. + }, + ], "creator": { # The creator of the event. Read-only. "self": false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False. "displayName": "A String", # The creator's name, if available. "email": "A String", # The creator's email address, if available. - "id": "A String", # The creator's Profile ID, if available. + "id": "A String", # The creator's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API }, "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event. "self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False. "displayName": "A String", # The organizer's name, if available. - "email": "A String", # The organizer's email address, if available. - "id": "A String", # The organizer's Profile ID, if available. + "email": "A String", # The organizer's email address, if available. It must be a valid email address as per RFC5322. + "id": "A String", # The organizer's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API }, "summary": "A String", # Title of the event. - "id": "A String", # Identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: + "id": "A String", # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938 # - the length of the ID must be between 5 and 1024 characters # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122. + # If you do not specify an ID, it will be automatically generated by the server. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "hangoutLink": "A String", # An absolute link to the Google+ hangout associated with this event. Read-only. - "attendees": [ # The attendees of the event. + "attendees": [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. { "comment": "A String", # The attendee's response comment. Optional. "displayName": "A String", # The attendee's name, if available. Optional. @@ -1511,51 +1673,52 @@

Method Details

# - "tentative" - The attendee has tentatively accepted the invitation. # - "accepted" - The attendee has accepted the invitation. "self": false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False. - "id": "A String", # The attendee's Profile ID, if available. + "id": "A String", # The attendee's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API "additionalGuests": 0, # Number of additional guests. Optional. The default is 0. "resource": false, # Whether the attendee is a resource. Read-only. The default is False. "organizer": True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False. "optional": false, # Whether this is an optional attendee. Optional. The default is False. - "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. + "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322. }, ], "start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only. - "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events. + "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events. "A String", ], - "source": { # Source of an event from which it was created; for example a web page, an email message or any document identifiable by an URL using HTTP/HTTPS protocol. Accessible only by the creator of the event. - "url": "A String", # URL of the source pointing to a resource. URL's protocol must be HTTP or HTTPS. + "source": { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event. + "url": "A String", # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS. "title": "A String", # Title of the source; for example a title of a web page or an email subject. }, "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the event as free-form text. Optional. - "recurringEventId": "A String", # For an instance of a recurring event, this is the event ID of the recurring event itself. Immutable. + "recurringEventId": "A String", # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable. "gadget": { # A gadget that extends this event. "preferences": { # Preferences. "a_key": "A String", # The preference name and corresponding value. }, "title": "A String", # The gadget's title. - "height": 42, # The gadget's height in pixels. Optional. - "width": 42, # The gadget's width in pixels. Optional. - "link": "A String", # The gadget's URL. + "height": 42, # The gadget's height in pixels. The height must be an integer greater than 0. Optional. + "width": 42, # The gadget's width in pixels. The width must be an integer greater than 0. Optional. + "link": "A String", # The gadget's URL. The URL scheme must be HTTPS. "type": "A String", # The gadget's type. "display": "A String", # The gadget's display mode. Optional. Possible values are: # - "icon" - The gadget displays next to the event's title in the calendar view. # - "chip" - The gadget displays when the event is clicked. - "iconLink": "A String", # The gadget's icon URL. + "iconLink": "A String", # The gadget's icon URL. The URL scheme must be HTTPS. }, "status": "A String", # Status of the event. Optional. Possible values are: # - "confirmed" - The event is confirmed. This is the default status. # - "tentative" - The event is tentatively confirmed. # - "cancelled" - The event is cancelled. - "updated": "A String", # Last modification time of the event (as a RFC 3339 timestamp). Read-only. + "updated": "A String", # Last modification time of the event (as a RFC3339 timestamp). Read-only. "description": "A String", # Description of the event. Optional. - "iCalUID": "A String", # Event ID in the iCalendar format. + "iCalUID": "A String", # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "extendedProperties": { # Extended properties of the event. "shared": { # Properties that are shared between copies of the event on other attendees' calendars. "a_key": "A String", # The name of the shared property and the corresponding value. @@ -1575,21 +1738,21 @@

Method Details

"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "attendeesOmitted": false, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False. "kind": "calendar#event", # Type of the resource ("calendar#event"). "locked": false, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only. - "created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only. + "created": "A String", # Creation time of the event (as a RFC3339 timestamp). Read-only. "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional. "anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False. "reminders": { # Information about the event's reminders for the authenticated user. - "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. + "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5. { - "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. + "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). "method": "A String", # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. + # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. }, ], @@ -1599,7 +1762,7 @@

Method Details

"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True. "transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are: @@ -1614,7 +1777,7 @@

Method Details

Creates an event based on a simple text string.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   text: string, The text describing the event to be created. (required)
   sendNotifications: boolean, Whether to send notifications about the creation of the event. Optional. The default is False.
 
@@ -1622,25 +1785,40 @@ 

Method Details

An object of the form: { + "attachments": [ # File attachments for the event. Currently only Google Drive attachments are supported. + # In order to modify attachments the supportsAttachments request parameter should be set to true. + # There can be at most 25 attachments per event, + { + "mimeType": "A String", # Internet media type (MIME type) of the attachment. + "title": "A String", # Attachment title. + "fileUrl": "A String", # URL link to the attachment. + # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API. + "iconLink": "A String", # URL link to the attachment's icon. Read-only. + "fileId": "A String", # ID of the attached file. Read-only. + # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API. + }, + ], "creator": { # The creator of the event. Read-only. "self": false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False. "displayName": "A String", # The creator's name, if available. "email": "A String", # The creator's email address, if available. - "id": "A String", # The creator's Profile ID, if available. + "id": "A String", # The creator's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API }, "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event. "self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False. "displayName": "A String", # The organizer's name, if available. - "email": "A String", # The organizer's email address, if available. - "id": "A String", # The organizer's Profile ID, if available. + "email": "A String", # The organizer's email address, if available. It must be a valid email address as per RFC5322. + "id": "A String", # The organizer's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API }, "summary": "A String", # Title of the event. - "id": "A String", # Identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: + "id": "A String", # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938 # - the length of the ID must be between 5 and 1024 characters # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122. + # If you do not specify an ID, it will be automatically generated by the server. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "hangoutLink": "A String", # An absolute link to the Google+ hangout associated with this event. Read-only. - "attendees": [ # The attendees of the event. + "attendees": [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. { "comment": "A String", # The attendee's response comment. Optional. "displayName": "A String", # The attendee's name, if available. Optional. @@ -1650,51 +1828,52 @@

Method Details

# - "tentative" - The attendee has tentatively accepted the invitation. # - "accepted" - The attendee has accepted the invitation. "self": false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False. - "id": "A String", # The attendee's Profile ID, if available. + "id": "A String", # The attendee's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API "additionalGuests": 0, # Number of additional guests. Optional. The default is 0. "resource": false, # Whether the attendee is a resource. Read-only. The default is False. "organizer": True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False. "optional": false, # Whether this is an optional attendee. Optional. The default is False. - "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. + "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322. }, ], "start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only. - "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events. + "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events. "A String", ], - "source": { # Source of an event from which it was created; for example a web page, an email message or any document identifiable by an URL using HTTP/HTTPS protocol. Accessible only by the creator of the event. - "url": "A String", # URL of the source pointing to a resource. URL's protocol must be HTTP or HTTPS. + "source": { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event. + "url": "A String", # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS. "title": "A String", # Title of the source; for example a title of a web page or an email subject. }, "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the event as free-form text. Optional. - "recurringEventId": "A String", # For an instance of a recurring event, this is the event ID of the recurring event itself. Immutable. + "recurringEventId": "A String", # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable. "gadget": { # A gadget that extends this event. "preferences": { # Preferences. "a_key": "A String", # The preference name and corresponding value. }, "title": "A String", # The gadget's title. - "height": 42, # The gadget's height in pixels. Optional. - "width": 42, # The gadget's width in pixels. Optional. - "link": "A String", # The gadget's URL. + "height": 42, # The gadget's height in pixels. The height must be an integer greater than 0. Optional. + "width": 42, # The gadget's width in pixels. The width must be an integer greater than 0. Optional. + "link": "A String", # The gadget's URL. The URL scheme must be HTTPS. "type": "A String", # The gadget's type. "display": "A String", # The gadget's display mode. Optional. Possible values are: # - "icon" - The gadget displays next to the event's title in the calendar view. # - "chip" - The gadget displays when the event is clicked. - "iconLink": "A String", # The gadget's icon URL. + "iconLink": "A String", # The gadget's icon URL. The URL scheme must be HTTPS. }, "status": "A String", # Status of the event. Optional. Possible values are: # - "confirmed" - The event is confirmed. This is the default status. # - "tentative" - The event is tentatively confirmed. # - "cancelled" - The event is cancelled. - "updated": "A String", # Last modification time of the event (as a RFC 3339 timestamp). Read-only. + "updated": "A String", # Last modification time of the event (as a RFC3339 timestamp). Read-only. "description": "A String", # Description of the event. Optional. - "iCalUID": "A String", # Event ID in the iCalendar format. + "iCalUID": "A String", # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "extendedProperties": { # Extended properties of the event. "shared": { # Properties that are shared between copies of the event on other attendees' calendars. "a_key": "A String", # The name of the shared property and the corresponding value. @@ -1714,21 +1893,21 @@

Method Details

"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "attendeesOmitted": false, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False. "kind": "calendar#event", # Type of the resource ("calendar#event"). "locked": false, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only. - "created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only. + "created": "A String", # Creation time of the event (as a RFC3339 timestamp). Read-only. "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional. "anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False. "reminders": { # Information about the event's reminders for the authenticated user. - "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. + "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5. { - "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. + "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). "method": "A String", # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. + # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. }, ], @@ -1738,7 +1917,7 @@

Method Details

"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True. "transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are: @@ -1749,35 +1928,50 @@

Method Details

- update(calendarId, eventId, body, sendNotifications=None, alwaysIncludeEmail=None, maxAttendees=None) + update(calendarId, eventId, body, sendNotifications=None, alwaysIncludeEmail=None, supportsAttachments=None, maxAttendees=None)
Updates an event.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   eventId: string, Event identifier. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
 {
+    "attachments": [ # File attachments for the event. Currently only Google Drive attachments are supported.
+        # In order to modify attachments the supportsAttachments request parameter should be set to true.
+        # There can be at most 25 attachments per event,
+      {
+        "mimeType": "A String", # Internet media type (MIME type) of the attachment.
+        "title": "A String", # Attachment title.
+        "fileUrl": "A String", # URL link to the attachment.
+            # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
+        "iconLink": "A String", # URL link to the attachment's icon. Read-only.
+        "fileId": "A String", # ID of the attached file. Read-only.
+            # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
+      },
+    ],
     "creator": { # The creator of the event. Read-only.
       "self": false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
       "displayName": "A String", # The creator's name, if available.
       "email": "A String", # The creator's email address, if available.
-      "id": "A String", # The creator's Profile ID, if available.
+      "id": "A String", # The creator's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API
     },
     "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event.
       "self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False.
       "displayName": "A String", # The organizer's name, if available.
-      "email": "A String", # The organizer's email address, if available.
-      "id": "A String", # The organizer's Profile ID, if available.
+      "email": "A String", # The organizer's email address, if available. It must be a valid email address as per RFC5322.
+      "id": "A String", # The organizer's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API
     },
     "summary": "A String", # Title of the event.
-    "id": "A String", # Identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
+    "id": "A String", # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules:
         # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938
         # - the length of the ID must be between 5 and 1024 characters
         # - the ID must be unique per calendar  Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122.
+        # If you do not specify an ID, it will be automatically generated by the server.
+        # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs.
     "hangoutLink": "A String", # An absolute link to the Google+ hangout associated with this event. Read-only.
-    "attendees": [ # The attendees of the event.
+    "attendees": [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users.
       {
         "comment": "A String", # The attendee's response comment. Optional.
         "displayName": "A String", # The attendee's name, if available. Optional.
@@ -1787,51 +1981,52 @@ 

Method Details

# - "tentative" - The attendee has tentatively accepted the invitation. # - "accepted" - The attendee has accepted the invitation. "self": false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False. - "id": "A String", # The attendee's Profile ID, if available. + "id": "A String", # The attendee's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API "additionalGuests": 0, # Number of additional guests. Optional. The default is 0. "resource": false, # Whether the attendee is a resource. Read-only. The default is False. "organizer": True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False. "optional": false, # Whether this is an optional attendee. Optional. The default is False. - "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. + "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322. }, ], "start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only. - "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events. + "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events. "A String", ], - "source": { # Source of an event from which it was created; for example a web page, an email message or any document identifiable by an URL using HTTP/HTTPS protocol. Accessible only by the creator of the event. - "url": "A String", # URL of the source pointing to a resource. URL's protocol must be HTTP or HTTPS. + "source": { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event. + "url": "A String", # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS. "title": "A String", # Title of the source; for example a title of a web page or an email subject. }, "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the event as free-form text. Optional. - "recurringEventId": "A String", # For an instance of a recurring event, this is the event ID of the recurring event itself. Immutable. + "recurringEventId": "A String", # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable. "gadget": { # A gadget that extends this event. "preferences": { # Preferences. "a_key": "A String", # The preference name and corresponding value. }, "title": "A String", # The gadget's title. - "height": 42, # The gadget's height in pixels. Optional. - "width": 42, # The gadget's width in pixels. Optional. - "link": "A String", # The gadget's URL. + "height": 42, # The gadget's height in pixels. The height must be an integer greater than 0. Optional. + "width": 42, # The gadget's width in pixels. The width must be an integer greater than 0. Optional. + "link": "A String", # The gadget's URL. The URL scheme must be HTTPS. "type": "A String", # The gadget's type. "display": "A String", # The gadget's display mode. Optional. Possible values are: # - "icon" - The gadget displays next to the event's title in the calendar view. # - "chip" - The gadget displays when the event is clicked. - "iconLink": "A String", # The gadget's icon URL. + "iconLink": "A String", # The gadget's icon URL. The URL scheme must be HTTPS. }, "status": "A String", # Status of the event. Optional. Possible values are: # - "confirmed" - The event is confirmed. This is the default status. # - "tentative" - The event is tentatively confirmed. # - "cancelled" - The event is cancelled. - "updated": "A String", # Last modification time of the event (as a RFC 3339 timestamp). Read-only. + "updated": "A String", # Last modification time of the event (as a RFC3339 timestamp). Read-only. "description": "A String", # Description of the event. Optional. - "iCalUID": "A String", # Event ID in the iCalendar format. + "iCalUID": "A String", # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "extendedProperties": { # Extended properties of the event. "shared": { # Properties that are shared between copies of the event on other attendees' calendars. "a_key": "A String", # The name of the shared property and the corresponding value. @@ -1851,21 +2046,21 @@

Method Details

"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "attendeesOmitted": false, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False. "kind": "calendar#event", # Type of the resource ("calendar#event"). "locked": false, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only. - "created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only. + "created": "A String", # Creation time of the event (as a RFC3339 timestamp). Read-only. "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional. "anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False. "reminders": { # Information about the event's reminders for the authenticated user. - "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. + "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5. { - "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. + "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). "method": "A String", # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. + # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. }, ], @@ -1875,7 +2070,7 @@

Method Details

"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True. "transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are: @@ -1886,31 +2081,47 @@

Method Details

sendNotifications: boolean, Whether to send notifications about the event update (e.g. attendee's responses, title changes, etc.). Optional. The default is False. alwaysIncludeEmail: boolean, Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False. + supportsAttachments: boolean, Whether API client performing operation supports event attachments. Optional. The default is False. maxAttendees: integer, The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional. Returns: An object of the form: { + "attachments": [ # File attachments for the event. Currently only Google Drive attachments are supported. + # In order to modify attachments the supportsAttachments request parameter should be set to true. + # There can be at most 25 attachments per event, + { + "mimeType": "A String", # Internet media type (MIME type) of the attachment. + "title": "A String", # Attachment title. + "fileUrl": "A String", # URL link to the attachment. + # For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API. + "iconLink": "A String", # URL link to the attachment's icon. Read-only. + "fileId": "A String", # ID of the attached file. Read-only. + # For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API. + }, + ], "creator": { # The creator of the event. Read-only. "self": false, # Whether the creator corresponds to the calendar on which this copy of the event appears. Read-only. The default is False. "displayName": "A String", # The creator's name, if available. "email": "A String", # The creator's email address, if available. - "id": "A String", # The creator's Profile ID, if available. + "id": "A String", # The creator's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API }, "organizer": { # The organizer of the event. If the organizer is also an attendee, this is indicated with a separate entry in attendees with the organizer field set to True. To change the organizer, use the move operation. Read-only, except when importing an event. "self": false, # Whether the organizer corresponds to the calendar on which this copy of the event appears. Read-only. The default is False. "displayName": "A String", # The organizer's name, if available. - "email": "A String", # The organizer's email address, if available. - "id": "A String", # The organizer's Profile ID, if available. + "email": "A String", # The organizer's email address, if available. It must be a valid email address as per RFC5322. + "id": "A String", # The organizer's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API }, "summary": "A String", # Title of the event. - "id": "A String", # Identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: + "id": "A String", # Opaque identifier of the event. When creating new single or recurring events, you can specify their IDs. Provided IDs must follow these rules: # - characters allowed in the ID are those used in base32hex encoding, i.e. lowercase letters a-v and digits 0-9, see section 3.1.2 in RFC2938 # - the length of the ID must be between 5 and 1024 characters # - the ID must be unique per calendar Due to the globally distributed nature of the system, we cannot guarantee that ID collisions will be detected at event creation time. To minimize the risk of collisions we recommend using an established UUID algorithm such as one described in RFC4122. + # If you do not specify an ID, it will be automatically generated by the server. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "hangoutLink": "A String", # An absolute link to the Google+ hangout associated with this event. Read-only. - "attendees": [ # The attendees of the event. + "attendees": [ # The attendees of the event. See the Events with attendees guide for more information on scheduling events with other calendar users. { "comment": "A String", # The attendee's response comment. Optional. "displayName": "A String", # The attendee's name, if available. Optional. @@ -1920,51 +2131,52 @@

Method Details

# - "tentative" - The attendee has tentatively accepted the invitation. # - "accepted" - The attendee has accepted the invitation. "self": false, # Whether this entry represents the calendar on which this copy of the event appears. Read-only. The default is False. - "id": "A String", # The attendee's Profile ID, if available. + "id": "A String", # The attendee's Profile ID, if available. It corresponds to theid field in the People collection of the Google+ API "additionalGuests": 0, # Number of additional guests. Optional. The default is 0. "resource": false, # Whether the attendee is a resource. Read-only. The default is False. "organizer": True or False, # Whether the attendee is the organizer of the event. Read-only. The default is False. "optional": false, # Whether this is an optional attendee. Optional. The default is False. - "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. + "email": "A String", # The attendee's email address, if available. This field must be present when adding an attendee. It must be a valid email address as per RFC5322. }, ], "start": { # The (inclusive) start time of the event. For a recurring event, this is the start time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "htmlLink": "A String", # An absolute link to this event in the Google Calendar Web UI. Read-only. - "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events. + "recurrence": [ # List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in this field; event start and end times are specified in the start and end fields. This field is omitted for single events or instances of recurring events. "A String", ], - "source": { # Source of an event from which it was created; for example a web page, an email message or any document identifiable by an URL using HTTP/HTTPS protocol. Accessible only by the creator of the event. - "url": "A String", # URL of the source pointing to a resource. URL's protocol must be HTTP or HTTPS. + "source": { # Source from which the event was created. For example, a web page, an email message or any document identifiable by an URL with HTTP or HTTPS scheme. Can only be seen or modified by the creator of the event. + "url": "A String", # URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS. "title": "A String", # Title of the source; for example a title of a web page or an email subject. }, "etag": "A String", # ETag of the resource. "location": "A String", # Geographic location of the event as free-form text. Optional. - "recurringEventId": "A String", # For an instance of a recurring event, this is the event ID of the recurring event itself. Immutable. + "recurringEventId": "A String", # For an instance of a recurring event, this is the id of the recurring event to which this instance belongs. Immutable. "gadget": { # A gadget that extends this event. "preferences": { # Preferences. "a_key": "A String", # The preference name and corresponding value. }, "title": "A String", # The gadget's title. - "height": 42, # The gadget's height in pixels. Optional. - "width": 42, # The gadget's width in pixels. Optional. - "link": "A String", # The gadget's URL. + "height": 42, # The gadget's height in pixels. The height must be an integer greater than 0. Optional. + "width": 42, # The gadget's width in pixels. The width must be an integer greater than 0. Optional. + "link": "A String", # The gadget's URL. The URL scheme must be HTTPS. "type": "A String", # The gadget's type. "display": "A String", # The gadget's display mode. Optional. Possible values are: # - "icon" - The gadget displays next to the event's title in the calendar view. # - "chip" - The gadget displays when the event is clicked. - "iconLink": "A String", # The gadget's icon URL. + "iconLink": "A String", # The gadget's icon URL. The URL scheme must be HTTPS. }, "status": "A String", # Status of the event. Optional. Possible values are: # - "confirmed" - The event is confirmed. This is the default status. # - "tentative" - The event is tentatively confirmed. # - "cancelled" - The event is cancelled. - "updated": "A String", # Last modification time of the event (as a RFC 3339 timestamp). Read-only. + "updated": "A String", # Last modification time of the event (as a RFC3339 timestamp). Read-only. "description": "A String", # Description of the event. Optional. - "iCalUID": "A String", # Event ID in the iCalendar format. + "iCalUID": "A String", # Event unique identifier as defined in RFC5545. It is used to uniquely identify events accross calendaring systems and must be supplied when importing events via the import method. + # Note that the icalUID and the id are not identical and only one of them should be supplied at event creation time. One difference in their semantics is that in recurring events, all occurrences of one event have different ids while they all share the same icalUIDs. "extendedProperties": { # Extended properties of the event. "shared": { # Properties that are shared between copies of the event on other attendees' calendars. "a_key": "A String", # The name of the shared property and the corresponding value. @@ -1984,21 +2196,21 @@

Method Details

"end": { # The (exclusive) end time of the event. For a recurring event, this is the end time of the first instance. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "attendeesOmitted": false, # Whether attendees may have been omitted from the event's representation. When retrieving an event, this may be due to a restriction specified by the maxAttendee query parameter. When updating an event, this can be used to only update the participant's response. Optional. The default is False. "kind": "calendar#event", # Type of the resource ("calendar#event"). "locked": false, # Whether this is a locked event copy where no changes can be made to the main event fields "summary", "description", "location", "start", "end" or "recurrence". The default is False. Read-Only. - "created": "A String", # Creation time of the event (as a RFC 3339 timestamp). Read-only. + "created": "A String", # Creation time of the event (as a RFC3339 timestamp). Read-only. "colorId": "A String", # The color of the event. This is an ID referring to an entry in the event section of the colors definition (see the colors endpoint). Optional. "anyoneCanAddSelf": false, # Whether anyone can invite themselves to the event. Optional. The default is False. "reminders": { # Information about the event's reminders for the authenticated user. - "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. + "overrides": [ # If the event doesn't use the default reminders, this lists the reminders specific to the event, or, if not set, indicates that no reminders are set for this event. The maximum number of override reminders is 5. { - "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. + "minutes": 42, # Number of minutes before the start of the event when the reminder should trigger. Valid values are between 0 and 40320 (4 weeks in minutes). "method": "A String", # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. + # - "sms" - Reminders are sent via SMS. These are only available for Google Apps for Work, Education, and Government customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. }, ], @@ -2008,7 +2220,7 @@

Method Details

"originalStartTime": { # For an instance of a recurring event, this is the time at which this event would start according to the recurrence data in the recurring event identified by recurringEventId. Immutable. "date": "A String", # The date, in the format "yyyy-mm-dd", if this is an all-day event. "timeZone": "A String", # The time zone in which the time is specified. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) For recurring events this field is required and specifies the time zone in which the recurrence is expanded. For single events this field is optional and indicates a custom time zone for the event start/end. - "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC 3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. + "dateTime": "A String", # The time, as a combined date-time value (formatted according to RFC3339). A time zone offset is required unless a time zone is explicitly specified in timeZone. }, "guestsCanInviteOthers": true, # Whether attendees other than the organizer can invite others to the event. Optional. The default is True. "transparency": "opaque", # Whether the event blocks time on the calendar. Optional. Possible values are: @@ -2023,7 +2235,7 @@

Method Details

Watch for changes to Events resources.
 
 Args:
-  calendarId: string, Calendar identifier. (required)
+  calendarId: string, Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
@@ -2047,10 +2259,10 @@ 

Method Details

startTime - Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True) updated - Order by last modification time (ascending). showHiddenInvitations: boolean, Whether to include hidden invitations in the result. Optional. The default is False. - timeMin: string, Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. + timeMin: string, Lower bound (inclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but will be ignored. privateExtendedProperty: string, Extended properties constraint specified as propertyName=value. Matches only private properties. This parameter might be repeated multiple times to return events that match all given constraints. (repeated) pageToken: string, Token specifying which result page to return. Optional. - updatedMin: string, Lower bound for an event's last modification time (as a RFC 3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time. + updatedMin: string, Lower bound for an event's last modification time (as a RFC3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time. singleEvents: boolean, Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring events themselves. Optional. The default is False. alwaysIncludeEmail: boolean, Whether to always include a value in the email field for the organizer, creator and attendees, even if no real email is available (i.e. a generated, non-working value will be provided). The use of this option is discouraged and should only be used by clients which cannot handle the absence of an email address value in the mentioned places. Optional. The default is False. showDeleted: boolean, Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be included if showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only single instances of deleted events (but not the underlying recurring events) are returned. Optional. The default is False. @@ -2072,7 +2284,7 @@

Method Details

Optional. The default is to return all entries. iCalUID: string, Specifies event ID in the iCalendar format to be included in the response. Optional. maxResults: integer, Maximum number of events returned on one result page. By default the value is 250 events. The page size can never be larger than 2500 events. Optional. - timeMax: string, Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. + timeMax: string, Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but will be ignored. q: string, Free text search terms to find events that match these terms in any field, except for extended properties. Optional. timeZone: string, Time zone used in the response. Optional. The default is the time zone of the calendar. diff --git a/docs/dyn/civicinfo_v2.elections.html b/docs/dyn/civicinfo_v2.elections.html index 0d9a3f3702f..022e440b90f 100644 --- a/docs/dyn/civicinfo_v2.elections.html +++ b/docs/dyn/civicinfo_v2.elections.html @@ -94,6 +94,7 @@

Method Details

"kind": "civicinfo#electionsQueryResponse", # Identifies what kind of resource this is. Value: the fixed string "civicinfo#electionsQueryResponse". "elections": [ # A list of available elections { # Information about the election that was queried. + "ocdDivisionId": "A String", # The political division of the election. Represented as an OCD Division ID. Voters within these political jurisdictions are covered by this election. This is typically a state such as ocd-division/country:us/state:ca or for the midterms or general election the entire US (i.e. ocd-division/country:us). "electionDay": "A String", # Day of the election in YYYY-MM-DD format. "id": "A String", # The unique ID of this election. "name": "A String", # A displayable name for the election. @@ -169,11 +170,13 @@

Method Details

], "otherElections": [ # If no election ID was specified in the query, and there was more than one election with data for the given voter, this will contain information about the other elections that could apply. { # Information about the election that was queried. + "ocdDivisionId": "A String", # The political division of the election. Represented as an OCD Division ID. Voters within these political jurisdictions are covered by this election. This is typically a state such as ocd-division/country:us/state:ca or for the midterms or general election the entire US (i.e. ocd-division/country:us). "electionDay": "A String", # Day of the election in YYYY-MM-DD format. "id": "A String", # The unique ID of this election. "name": "A String", # A displayable name for the election. }, ], + "mailOnly": True or False, # Specifies whether voters in the precinct vote only by mailing their ballots (with the possible option of dropping off their ballots as well). "kind": "civicinfo#voterInfoResponse", # Identifies what kind of resource this is. Value: the fixed string "civicinfo#voterInfoResponse". "normalizedInput": { # A simple representation of an address. # The normalized version of the requested address "city": "A String", # The city or town for the address. @@ -240,6 +243,7 @@

Method Details

], "precinctId": "A String", "election": { # Information about the election that was queried. # The election that was queried. + "ocdDivisionId": "A String", # The political division of the election. Represented as an OCD Division ID. Voters within these political jurisdictions are covered by this election. This is typically a state such as ocd-division/country:us/state:ca or for the midterms or general election the entire US (i.e. ocd-division/country:us). "electionDay": "A String", # Day of the election in YYYY-MM-DD format. "id": "A String", # The unique ID of this election. "name": "A String", # A displayable name for the election. @@ -272,26 +276,29 @@

Method Details

], "contests": [ # Contests that will appear on the voter's ballot. { # Information about a contest that appears on a voter's ballot. - "numberVotingFor": "A String", # The number of candidates that a voter may vote for in this contest. "office": "A String", # The name of the office for this contest. - "district": { # Describes the geographic scope of a contest. # Information about the electoral district that this contest is in. - "scope": "A String", # The geographic scope of this district. If unspecified the district's geography is not known. One of: national, statewide, congressional, stateUpper, stateLower, countywide, judicial, schoolBoard, cityWide, township, countyCouncil, cityCouncil, ward, special - "id": "A String", # An identifier for this district, relative to its scope. For example, the 34th State Senate district would have id "34" and a scope of stateUpper. - "name": "A String", # The name of the district. - }, - "level": [ # The levels of government of the office for this contest. There may be more than one in cases where a jurisdiction effectively acts at two different levels of government; for example, the mayor of the District of Columbia acts at "locality" level, but also effectively at both "administrative-area-2" and "administrative-area-1". - "A String", - ], - "type": "A String", # The type of contest. Usually this will be 'General', 'Primary', or 'Run-off' for contests with candidates. For referenda this will be 'Referendum'. - "ballotPlacement": "A String", # A number specifying the position of this contest on the voter's ballot. + "referendumBrief": "A String", # Specifies a short summary of the referendum that is typically on the ballot below the title but above the text. This field is only populated for contests of type 'Referendum'. "sources": [ # A list of sources for this contest. If multiple sources are listed, the data has been aggregated from those sources. { # Contains information about the data source for the element containing it. "official": True or False, # Whether this data comes from an official government source. "name": "A String", # The name of the data source. }, ], - "referendumSubtitle": "A String", # A brief description of the referendum. This field is only populated for contests of type 'Referendum'. "primaryParty": "A String", # If this is a partisan election, the name of the party it is for. + "electorateSpecifications": "A String", # A description of any additional eligibility requirements for voting in this contest. + "numberElected": "A String", # The number of candidates that will be elected to office in this contest. + "referendumUrl": "A String", # A link to the referendum. This field is only populated for contests of type 'Referendum'. + "referendumTitle": "A String", # The title of the referendum (e.g. 'Proposition 42'). This field is only populated for contests of type 'Referendum'. + "id": "A String", # An ID for this object. IDs may change in future requests and should not be cached. Access to this field requires special access that can be requested from the Request more link on the Quotas page. + "special": "A String", # "Yes" or "No" depending on whether this a contest being held outside the normal election cycle. + "referendumEffectOfAbstain": "A String", # Specifies what effect abstaining (not voting) on the proposition will have (i.e. whether abstaining is considered a vote against it). This field is only populated for contests of type 'Referendum'. + "district": { # Describes the geographic scope of a contest. # Information about the electoral district that this contest is in. + "scope": "A String", # The geographic scope of this district. If unspecified the district's geography is not known. One of: national, statewide, congressional, stateUpper, stateLower, countywide, judicial, schoolBoard, cityWide, township, countyCouncil, cityCouncil, ward, special + "id": "A String", # An identifier for this district, relative to its scope. For example, the 34th State Senate district would have id "34" and a scope of stateUpper. + "name": "A String", # The name of the district. + }, + "ballotPlacement": "A String", # A number specifying the position of this contest on the voter's ballot. + "referendumProStatement": "A String", # A statement in favor of the referendum. It does not necessarily appear on the ballot. This field is only populated for contests of type 'Referendum'. "candidates": [ # The candidate choices for this contest. { # Information about a candidate running for elected office. "name": "A String", # The candidate's name. @@ -309,15 +316,21 @@

Method Details

"email": "A String", # The email address for the candidate's campaign. }, ], + "type": "A String", # The type of contest. Usually this will be 'General', 'Primary', or 'Run-off' for contests with candidates. For referenda this will be 'Referendum'. + "referendumText": "A String", # The full text of the referendum. This field is only populated for contests of type 'Referendum'. + "referendumConStatement": "A String", # A statement in opposition to the referendum. It does not necessarily appear on the ballot. This field is only populated for contests of type 'Referendum'. + "referendumPassageThreshold": "A String", # The threshold of votes that the referendum needs in order to pass, e.g. "two-thirds". This field is only populated for contests of type 'Referendum'. + "numberVotingFor": "A String", # The number of candidates that a voter may vote for in this contest. "roles": [ # The roles which this office fulfills. "A String", ], - "numberElected": "A String", # The number of candidates that will be elected to office in this contest. - "referendumUrl": "A String", # A link to the referendum. This field is only populated for contests of type 'Referendum'. - "electorateSpecifications": "A String", # A description of any additional eligibility requirements for voting in this contest. - "referendumTitle": "A String", # The title of the referendum (e.g. 'Proposition 42'). This field is only populated for contests of type 'Referendum'. - "id": "A String", # An ID for this object. IDs may change in future requests and should not be cached. Access to this field requires special access that can be requested from the Request more link on the Quotas page. - "special": "A String", # "Yes" or "No" depending on whether this a contest being held outside the normal election cycle. + "referendumBallotResponses": [ # The set of ballot responses for the referendum. A ballot response represents a line on the ballot. Common examples might include "yes" or "no" for referenda, or a judge's name for a retention contest. This field is only populated for contests of type 'Referendum'. + "A String", + ], + "level": [ # The levels of government of the office for this contest. There may be more than one in cases where a jurisdiction effectively acts at two different levels of government; for example, the mayor of the District of Columbia acts at "locality" level, but also effectively at both "administrative-area-2" and "administrative-area-1". + "A String", + ], + "referendumSubtitle": "A String", # A brief description of the referendum. This field is only populated for contests of type 'Referendum'. }, ], }
diff --git a/docs/dyn/classroom_v1.courses.aliases.html b/docs/dyn/classroom_v1.courses.aliases.html new file mode 100644 index 00000000000..be44dc78910 --- /dev/null +++ b/docs/dyn/classroom_v1.courses.aliases.html @@ -0,0 +1,166 @@ + + + +

Google Classroom API . courses . aliases

+

Instance Methods

+

+ create(courseId, body, x__xgafv=None)

+

Creates an alias to a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create the alias. * `NOT_FOUND` if the course does not exist. * `ALREADY_EXISTS` if the alias already exists.

+

+ delete(courseId, alias, x__xgafv=None)

+

Deletes an alias of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to remove the alias. * `NOT_FOUND` if the alias does not exist.

+

+ list(courseId, pageSize=None, x__xgafv=None, pageToken=None)

+

Lists the aliases of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the course. * `NOT_FOUND` if the course does not exist.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ create(courseId, body, x__xgafv=None) +
Creates an alias to a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create the alias. * `NOT_FOUND` if the course does not exist. * `ALREADY_EXISTS` if the alias already exists.
+
+Args:
+  courseId: string, The identifier of the course to alias. This may either be the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias]. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Alternative identifier for a course. An alias uniquely identifies a course. It will be unique within one of the following scopes: * domain: A domain-scoped alias is visible to all users within the alias creator's domain and may only be created by a domain admin. A domain-scoped alias is often used when a course has an identifier external to Classroom. * project: A project-scoped alias is visible to any request from an application using the Developer Console Project ID that created the alias and may be created by any project. A project-scoped alias is often used when an application has alternative identifiers. A random value can also be used to avoid duplicate courses in the event of transmission failures, as retrying a request will return ALREADY_EXISTS if a previous one has succeeded.
+    "alias": "A String", # Alias string. The format of the string indicated the desired alias scoping. * "d:" indicates a domain-scoped alias. Example: d:math_101 * "p:" indicates a project-scoped alias. Example: p:abc123 This field has a maximum length of 256 characters.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Alternative identifier for a course. An alias uniquely identifies a course. It will be unique within one of the following scopes: * domain: A domain-scoped alias is visible to all users within the alias creator's domain and may only be created by a domain admin. A domain-scoped alias is often used when a course has an identifier external to Classroom. * project: A project-scoped alias is visible to any request from an application using the Developer Console Project ID that created the alias and may be created by any project. A project-scoped alias is often used when an application has alternative identifiers. A random value can also be used to avoid duplicate courses in the event of transmission failures, as retrying a request will return ALREADY_EXISTS if a previous one has succeeded.
+      "alias": "A String", # Alias string. The format of the string indicated the desired alias scoping. * "d:" indicates a domain-scoped alias. Example: d:math_101 * "p:" indicates a project-scoped alias. Example: p:abc123 This field has a maximum length of 256 characters.
+    }
+
+ +
+ delete(courseId, alias, x__xgafv=None) +
Deletes an alias of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to remove the alias. * `NOT_FOUND` if the alias does not exist.
+
+Args:
+  courseId: string, The identifier of the course whose alias should be deleted. This may either be the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias]. (required)
+  alias: string, The alias to delete. This may not be the Classroom-assigned identifier. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ list(courseId, pageSize=None, x__xgafv=None, pageToken=None) +
Lists the aliases of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the course. * `NOT_FOUND` if the course does not exist.
+
+Args:
+  courseId: string, The identifier of the course. This may either be the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias]. (required)
+  pageSize: integer, Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.
+  x__xgafv: string, V1 error format.
+  pageToken: string, [nextPageToken][google.classroom.v1.ListCourseAliasesResponse.next_page_token] value returned from a previous [list][google.classroom.v1.Courses.ListCourseAliases] call, indicating that the subsequent page of results should be returned. The [list][google.classroom.v1.Courses.ListCourseAliases] request must be identical to the one which resulted in this token.
+
+Returns:
+  An object of the form:
+
+    { # Response when listing course aliases.
+    "nextPageToken": "A String", # Token identifying the next page of results to return. If empty, no further results are available.
+    "aliases": [ # The course aliases.
+      { # Alternative identifier for a course. An alias uniquely identifies a course. It will be unique within one of the following scopes: * domain: A domain-scoped alias is visible to all users within the alias creator's domain and may only be created by a domain admin. A domain-scoped alias is often used when a course has an identifier external to Classroom. * project: A project-scoped alias is visible to any request from an application using the Developer Console Project ID that created the alias and may be created by any project. A project-scoped alias is often used when an application has alternative identifiers. A random value can also be used to avoid duplicate courses in the event of transmission failures, as retrying a request will return ALREADY_EXISTS if a previous one has succeeded.
+          "alias": "A String", # Alias string. The format of the string indicated the desired alias scoping. * "d:" indicates a domain-scoped alias. Example: d:math_101 * "p:" indicates a project-scoped alias. Example: p:abc123 This field has a maximum length of 256 characters.
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/classroom_v1.courses.html b/docs/dyn/classroom_v1.courses.html new file mode 100644 index 00000000000..24d450fc6fb --- /dev/null +++ b/docs/dyn/classroom_v1.courses.html @@ -0,0 +1,340 @@ + + + +

Google Classroom API . courses

+

Instance Methods

+

+ aliases() +

+

Returns the aliases Resource.

+ +

+ students() +

+

Returns the students Resource.

+ +

+ teachers() +

+

Returns the teachers Resource.

+ +

+ create(body, x__xgafv=None)

+

Creates a course. The user specified as the primary teacher in `primary_teacher_id` is the owner of the created course and added as a teacher. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create courses. * `NOT_FOUND` if the primary teacher is not a valid user. * `ALREADY_EXISTS` if an alias was specified and already exists.

+

+ delete(id, x__xgafv=None)

+

Deletes a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested course. * `NOT_FOUND` if no course exists with the requested ID.

+

+ get(id, x__xgafv=None)

+

Returns a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course. * `NOT_FOUND` if no course exists with the requested ID.

+

+ list(studentId=None, pageSize=None, teacherId=None, pageToken=None, x__xgafv=None)

+

Returns a list of courses that the requesting user is permitted to view, restricted to those that match the request. This method returns the following error codes: * `INVALID_ARGUMENT` if the query argument is malformed. * `NOT_FOUND` if any users specified in the query arguments do not exist.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(id, body, updateMask=None, x__xgafv=None)

+

Updates one or more fields a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course. * `NOT_FOUND` if no course exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields are specified in the update mask or if no update mask is supplied.

+

+ update(id, body, x__xgafv=None)

+

Updates a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course. * `NOT_FOUND` if no course exists with the requested ID.

+

Method Details

+
+ create(body, x__xgafv=None) +
Creates a course. The user specified as the primary teacher in `primary_teacher_id` is the owner of the created course and added as a teacher. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create courses. * `NOT_FOUND` if the primary teacher is not a valid user. * `ALREADY_EXISTS` if an alias was specified and already exists.
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A Course in Classroom.
+  "updateTime": "A String", # Time of the most recent update to this course. Specifying this field in a course update mask will result in an error. Read-only.
+  "description": "A String", # Optional description. For example, "We'll be learning about about the structure of living creatures from a combination of textbooks, guest lectures, and lab work. Expect to be excited!" If set, this field must be a valid UTF-8 string and no longer than 30,000 characters.
+  "alternateLink": "A String", # Absolute link to this course in the Classroom web UI. Read-only.
+  "enrollmentCode": "A String", # Enrollment code to use when joining this course. Specifying this field in a course update mask will result in an error. Read-only.
+  "section": "A String", # Section of the course For example, "Period 2". If set, this field must be a valid UTF-8 string and no longer than 2800 characters.
+  "creationTime": "A String", # Creation time of the course. Specifying this field in a course update mask will result in an error. Read-only.
+  "name": "A String", # Name of the course. For example, "10th Grade Biology". This is required and must be between 1 and 750 characters and a valid UTF-8 string.
+  "courseState": "A String", # State of the course. If unspecified, the default state will be `PROVISIONED`.
+  "ownerId": "A String", # The identifier of the owner (and primary teacher) of a course. When specified as a parameter of CreateCourseRequest, this field is required. It may be the numeric identifier for the user, or an alias that identifies the owner. The following aliases are supported: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user This must be set in a CreateRequest; specifying this field in a course update mask will result in an error.
+  "id": "A String", # Unique identifier for this course assigned by Classroom. You may optionally set this to an [alias string][google.classroom.v1.CourseAlias] as part of [creating a course][google.classroom.v1.Courses.CreateCourse], creating a corresponding alias. The `ID` cannot be updated after a course is created. Specifying this field in a course update mask will result in an error.
+  "descriptionHeading": "A String", # Optional heading for the description. For example, "Welcome to 10th Grade Biology" If set, this field must be a valid UTF-8 string and no longer than 3600 characters.
+  "room": "A String", # Optional room location. For example, "301" If set, this field must be a valid UTF-8 string and no longer than 650 characters.
+}
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A Course in Classroom.
+    "updateTime": "A String", # Time of the most recent update to this course. Specifying this field in a course update mask will result in an error. Read-only.
+    "description": "A String", # Optional description. For example, "We'll be learning about about the structure of living creatures from a combination of textbooks, guest lectures, and lab work. Expect to be excited!" If set, this field must be a valid UTF-8 string and no longer than 30,000 characters.
+    "alternateLink": "A String", # Absolute link to this course in the Classroom web UI. Read-only.
+    "enrollmentCode": "A String", # Enrollment code to use when joining this course. Specifying this field in a course update mask will result in an error. Read-only.
+    "section": "A String", # Section of the course For example, "Period 2". If set, this field must be a valid UTF-8 string and no longer than 2800 characters.
+    "creationTime": "A String", # Creation time of the course. Specifying this field in a course update mask will result in an error. Read-only.
+    "name": "A String", # Name of the course. For example, "10th Grade Biology". This is required and must be between 1 and 750 characters and a valid UTF-8 string.
+    "courseState": "A String", # State of the course. If unspecified, the default state will be `PROVISIONED`.
+    "ownerId": "A String", # The identifier of the owner (and primary teacher) of a course. When specified as a parameter of CreateCourseRequest, this field is required. It may be the numeric identifier for the user, or an alias that identifies the owner. The following aliases are supported: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user This must be set in a CreateRequest; specifying this field in a course update mask will result in an error.
+    "id": "A String", # Unique identifier for this course assigned by Classroom. You may optionally set this to an [alias string][google.classroom.v1.CourseAlias] as part of [creating a course][google.classroom.v1.Courses.CreateCourse], creating a corresponding alias. The `ID` cannot be updated after a course is created. Specifying this field in a course update mask will result in an error.
+    "descriptionHeading": "A String", # Optional heading for the description. For example, "Welcome to 10th Grade Biology" If set, this field must be a valid UTF-8 string and no longer than 3600 characters.
+    "room": "A String", # Optional room location. For example, "301" If set, this field must be a valid UTF-8 string and no longer than 650 characters.
+  }
+
+ +
+ delete(id, x__xgafv=None) +
Deletes a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested course. * `NOT_FOUND` if no course exists with the requested ID.
+
+Args:
+  id: string, Identifier of the course to delete. This may either be the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias]. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ get(id, x__xgafv=None) +
Returns a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course. * `NOT_FOUND` if no course exists with the requested ID.
+
+Args:
+  id: string, Identifier of the course to return. This may either be the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias]. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A Course in Classroom.
+    "updateTime": "A String", # Time of the most recent update to this course. Specifying this field in a course update mask will result in an error. Read-only.
+    "description": "A String", # Optional description. For example, "We'll be learning about about the structure of living creatures from a combination of textbooks, guest lectures, and lab work. Expect to be excited!" If set, this field must be a valid UTF-8 string and no longer than 30,000 characters.
+    "alternateLink": "A String", # Absolute link to this course in the Classroom web UI. Read-only.
+    "enrollmentCode": "A String", # Enrollment code to use when joining this course. Specifying this field in a course update mask will result in an error. Read-only.
+    "section": "A String", # Section of the course For example, "Period 2". If set, this field must be a valid UTF-8 string and no longer than 2800 characters.
+    "creationTime": "A String", # Creation time of the course. Specifying this field in a course update mask will result in an error. Read-only.
+    "name": "A String", # Name of the course. For example, "10th Grade Biology". This is required and must be between 1 and 750 characters and a valid UTF-8 string.
+    "courseState": "A String", # State of the course. If unspecified, the default state will be `PROVISIONED`.
+    "ownerId": "A String", # The identifier of the owner (and primary teacher) of a course. When specified as a parameter of CreateCourseRequest, this field is required. It may be the numeric identifier for the user, or an alias that identifies the owner. The following aliases are supported: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user This must be set in a CreateRequest; specifying this field in a course update mask will result in an error.
+    "id": "A String", # Unique identifier for this course assigned by Classroom. You may optionally set this to an [alias string][google.classroom.v1.CourseAlias] as part of [creating a course][google.classroom.v1.Courses.CreateCourse], creating a corresponding alias. The `ID` cannot be updated after a course is created. Specifying this field in a course update mask will result in an error.
+    "descriptionHeading": "A String", # Optional heading for the description. For example, "Welcome to 10th Grade Biology" If set, this field must be a valid UTF-8 string and no longer than 3600 characters.
+    "room": "A String", # Optional room location. For example, "301" If set, this field must be a valid UTF-8 string and no longer than 650 characters.
+  }
+
+ +
+ list(studentId=None, pageSize=None, teacherId=None, pageToken=None, x__xgafv=None) +
Returns a list of courses that the requesting user is permitted to view, restricted to those that match the request. This method returns the following error codes: * `INVALID_ARGUMENT` if the query argument is malformed. * `NOT_FOUND` if any users specified in the query arguments do not exist.
+
+Args:
+  studentId: string, Restricts returned courses to those having a student with the specified identifier, or an alias that identifies a student. The following aliases are supported: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user
+  pageSize: integer, Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.
+  teacherId: string, Restricts returned courses to those having a teacher with the specified identifier, or an alias that identifies a teacher. The following aliases are supported: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user
+  pageToken: string, [nextPageToken][google.classroom.v1.ListCoursesResponse.next_page_token] value returned from a previous [list][google.classroom.v1.Courses.ListCourses] call, indicating that the subsequent page of results should be returned. The [list][google.classroom.v1.Courses.ListCourses] request must be identical to the one which resulted in this token.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response when listing courses.
+    "nextPageToken": "A String", # Token identifying the next page of results to return. If empty, no further results are available.
+    "courses": [ # Courses that match the request.
+      { # A Course in Classroom.
+        "updateTime": "A String", # Time of the most recent update to this course. Specifying this field in a course update mask will result in an error. Read-only.
+        "description": "A String", # Optional description. For example, "We'll be learning about about the structure of living creatures from a combination of textbooks, guest lectures, and lab work. Expect to be excited!" If set, this field must be a valid UTF-8 string and no longer than 30,000 characters.
+        "alternateLink": "A String", # Absolute link to this course in the Classroom web UI. Read-only.
+        "enrollmentCode": "A String", # Enrollment code to use when joining this course. Specifying this field in a course update mask will result in an error. Read-only.
+        "section": "A String", # Section of the course For example, "Period 2". If set, this field must be a valid UTF-8 string and no longer than 2800 characters.
+        "creationTime": "A String", # Creation time of the course. Specifying this field in a course update mask will result in an error. Read-only.
+        "name": "A String", # Name of the course. For example, "10th Grade Biology". This is required and must be between 1 and 750 characters and a valid UTF-8 string.
+        "courseState": "A String", # State of the course. If unspecified, the default state will be `PROVISIONED`.
+        "ownerId": "A String", # The identifier of the owner (and primary teacher) of a course. When specified as a parameter of CreateCourseRequest, this field is required. It may be the numeric identifier for the user, or an alias that identifies the owner. The following aliases are supported: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user This must be set in a CreateRequest; specifying this field in a course update mask will result in an error.
+        "id": "A String", # Unique identifier for this course assigned by Classroom. You may optionally set this to an [alias string][google.classroom.v1.CourseAlias] as part of [creating a course][google.classroom.v1.Courses.CreateCourse], creating a corresponding alias. The `ID` cannot be updated after a course is created. Specifying this field in a course update mask will result in an error.
+        "descriptionHeading": "A String", # Optional heading for the description. For example, "Welcome to 10th Grade Biology" If set, this field must be a valid UTF-8 string and no longer than 3600 characters.
+        "room": "A String", # Optional room location. For example, "301" If set, this field must be a valid UTF-8 string and no longer than 650 characters.
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(id, body, updateMask=None, x__xgafv=None) +
Updates one or more fields a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course. * `NOT_FOUND` if no course exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields are specified in the update mask or if no update mask is supplied.
+
+Args:
+  id: string, Identifier of the course to update. This may either be the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias]. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A Course in Classroom.
+  "updateTime": "A String", # Time of the most recent update to this course. Specifying this field in a course update mask will result in an error. Read-only.
+  "description": "A String", # Optional description. For example, "We'll be learning about about the structure of living creatures from a combination of textbooks, guest lectures, and lab work. Expect to be excited!" If set, this field must be a valid UTF-8 string and no longer than 30,000 characters.
+  "alternateLink": "A String", # Absolute link to this course in the Classroom web UI. Read-only.
+  "enrollmentCode": "A String", # Enrollment code to use when joining this course. Specifying this field in a course update mask will result in an error. Read-only.
+  "section": "A String", # Section of the course For example, "Period 2". If set, this field must be a valid UTF-8 string and no longer than 2800 characters.
+  "creationTime": "A String", # Creation time of the course. Specifying this field in a course update mask will result in an error. Read-only.
+  "name": "A String", # Name of the course. For example, "10th Grade Biology". This is required and must be between 1 and 750 characters and a valid UTF-8 string.
+  "courseState": "A String", # State of the course. If unspecified, the default state will be `PROVISIONED`.
+  "ownerId": "A String", # The identifier of the owner (and primary teacher) of a course. When specified as a parameter of CreateCourseRequest, this field is required. It may be the numeric identifier for the user, or an alias that identifies the owner. The following aliases are supported: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user This must be set in a CreateRequest; specifying this field in a course update mask will result in an error.
+  "id": "A String", # Unique identifier for this course assigned by Classroom. You may optionally set this to an [alias string][google.classroom.v1.CourseAlias] as part of [creating a course][google.classroom.v1.Courses.CreateCourse], creating a corresponding alias. The `ID` cannot be updated after a course is created. Specifying this field in a course update mask will result in an error.
+  "descriptionHeading": "A String", # Optional heading for the description. For example, "Welcome to 10th Grade Biology" If set, this field must be a valid UTF-8 string and no longer than 3600 characters.
+  "room": "A String", # Optional room location. For example, "301" If set, this field must be a valid UTF-8 string and no longer than 650 characters.
+}
+
+  updateMask: string, Mask which identifies which fields on the course to update. This field is required to do an update. The update will fail if invalid fields are specified. Valid fields are listed below: * `name` * `section` * `descriptionHeading` * `description` * `room` * `courseState` When set in a query parameter, this should be specified as `updateMask=,,...`
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A Course in Classroom.
+    "updateTime": "A String", # Time of the most recent update to this course. Specifying this field in a course update mask will result in an error. Read-only.
+    "description": "A String", # Optional description. For example, "We'll be learning about about the structure of living creatures from a combination of textbooks, guest lectures, and lab work. Expect to be excited!" If set, this field must be a valid UTF-8 string and no longer than 30,000 characters.
+    "alternateLink": "A String", # Absolute link to this course in the Classroom web UI. Read-only.
+    "enrollmentCode": "A String", # Enrollment code to use when joining this course. Specifying this field in a course update mask will result in an error. Read-only.
+    "section": "A String", # Section of the course For example, "Period 2". If set, this field must be a valid UTF-8 string and no longer than 2800 characters.
+    "creationTime": "A String", # Creation time of the course. Specifying this field in a course update mask will result in an error. Read-only.
+    "name": "A String", # Name of the course. For example, "10th Grade Biology". This is required and must be between 1 and 750 characters and a valid UTF-8 string.
+    "courseState": "A String", # State of the course. If unspecified, the default state will be `PROVISIONED`.
+    "ownerId": "A String", # The identifier of the owner (and primary teacher) of a course. When specified as a parameter of CreateCourseRequest, this field is required. It may be the numeric identifier for the user, or an alias that identifies the owner. The following aliases are supported: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user This must be set in a CreateRequest; specifying this field in a course update mask will result in an error.
+    "id": "A String", # Unique identifier for this course assigned by Classroom. You may optionally set this to an [alias string][google.classroom.v1.CourseAlias] as part of [creating a course][google.classroom.v1.Courses.CreateCourse], creating a corresponding alias. The `ID` cannot be updated after a course is created. Specifying this field in a course update mask will result in an error.
+    "descriptionHeading": "A String", # Optional heading for the description. For example, "Welcome to 10th Grade Biology" If set, this field must be a valid UTF-8 string and no longer than 3600 characters.
+    "room": "A String", # Optional room location. For example, "301" If set, this field must be a valid UTF-8 string and no longer than 650 characters.
+  }
+
+ +
+ update(id, body, x__xgafv=None) +
Updates a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested course. * `NOT_FOUND` if no course exists with the requested ID.
+
+Args:
+  id: string, Identifier of the course to update. This may either be the Classroom-assigned identifier or an [alias][google.classroom.v1.CourseAlias]. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A Course in Classroom.
+  "updateTime": "A String", # Time of the most recent update to this course. Specifying this field in a course update mask will result in an error. Read-only.
+  "description": "A String", # Optional description. For example, "We'll be learning about about the structure of living creatures from a combination of textbooks, guest lectures, and lab work. Expect to be excited!" If set, this field must be a valid UTF-8 string and no longer than 30,000 characters.
+  "alternateLink": "A String", # Absolute link to this course in the Classroom web UI. Read-only.
+  "enrollmentCode": "A String", # Enrollment code to use when joining this course. Specifying this field in a course update mask will result in an error. Read-only.
+  "section": "A String", # Section of the course For example, "Period 2". If set, this field must be a valid UTF-8 string and no longer than 2800 characters.
+  "creationTime": "A String", # Creation time of the course. Specifying this field in a course update mask will result in an error. Read-only.
+  "name": "A String", # Name of the course. For example, "10th Grade Biology". This is required and must be between 1 and 750 characters and a valid UTF-8 string.
+  "courseState": "A String", # State of the course. If unspecified, the default state will be `PROVISIONED`.
+  "ownerId": "A String", # The identifier of the owner (and primary teacher) of a course. When specified as a parameter of CreateCourseRequest, this field is required. It may be the numeric identifier for the user, or an alias that identifies the owner. The following aliases are supported: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user This must be set in a CreateRequest; specifying this field in a course update mask will result in an error.
+  "id": "A String", # Unique identifier for this course assigned by Classroom. You may optionally set this to an [alias string][google.classroom.v1.CourseAlias] as part of [creating a course][google.classroom.v1.Courses.CreateCourse], creating a corresponding alias. The `ID` cannot be updated after a course is created. Specifying this field in a course update mask will result in an error.
+  "descriptionHeading": "A String", # Optional heading for the description. For example, "Welcome to 10th Grade Biology" If set, this field must be a valid UTF-8 string and no longer than 3600 characters.
+  "room": "A String", # Optional room location. For example, "301" If set, this field must be a valid UTF-8 string and no longer than 650 characters.
+}
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A Course in Classroom.
+    "updateTime": "A String", # Time of the most recent update to this course. Specifying this field in a course update mask will result in an error. Read-only.
+    "description": "A String", # Optional description. For example, "We'll be learning about about the structure of living creatures from a combination of textbooks, guest lectures, and lab work. Expect to be excited!" If set, this field must be a valid UTF-8 string and no longer than 30,000 characters.
+    "alternateLink": "A String", # Absolute link to this course in the Classroom web UI. Read-only.
+    "enrollmentCode": "A String", # Enrollment code to use when joining this course. Specifying this field in a course update mask will result in an error. Read-only.
+    "section": "A String", # Section of the course For example, "Period 2". If set, this field must be a valid UTF-8 string and no longer than 2800 characters.
+    "creationTime": "A String", # Creation time of the course. Specifying this field in a course update mask will result in an error. Read-only.
+    "name": "A String", # Name of the course. For example, "10th Grade Biology". This is required and must be between 1 and 750 characters and a valid UTF-8 string.
+    "courseState": "A String", # State of the course. If unspecified, the default state will be `PROVISIONED`.
+    "ownerId": "A String", # The identifier of the owner (and primary teacher) of a course. When specified as a parameter of CreateCourseRequest, this field is required. It may be the numeric identifier for the user, or an alias that identifies the owner. The following aliases are supported: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user This must be set in a CreateRequest; specifying this field in a course update mask will result in an error.
+    "id": "A String", # Unique identifier for this course assigned by Classroom. You may optionally set this to an [alias string][google.classroom.v1.CourseAlias] as part of [creating a course][google.classroom.v1.Courses.CreateCourse], creating a corresponding alias. The `ID` cannot be updated after a course is created. Specifying this field in a course update mask will result in an error.
+    "descriptionHeading": "A String", # Optional heading for the description. For example, "Welcome to 10th Grade Biology" If set, this field must be a valid UTF-8 string and no longer than 3600 characters.
+    "room": "A String", # Optional room location. For example, "301" If set, this field must be a valid UTF-8 string and no longer than 650 characters.
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/classroom_v1.courses.students.html b/docs/dyn/classroom_v1.courses.students.html new file mode 100644 index 00000000000..2a5957b6f42 --- /dev/null +++ b/docs/dyn/classroom_v1.courses.students.html @@ -0,0 +1,251 @@ + + + +

Google Classroom API . courses . students

+

Instance Methods

+

+ create(courseId, body, enrollmentCode=None, x__xgafv=None)

+

Adds a user as a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create students in this course. * `NOT_FOUND` if the requested course ID does not exist. * `ALREADY_EXISTS` if the user is already a student or student in the course.

+

+ delete(courseId, userId, x__xgafv=None)

+

Deletes a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete students of this course. * `NOT_FOUND` if no student of this course has the requested ID or if the course does not exist.

+

+ get(courseId, userId, x__xgafv=None)

+

Returns a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view students of this course. * `NOT_FOUND` if no student of this course has the requested ID or if the course does not exist.

+

+ list(courseId, pageSize=None, x__xgafv=None, pageToken=None)

+

Returns a list of students of this course that the requester is permitted to view. Fails with `NOT_FOUND` if the course does not exist.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ create(courseId, body, enrollmentCode=None, x__xgafv=None) +
Adds a user as a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create students in this course. * `NOT_FOUND` if the requested course ID does not exist. * `ALREADY_EXISTS` if the user is already a student or student in the course.
+
+Args:
+  courseId: string, Identifier of the course to create the student in. This may either be the Classroom-assigned identifier or an alias. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Student in a course.
+    "courseId": "A String", # Unique identifier of the course. Read-only
+    "profile": { # Global information for a user. # Global user information for the student. Read-only
+      "permissions": [ # Global permissions of the user. Read-only
+        { # Global user permission description.
+          "permission": "A String", # Permission value.
+        },
+      ],
+      "photoUrl": "A String", # Url of user's profile photo. Read-only
+      "emailAddress": "A String", # E-mail address of the user. Read-only
+      "id": "A String", # Unique identifier of the user. Read-only
+      "name": { # Details of the user's name. # Name of the user. Read-only
+        "fullName": "A String", # The user's full name formed by concatenating the first and last name values. Read-only
+        "givenName": "A String", # The user's first name. Read-only
+        "familyName": "A String", # The user's last name. Read-only
+      },
+    },
+    "userId": "A String", # The identifier of the user. When specified as a parameter of request, this field may be set to an alias that identifies the student. The following are supported: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user
+  }
+
+  enrollmentCode: string, Enrollment code of the course to create the student in. This is required if [userId][google.classroom.v1.Student.user_id] corresponds to the requesting user; this may be omitted if the requesting user has administrative permissions to create students for any user.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Student in a course.
+      "courseId": "A String", # Unique identifier of the course. Read-only
+      "profile": { # Global information for a user. # Global user information for the student. Read-only
+        "permissions": [ # Global permissions of the user. Read-only
+          { # Global user permission description.
+            "permission": "A String", # Permission value.
+          },
+        ],
+        "photoUrl": "A String", # Url of user's profile photo. Read-only
+        "emailAddress": "A String", # E-mail address of the user. Read-only
+        "id": "A String", # Unique identifier of the user. Read-only
+        "name": { # Details of the user's name. # Name of the user. Read-only
+          "fullName": "A String", # The user's full name formed by concatenating the first and last name values. Read-only
+          "givenName": "A String", # The user's first name. Read-only
+          "familyName": "A String", # The user's last name. Read-only
+        },
+      },
+      "userId": "A String", # The identifier of the user. When specified as a parameter of request, this field may be set to an alias that identifies the student. The following are supported: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user
+    }
+
+ +
+ delete(courseId, userId, x__xgafv=None) +
Deletes a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete students of this course. * `NOT_FOUND` if no student of this course has the requested ID or if the course does not exist.
+
+Args:
+  courseId: string, Unique identifier of the course. This may either be the Classroom-assigned identifier or an alias. (required)
+  userId: string, Identifier of the student to delete, or an alias the identifies the user. The following aliases are supported: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ get(courseId, userId, x__xgafv=None) +
Returns a student of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view students of this course. * `NOT_FOUND` if no student of this course has the requested ID or if the course does not exist.
+
+Args:
+  courseId: string, Unique identifier of the course. This may either be the Classroom-assigned identifier or an alias. (required)
+  userId: string, Identifier of the student to return, or an alias the identifies the user. The following aliases are supported: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Student in a course.
+      "courseId": "A String", # Unique identifier of the course. Read-only
+      "profile": { # Global information for a user. # Global user information for the student. Read-only
+        "permissions": [ # Global permissions of the user. Read-only
+          { # Global user permission description.
+            "permission": "A String", # Permission value.
+          },
+        ],
+        "photoUrl": "A String", # Url of user's profile photo. Read-only
+        "emailAddress": "A String", # E-mail address of the user. Read-only
+        "id": "A String", # Unique identifier of the user. Read-only
+        "name": { # Details of the user's name. # Name of the user. Read-only
+          "fullName": "A String", # The user's full name formed by concatenating the first and last name values. Read-only
+          "givenName": "A String", # The user's first name. Read-only
+          "familyName": "A String", # The user's last name. Read-only
+        },
+      },
+      "userId": "A String", # The identifier of the user. When specified as a parameter of request, this field may be set to an alias that identifies the student. The following are supported: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user
+    }
+
+ +
+ list(courseId, pageSize=None, x__xgafv=None, pageToken=None) +
Returns a list of students of this course that the requester is permitted to view. Fails with `NOT_FOUND` if the course does not exist.
+
+Args:
+  courseId: string, Unique identifier of the course. This may either be the Classroom-assigned identifier or an alias. (required)
+  pageSize: integer, Maximum number of items to return. Zero means no maximum. The server may return fewer than the specified number of results.
+  x__xgafv: string, V1 error format.
+  pageToken: string, [nextPageToken][google.classroom.v1.ListStudentsResponse.next_page_token] value returned from a previous [list][google.classroom.v1.Users.ListStudents] call, indicating that the subsequent page of results should be returned. The [list][google.classroom.v1.Users.ListStudents] request must be identical to the one which resulted in this token.
+
+Returns:
+  An object of the form:
+
+    { # Response when listing students.
+    "students": [ # The students who match the list request.
+      { # Student in a course.
+          "courseId": "A String", # Unique identifier of the course. Read-only
+          "profile": { # Global information for a user. # Global user information for the student. Read-only
+            "permissions": [ # Global permissions of the user. Read-only
+              { # Global user permission description.
+                "permission": "A String", # Permission value.
+              },
+            ],
+            "photoUrl": "A String", # Url of user's profile photo. Read-only
+            "emailAddress": "A String", # E-mail address of the user. Read-only
+            "id": "A String", # Unique identifier of the user. Read-only
+            "name": { # Details of the user's name. # Name of the user. Read-only
+              "fullName": "A String", # The user's full name formed by concatenating the first and last name values. Read-only
+              "givenName": "A String", # The user's first name. Read-only
+              "familyName": "A String", # The user's last name. Read-only
+            },
+          },
+          "userId": "A String", # The identifier of the user. When specified as a parameter of request, this field may be set to an alias that identifies the student. The following are supported: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user
+        },
+    ],
+    "nextPageToken": "A String", # Token identifying the next page of results to return. If empty, no further results are available.
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/classroom_v1.courses.teachers.html b/docs/dyn/classroom_v1.courses.teachers.html new file mode 100644 index 00000000000..a862bed2635 --- /dev/null +++ b/docs/dyn/classroom_v1.courses.teachers.html @@ -0,0 +1,250 @@ + + + +

Google Classroom API . courses . teachers

+

Instance Methods

+

+ create(courseId, body, x__xgafv=None)

+

Creates a teacher of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create teachers in this course. * `NOT_FOUND` if the requested course ID does not exist. * `ALREADY_EXISTS` if the user is already a teacher or student in the course.

+

+ delete(courseId, userId, x__xgafv=None)

+

Deletes a teacher of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete teachers of this course. * `NOT_FOUND` if no teacher of this course has the requested ID or if the course does not exist. * `FAILED_PRECONDITION` if the requested ID belongs to the primary teacher of this course.

+

+ get(courseId, userId, x__xgafv=None)

+

Returns a teacher of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view teachers of this course. * `NOT_FOUND` if no teacher of this course has the requested ID or if the course does not exist.

+

+ list(courseId, pageSize=None, x__xgafv=None, pageToken=None)

+

Returns a list of teachers of this course that the requester is permitted to view. Fails with `NOT_FOUND` if the course does not exist.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ create(courseId, body, x__xgafv=None) +
Creates a teacher of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create teachers in this course. * `NOT_FOUND` if the requested course ID does not exist. * `ALREADY_EXISTS` if the user is already a teacher or student in the course.
+
+Args:
+  courseId: string, Unique identifier of the course. This may either be the Classroom-assigned identifier or an alias. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Teacher of a course.
+    "courseId": "A String", # Unique identifier of the course. Read-only
+    "profile": { # Global information for a user. # Global user information for the teacher. Read-only
+      "permissions": [ # Global permissions of the user. Read-only
+        { # Global user permission description.
+          "permission": "A String", # Permission value.
+        },
+      ],
+      "photoUrl": "A String", # Url of user's profile photo. Read-only
+      "emailAddress": "A String", # E-mail address of the user. Read-only
+      "id": "A String", # Unique identifier of the user. Read-only
+      "name": { # Details of the user's name. # Name of the user. Read-only
+        "fullName": "A String", # The user's full name formed by concatenating the first and last name values. Read-only
+        "givenName": "A String", # The user's first name. Read-only
+        "familyName": "A String", # The user's last name. Read-only
+      },
+    },
+    "userId": "A String", # The identifier of the user. When specified as a parameter of request, this field may be set to an alias that identifies the teacher. The following are supported: * the e-mail address of the user * the string literal `"me"`, indicating the requesting user
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Teacher of a course.
+      "courseId": "A String", # Unique identifier of the course. Read-only
+      "profile": { # Global information for a user. # Global user information for the teacher. Read-only
+        "permissions": [ # Global permissions of the user. Read-only
+          { # Global user permission description.
+            "permission": "A String", # Permission value.
+          },
+        ],
+        "photoUrl": "A String", # Url of user's profile photo. Read-only
+        "emailAddress": "A String", # E-mail address of the user. Read-only
+        "id": "A String", # Unique identifier of the user. Read-only
+        "name": { # Details of the user's name. # Name of the user. Read-only
+          "fullName": "A String", # The user's full name formed by concatenating the first and last name values. Read-only
+          "givenName": "A String", # The user's first name. Read-only
+          "familyName": "A String", # The user's last name. Read-only
+        },
+      },
+      "userId": "A String", # The identifier of the user. When specified as a parameter of request, this field may be set to an alias that identifies the teacher. The following are supported: * the e-mail address of the user * the string literal `"me"`, indicating the requesting user
+    }
+
+ +
+ delete(courseId, userId, x__xgafv=None) +
Deletes a teacher of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete teachers of this course. * `NOT_FOUND` if no teacher of this course has the requested ID or if the course does not exist. * `FAILED_PRECONDITION` if the requested ID belongs to the primary teacher of this course.
+
+Args:
+  courseId: string, Unique identifier of the course. This may either be the Classroom-assigned identifier or an alias. (required)
+  userId: string, Identifier of the teacher to delete, or an alias the identifies the user. the following aliases are supported: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ get(courseId, userId, x__xgafv=None) +
Returns a teacher of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view teachers of this course. * `NOT_FOUND` if no teacher of this course has the requested ID or if the course does not exist.
+
+Args:
+  courseId: string, Unique identifier of the course. This may either be the Classroom-assigned identifier or an alias. (required)
+  userId: string, Identifier of the teacher to return, or an alias the identifies the user. the following aliases are supported: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Teacher of a course.
+      "courseId": "A String", # Unique identifier of the course. Read-only
+      "profile": { # Global information for a user. # Global user information for the teacher. Read-only
+        "permissions": [ # Global permissions of the user. Read-only
+          { # Global user permission description.
+            "permission": "A String", # Permission value.
+          },
+        ],
+        "photoUrl": "A String", # Url of user's profile photo. Read-only
+        "emailAddress": "A String", # E-mail address of the user. Read-only
+        "id": "A String", # Unique identifier of the user. Read-only
+        "name": { # Details of the user's name. # Name of the user. Read-only
+          "fullName": "A String", # The user's full name formed by concatenating the first and last name values. Read-only
+          "givenName": "A String", # The user's first name. Read-only
+          "familyName": "A String", # The user's last name. Read-only
+        },
+      },
+      "userId": "A String", # The identifier of the user. When specified as a parameter of request, this field may be set to an alias that identifies the teacher. The following are supported: * the e-mail address of the user * the string literal `"me"`, indicating the requesting user
+    }
+
+ +
+ list(courseId, pageSize=None, x__xgafv=None, pageToken=None) +
Returns a list of teachers of this course that the requester is permitted to view. Fails with `NOT_FOUND` if the course does not exist.
+
+Args:
+  courseId: string, Unique identifier of the course. This may either be the Classroom-assigned identifier or an alias. (required)
+  pageSize: integer, Maximum number of items to return. Zero means no maximum. The server may return fewer than the specified number of results.
+  x__xgafv: string, V1 error format.
+  pageToken: string, [nextPageToken][google.classroom.v1.ListTeachersResponse.next_page_token] value returned from a previous [list][google.classroom.v1.Users.ListTeachers] call, indicating that the subsequent page of results should be returned. The [list][google.classroom.v1.Users.ListTeachers] request must be identical to the one which resulted in this token.
+
+Returns:
+  An object of the form:
+
+    { # Response when listing teachers.
+    "nextPageToken": "A String", # Token identifying the next page of results to return. If empty, no further results are available.
+    "teachers": [ # The teachers who match the list request.
+      { # Teacher of a course.
+          "courseId": "A String", # Unique identifier of the course. Read-only
+          "profile": { # Global information for a user. # Global user information for the teacher. Read-only
+            "permissions": [ # Global permissions of the user. Read-only
+              { # Global user permission description.
+                "permission": "A String", # Permission value.
+              },
+            ],
+            "photoUrl": "A String", # Url of user's profile photo. Read-only
+            "emailAddress": "A String", # E-mail address of the user. Read-only
+            "id": "A String", # Unique identifier of the user. Read-only
+            "name": { # Details of the user's name. # Name of the user. Read-only
+              "fullName": "A String", # The user's full name formed by concatenating the first and last name values. Read-only
+              "givenName": "A String", # The user's first name. Read-only
+              "familyName": "A String", # The user's last name. Read-only
+            },
+          },
+          "userId": "A String", # The identifier of the user. When specified as a parameter of request, this field may be set to an alias that identifies the teacher. The following are supported: * the e-mail address of the user * the string literal `"me"`, indicating the requesting user
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/classroom_v1.html b/docs/dyn/classroom_v1.html new file mode 100644 index 00000000000..ad3ec83a729 --- /dev/null +++ b/docs/dyn/classroom_v1.html @@ -0,0 +1,113 @@ + + + +

Google Classroom API

+

Instance Methods

+

+ courses() +

+

Returns the courses Resource.

+ +

+ invitations() +

+

Returns the invitations Resource.

+ +

+ userProfiles() +

+

Returns the userProfiles Resource.

+ +

+ new_batch_http_request()

+

Create a BatchHttpRequest object based on the discovery document.

+

Method Details

+
+ new_batch_http_request() +
Create a BatchHttpRequest object based on the discovery document.
+
+        Args:
+          callback: callable, A callback to be called for each response, of the
+            form callback(id, response, exception). The first parameter is the
+            request id, and the second is the deserialized response object. The
+            third is an apiclient.errors.HttpError exception object if an HTTP
+            error occurred while processing the request, or None if no error
+            occurred.
+
+        Returns:
+          A BatchHttpRequest object based on the discovery document.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/classroom_v1.invitations.html b/docs/dyn/classroom_v1.invitations.html new file mode 100644 index 00000000000..2af1da62775 --- /dev/null +++ b/docs/dyn/classroom_v1.invitations.html @@ -0,0 +1,214 @@ + + + +

Google Classroom API . invitations

+

Instance Methods

+

+ accept(id, x__xgafv=None)

+

Accepts an invitation, removing it and adding the invited user to the teachers or students (as appropriate) of the specified course. Only the invited user may accept an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to accept the requested invitation. * `NOT_FOUND` if no invitation exists with the requested ID.

+

+ create(body, x__xgafv=None)

+

Creates a invitation. Only one invitation for a user and course may exist at a time. Delete and recreate an invitation to make changes. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create invitations for this course. * `NOT_FOUND` if the course or the user does not exist. * `ALREADY_EXISTS` if an invitation for the specified user and course already exists.

+

+ delete(id, x__xgafv=None)

+

Deletes a invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested invitation. * `NOT_FOUND` if no invitation exists with the requested ID.

+

+ get(id, x__xgafv=None)

+

Returns a invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view the requested invitation. * `NOT_FOUND` if no invitation exists with the requested ID.

+

+ list(pageSize=None, courseId=None, userId=None, x__xgafv=None, pageToken=None)

+

Returns a list of invitations that the requesting user is permitted to view, restricted to those that match the request. *Note:* At least one of `user_id` or `course_id` must be supplied.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ accept(id, x__xgafv=None) +
Accepts an invitation, removing it and adding the invited user to the teachers or students (as appropriate) of the specified course. Only the invited user may accept an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to accept the requested invitation. * `NOT_FOUND` if no invitation exists with the requested ID.
+
+Args:
+  id: string, Identifier of the invitation to accept. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ create(body, x__xgafv=None) +
Creates a invitation. Only one invitation for a user and course may exist at a time. Delete and recreate an invitation to make changes. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create invitations for this course. * `NOT_FOUND` if the course or the user does not exist. * `ALREADY_EXISTS` if an invitation for the specified user and course already exists.
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # An invitation to join a course.
+    "courseId": "A String", # Identifier of the course to invite the user to.
+    "role": "A String", # Role to invite the user to have. Must not be `COURSE_ROLE_UNSPECIFIED`.
+    "userId": "A String", # Identifier of the invited user. When specified as a parameter of a request, this may be set to an alias that identifies the user to invite. The supported aliases are: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user
+    "id": "A String", # Unique identifier assigned by Classroom. Read-only
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # An invitation to join a course.
+      "courseId": "A String", # Identifier of the course to invite the user to.
+      "role": "A String", # Role to invite the user to have. Must not be `COURSE_ROLE_UNSPECIFIED`.
+      "userId": "A String", # Identifier of the invited user. When specified as a parameter of a request, this may be set to an alias that identifies the user to invite. The supported aliases are: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user
+      "id": "A String", # Unique identifier assigned by Classroom. Read-only
+    }
+
+ +
+ delete(id, x__xgafv=None) +
Deletes a invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested invitation. * `NOT_FOUND` if no invitation exists with the requested ID.
+
+Args:
+  id: string, Identifier of the invitation to delete. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ get(id, x__xgafv=None) +
Returns a invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view the requested invitation. * `NOT_FOUND` if no invitation exists with the requested ID.
+
+Args:
+  id: string, Identifier of the invitation to return. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # An invitation to join a course.
+      "courseId": "A String", # Identifier of the course to invite the user to.
+      "role": "A String", # Role to invite the user to have. Must not be `COURSE_ROLE_UNSPECIFIED`.
+      "userId": "A String", # Identifier of the invited user. When specified as a parameter of a request, this may be set to an alias that identifies the user to invite. The supported aliases are: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user
+      "id": "A String", # Unique identifier assigned by Classroom. Read-only
+    }
+
+ +
+ list(pageSize=None, courseId=None, userId=None, x__xgafv=None, pageToken=None) +
Returns a list of invitations that the requesting user is permitted to view, restricted to those that match the request. *Note:* At least one of `user_id` or `course_id` must be supplied.
+
+Args:
+  pageSize: integer, The maximum number of items to return. Zero means no maximum. The server may return fewer than the specified number of results.
+  courseId: string, Restricts returned invitations to those for a course with the specified identifier.
+  userId: string, Restricts returned invitations to those for a specific user. This may be the unique identifier for the user or an alias. The supported aliases are: * the e-mail address of the user * the string literal `"me"`, indicating the requesting user
+  x__xgafv: string, V1 error format.
+  pageToken: string, [nextPageToken][google.classroom.v1.ListInvitationsRespnse.next_page_token] value returned from a previous [list][google.classroom.v1.Users.ListInvitations] call, indicating that the subsequent page of results should be returned. The [list][google.classroom.v1.Users.ListInvitations] request must be identical to the one which resulted in this token.
+
+Returns:
+  An object of the form:
+
+    { # Response when listing invitations.
+    "nextPageToken": "A String", # Token identifying the next page of results to return. If empty, no further results are available.
+    "invitations": [ # Invitations that match the request.
+      { # An invitation to join a course.
+          "courseId": "A String", # Identifier of the course to invite the user to.
+          "role": "A String", # Role to invite the user to have. Must not be `COURSE_ROLE_UNSPECIFIED`.
+          "userId": "A String", # Identifier of the invited user. When specified as a parameter of a request, this may be set to an alias that identifies the user to invite. The supported aliases are: * the e-mail address of the user * the string literal `"me"`, indicating that the requesting user
+          "id": "A String", # Unique identifier assigned by Classroom. Read-only
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/classroom_v1.userProfiles.html b/docs/dyn/classroom_v1.userProfiles.html new file mode 100644 index 00000000000..c1fbe4abeb3 --- /dev/null +++ b/docs/dyn/classroom_v1.userProfiles.html @@ -0,0 +1,109 @@ + + + +

Google Classroom API . userProfiles

+

Instance Methods

+

+ get(userId, x__xgafv=None)

+

Returns a user profile. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access this user profile. * `NOT_FOUND` if the profile does not exist.

+

Method Details

+
+ get(userId, x__xgafv=None) +
Returns a user profile. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access this user profile. * `NOT_FOUND` if the profile does not exist.
+
+Args:
+  userId: string, Identifier of the profile to return, or an alias the identifies the user. The following aliases are supported: * the e-mail address of the user * the string literal `"me"`, indicating the requesting user (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Global information for a user.
+    "permissions": [ # Global permissions of the user. Read-only
+      { # Global user permission description.
+        "permission": "A String", # Permission value.
+      },
+    ],
+    "photoUrl": "A String", # Url of user's profile photo. Read-only
+    "emailAddress": "A String", # E-mail address of the user. Read-only
+    "id": "A String", # Unique identifier of the user. Read-only
+    "name": { # Details of the user's name. # Name of the user. Read-only
+      "fullName": "A String", # The user's full name formed by concatenating the first and last name values. Read-only
+      "givenName": "A String", # The user's first name. Read-only
+      "familyName": "A String", # The user's last name. Read-only
+    },
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/cloudbilling_v1.billingAccounts.html b/docs/dyn/cloudbilling_v1.billingAccounts.html new file mode 100644 index 00000000000..e6b6ca3757e --- /dev/null +++ b/docs/dyn/cloudbilling_v1.billingAccounts.html @@ -0,0 +1,148 @@ + + + +

Google Cloud Billing API . billingAccounts

+

Instance Methods

+

+ projects() +

+

Returns the projects Resource.

+ +

+ get(name, x__xgafv=None)

+

Gets information about a billing account. The current authenticated user must be an [owner of the billing account](https://support.google.com/cloud/answer/4430947).

+

+ list(pageSize=None, pageToken=None, x__xgafv=None)

+

Lists the billing accounts that the current authenticated user [owns](https://support.google.com/cloud/answer/4430947).

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ get(name, x__xgafv=None) +
Gets information about a billing account. The current authenticated user must be an [owner of the billing account](https://support.google.com/cloud/answer/4430947).
+
+Args:
+  name: string, The resource name of the billing account to retrieve. For example, `billingAccounts/012345-567890-ABCDEF`. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A billing account in [Google Developers Console](https://console.developers.google.com/). You can assign a billing account to one or more projects.
+    "displayName": "A String", # The display name given to the billing account, such as `My Billing Account`. This name is displayed in the Google Developers Console.
+    "open": True or False, # True if the billing account is open, and will therefore be charged for any usage on associated projects. False if the billing account is closed, and therefore projects associated with it will be unable to use paid services.
+    "name": "A String", # The resource name of the billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF` would be the resource name for billing account `012345-567890-ABCDEF`.
+  }
+
+ +
+ list(pageSize=None, pageToken=None, x__xgafv=None) +
Lists the billing accounts that the current authenticated user [owns](https://support.google.com/cloud/answer/4430947).
+
+Args:
+  pageSize: integer, Requested page size. The maximum page size is 100; this is also the default.
+  pageToken: string, A token identifying a page of results to return. This should be a `next_page_token` value returned from a previous `ListBillingAccounts` call. If unspecified, the first page of results is returned.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response message for `ListBillingAccounts`.
+    "nextPageToken": "A String", # A token to retrieve the next page of results. To retrieve the next page, call `ListBillingAccounts` again with the `page_token` field set to this value. This field is empty if there are no more results to retrieve.
+    "billingAccounts": [ # A list of billing accounts.
+      { # A billing account in [Google Developers Console](https://console.developers.google.com/). You can assign a billing account to one or more projects.
+        "displayName": "A String", # The display name given to the billing account, such as `My Billing Account`. This name is displayed in the Google Developers Console.
+        "open": True or False, # True if the billing account is open, and will therefore be charged for any usage on associated projects. False if the billing account is closed, and therefore projects associated with it will be unable to use paid services.
+        "name": "A String", # The resource name of the billing account. The resource name has the form `billingAccounts/{billing_account_id}`. For example, `billingAccounts/012345-567890-ABCDEF` would be the resource name for billing account `012345-567890-ABCDEF`.
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/cloudbilling_v1.billingAccounts.projects.html b/docs/dyn/cloudbilling_v1.billingAccounts.projects.html new file mode 100644 index 00000000000..4f025a23671 --- /dev/null +++ b/docs/dyn/cloudbilling_v1.billingAccounts.projects.html @@ -0,0 +1,124 @@ + + + +

Google Cloud Billing API . billingAccounts . projects

+

Instance Methods

+

+ list(name, pageToken=None, x__xgafv=None, pageSize=None)

+

Lists the projects associated with a billing account. The current authenticated user must be an [owner of the billing account](https://support.google.com/cloud/answer/4430947).

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ list(name, pageToken=None, x__xgafv=None, pageSize=None) +
Lists the projects associated with a billing account. The current authenticated user must be an [owner of the billing account](https://support.google.com/cloud/answer/4430947).
+
+Args:
+  name: string, The resource name of the billing account associated with the projects that you want to list. For example, `billingAccounts/012345-567890-ABCDEF`. (required)
+  pageToken: string, A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous `ListProjectBillingInfo` call. If unspecified, the first page of results is returned.
+  x__xgafv: string, V1 error format.
+  pageSize: integer, Requested page size. The maximum page size is 100; this is also the default.
+
+Returns:
+  An object of the form:
+
+    { # Request message for `ListProjectBillingInfoResponse`.
+    "nextPageToken": "A String", # A token to retrieve the next page of results. To retrieve the next page, call `ListProjectBillingInfo` again with the `page_token` field set to this value. This field is empty if there are no more results to retrieve.
+    "projectBillingInfo": [ # A list of `ProjectBillingInfo` resources representing the projects associated with the billing account.
+      { # Encapsulation of billing information for a Developers Console project. A project has at most one associated billing account at a time (but a billing account can be assigned to multiple projects).
+        "projectId": "A String", # The ID of the project that this `ProjectBillingInfo` represents, such as `tokyo-rain-123`. This is a convenience field so that you don't need to parse the `name` field to obtain a project ID. This field is read-only.
+        "name": "A String", # The resource name for the `ProjectBillingInfo`; has the form `projects/{project_id}/billingInfo`. For example, the resource name for the billing information for project `tokyo-rain-123` would be `projects/tokyo-rain-123/billingInfo`. This field is read-only.
+        "billingEnabled": True or False, # True if the project is associated with an open billing account, to which usage on the project is charged. False if the project is associated with a closed billing account, or no billing account at all, and therefore cannot use paid services. This field is read-only.
+        "billingAccountName": "A String", # The resource name of the billing account associated with the project, if any. For example, `billingAccounts/012345-567890-ABCDEF`.
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/cloudbilling_v1.html b/docs/dyn/cloudbilling_v1.html new file mode 100644 index 00000000000..c4ea90fdac6 --- /dev/null +++ b/docs/dyn/cloudbilling_v1.html @@ -0,0 +1,108 @@ + + + +

Google Cloud Billing API

+

Instance Methods

+

+ billingAccounts() +

+

Returns the billingAccounts Resource.

+ +

+ projects() +

+

Returns the projects Resource.

+ +

+ new_batch_http_request()

+

Create a BatchHttpRequest object based on the discovery document.

+

Method Details

+
+ new_batch_http_request() +
Create a BatchHttpRequest object based on the discovery document.
+
+        Args:
+          callback: callable, A callback to be called for each response, of the
+            form callback(id, response, exception). The first parameter is the
+            request id, and the second is the deserialized response object. The
+            third is an apiclient.errors.HttpError exception object if an HTTP
+            error occurred while processing the request, or None if no error
+            occurred.
+
+        Returns:
+          A BatchHttpRequest object based on the discovery document.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/cloudbilling_v1.projects.html b/docs/dyn/cloudbilling_v1.projects.html new file mode 100644 index 00000000000..e4a27cf724f --- /dev/null +++ b/docs/dyn/cloudbilling_v1.projects.html @@ -0,0 +1,132 @@ + + + +

Google Cloud Billing API . projects

+

Instance Methods

+

+ getBillingInfo(name, x__xgafv=None)

+

Gets the billing information for a project. The current authenticated user must have [permission to view the project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo ).

+

+ updateBillingInfo(name, body, x__xgafv=None)

+

Sets or updates the billing account associated with a project. You specify the new billing account by setting the `billing_account_name` in the `ProjectBillingInfo` resource to the resource name of a billing account. Associating a project with an open billing account enables billing on the project and allows charges for resource usage. If the project already had a billing account, this method changes the billing account used for resource usage charges. *Note:* Incurred charges that have not yet been reported in the transaction history of the Google Developers Console may be billed to the new billing account, even if the charge occurred before the new billing account was assigned to the project. The current authenticated user must have ownership privileges for both the [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo ) and the [billing account](https://support.google.com/cloud/answer/4430947). You can disable billing on the project by setting the `billing_account_name` field to empty. This action disassociates the current billing account from the project. Any billable activity of your in-use services will stop, and your application could stop functioning as expected. Any unbilled charges to date will be billed to the previously associated account. The current authenticated user must be either an owner of the project or an owner of the billing account for the project. Note that associating a project with a *closed* billing account will have much the same effect as disabling billing on the project: any paid resources used by the project will be shut down. Thus, unless you wish to disable billing, you should always call this method with the name of an *open* billing account.

+

Method Details

+
+ getBillingInfo(name, x__xgafv=None) +
Gets the billing information for a project. The current authenticated user must have [permission to view the project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo ).
+
+Args:
+  name: string, The resource name of the project for which billing information is retrieved. For example, `projects/tokyo-rain-123`. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Encapsulation of billing information for a Developers Console project. A project has at most one associated billing account at a time (but a billing account can be assigned to multiple projects).
+    "projectId": "A String", # The ID of the project that this `ProjectBillingInfo` represents, such as `tokyo-rain-123`. This is a convenience field so that you don't need to parse the `name` field to obtain a project ID. This field is read-only.
+    "name": "A String", # The resource name for the `ProjectBillingInfo`; has the form `projects/{project_id}/billingInfo`. For example, the resource name for the billing information for project `tokyo-rain-123` would be `projects/tokyo-rain-123/billingInfo`. This field is read-only.
+    "billingEnabled": True or False, # True if the project is associated with an open billing account, to which usage on the project is charged. False if the project is associated with a closed billing account, or no billing account at all, and therefore cannot use paid services. This field is read-only.
+    "billingAccountName": "A String", # The resource name of the billing account associated with the project, if any. For example, `billingAccounts/012345-567890-ABCDEF`.
+  }
+
+ +
+ updateBillingInfo(name, body, x__xgafv=None) +
Sets or updates the billing account associated with a project. You specify the new billing account by setting the `billing_account_name` in the `ProjectBillingInfo` resource to the resource name of a billing account. Associating a project with an open billing account enables billing on the project and allows charges for resource usage. If the project already had a billing account, this method changes the billing account used for resource usage charges. *Note:* Incurred charges that have not yet been reported in the transaction history of the Google Developers Console may be billed to the new billing account, even if the charge occurred before the new billing account was assigned to the project. The current authenticated user must have ownership privileges for both the [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo ) and the [billing account](https://support.google.com/cloud/answer/4430947). You can disable billing on the project by setting the `billing_account_name` field to empty. This action disassociates the current billing account from the project. Any billable activity of your in-use services will stop, and your application could stop functioning as expected. Any unbilled charges to date will be billed to the previously associated account. The current authenticated user must be either an owner of the project or an owner of the billing account for the project. Note that associating a project with a *closed* billing account will have much the same effect as disabling billing on the project: any paid resources used by the project will be shut down. Thus, unless you wish to disable billing, you should always call this method with the name of an *open* billing account.
+
+Args:
+  name: string, The resource name of the project associated with the billing information that you want to update. For example, `projects/tokyo-rain-123`. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Encapsulation of billing information for a Developers Console project. A project has at most one associated billing account at a time (but a billing account can be assigned to multiple projects).
+  "projectId": "A String", # The ID of the project that this `ProjectBillingInfo` represents, such as `tokyo-rain-123`. This is a convenience field so that you don't need to parse the `name` field to obtain a project ID. This field is read-only.
+  "name": "A String", # The resource name for the `ProjectBillingInfo`; has the form `projects/{project_id}/billingInfo`. For example, the resource name for the billing information for project `tokyo-rain-123` would be `projects/tokyo-rain-123/billingInfo`. This field is read-only.
+  "billingEnabled": True or False, # True if the project is associated with an open billing account, to which usage on the project is charged. False if the project is associated with a closed billing account, or no billing account at all, and therefore cannot use paid services. This field is read-only.
+  "billingAccountName": "A String", # The resource name of the billing account associated with the project, if any. For example, `billingAccounts/012345-567890-ABCDEF`.
+}
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Encapsulation of billing information for a Developers Console project. A project has at most one associated billing account at a time (but a billing account can be assigned to multiple projects).
+    "projectId": "A String", # The ID of the project that this `ProjectBillingInfo` represents, such as `tokyo-rain-123`. This is a convenience field so that you don't need to parse the `name` field to obtain a project ID. This field is read-only.
+    "name": "A String", # The resource name for the `ProjectBillingInfo`; has the form `projects/{project_id}/billingInfo`. For example, the resource name for the billing information for project `tokyo-rain-123` would be `projects/tokyo-rain-123/billingInfo`. This field is read-only.
+    "billingEnabled": True or False, # True if the project is associated with an open billing account, to which usage on the project is charged. False if the project is associated with a closed billing account, or no billing account at all, and therefore cannot use paid services. This field is read-only.
+    "billingAccountName": "A String", # The resource name of the billing account associated with the project, if any. For example, `billingAccounts/012345-567890-ABCDEF`.
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/clouddebugger_v2.controller.debuggees.breakpoints.html b/docs/dyn/clouddebugger_v2.controller.debuggees.breakpoints.html new file mode 100644 index 00000000000..c0d6ea12d80 --- /dev/null +++ b/docs/dyn/clouddebugger_v2.controller.debuggees.breakpoints.html @@ -0,0 +1,367 @@ + + + +

Google Cloud Debugger API . controller . debuggees . breakpoints

+

Instance Methods

+

+ list(debuggeeId, waitToken=None, x__xgafv=None)

+

Returns the list of all active breakpoints for the specified debuggee. The breakpoint specification (location, condition, and expression fields) is semantically immutable, although the field values may change. For example, an agent may update the location line number to reflect the actual line the breakpoint was set to, but that doesn't change the breakpoint semantics. Thus, an agent does not need to check if a breakpoint has changed when it encounters the same breakpoint on a successive call. Moreover, an agent should remember breakpoints that are complete until the controller removes them from the active list to avoid setting those breakpoints again.

+

+ update(debuggeeId, id, body, x__xgafv=None)

+

Updates the breakpoint state or mutable fields. The entire Breakpoint protobuf must be sent back to the controller. Updates to active breakpoint fields are only allowed if the new value does not change the breakpoint specification. Updates to the 'location', 'condition' and 'expression' fields should not alter the breakpoint semantics. They are restricted to changes such as canonicalizing a value or snapping the location to the correct line of code.

+

Method Details

+
+ list(debuggeeId, waitToken=None, x__xgafv=None) +
Returns the list of all active breakpoints for the specified debuggee. The breakpoint specification (location, condition, and expression fields) is semantically immutable, although the field values may change. For example, an agent may update the location line number to reflect the actual line the breakpoint was set to, but that doesn't change the breakpoint semantics. Thus, an agent does not need to check if a breakpoint has changed when it encounters the same breakpoint on a successive call. Moreover, an agent should remember breakpoints that are complete until the controller removes them from the active list to avoid setting those breakpoints again.
+
+Args:
+  debuggeeId: string, Identifies the debuggee. (required)
+  waitToken: string, A wait token that, if specified, blocks the method call until the list of active breakpoints has changed, or a server selected timeout has expired. The value should be set from the last returned response. The error code google.rpc.Code.ABORTED is returned on wait timeout (which does not require the agent to re-register with the server)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # The response of listing active breakpoints.
+    "nextWaitToken": "A String", # A wait token that can be used in the next method call to block until the list of breakpoints changes.
+    "breakpoints": [ # List of all active breakpoints. The fields 'id' and 'location' are guranteed to be set on each breakpoint.
+      { # Represents the breakpoint specification, status and results.
+        "userEmail": "A String", # The e-mail of the user that created this breakpoint
+        "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Breakpoint status. The status includes an error flag and a human readable message. This field will usually stay unset. The message can be either informational or error. Nevertheless, clients should always display the text message back to the user. Error status of a breakpoint indicates complete failure. Example (non-final state): 'Still loading symbols...' Examples (final state): 'Failed to insert breakpoint' referring to breakpoint, 'Field f not found in class C' referring to condition, ...
+          "isError": True or False, # Distinguishes errors from informational messages.
+          "refersTo": "A String", # Reference to which the message applies.
+          "description": { # Represents a message with parameters. # Status message text.
+            "parameters": [ # Optional parameters to be embedded into the message.
+              "A String",
+            ],
+            "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+          },
+        },
+        "logMessageFormat": "A String", # Only relevant when action is "LOG". Defines the message to log when the breakpoint hits. The message may include parameter placeholders "$0", "$1", etc. These placeholders will be replaced with the evaluated value of the appropriate expression. Expressions not referenced in "log_message_format" will not be logged. Example: "Poisonous message received, id = $0, count = $1" with expressions = [ "message.id", "message.count" ].
+        "variableTable": [ # The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the object 'this', which may appear at many levels of the stack, can have all of it's data stored once in this table. The stack frame variables then would hold only a reference to it. The variable var_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing veariable and the referenced variable.
+          { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+              # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+            "members": [ # The members contained or pointed to by the variable.
+              # Object with schema name: Variable
+            ],
+            "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+              "isError": True or False, # Distinguishes errors from informational messages.
+              "refersTo": "A String", # Reference to which the message applies.
+              "description": { # Represents a message with parameters. # Status message text.
+                "parameters": [ # Optional parameters to be embedded into the message.
+                  "A String",
+                ],
+                "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+              },
+            },
+            "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+            "name": "A String", # The name of the variable, if any.
+            "value": "A String", # The simple value of the variable.
+          },
+        ],
+        "logLevel": "A String", # Indicates the severity of the log. Only relevant when action is "LOG".
+        "finalTime": "A String", # The time this breakpoint was finalized as seen by the server. The value is in seconds resolution.
+        "createTime": "A String", # The time this breakpoint was created by the server. The value is in seconds resolution.
+        "stackFrames": [ # The stack at breakpoint time.
+          { # Represents a stack frame context.
+            "function": "A String", # The unmangled function name at the call site.
+            "location": { # Represents a location in the source code. # The source location of the call site.
+              "path": "A String", # A path to the source file within the source context of the target binary.
+              "line": 42, # The line inside the file (first line value is '1').
+            },
+            "locals": [ # The set of local variables at the stack frame location. Note that this might not be populated for all stack frames.
+              { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+                  # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+                "members": [ # The members contained or pointed to by the variable.
+                  # Object with schema name: Variable
+                ],
+                "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+                  "isError": True or False, # Distinguishes errors from informational messages.
+                  "refersTo": "A String", # Reference to which the message applies.
+                  "description": { # Represents a message with parameters. # Status message text.
+                    "parameters": [ # Optional parameters to be embedded into the message.
+                      "A String",
+                    ],
+                    "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+                  },
+                },
+                "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+                "name": "A String", # The name of the variable, if any.
+                "value": "A String", # The simple value of the variable.
+              },
+            ],
+            "arguments": [ # The set of arguments passed to this function Note that this might not be populated for all stack frames.
+              { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+                  # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+                "members": [ # The members contained or pointed to by the variable.
+                  # Object with schema name: Variable
+                ],
+                "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+                  "isError": True or False, # Distinguishes errors from informational messages.
+                  "refersTo": "A String", # Reference to which the message applies.
+                  "description": { # Represents a message with parameters. # Status message text.
+                    "parameters": [ # Optional parameters to be embedded into the message.
+                      "A String",
+                    ],
+                    "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+                  },
+                },
+                "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+                "name": "A String", # The name of the variable, if any.
+                "value": "A String", # The simple value of the variable.
+              },
+            ],
+          },
+        ],
+        "location": { # Represents a location in the source code. # The breakpoint source location.
+          "path": "A String", # A path to the source file within the source context of the target binary.
+          "line": 42, # The line inside the file (first line value is '1').
+        },
+        "action": "A String", # Defines what to do when the breakpoint hits.
+        "expressions": [ # A list of read-only expressions to evaluate at the breakpoint location. The expressions are composed using expressions in the programming language at the source location. If the breakpoint action is "LOG", the evaluated expressions are included in log statements.
+          "A String",
+        ],
+        "isFinalState": True or False, # When true, indicates that this is a final result and the breakpoint state will not change from here on.
+        "evaluatedExpressions": [ # The evaluated expressions' values at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the 'expressions' field. The 'name' field holds the original expression text, the 'value'/'members' field holds the result of the evaluated expression. If the expression can not be evaluated, an error text is placed in the value field.
+          { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+              # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+            "members": [ # The members contained or pointed to by the variable.
+              # Object with schema name: Variable
+            ],
+            "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+              "isError": True or False, # Distinguishes errors from informational messages.
+              "refersTo": "A String", # Reference to which the message applies.
+              "description": { # Represents a message with parameters. # Status message text.
+                "parameters": [ # Optional parameters to be embedded into the message.
+                  "A String",
+                ],
+                "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+              },
+            },
+            "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+            "name": "A String", # The name of the variable, if any.
+            "value": "A String", # The simple value of the variable.
+          },
+        ],
+        "id": "A String", # Breakpoint identifier, unique in the scope of the debuggee.
+        "condition": "A String", # A condition to trigger the breakpoint. The condition is a compound boolean expression composed using expressions in a programming language at the source location.
+      },
+    ],
+  }
+
+ +
+ update(debuggeeId, id, body, x__xgafv=None) +
Updates the breakpoint state or mutable fields. The entire Breakpoint protobuf must be sent back to the controller. Updates to active breakpoint fields are only allowed if the new value does not change the breakpoint specification. Updates to the 'location', 'condition' and 'expression' fields should not alter the breakpoint semantics. They are restricted to changes such as canonicalizing a value or snapping the location to the correct line of code.
+
+Args:
+  debuggeeId: string, Identifies the debuggee being debugged. (required)
+  id: string, Breakpoint identifier, unique in the scope of the debuggee. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # The request to update an active breakpoint.
+    "breakpoint": { # Represents the breakpoint specification, status and results. # The updated breakpoint information. The field 'id' must be set.
+      "userEmail": "A String", # The e-mail of the user that created this breakpoint
+      "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Breakpoint status. The status includes an error flag and a human readable message. This field will usually stay unset. The message can be either informational or error. Nevertheless, clients should always display the text message back to the user. Error status of a breakpoint indicates complete failure. Example (non-final state): 'Still loading symbols...' Examples (final state): 'Failed to insert breakpoint' referring to breakpoint, 'Field f not found in class C' referring to condition, ...
+        "isError": True or False, # Distinguishes errors from informational messages.
+        "refersTo": "A String", # Reference to which the message applies.
+        "description": { # Represents a message with parameters. # Status message text.
+          "parameters": [ # Optional parameters to be embedded into the message.
+            "A String",
+          ],
+          "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+        },
+      },
+      "logMessageFormat": "A String", # Only relevant when action is "LOG". Defines the message to log when the breakpoint hits. The message may include parameter placeholders "$0", "$1", etc. These placeholders will be replaced with the evaluated value of the appropriate expression. Expressions not referenced in "log_message_format" will not be logged. Example: "Poisonous message received, id = $0, count = $1" with expressions = [ "message.id", "message.count" ].
+      "variableTable": [ # The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the object 'this', which may appear at many levels of the stack, can have all of it's data stored once in this table. The stack frame variables then would hold only a reference to it. The variable var_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing veariable and the referenced variable.
+        { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+            # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+          "members": [ # The members contained or pointed to by the variable.
+            # Object with schema name: Variable
+          ],
+          "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+            "isError": True or False, # Distinguishes errors from informational messages.
+            "refersTo": "A String", # Reference to which the message applies.
+            "description": { # Represents a message with parameters. # Status message text.
+              "parameters": [ # Optional parameters to be embedded into the message.
+                "A String",
+              ],
+              "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+            },
+          },
+          "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+          "name": "A String", # The name of the variable, if any.
+          "value": "A String", # The simple value of the variable.
+        },
+      ],
+      "logLevel": "A String", # Indicates the severity of the log. Only relevant when action is "LOG".
+      "finalTime": "A String", # The time this breakpoint was finalized as seen by the server. The value is in seconds resolution.
+      "createTime": "A String", # The time this breakpoint was created by the server. The value is in seconds resolution.
+      "stackFrames": [ # The stack at breakpoint time.
+        { # Represents a stack frame context.
+          "function": "A String", # The unmangled function name at the call site.
+          "location": { # Represents a location in the source code. # The source location of the call site.
+            "path": "A String", # A path to the source file within the source context of the target binary.
+            "line": 42, # The line inside the file (first line value is '1').
+          },
+          "locals": [ # The set of local variables at the stack frame location. Note that this might not be populated for all stack frames.
+            { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+                # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+              "members": [ # The members contained or pointed to by the variable.
+                # Object with schema name: Variable
+              ],
+              "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+                "isError": True or False, # Distinguishes errors from informational messages.
+                "refersTo": "A String", # Reference to which the message applies.
+                "description": { # Represents a message with parameters. # Status message text.
+                  "parameters": [ # Optional parameters to be embedded into the message.
+                    "A String",
+                  ],
+                  "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+                },
+              },
+              "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+              "name": "A String", # The name of the variable, if any.
+              "value": "A String", # The simple value of the variable.
+            },
+          ],
+          "arguments": [ # The set of arguments passed to this function Note that this might not be populated for all stack frames.
+            { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+                # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+              "members": [ # The members contained or pointed to by the variable.
+                # Object with schema name: Variable
+              ],
+              "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+                "isError": True or False, # Distinguishes errors from informational messages.
+                "refersTo": "A String", # Reference to which the message applies.
+                "description": { # Represents a message with parameters. # Status message text.
+                  "parameters": [ # Optional parameters to be embedded into the message.
+                    "A String",
+                  ],
+                  "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+                },
+              },
+              "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+              "name": "A String", # The name of the variable, if any.
+              "value": "A String", # The simple value of the variable.
+            },
+          ],
+        },
+      ],
+      "location": { # Represents a location in the source code. # The breakpoint source location.
+        "path": "A String", # A path to the source file within the source context of the target binary.
+        "line": 42, # The line inside the file (first line value is '1').
+      },
+      "action": "A String", # Defines what to do when the breakpoint hits.
+      "expressions": [ # A list of read-only expressions to evaluate at the breakpoint location. The expressions are composed using expressions in the programming language at the source location. If the breakpoint action is "LOG", the evaluated expressions are included in log statements.
+        "A String",
+      ],
+      "isFinalState": True or False, # When true, indicates that this is a final result and the breakpoint state will not change from here on.
+      "evaluatedExpressions": [ # The evaluated expressions' values at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the 'expressions' field. The 'name' field holds the original expression text, the 'value'/'members' field holds the result of the evaluated expression. If the expression can not be evaluated, an error text is placed in the value field.
+        { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+            # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+          "members": [ # The members contained or pointed to by the variable.
+            # Object with schema name: Variable
+          ],
+          "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+            "isError": True or False, # Distinguishes errors from informational messages.
+            "refersTo": "A String", # Reference to which the message applies.
+            "description": { # Represents a message with parameters. # Status message text.
+              "parameters": [ # Optional parameters to be embedded into the message.
+                "A String",
+              ],
+              "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+            },
+          },
+          "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+          "name": "A String", # The name of the variable, if any.
+          "value": "A String", # The simple value of the variable.
+        },
+      ],
+      "id": "A String", # Breakpoint identifier, unique in the scope of the debuggee.
+      "condition": "A String", # A condition to trigger the breakpoint. The condition is a compound boolean expression composed using expressions in a programming language at the source location.
+    },
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # The response of updating an active breakpoint. The message is defined to allow future extensions.
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/clouddebugger_v2.controller.debuggees.html b/docs/dyn/clouddebugger_v2.controller.debuggees.html new file mode 100644 index 00000000000..a7e0fb1a8dc --- /dev/null +++ b/docs/dyn/clouddebugger_v2.controller.debuggees.html @@ -0,0 +1,226 @@ + + + +

Google Cloud Debugger API . controller . debuggees

+

Instance Methods

+

+ breakpoints() +

+

Returns the breakpoints Resource.

+ +

+ register(body, x__xgafv=None)

+

Registers the debuggee with the controller. All agents should call this API with the same request content to get back the same stable 'debuggee_id'. Agents should call this API again whenever ListActiveBreakpoints or UpdateActiveBreakpoint return the error google.rpc.Code.NOT_FOUND. It allows the server to disable the agent or recover from any registration loss. If the debuggee is disabled server, the response will have is_disabled' set to true.

+

Method Details

+
+ register(body, x__xgafv=None) +
Registers the debuggee with the controller. All agents should call this API with the same request content to get back the same stable 'debuggee_id'. Agents should call this API again whenever ListActiveBreakpoints or UpdateActiveBreakpoint return the error google.rpc.Code.NOT_FOUND. It allows the server to disable the agent or recover from any registration loss. If the debuggee is disabled server, the response will have is_disabled' set to true.
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # The request to register a debuggee.
+    "debuggee": { # Represents the application to debug. The application may include one or more replicated processes executing the same code. Each of these processes is attached with a debugger agent, carrying out the debugging commands. The agents attached to the same debuggee are identified by using exactly the same fields' values when registering. # The debuggee information to register. The fields 'project', 'uniquifier', 'description' and 'agent_version' of the debuggee must be set.
+      "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Human readable message to be displayed to the user about this debuggee. Absense of this field indicates no message. The message can be either informational or error.
+        "isError": True or False, # Distinguishes errors from informational messages.
+        "refersTo": "A String", # Reference to which the message applies.
+        "description": { # Represents a message with parameters. # Status message text.
+          "parameters": [ # Optional parameters to be embedded into the message.
+            "A String",
+          ],
+          "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+        },
+      },
+      "description": "A String", # A human readable description of the debuggee. Recommended to include human readable project name, environment name, and version information .
+      "isDisabled": True or False, # If set to true, indicates that the agent should disable itself and detach from the debuggee.
+      "labels": { # A set of custom debuggee properties, populated by the agent, to be displayed to the user.
+        "a_key": "A String",
+      },
+      "uniquifier": "A String", # The debuggee uniqifier within the project. Any string that id the application within the project can be used. Recomended to include environement and version or build id's.
+      "project": "A String", # The project the debuggee is associated with. Use the project number when registering a Google Cloud Platform project.
+      "sourceContexts": [ # Repository snapshots containing the source code of the project.
+        { # A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.
+          "cloudWorkspace": { # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. # A SourceContext referring to a snapshot in a cloud workspace.
+            "snapshotId": "A String", # The ID of the snapshot. An empty snapshot_id refers to the most recent snapshot.
+            "workspaceId": { # A CloudWorkspaceId is a unique identifier for a cloud workspace. A cloud workspace is a place associated with a repo where modified files can be stored before they are committed. # The ID of the workspace.
+              "repoId": { # A unique identifier for a cloud repo. # The ID of the repo containing the workspace.
+                "projectRepoId": { # Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name.
+                  "projectId": "A String", # The ID of the project.
+                  "repoName": "A String", # The name of the repo. Leave empty for the default repo.
+                },
+                "uid": "A String", # A server-assigned, globally unique identifier.
+              },
+              "name": "A String", # The unique name of the workspace within the repo. This is the name chosen by the client in the Source API's CreateWorkspace method.
+            },
+          },
+          "cloudRepo": { # A CloudRepoSourceContext denotes a particular revision in a cloud repo (a repo hosted by the Google Cloud Platform). # A SourceContext referring to a revision in a cloud repo.
+            "revisionId": "A String", # A revision ID.
+            "aliasName": "A String", # The name of an alias (branch, tag, etc.).
+            "repoId": { # A unique identifier for a cloud repo. # The ID of the repo.
+              "projectRepoId": { # Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name.
+                "projectId": "A String", # The ID of the project.
+                "repoName": "A String", # The name of the repo. Leave empty for the default repo.
+              },
+              "uid": "A String", # A server-assigned, globally unique identifier.
+            },
+          },
+          "git": { # A GitSourceContext denotes a particular revision in a third party Git repository (e.g. GitHub). # A SourceContext referring to any third party Git repo (e.g. GitHub).
+            "url": "A String", # Git repository URL.
+            "revisionId": "A String", # Git commit hash. required.
+          },
+          "gerrit": { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
+            "revisionId": "A String", # A revision (commit) ID.
+            "hostUri": "A String", # The URI of a running Gerrit instance.
+            "aliasName": "A String", # The name of an alias (branch, tag, etc.).
+            "gerritProject": "A String", # The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is hostURI/project.
+          },
+        },
+      ],
+      "agentVersion": "A String", # Version ID of the agent release. The version ID is structured as following: "domain/type/vmajor.minor" (for example "google.com/gcp-java/v1.1").
+      "isInactive": True or False, # If set to true indicates that the debuggee has not been seen by the Controller service in the last active time period (defined by the server).
+      "id": "A String", # Debuggee unique identifer generated by the server.
+    },
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # The response of registering a debuggee.
+    "debuggee": { # Represents the application to debug. The application may include one or more replicated processes executing the same code. Each of these processes is attached with a debugger agent, carrying out the debugging commands. The agents attached to the same debuggee are identified by using exactly the same fields' values when registering. # The debuggee resource. The field 'id' is guranteed to be set (in addition to the echoed fields).
+      "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Human readable message to be displayed to the user about this debuggee. Absense of this field indicates no message. The message can be either informational or error.
+        "isError": True or False, # Distinguishes errors from informational messages.
+        "refersTo": "A String", # Reference to which the message applies.
+        "description": { # Represents a message with parameters. # Status message text.
+          "parameters": [ # Optional parameters to be embedded into the message.
+            "A String",
+          ],
+          "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+        },
+      },
+      "description": "A String", # A human readable description of the debuggee. Recommended to include human readable project name, environment name, and version information .
+      "isDisabled": True or False, # If set to true, indicates that the agent should disable itself and detach from the debuggee.
+      "labels": { # A set of custom debuggee properties, populated by the agent, to be displayed to the user.
+        "a_key": "A String",
+      },
+      "uniquifier": "A String", # The debuggee uniqifier within the project. Any string that id the application within the project can be used. Recomended to include environement and version or build id's.
+      "project": "A String", # The project the debuggee is associated with. Use the project number when registering a Google Cloud Platform project.
+      "sourceContexts": [ # Repository snapshots containing the source code of the project.
+        { # A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.
+          "cloudWorkspace": { # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. # A SourceContext referring to a snapshot in a cloud workspace.
+            "snapshotId": "A String", # The ID of the snapshot. An empty snapshot_id refers to the most recent snapshot.
+            "workspaceId": { # A CloudWorkspaceId is a unique identifier for a cloud workspace. A cloud workspace is a place associated with a repo where modified files can be stored before they are committed. # The ID of the workspace.
+              "repoId": { # A unique identifier for a cloud repo. # The ID of the repo containing the workspace.
+                "projectRepoId": { # Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name.
+                  "projectId": "A String", # The ID of the project.
+                  "repoName": "A String", # The name of the repo. Leave empty for the default repo.
+                },
+                "uid": "A String", # A server-assigned, globally unique identifier.
+              },
+              "name": "A String", # The unique name of the workspace within the repo. This is the name chosen by the client in the Source API's CreateWorkspace method.
+            },
+          },
+          "cloudRepo": { # A CloudRepoSourceContext denotes a particular revision in a cloud repo (a repo hosted by the Google Cloud Platform). # A SourceContext referring to a revision in a cloud repo.
+            "revisionId": "A String", # A revision ID.
+            "aliasName": "A String", # The name of an alias (branch, tag, etc.).
+            "repoId": { # A unique identifier for a cloud repo. # The ID of the repo.
+              "projectRepoId": { # Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name.
+                "projectId": "A String", # The ID of the project.
+                "repoName": "A String", # The name of the repo. Leave empty for the default repo.
+              },
+              "uid": "A String", # A server-assigned, globally unique identifier.
+            },
+          },
+          "git": { # A GitSourceContext denotes a particular revision in a third party Git repository (e.g. GitHub). # A SourceContext referring to any third party Git repo (e.g. GitHub).
+            "url": "A String", # Git repository URL.
+            "revisionId": "A String", # Git commit hash. required.
+          },
+          "gerrit": { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
+            "revisionId": "A String", # A revision (commit) ID.
+            "hostUri": "A String", # The URI of a running Gerrit instance.
+            "aliasName": "A String", # The name of an alias (branch, tag, etc.).
+            "gerritProject": "A String", # The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is hostURI/project.
+          },
+        },
+      ],
+      "agentVersion": "A String", # Version ID of the agent release. The version ID is structured as following: "domain/type/vmajor.minor" (for example "google.com/gcp-java/v1.1").
+      "isInactive": True or False, # If set to true indicates that the debuggee has not been seen by the Controller service in the last active time period (defined by the server).
+      "id": "A String", # Debuggee unique identifer generated by the server.
+    },
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/clouddebugger_v2.controller.html b/docs/dyn/clouddebugger_v2.controller.html new file mode 100644 index 00000000000..d6323ec6edb --- /dev/null +++ b/docs/dyn/clouddebugger_v2.controller.html @@ -0,0 +1,82 @@ + + + +

Google Cloud Debugger API . controller

+

Instance Methods

+

+ debuggees() +

+

Returns the debuggees Resource.

+ + \ No newline at end of file diff --git a/docs/dyn/clouddebugger_v2.debugger.debuggees.breakpoints.html b/docs/dyn/clouddebugger_v2.debugger.debuggees.breakpoints.html new file mode 100644 index 00000000000..fb261fbd7dd --- /dev/null +++ b/docs/dyn/clouddebugger_v2.debugger.debuggees.breakpoints.html @@ -0,0 +1,648 @@ + + + +

Google Cloud Debugger API . debugger . debuggees . breakpoints

+

Instance Methods

+

+ delete(debuggeeId, breakpointId, x__xgafv=None)

+

Deletes the breakpoint from the debuggee.

+

+ get(debuggeeId, breakpointId, x__xgafv=None)

+

Gets breakpoint information.

+

+ list(debuggeeId, includeAllUsers=None, includeInactive=None, x__xgafv=None, stripResults=None, action_value=None, waitToken=None)

+

Lists all breakpoints of the debuggee that the user has access to.

+

+ set(debuggeeId, body, x__xgafv=None)

+

Sets the breakpoint to the debuggee.

+

Method Details

+
+ delete(debuggeeId, breakpointId, x__xgafv=None) +
Deletes the breakpoint from the debuggee.
+
+Args:
+  debuggeeId: string, The debuggee id to delete the breakpoint from. (required)
+  breakpointId: string, The breakpoint to delete. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ get(debuggeeId, breakpointId, x__xgafv=None) +
Gets breakpoint information.
+
+Args:
+  debuggeeId: string, The debuggee id to get the breakpoint from. (required)
+  breakpointId: string, The breakpoint to get. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # The response of getting breakpoint information.
+    "breakpoint": { # Represents the breakpoint specification, status and results. # The complete breakpoint state. The fields 'id' and 'location' are guranteed to be set.
+      "userEmail": "A String", # The e-mail of the user that created this breakpoint
+      "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Breakpoint status. The status includes an error flag and a human readable message. This field will usually stay unset. The message can be either informational or error. Nevertheless, clients should always display the text message back to the user. Error status of a breakpoint indicates complete failure. Example (non-final state): 'Still loading symbols...' Examples (final state): 'Failed to insert breakpoint' referring to breakpoint, 'Field f not found in class C' referring to condition, ...
+        "isError": True or False, # Distinguishes errors from informational messages.
+        "refersTo": "A String", # Reference to which the message applies.
+        "description": { # Represents a message with parameters. # Status message text.
+          "parameters": [ # Optional parameters to be embedded into the message.
+            "A String",
+          ],
+          "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+        },
+      },
+      "logMessageFormat": "A String", # Only relevant when action is "LOG". Defines the message to log when the breakpoint hits. The message may include parameter placeholders "$0", "$1", etc. These placeholders will be replaced with the evaluated value of the appropriate expression. Expressions not referenced in "log_message_format" will not be logged. Example: "Poisonous message received, id = $0, count = $1" with expressions = [ "message.id", "message.count" ].
+      "variableTable": [ # The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the object 'this', which may appear at many levels of the stack, can have all of it's data stored once in this table. The stack frame variables then would hold only a reference to it. The variable var_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing veariable and the referenced variable.
+        { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+            # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+          "members": [ # The members contained or pointed to by the variable.
+            # Object with schema name: Variable
+          ],
+          "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+            "isError": True or False, # Distinguishes errors from informational messages.
+            "refersTo": "A String", # Reference to which the message applies.
+            "description": { # Represents a message with parameters. # Status message text.
+              "parameters": [ # Optional parameters to be embedded into the message.
+                "A String",
+              ],
+              "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+            },
+          },
+          "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+          "name": "A String", # The name of the variable, if any.
+          "value": "A String", # The simple value of the variable.
+        },
+      ],
+      "logLevel": "A String", # Indicates the severity of the log. Only relevant when action is "LOG".
+      "finalTime": "A String", # The time this breakpoint was finalized as seen by the server. The value is in seconds resolution.
+      "createTime": "A String", # The time this breakpoint was created by the server. The value is in seconds resolution.
+      "stackFrames": [ # The stack at breakpoint time.
+        { # Represents a stack frame context.
+          "function": "A String", # The unmangled function name at the call site.
+          "location": { # Represents a location in the source code. # The source location of the call site.
+            "path": "A String", # A path to the source file within the source context of the target binary.
+            "line": 42, # The line inside the file (first line value is '1').
+          },
+          "locals": [ # The set of local variables at the stack frame location. Note that this might not be populated for all stack frames.
+            { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+                # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+              "members": [ # The members contained or pointed to by the variable.
+                # Object with schema name: Variable
+              ],
+              "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+                "isError": True or False, # Distinguishes errors from informational messages.
+                "refersTo": "A String", # Reference to which the message applies.
+                "description": { # Represents a message with parameters. # Status message text.
+                  "parameters": [ # Optional parameters to be embedded into the message.
+                    "A String",
+                  ],
+                  "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+                },
+              },
+              "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+              "name": "A String", # The name of the variable, if any.
+              "value": "A String", # The simple value of the variable.
+            },
+          ],
+          "arguments": [ # The set of arguments passed to this function Note that this might not be populated for all stack frames.
+            { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+                # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+              "members": [ # The members contained or pointed to by the variable.
+                # Object with schema name: Variable
+              ],
+              "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+                "isError": True or False, # Distinguishes errors from informational messages.
+                "refersTo": "A String", # Reference to which the message applies.
+                "description": { # Represents a message with parameters. # Status message text.
+                  "parameters": [ # Optional parameters to be embedded into the message.
+                    "A String",
+                  ],
+                  "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+                },
+              },
+              "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+              "name": "A String", # The name of the variable, if any.
+              "value": "A String", # The simple value of the variable.
+            },
+          ],
+        },
+      ],
+      "location": { # Represents a location in the source code. # The breakpoint source location.
+        "path": "A String", # A path to the source file within the source context of the target binary.
+        "line": 42, # The line inside the file (first line value is '1').
+      },
+      "action": "A String", # Defines what to do when the breakpoint hits.
+      "expressions": [ # A list of read-only expressions to evaluate at the breakpoint location. The expressions are composed using expressions in the programming language at the source location. If the breakpoint action is "LOG", the evaluated expressions are included in log statements.
+        "A String",
+      ],
+      "isFinalState": True or False, # When true, indicates that this is a final result and the breakpoint state will not change from here on.
+      "evaluatedExpressions": [ # The evaluated expressions' values at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the 'expressions' field. The 'name' field holds the original expression text, the 'value'/'members' field holds the result of the evaluated expression. If the expression can not be evaluated, an error text is placed in the value field.
+        { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+            # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+          "members": [ # The members contained or pointed to by the variable.
+            # Object with schema name: Variable
+          ],
+          "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+            "isError": True or False, # Distinguishes errors from informational messages.
+            "refersTo": "A String", # Reference to which the message applies.
+            "description": { # Represents a message with parameters. # Status message text.
+              "parameters": [ # Optional parameters to be embedded into the message.
+                "A String",
+              ],
+              "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+            },
+          },
+          "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+          "name": "A String", # The name of the variable, if any.
+          "value": "A String", # The simple value of the variable.
+        },
+      ],
+      "id": "A String", # Breakpoint identifier, unique in the scope of the debuggee.
+      "condition": "A String", # A condition to trigger the breakpoint. The condition is a compound boolean expression composed using expressions in a programming language at the source location.
+    },
+  }
+
+ +
+ list(debuggeeId, includeAllUsers=None, includeInactive=None, x__xgafv=None, stripResults=None, action_value=None, waitToken=None) +
Lists all breakpoints of the debuggee that the user has access to.
+
+Args:
+  debuggeeId: string, The debuggee id to list breakpoint from. (required)
+  includeAllUsers: boolean, When set to true the response includes the list of breakpoints set by any user, otherwise only breakpoints set by the caller.
+  includeInactive: boolean, When set to true the response includes active and inactive breakpoints, otherwise only active breakpoints are returned.
+  x__xgafv: string, V1 error format.
+  stripResults: boolean, When set to true the response breakpoints will be stripped of the results fields: stack_frames, evaluated_expressions and variable_table.
+  action_value: string, Only breakpoints with the specified action will pass the filter.
+  waitToken: string, A wait token that, if specified, blocks the call until the breakpoints list has changed, or a server selected timeout has expired. The value should be set from the last response to ListBreakpoints. The error code ABORTED is returned on wait timeout, which should be called again with the same wait_token.
+
+Returns:
+  An object of the form:
+
+    { # The response of listing breakpoints.
+    "nextWaitToken": "A String", # A wait token that can be used in the next call to ListBreakpoints to block until the list of breakpoints has changes.
+    "breakpoints": [ # List of all breakpoints with complete state. The fields 'id' and 'location' are guranteed to be set on each breakpoint.
+      { # Represents the breakpoint specification, status and results.
+        "userEmail": "A String", # The e-mail of the user that created this breakpoint
+        "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Breakpoint status. The status includes an error flag and a human readable message. This field will usually stay unset. The message can be either informational or error. Nevertheless, clients should always display the text message back to the user. Error status of a breakpoint indicates complete failure. Example (non-final state): 'Still loading symbols...' Examples (final state): 'Failed to insert breakpoint' referring to breakpoint, 'Field f not found in class C' referring to condition, ...
+          "isError": True or False, # Distinguishes errors from informational messages.
+          "refersTo": "A String", # Reference to which the message applies.
+          "description": { # Represents a message with parameters. # Status message text.
+            "parameters": [ # Optional parameters to be embedded into the message.
+              "A String",
+            ],
+            "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+          },
+        },
+        "logMessageFormat": "A String", # Only relevant when action is "LOG". Defines the message to log when the breakpoint hits. The message may include parameter placeholders "$0", "$1", etc. These placeholders will be replaced with the evaluated value of the appropriate expression. Expressions not referenced in "log_message_format" will not be logged. Example: "Poisonous message received, id = $0, count = $1" with expressions = [ "message.id", "message.count" ].
+        "variableTable": [ # The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the object 'this', which may appear at many levels of the stack, can have all of it's data stored once in this table. The stack frame variables then would hold only a reference to it. The variable var_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing veariable and the referenced variable.
+          { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+              # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+            "members": [ # The members contained or pointed to by the variable.
+              # Object with schema name: Variable
+            ],
+            "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+              "isError": True or False, # Distinguishes errors from informational messages.
+              "refersTo": "A String", # Reference to which the message applies.
+              "description": { # Represents a message with parameters. # Status message text.
+                "parameters": [ # Optional parameters to be embedded into the message.
+                  "A String",
+                ],
+                "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+              },
+            },
+            "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+            "name": "A String", # The name of the variable, if any.
+            "value": "A String", # The simple value of the variable.
+          },
+        ],
+        "logLevel": "A String", # Indicates the severity of the log. Only relevant when action is "LOG".
+        "finalTime": "A String", # The time this breakpoint was finalized as seen by the server. The value is in seconds resolution.
+        "createTime": "A String", # The time this breakpoint was created by the server. The value is in seconds resolution.
+        "stackFrames": [ # The stack at breakpoint time.
+          { # Represents a stack frame context.
+            "function": "A String", # The unmangled function name at the call site.
+            "location": { # Represents a location in the source code. # The source location of the call site.
+              "path": "A String", # A path to the source file within the source context of the target binary.
+              "line": 42, # The line inside the file (first line value is '1').
+            },
+            "locals": [ # The set of local variables at the stack frame location. Note that this might not be populated for all stack frames.
+              { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+                  # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+                "members": [ # The members contained or pointed to by the variable.
+                  # Object with schema name: Variable
+                ],
+                "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+                  "isError": True or False, # Distinguishes errors from informational messages.
+                  "refersTo": "A String", # Reference to which the message applies.
+                  "description": { # Represents a message with parameters. # Status message text.
+                    "parameters": [ # Optional parameters to be embedded into the message.
+                      "A String",
+                    ],
+                    "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+                  },
+                },
+                "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+                "name": "A String", # The name of the variable, if any.
+                "value": "A String", # The simple value of the variable.
+              },
+            ],
+            "arguments": [ # The set of arguments passed to this function Note that this might not be populated for all stack frames.
+              { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+                  # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+                "members": [ # The members contained or pointed to by the variable.
+                  # Object with schema name: Variable
+                ],
+                "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+                  "isError": True or False, # Distinguishes errors from informational messages.
+                  "refersTo": "A String", # Reference to which the message applies.
+                  "description": { # Represents a message with parameters. # Status message text.
+                    "parameters": [ # Optional parameters to be embedded into the message.
+                      "A String",
+                    ],
+                    "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+                  },
+                },
+                "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+                "name": "A String", # The name of the variable, if any.
+                "value": "A String", # The simple value of the variable.
+              },
+            ],
+          },
+        ],
+        "location": { # Represents a location in the source code. # The breakpoint source location.
+          "path": "A String", # A path to the source file within the source context of the target binary.
+          "line": 42, # The line inside the file (first line value is '1').
+        },
+        "action": "A String", # Defines what to do when the breakpoint hits.
+        "expressions": [ # A list of read-only expressions to evaluate at the breakpoint location. The expressions are composed using expressions in the programming language at the source location. If the breakpoint action is "LOG", the evaluated expressions are included in log statements.
+          "A String",
+        ],
+        "isFinalState": True or False, # When true, indicates that this is a final result and the breakpoint state will not change from here on.
+        "evaluatedExpressions": [ # The evaluated expressions' values at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the 'expressions' field. The 'name' field holds the original expression text, the 'value'/'members' field holds the result of the evaluated expression. If the expression can not be evaluated, an error text is placed in the value field.
+          { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+              # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+            "members": [ # The members contained or pointed to by the variable.
+              # Object with schema name: Variable
+            ],
+            "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+              "isError": True or False, # Distinguishes errors from informational messages.
+              "refersTo": "A String", # Reference to which the message applies.
+              "description": { # Represents a message with parameters. # Status message text.
+                "parameters": [ # Optional parameters to be embedded into the message.
+                  "A String",
+                ],
+                "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+              },
+            },
+            "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+            "name": "A String", # The name of the variable, if any.
+            "value": "A String", # The simple value of the variable.
+          },
+        ],
+        "id": "A String", # Breakpoint identifier, unique in the scope of the debuggee.
+        "condition": "A String", # A condition to trigger the breakpoint. The condition is a compound boolean expression composed using expressions in a programming language at the source location.
+      },
+    ],
+  }
+
+ +
+ set(debuggeeId, body, x__xgafv=None) +
Sets the breakpoint to the debuggee.
+
+Args:
+  debuggeeId: string, The debuggee id to set the breakpoint to. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Represents the breakpoint specification, status and results.
+  "userEmail": "A String", # The e-mail of the user that created this breakpoint
+  "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Breakpoint status. The status includes an error flag and a human readable message. This field will usually stay unset. The message can be either informational or error. Nevertheless, clients should always display the text message back to the user. Error status of a breakpoint indicates complete failure. Example (non-final state): 'Still loading symbols...' Examples (final state): 'Failed to insert breakpoint' referring to breakpoint, 'Field f not found in class C' referring to condition, ...
+    "isError": True or False, # Distinguishes errors from informational messages.
+    "refersTo": "A String", # Reference to which the message applies.
+    "description": { # Represents a message with parameters. # Status message text.
+      "parameters": [ # Optional parameters to be embedded into the message.
+        "A String",
+      ],
+      "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+    },
+  },
+  "logMessageFormat": "A String", # Only relevant when action is "LOG". Defines the message to log when the breakpoint hits. The message may include parameter placeholders "$0", "$1", etc. These placeholders will be replaced with the evaluated value of the appropriate expression. Expressions not referenced in "log_message_format" will not be logged. Example: "Poisonous message received, id = $0, count = $1" with expressions = [ "message.id", "message.count" ].
+  "variableTable": [ # The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the object 'this', which may appear at many levels of the stack, can have all of it's data stored once in this table. The stack frame variables then would hold only a reference to it. The variable var_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing veariable and the referenced variable.
+    { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+        # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+      "members": [ # The members contained or pointed to by the variable.
+        # Object with schema name: Variable
+      ],
+      "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+        "isError": True or False, # Distinguishes errors from informational messages.
+        "refersTo": "A String", # Reference to which the message applies.
+        "description": { # Represents a message with parameters. # Status message text.
+          "parameters": [ # Optional parameters to be embedded into the message.
+            "A String",
+          ],
+          "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+        },
+      },
+      "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+      "name": "A String", # The name of the variable, if any.
+      "value": "A String", # The simple value of the variable.
+    },
+  ],
+  "logLevel": "A String", # Indicates the severity of the log. Only relevant when action is "LOG".
+  "finalTime": "A String", # The time this breakpoint was finalized as seen by the server. The value is in seconds resolution.
+  "createTime": "A String", # The time this breakpoint was created by the server. The value is in seconds resolution.
+  "stackFrames": [ # The stack at breakpoint time.
+    { # Represents a stack frame context.
+      "function": "A String", # The unmangled function name at the call site.
+      "location": { # Represents a location in the source code. # The source location of the call site.
+        "path": "A String", # A path to the source file within the source context of the target binary.
+        "line": 42, # The line inside the file (first line value is '1').
+      },
+      "locals": [ # The set of local variables at the stack frame location. Note that this might not be populated for all stack frames.
+        { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+            # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+          "members": [ # The members contained or pointed to by the variable.
+            # Object with schema name: Variable
+          ],
+          "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+            "isError": True or False, # Distinguishes errors from informational messages.
+            "refersTo": "A String", # Reference to which the message applies.
+            "description": { # Represents a message with parameters. # Status message text.
+              "parameters": [ # Optional parameters to be embedded into the message.
+                "A String",
+              ],
+              "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+            },
+          },
+          "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+          "name": "A String", # The name of the variable, if any.
+          "value": "A String", # The simple value of the variable.
+        },
+      ],
+      "arguments": [ # The set of arguments passed to this function Note that this might not be populated for all stack frames.
+        { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+            # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+          "members": [ # The members contained or pointed to by the variable.
+            # Object with schema name: Variable
+          ],
+          "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+            "isError": True or False, # Distinguishes errors from informational messages.
+            "refersTo": "A String", # Reference to which the message applies.
+            "description": { # Represents a message with parameters. # Status message text.
+              "parameters": [ # Optional parameters to be embedded into the message.
+                "A String",
+              ],
+              "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+            },
+          },
+          "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+          "name": "A String", # The name of the variable, if any.
+          "value": "A String", # The simple value of the variable.
+        },
+      ],
+    },
+  ],
+  "location": { # Represents a location in the source code. # The breakpoint source location.
+    "path": "A String", # A path to the source file within the source context of the target binary.
+    "line": 42, # The line inside the file (first line value is '1').
+  },
+  "action": "A String", # Defines what to do when the breakpoint hits.
+  "expressions": [ # A list of read-only expressions to evaluate at the breakpoint location. The expressions are composed using expressions in the programming language at the source location. If the breakpoint action is "LOG", the evaluated expressions are included in log statements.
+    "A String",
+  ],
+  "isFinalState": True or False, # When true, indicates that this is a final result and the breakpoint state will not change from here on.
+  "evaluatedExpressions": [ # The evaluated expressions' values at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the 'expressions' field. The 'name' field holds the original expression text, the 'value'/'members' field holds the result of the evaluated expression. If the expression can not be evaluated, an error text is placed in the value field.
+    { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+        # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+      "members": [ # The members contained or pointed to by the variable.
+        # Object with schema name: Variable
+      ],
+      "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+        "isError": True or False, # Distinguishes errors from informational messages.
+        "refersTo": "A String", # Reference to which the message applies.
+        "description": { # Represents a message with parameters. # Status message text.
+          "parameters": [ # Optional parameters to be embedded into the message.
+            "A String",
+          ],
+          "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+        },
+      },
+      "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+      "name": "A String", # The name of the variable, if any.
+      "value": "A String", # The simple value of the variable.
+    },
+  ],
+  "id": "A String", # Breakpoint identifier, unique in the scope of the debuggee.
+  "condition": "A String", # A condition to trigger the breakpoint. The condition is a compound boolean expression composed using expressions in a programming language at the source location.
+}
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # The response of setting a breakpoint.
+    "breakpoint": { # Represents the breakpoint specification, status and results. # The breakpoint resource. The field 'id' is guranteed to be set (in addition to the echoed fileds).
+      "userEmail": "A String", # The e-mail of the user that created this breakpoint
+      "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Breakpoint status. The status includes an error flag and a human readable message. This field will usually stay unset. The message can be either informational or error. Nevertheless, clients should always display the text message back to the user. Error status of a breakpoint indicates complete failure. Example (non-final state): 'Still loading symbols...' Examples (final state): 'Failed to insert breakpoint' referring to breakpoint, 'Field f not found in class C' referring to condition, ...
+        "isError": True or False, # Distinguishes errors from informational messages.
+        "refersTo": "A String", # Reference to which the message applies.
+        "description": { # Represents a message with parameters. # Status message text.
+          "parameters": [ # Optional parameters to be embedded into the message.
+            "A String",
+          ],
+          "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+        },
+      },
+      "logMessageFormat": "A String", # Only relevant when action is "LOG". Defines the message to log when the breakpoint hits. The message may include parameter placeholders "$0", "$1", etc. These placeholders will be replaced with the evaluated value of the appropriate expression. Expressions not referenced in "log_message_format" will not be logged. Example: "Poisonous message received, id = $0, count = $1" with expressions = [ "message.id", "message.count" ].
+      "variableTable": [ # The variable_table exists to aid with computation, memory and network traffic optimization. It enables storing a variable once and reference it from multiple variables, including variables stored in the variable_table itself. For example, the object 'this', which may appear at many levels of the stack, can have all of it's data stored once in this table. The stack frame variables then would hold only a reference to it. The variable var_index field is an index into this repeated field. The stored objects are nameless and get their name from the referencing variable. The effective variable is a merge of the referencing veariable and the referenced variable.
+        { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+            # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+          "members": [ # The members contained or pointed to by the variable.
+            # Object with schema name: Variable
+          ],
+          "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+            "isError": True or False, # Distinguishes errors from informational messages.
+            "refersTo": "A String", # Reference to which the message applies.
+            "description": { # Represents a message with parameters. # Status message text.
+              "parameters": [ # Optional parameters to be embedded into the message.
+                "A String",
+              ],
+              "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+            },
+          },
+          "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+          "name": "A String", # The name of the variable, if any.
+          "value": "A String", # The simple value of the variable.
+        },
+      ],
+      "logLevel": "A String", # Indicates the severity of the log. Only relevant when action is "LOG".
+      "finalTime": "A String", # The time this breakpoint was finalized as seen by the server. The value is in seconds resolution.
+      "createTime": "A String", # The time this breakpoint was created by the server. The value is in seconds resolution.
+      "stackFrames": [ # The stack at breakpoint time.
+        { # Represents a stack frame context.
+          "function": "A String", # The unmangled function name at the call site.
+          "location": { # Represents a location in the source code. # The source location of the call site.
+            "path": "A String", # A path to the source file within the source context of the target binary.
+            "line": 42, # The line inside the file (first line value is '1').
+          },
+          "locals": [ # The set of local variables at the stack frame location. Note that this might not be populated for all stack frames.
+            { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+                # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+              "members": [ # The members contained or pointed to by the variable.
+                # Object with schema name: Variable
+              ],
+              "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+                "isError": True or False, # Distinguishes errors from informational messages.
+                "refersTo": "A String", # Reference to which the message applies.
+                "description": { # Represents a message with parameters. # Status message text.
+                  "parameters": [ # Optional parameters to be embedded into the message.
+                    "A String",
+                  ],
+                  "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+                },
+              },
+              "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+              "name": "A String", # The name of the variable, if any.
+              "value": "A String", # The simple value of the variable.
+            },
+          ],
+          "arguments": [ # The set of arguments passed to this function Note that this might not be populated for all stack frames.
+            { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+                # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+              "members": [ # The members contained or pointed to by the variable.
+                # Object with schema name: Variable
+              ],
+              "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+                "isError": True or False, # Distinguishes errors from informational messages.
+                "refersTo": "A String", # Reference to which the message applies.
+                "description": { # Represents a message with parameters. # Status message text.
+                  "parameters": [ # Optional parameters to be embedded into the message.
+                    "A String",
+                  ],
+                  "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+                },
+              },
+              "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+              "name": "A String", # The name of the variable, if any.
+              "value": "A String", # The simple value of the variable.
+            },
+          ],
+        },
+      ],
+      "location": { # Represents a location in the source code. # The breakpoint source location.
+        "path": "A String", # A path to the source file within the source context of the target binary.
+        "line": 42, # The line inside the file (first line value is '1').
+      },
+      "action": "A String", # Defines what to do when the breakpoint hits.
+      "expressions": [ # A list of read-only expressions to evaluate at the breakpoint location. The expressions are composed using expressions in the programming language at the source location. If the breakpoint action is "LOG", the evaluated expressions are included in log statements.
+        "A String",
+      ],
+      "isFinalState": True or False, # When true, indicates that this is a final result and the breakpoint state will not change from here on.
+      "evaluatedExpressions": [ # The evaluated expressions' values at breakpoint time. The evaluated expressions appear in exactly the same order they are listed in the 'expressions' field. The 'name' field holds the original expression text, the 'value'/'members' field holds the result of the evaluated expression. If the expression can not be evaluated, an error text is placed in the value field.
+        { # Represents a variable or an argument possibly of a compound object type. 1. A simple variable such as, int x = 5 is represented as: { name: "x", value: "5" } 2. A compound object such as, struct T { int m1; int m2; }; T x = { 3, 7 }; is represented as: { name: "x", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 3. A pointer where the pointee was captured such as, T x = { 3, 7 }; T* p = &x; is represented as: { name: "p", value: "0x00500500", members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } 4. A pointer where the pointee was not captured or is inaccessible such as, T* p = new T; is represented as: { name: "p", value: "0x00400400", members { value: "" } } the value text should decribe the reason for the missing value. such as , ,
+            # . note that a null pointer should not have members. 5. An unnamed value such as, int* p = new int(7); is represented as, { name: "p", value: "0x00500500", members { value: "7" } } 6. An unnamed pointer where the pointee was not captured such as, int* p = new int(7); int** pp = &p; is represented as: { name: "pp", value: "0x00500500", members { value: "0x00400400", members { value: "" } } } To optimize computation, memory and network traffic, variables that repeat in the output multiple times can be stored once in a shared variable table and be referenced using the var_index field. The variables stored in the shared table are nameless and are essentially a partition of the complete variable. To reconstruct the complete variable merge the referencing variable with the referenced variable. When using the shared variable table, variables can be represented as: T x = { 3, 7 }; T* p = &x; T& r = x; are represented as, { name: "x", var_index: 3 } { name: "p", value "0x00500500", var_index: 3 } { name: "r", var_index: 3 } with shared variable table entry #3: { members { name: "m1", value: "3" }, members { name: "m2", value: "7" } } Note that the pointer address is stored with the referencing variable and not with the referenced variable, to allow the referenced variable to be shared between pointer and references.
+          "members": [ # The members contained or pointed to by the variable.
+            # Object with schema name: Variable
+          ],
+          "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Status associated with the variable. This field will usually stay unset. A status of a single variable only applies to that variable or expression. The rest of breakpoint data still remains valid. Variables might be reported in error state even when breakpoint is not in final state. The message may refer to variable name with "refers_to" set to "VARIABLE_NAME". Alternatively "refers_to" will be set to "VARIABLE_VALUE". In either case variable value and members will be unset. Example of error message applied to name: "Invalid expression syntax". Example of information message applied to value: "Not captured". Examples of error message applied to value: "Malformed string", "Field f not found in class C", "Null pointer dereference".
+            "isError": True or False, # Distinguishes errors from informational messages.
+            "refersTo": "A String", # Reference to which the message applies.
+            "description": { # Represents a message with parameters. # Status message text.
+              "parameters": [ # Optional parameters to be embedded into the message.
+                "A String",
+              ],
+              "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+            },
+          },
+          "varTableIndex": 42, # This is a reference to a variable in the shared variable table. More than one variable can reference the same variable in the table. The var_index field is an index into variable_table in Breakpoint.
+          "name": "A String", # The name of the variable, if any.
+          "value": "A String", # The simple value of the variable.
+        },
+      ],
+      "id": "A String", # Breakpoint identifier, unique in the scope of the debuggee.
+      "condition": "A String", # A condition to trigger the breakpoint. The condition is a compound boolean expression composed using expressions in a programming language at the source location.
+    },
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/clouddebugger_v2.debugger.debuggees.html b/docs/dyn/clouddebugger_v2.debugger.debuggees.html new file mode 100644 index 00000000000..07bd27eb1fc --- /dev/null +++ b/docs/dyn/clouddebugger_v2.debugger.debuggees.html @@ -0,0 +1,164 @@ + + + +

Google Cloud Debugger API . debugger . debuggees

+

Instance Methods

+

+ breakpoints() +

+

Returns the breakpoints Resource.

+ +

+ list(includeInactive=None, project=None, x__xgafv=None)

+

Lists all the debuggees that the user can set breakpoints to.

+

Method Details

+
+ list(includeInactive=None, project=None, x__xgafv=None) +
Lists all the debuggees that the user can set breakpoints to.
+
+Args:
+  includeInactive: boolean, When set to true the result includes all debuggees, otherwise only debugees that are active.
+  project: string, Set to the project number of the Google Cloud Platform to list the debuggees that are part of that project.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # The response of listing debuggees.
+    "debuggees": [ # The list of debuggees accessible to the calling user. Note that the description field is the only human readable field that should be displayed to the user. The fields 'debuggee.id' and 'description' are guranteed to be set on each debuggee.
+      { # Represents the application to debug. The application may include one or more replicated processes executing the same code. Each of these processes is attached with a debugger agent, carrying out the debugging commands. The agents attached to the same debuggee are identified by using exactly the same fields' values when registering.
+        "status": { # Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the Breakpoint.status field can indicate an error referring to the BREAKPOINT_SOURCE_LOCATION with the message "Location not found". # Human readable message to be displayed to the user about this debuggee. Absense of this field indicates no message. The message can be either informational or error.
+          "isError": True or False, # Distinguishes errors from informational messages.
+          "refersTo": "A String", # Reference to which the message applies.
+          "description": { # Represents a message with parameters. # Status message text.
+            "parameters": [ # Optional parameters to be embedded into the message.
+              "A String",
+            ],
+            "format": "A String", # Format template of the message. The "format" uses placeholders "$0", "$1", etc. to reference parameters. "$$" can be used to denote the '$' character. Examples: "Failed to load '$0' which helps debug $1 the first time it is loaded. Again, $0 is very important." "Please pay $$10 to use $0 instead of $1."
+          },
+        },
+        "description": "A String", # A human readable description of the debuggee. Recommended to include human readable project name, environment name, and version information .
+        "isDisabled": True or False, # If set to true, indicates that the agent should disable itself and detach from the debuggee.
+        "labels": { # A set of custom debuggee properties, populated by the agent, to be displayed to the user.
+          "a_key": "A String",
+        },
+        "uniquifier": "A String", # The debuggee uniqifier within the project. Any string that id the application within the project can be used. Recomended to include environement and version or build id's.
+        "project": "A String", # The project the debuggee is associated with. Use the project number when registering a Google Cloud Platform project.
+        "sourceContexts": [ # Repository snapshots containing the source code of the project.
+          { # A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.
+            "cloudWorkspace": { # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. # A SourceContext referring to a snapshot in a cloud workspace.
+              "snapshotId": "A String", # The ID of the snapshot. An empty snapshot_id refers to the most recent snapshot.
+              "workspaceId": { # A CloudWorkspaceId is a unique identifier for a cloud workspace. A cloud workspace is a place associated with a repo where modified files can be stored before they are committed. # The ID of the workspace.
+                "repoId": { # A unique identifier for a cloud repo. # The ID of the repo containing the workspace.
+                  "projectRepoId": { # Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name.
+                    "projectId": "A String", # The ID of the project.
+                    "repoName": "A String", # The name of the repo. Leave empty for the default repo.
+                  },
+                  "uid": "A String", # A server-assigned, globally unique identifier.
+                },
+                "name": "A String", # The unique name of the workspace within the repo. This is the name chosen by the client in the Source API's CreateWorkspace method.
+              },
+            },
+            "cloudRepo": { # A CloudRepoSourceContext denotes a particular revision in a cloud repo (a repo hosted by the Google Cloud Platform). # A SourceContext referring to a revision in a cloud repo.
+              "revisionId": "A String", # A revision ID.
+              "aliasName": "A String", # The name of an alias (branch, tag, etc.).
+              "repoId": { # A unique identifier for a cloud repo. # The ID of the repo.
+                "projectRepoId": { # Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name.
+                  "projectId": "A String", # The ID of the project.
+                  "repoName": "A String", # The name of the repo. Leave empty for the default repo.
+                },
+                "uid": "A String", # A server-assigned, globally unique identifier.
+              },
+            },
+            "git": { # A GitSourceContext denotes a particular revision in a third party Git repository (e.g. GitHub). # A SourceContext referring to any third party Git repo (e.g. GitHub).
+              "url": "A String", # Git repository URL.
+              "revisionId": "A String", # Git commit hash. required.
+            },
+            "gerrit": { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
+              "revisionId": "A String", # A revision (commit) ID.
+              "hostUri": "A String", # The URI of a running Gerrit instance.
+              "aliasName": "A String", # The name of an alias (branch, tag, etc.).
+              "gerritProject": "A String", # The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is hostURI/project.
+            },
+          },
+        ],
+        "agentVersion": "A String", # Version ID of the agent release. The version ID is structured as following: "domain/type/vmajor.minor" (for example "google.com/gcp-java/v1.1").
+        "isInactive": True or False, # If set to true indicates that the debuggee has not been seen by the Controller service in the last active time period (defined by the server).
+        "id": "A String", # Debuggee unique identifer generated by the server.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/clouddebugger_v2.debugger.html b/docs/dyn/clouddebugger_v2.debugger.html new file mode 100644 index 00000000000..10e65ffe0a4 --- /dev/null +++ b/docs/dyn/clouddebugger_v2.debugger.html @@ -0,0 +1,82 @@ + + + +

Google Cloud Debugger API . debugger

+

Instance Methods

+

+ debuggees() +

+

Returns the debuggees Resource.

+ + \ No newline at end of file diff --git a/docs/dyn/clouddebugger_v2.html b/docs/dyn/clouddebugger_v2.html new file mode 100644 index 00000000000..1db97be66d3 --- /dev/null +++ b/docs/dyn/clouddebugger_v2.html @@ -0,0 +1,108 @@ + + + +

Google Cloud Debugger API

+

Instance Methods

+

+ controller() +

+

Returns the controller Resource.

+ +

+ debugger() +

+

Returns the debugger Resource.

+ +

+ new_batch_http_request()

+

Create a BatchHttpRequest object based on the discovery document.

+

Method Details

+
+ new_batch_http_request() +
Create a BatchHttpRequest object based on the discovery document.
+
+        Args:
+          callback: callable, A callback to be called for each response, of the
+            form callback(id, response, exception). The first parameter is the
+            request id, and the second is the deserialized response object. The
+            third is an apiclient.errors.HttpError exception object if an HTTP
+            error occurred while processing the request, or None if no error
+            occurred.
+
+        Returns:
+          A BatchHttpRequest object based on the discovery document.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/cloudresourcemanager_v1beta1.html b/docs/dyn/cloudresourcemanager_v1beta1.html index ca3609fcba2..34401f3fc69 100644 --- a/docs/dyn/cloudresourcemanager_v1beta1.html +++ b/docs/dyn/cloudresourcemanager_v1beta1.html @@ -74,6 +74,11 @@

Google Cloud Resource Manager API

Instance Methods

+

+ organizations() +

+

Returns the organizations Resource.

+

projects()

diff --git a/docs/dyn/cloudresourcemanager_v1beta1.organizations.html b/docs/dyn/cloudresourcemanager_v1beta1.organizations.html new file mode 100644 index 00000000000..294e4dc94b0 --- /dev/null +++ b/docs/dyn/cloudresourcemanager_v1beta1.organizations.html @@ -0,0 +1,292 @@ + + + +

Google Cloud Resource Manager API . organizations

+

Instance Methods

+

+ get(organizationId, x__xgafv=None)

+

Fetches an Organization resource by id.

+

+ getIamPolicy(resource, body, x__xgafv=None)

+

Gets the access control policy for a Organization resource. May be empty if no such policy or resource exists.

+

+ list(pageSize=None, filter=None, pageToken=None, x__xgafv=None)

+

Query Organization resources.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ setIamPolicy(resource, body, x__xgafv=None)

+

Sets the access control policy on a Organization resource. Replaces any existing policy.

+

+ testIamPermissions(resource, body, x__xgafv=None)

+

Returns permissions that a caller has on the specified Organization.

+

+ update(organizationId, body, x__xgafv=None)

+

Updates an Organization resource.

+

Method Details

+
+ get(organizationId, x__xgafv=None) +
Fetches an Organization resource by id.
+
+Args:
+  organizationId: string, The id of the Organization resource to fetch. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # The root node in the resource hierarchy to which a particular entity's (e.g., company) resources belong.
+    "organizationId": "A String", # An immutable id for the Organization that is assigned on creation. This should be omitted when creating a new Organization. This field is read-only.
+    "owner": { # The entity that owns an Organization. The lifetime of the Organization and all of its descendants are bound to the OrganizationOwner. If the OrganizationOwner is deleted, the Organization and all its descendants will be deleted. # The owner of this Organization. The owner should be specified upon creation. Once set, it cannot be changed. This field is required.
+      "directoryCustomerId": "A String", # The Google for Work customer id used in the Directory API.
+    },
+    "displayName": "A String", # A friendly string to be used to refer to the Organization in the UI. This field is required.
+  }
+
+ +
+ getIamPolicy(resource, body, x__xgafv=None) +
Gets the access control policy for a Organization resource. May be empty if no such policy or resource exists.
+
+Args:
+  resource: string, REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, `projects/{project}`. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request message for `GetIamPolicy` method.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** ``` { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@appspot.gserviceaccount.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] } ``` For a description of IAM and its features, see the [IAM developer's guide][https://cloud.google.com/iam].
+    "bindings": [ # Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.
+      { # Associates `members` with a `role`.
+        "role": "A String", # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required
+        "members": [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.
+          "A String",
+        ],
+      },
+    ],
+    "version": 42, # Version of the `Policy`. The default version is 0.
+    "etag": "A String", # Can be used to perform a read-modify-write.
+  }
+
+ +
+ list(pageSize=None, filter=None, pageToken=None, x__xgafv=None) +
Query Organization resources.
+
+Args:
+  pageSize: integer, The maximum number of Organizations to return in the response. This field is optional.
+  filter: string, An optional query string used to filter the Organizations to be return in the response. Filter rules are case-insensitive. Organizations may be filtered by `owner.directoryCustomerId` or by `domain`, where the domain is a Google for Work domain, for example: |Filter|Description| |------|-----------| |owner.directorycustomerid:123456789|Organizations with `owner.directory_customer_id` equal to `123456789`.| |domain:google.com|Organizations corresponding to the domain `google.com`.| This field is optional.
+  pageToken: string, A pagination token returned from a previous call to ListOrganizations that indicates from where listing should continue. This field is optional.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # The response returned from the ListOrganizations method.
+    "nextPageToken": "A String", # A pagination token to be used to retrieve the next page of results. If the result is too large to fit within the page size specified in the request, this field will be set with a token that can be used to fetch the next page of results. If this field is empty, it indicates that this response contains the last page of results.
+    "organizations": [ # The list of Organizations that matched the list query, possibly paginated.
+      { # The root node in the resource hierarchy to which a particular entity's (e.g., company) resources belong.
+        "organizationId": "A String", # An immutable id for the Organization that is assigned on creation. This should be omitted when creating a new Organization. This field is read-only.
+        "owner": { # The entity that owns an Organization. The lifetime of the Organization and all of its descendants are bound to the OrganizationOwner. If the OrganizationOwner is deleted, the Organization and all its descendants will be deleted. # The owner of this Organization. The owner should be specified upon creation. Once set, it cannot be changed. This field is required.
+          "directoryCustomerId": "A String", # The Google for Work customer id used in the Directory API.
+        },
+        "displayName": "A String", # A friendly string to be used to refer to the Organization in the UI. This field is required.
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ setIamPolicy(resource, body, x__xgafv=None) +
Sets the access control policy on a Organization resource. Replaces any existing policy.
+
+Args:
+  resource: string, REQUIRED: The resource for which policy is being specified. `resource` is usually specified as a path, such as, `projects/{project}/zones/{zone}/disks/{disk}`. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request message for `SetIamPolicy` method.
+    "policy": { # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** ``` { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@appspot.gserviceaccount.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] } ``` For a description of IAM and its features, see the [IAM developer's guide][https://cloud.google.com/iam]. # REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.
+      "bindings": [ # Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.
+        { # Associates `members` with a `role`.
+          "role": "A String", # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required
+          "members": [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.
+            "A String",
+          ],
+        },
+      ],
+      "version": 42, # Version of the `Policy`. The default version is 0.
+      "etag": "A String", # Can be used to perform a read-modify-write.
+    },
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** ``` { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@appspot.gserviceaccount.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] } ``` For a description of IAM and its features, see the [IAM developer's guide][https://cloud.google.com/iam].
+    "bindings": [ # Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.
+      { # Associates `members` with a `role`.
+        "role": "A String", # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required
+        "members": [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.
+          "A String",
+        ],
+      },
+    ],
+    "version": 42, # Version of the `Policy`. The default version is 0.
+    "etag": "A String", # Can be used to perform a read-modify-write.
+  }
+
+ +
+ testIamPermissions(resource, body, x__xgafv=None) +
Returns permissions that a caller has on the specified Organization.
+
+Args:
+  resource: string, REQUIRED: The resource for which policy detail is being requested. `resource` is usually specified as a path, such as, `projects/{project}`. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request message for `TestIamPermissions` method.
+    "permissions": [ # The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
+      "A String",
+    ],
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response message for `TestIamPermissions` method.
+    "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
+      "A String",
+    ],
+  }
+
+ +
+ update(organizationId, body, x__xgafv=None) +
Updates an Organization resource.
+
+Args:
+  organizationId: string, An immutable id for the Organization that is assigned on creation. This should be omitted when creating a new Organization. This field is read-only. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # The root node in the resource hierarchy to which a particular entity's (e.g., company) resources belong.
+  "organizationId": "A String", # An immutable id for the Organization that is assigned on creation. This should be omitted when creating a new Organization. This field is read-only.
+  "owner": { # The entity that owns an Organization. The lifetime of the Organization and all of its descendants are bound to the OrganizationOwner. If the OrganizationOwner is deleted, the Organization and all its descendants will be deleted. # The owner of this Organization. The owner should be specified upon creation. Once set, it cannot be changed. This field is required.
+    "directoryCustomerId": "A String", # The Google for Work customer id used in the Directory API.
+  },
+  "displayName": "A String", # A friendly string to be used to refer to the Organization in the UI. This field is required.
+}
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # The root node in the resource hierarchy to which a particular entity's (e.g., company) resources belong.
+    "organizationId": "A String", # An immutable id for the Organization that is assigned on creation. This should be omitted when creating a new Organization. This field is read-only.
+    "owner": { # The entity that owns an Organization. The lifetime of the Organization and all of its descendants are bound to the OrganizationOwner. If the OrganizationOwner is deleted, the Organization and all its descendants will be deleted. # The owner of this Organization. The owner should be specified upon creation. Once set, it cannot be changed. This field is required.
+      "directoryCustomerId": "A String", # The Google for Work customer id used in the Directory API.
+    },
+    "displayName": "A String", # A friendly string to be used to refer to the Organization in the UI. This field is required.
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/cloudresourcemanager_v1beta1.projects.html b/docs/dyn/cloudresourcemanager_v1beta1.projects.html index c5166c68ca9..b447697d654 100644 --- a/docs/dyn/cloudresourcemanager_v1beta1.projects.html +++ b/docs/dyn/cloudresourcemanager_v1beta1.projects.html @@ -79,19 +79,28 @@

Instance Methods

Creates a project resource. Initially, the project resource is owned by its creator exclusively. The creator can later grant permission to others to read or update the project. Several APIs are activated automatically for the project, including Google Cloud Storage.

delete(projectId, x__xgafv=None)

-

Marks the project identified by the specified `project_id` (for example, `my-project-123`) for deletion. This method will only affect the project if it has a lifecycle state of [ACTIVE][cloudresourcemanager.projects.v1beta2.LifecycleState.ACTIVE] when this method is called. Otherwise this method does nothing (since all other states are phases of deletion). This method changes the project's lifecycle state from [ACTIVE][cloudresourcemanager.projects.v1beta2.LifecycleState.ACTIVE] to [DELETE_REQUESTED] [cloudresourcemanager.projects.v1beta2.LifecycleState.DELETE_REQUESTED]. The deletion starts at an unspecified time, at which point the lifecycle state changes to [DELETE_IN_PROGRESS] [cloudresourcemanager.projects.v1beta2.LifecycleState.DELETE_IN_PROGRESS]. Until the deletion completes, you can check the lifecycle state checked by retrieving the project with [GetProject] [cloudresourcemanager.projects.v1beta2.Projects.GetProject], and the project remains visible to [ListProjects] [cloudresourcemanager.projects.v1beta2.Projects.ListProjects]. However, you cannot update the project. After the deletion completes, the project is not retrievable by the [GetProject] [cloudresourcemanager.projects.v1beta2.Projects.GetProject] and [ListProjects] [cloudresourcemanager.projects.v1beta2.Projects.ListProjects] methods. The caller must have modify permissions for this project.

+

Marks the project identified by the specified `project_id` (for example, `my-project-123`) for deletion. This method will only affect the project if the following criteria are met: + The project does not have a billing account associated with it. + The project has a lifecycle state of [ACTIVE][google.cloudresourcemanager.projects.v1beta1.LifecycleState.ACTIVE]. This method changes the project's lifecycle state from [ACTIVE][google.cloudresourcemanager.projects.v1beta1.LifecycleState.ACTIVE] to [DELETE_REQUESTED] [google.cloudresourcemanager.projects.v1beta1.LifecycleState.DELETE_REQUESTED]. The deletion starts at an unspecified time, at which point the lifecycle state changes to [DELETE_IN_PROGRESS] [google.cloudresourcemanager.projects.v1beta1.LifecycleState.DELETE_IN_PROGRESS]. Until the deletion completes, you can check the lifecycle state checked by retrieving the project with [GetProject] [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.GetProject], and the project remains visible to [ListProjects] [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.ListProjects]. However, you cannot update the project. After the deletion completes, the project is not retrievable by the [GetProject] [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.GetProject] and [ListProjects] [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.ListProjects] methods. The caller must have modify permissions for this project.

get(projectId, x__xgafv=None)

Retrieves the project identified by the specified `project_id` (for example, `my-project-123`). The caller must have read permissions for this project.

+

+ getIamPolicy(resource, body, x__xgafv=None)

+

Returns the IAM access control policy for specified project.

list(pageSize=None, filter=None, pageToken=None, x__xgafv=None)

Lists projects that are visible to the user and satisfy the specified filter. This method returns projects in an unspecified order. New projects do not necessarily appear at the end of the list.

list_next(previous_request, previous_response)

Retrieves the next page of results.

+

+ setIamPolicy(resource, body, x__xgafv=None)

+

Sets the IAM access control policy for the specified project. We do not currently support 'domain:' prefixed members in a Binding of a Policy. Calling this method requires enabling the App Engine Admin API.

+

+ testIamPermissions(resource, body, x__xgafv=None)

+

Tests the specified permissions against the IAM access control policy for the specified project.

undelete(projectId, x__xgafv=None)

-

Restores the project identified by the specified `project_id` (for example, `my-project-123`). You can only use this method for a project that has a lifecycle state of [DELETE_REQUESTED] [cloudresourcemanager.projects.v1beta2.LifecycleState.DELETE_REQUESTED]. After deletion starts, as indicated by a lifecycle state of [DELETE_IN_PROGRESS] [cloudresourcemanager.projects.v1beta2.LifecycleState.DELETE_IN_PROGRESS], the project cannot be restored. The caller must have modify permissions for this project.

+

Restores the project identified by the specified `project_id` (for example, `my-project-123`). You can only use this method for a project that has a lifecycle state of [DELETE_REQUESTED] [google.cloudresourcemanager.projects.v1beta1.LifecycleState.DELETE_REQUESTED]. After deletion starts, as indicated by a lifecycle state of [DELETE_IN_PROGRESS] [google.cloudresourcemanager.projects.v1beta1.LifecycleState.DELETE_IN_PROGRESS], the project cannot be restored. The caller must have modify permissions for this project.

update(projectId, body, x__xgafv=None)

Updates the attributes of the project identified by the specified `project_id` (for example, `my-project-123`). The caller must have modify permissions for this project.

@@ -104,13 +113,17 @@

Method Details

body: object, The request body. (required) The object takes the form of: -{ # A Project is a high-level Google Cloud Platform entity. It is a container for ACLs, APIs, AppEngine Apps, VMs, and other Google Cloud Platform resources. Projects are subordinate to Customers. - "name": "A String", # The user-assigned name of the project. This field is optional and can remain unset. Allowed characters are: lower- and upper-case letters, numbers, hyphen, single-quote, double-quotes, space, and exclamation point. Example: "My Project" Read-write. - "projectId": "A String", # The unique, user-assigned id of the project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: "tokyo-rain-123" Read-only after creation. - "labels": { # The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. No more than 256 labels can be associated with a given resource. Note that additional character may be included in labels in the future. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: "environment" : "dev" Read-write. +{ # A Project is a high-level Google Cloud Platform entity. It is a container for ACLs, APIs, AppEngine Apps, VMs, and other Google Cloud Platform resources. + "name": "A String", # The user-assigned name of the project. It must be 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: My Project Read-write. + "parent": { # A container to reference an id for any resource type. A 'resource' in Google Cloud Platform is a generic term for something you (a developer) may want to interact with through one of our API's. Some examples are an AppEngine app, a Compute Engine instance, Cloud SQL database, ... # An optional reference to a parent Resource. The only supported parent type is "organization". Once set, the parent cannot be modified. Read-write. + "type": "A String", # Required field representing the resource type this id is for. At present, the only valid type is "organization". + "id": "A String", # Required field for the type-specific id. This should correspond to the id used in the type-specific API's. + }, + "projectId": "A String", # The unique, user-assigned ID of the project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: tokyo-rain-123 Read-only after creation. + "labels": { # The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63 characters long and must conform to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. No more than 256 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: "environment" : "dev" Read-write. "a_key": "A String", }, - "projectNumber": "A String", # The number uniquely identifying the project. Example: 415104041262. Read-only. + "projectNumber": "A String", # The number uniquely identifying the project. Example: 415104041262 Read-only. "lifecycleState": "A String", # The project lifecycle state. Read-only. "createTime": "A String", # Creation time. Read-only. } @@ -120,13 +133,17 @@

Method Details

Returns: An object of the form: - { # A Project is a high-level Google Cloud Platform entity. It is a container for ACLs, APIs, AppEngine Apps, VMs, and other Google Cloud Platform resources. Projects are subordinate to Customers. - "name": "A String", # The user-assigned name of the project. This field is optional and can remain unset. Allowed characters are: lower- and upper-case letters, numbers, hyphen, single-quote, double-quotes, space, and exclamation point. Example: "My Project" Read-write. - "projectId": "A String", # The unique, user-assigned id of the project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: "tokyo-rain-123" Read-only after creation. - "labels": { # The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. No more than 256 labels can be associated with a given resource. Note that additional character may be included in labels in the future. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: "environment" : "dev" Read-write. + { # A Project is a high-level Google Cloud Platform entity. It is a container for ACLs, APIs, AppEngine Apps, VMs, and other Google Cloud Platform resources. + "name": "A String", # The user-assigned name of the project. It must be 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: My Project Read-write. + "parent": { # A container to reference an id for any resource type. A 'resource' in Google Cloud Platform is a generic term for something you (a developer) may want to interact with through one of our API's. Some examples are an AppEngine app, a Compute Engine instance, Cloud SQL database, ... # An optional reference to a parent Resource. The only supported parent type is "organization". Once set, the parent cannot be modified. Read-write. + "type": "A String", # Required field representing the resource type this id is for. At present, the only valid type is "organization". + "id": "A String", # Required field for the type-specific id. This should correspond to the id used in the type-specific API's. + }, + "projectId": "A String", # The unique, user-assigned ID of the project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: tokyo-rain-123 Read-only after creation. + "labels": { # The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63 characters long and must conform to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. No more than 256 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: "environment" : "dev" Read-write. "a_key": "A String", }, - "projectNumber": "A String", # The number uniquely identifying the project. Example: 415104041262. Read-only. + "projectNumber": "A String", # The number uniquely identifying the project. Example: 415104041262 Read-only. "lifecycleState": "A String", # The project lifecycle state. Read-only. "createTime": "A String", # Creation time. Read-only. }
@@ -134,7 +151,7 @@

Method Details

delete(projectId, x__xgafv=None) -
Marks the project identified by the specified `project_id` (for example, `my-project-123`) for deletion. This method will only affect the project if it has a lifecycle state of [ACTIVE][cloudresourcemanager.projects.v1beta2.LifecycleState.ACTIVE] when this method is called. Otherwise this method does nothing (since all other states are phases of deletion). This method changes the project's lifecycle state from [ACTIVE][cloudresourcemanager.projects.v1beta2.LifecycleState.ACTIVE] to [DELETE_REQUESTED] [cloudresourcemanager.projects.v1beta2.LifecycleState.DELETE_REQUESTED]. The deletion starts at an unspecified time, at which point the lifecycle state changes to [DELETE_IN_PROGRESS] [cloudresourcemanager.projects.v1beta2.LifecycleState.DELETE_IN_PROGRESS]. Until the deletion completes, you can check the lifecycle state checked by retrieving the project with [GetProject] [cloudresourcemanager.projects.v1beta2.Projects.GetProject], and the project remains visible to [ListProjects] [cloudresourcemanager.projects.v1beta2.Projects.ListProjects]. However, you cannot update the project. After the deletion completes, the project is not retrievable by the [GetProject] [cloudresourcemanager.projects.v1beta2.Projects.GetProject] and [ListProjects] [cloudresourcemanager.projects.v1beta2.Projects.ListProjects] methods. The caller must have modify permissions for this project.
+  
Marks the project identified by the specified `project_id` (for example, `my-project-123`) for deletion. This method will only affect the project if the following criteria are met: + The project does not have a billing account associated with it. + The project has a lifecycle state of [ACTIVE][google.cloudresourcemanager.projects.v1beta1.LifecycleState.ACTIVE]. This method changes the project's lifecycle state from [ACTIVE][google.cloudresourcemanager.projects.v1beta1.LifecycleState.ACTIVE] to [DELETE_REQUESTED] [google.cloudresourcemanager.projects.v1beta1.LifecycleState.DELETE_REQUESTED]. The deletion starts at an unspecified time, at which point the lifecycle state changes to [DELETE_IN_PROGRESS] [google.cloudresourcemanager.projects.v1beta1.LifecycleState.DELETE_IN_PROGRESS]. Until the deletion completes, you can check the lifecycle state checked by retrieving the project with [GetProject] [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.GetProject], and the project remains visible to [ListProjects] [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.ListProjects]. However, you cannot update the project. After the deletion completes, the project is not retrievable by the [GetProject] [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.GetProject] and [ListProjects] [google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.ListProjects] methods. The caller must have modify permissions for this project.
 
 Args:
   projectId: string, The project ID (for example, `foo-bar-123`). Required. (required)
@@ -143,7 +160,7 @@ 

Method Details

Returns: An object of the form: - { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`. }
@@ -158,41 +175,80 @@

Method Details

Returns: An object of the form: - { # A Project is a high-level Google Cloud Platform entity. It is a container for ACLs, APIs, AppEngine Apps, VMs, and other Google Cloud Platform resources. Projects are subordinate to Customers. - "name": "A String", # The user-assigned name of the project. This field is optional and can remain unset. Allowed characters are: lower- and upper-case letters, numbers, hyphen, single-quote, double-quotes, space, and exclamation point. Example: "My Project" Read-write. - "projectId": "A String", # The unique, user-assigned id of the project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: "tokyo-rain-123" Read-only after creation. - "labels": { # The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. No more than 256 labels can be associated with a given resource. Note that additional character may be included in labels in the future. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: "environment" : "dev" Read-write. + { # A Project is a high-level Google Cloud Platform entity. It is a container for ACLs, APIs, AppEngine Apps, VMs, and other Google Cloud Platform resources. + "name": "A String", # The user-assigned name of the project. It must be 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: My Project Read-write. + "parent": { # A container to reference an id for any resource type. A 'resource' in Google Cloud Platform is a generic term for something you (a developer) may want to interact with through one of our API's. Some examples are an AppEngine app, a Compute Engine instance, Cloud SQL database, ... # An optional reference to a parent Resource. The only supported parent type is "organization". Once set, the parent cannot be modified. Read-write. + "type": "A String", # Required field representing the resource type this id is for. At present, the only valid type is "organization". + "id": "A String", # Required field for the type-specific id. This should correspond to the id used in the type-specific API's. + }, + "projectId": "A String", # The unique, user-assigned ID of the project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: tokyo-rain-123 Read-only after creation. + "labels": { # The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63 characters long and must conform to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. No more than 256 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: "environment" : "dev" Read-write. "a_key": "A String", }, - "projectNumber": "A String", # The number uniquely identifying the project. Example: 415104041262. Read-only. + "projectNumber": "A String", # The number uniquely identifying the project. Example: 415104041262 Read-only. "lifecycleState": "A String", # The project lifecycle state. Read-only. "createTime": "A String", # Creation time. Read-only. }
+
+ getIamPolicy(resource, body, x__xgafv=None) +
Returns the IAM access control policy for specified project.
+
+Args:
+  resource: string, REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, `projects/{project}`. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request message for `GetIamPolicy` method.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** ``` { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@appspot.gserviceaccount.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] } ``` For a description of IAM and its features, see the [IAM developer's guide][https://cloud.google.com/iam].
+    "bindings": [ # Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.
+      { # Associates `members` with a `role`.
+        "role": "A String", # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required
+        "members": [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.
+          "A String",
+        ],
+      },
+    ],
+    "version": 42, # Version of the `Policy`. The default version is 0.
+    "etag": "A String", # Can be used to perform a read-modify-write.
+  }
+
+
list(pageSize=None, filter=None, pageToken=None, x__xgafv=None)
Lists projects that are visible to the user and satisfy the specified filter. This method returns projects in an unspecified order. New projects do not necessarily appear at the end of the list.
 
 Args:
   pageSize: integer, The maximum number of Projects to return in the response. The server can return fewer projects than requested. If unspecified, server picks an appropriate default. Note: pagination is not yet supported; the server ignores this field. Optional.
-  filter: string, An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: name id labels. where  is a the name of a label Examples: name:* ==> The project has a name. name:Howl ==> The project’s name is `Howl` or 'howl'. name:HOWL ==> Equivalent to above. NAME:howl ==> Equivalent to above. labels.color:* ==> The project has the label "color". labels.color:red ==> The project’s label `color` has the value `red`. labels.color:red label.size:big ==> The project's label `color` has the value `red` and its label `size` has the value `big`. Optional.
+  filter: string, An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: + `name` + `id` + labels.key where *key* is the name of a label Some examples of using labels as filters: |Filter|Description| |------|-----------| |name:*|The project has a name.| |name:Howl|The project's name is `Howl` or `howl`.| |name:HOWL|Equivalent to above.| |NAME:howl|Equivalent to above.| |labels.color:*|The project has the label `color`.| |labels.color:red|The project's label `color` has the value `red`.| |labels.color:red label.size:big|The project's label `color` has the value `red` and its label `size` has the value `big`. Optional.
   pageToken: string, A pagination token returned from a previous call to ListProject that indicates from where listing should continue. Note: pagination is not yet supported; the server ignores this field. Optional.
   x__xgafv: string, V1 error format.
 
 Returns:
   An object of the form:
 
-    { # A page of the response received from the [ListProjects][cloudresourcemanager.projects.v1beta1.Projects.ListProjects] method. A paginated response where more pages are available has `next_page_token` set. This token can be used in a subsequent request to retrieve the next request page.
+    { # A page of the response received from the [ListProjects][google.cloudresourcemanager.projects.v1beta1.DeveloperProjects.ListProjects] method. A paginated response where more pages are available has `next_page_token` set. This token can be used in a subsequent request to retrieve the next request page.
     "nextPageToken": "A String", # Pagination token. If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the `page_token` parameter gives the next page of the results. When `next_page_token` is not filled in, there is no next page and the list returned is the last page in the result set. Pagination tokens have a limited lifetime. Note: pagination is not yet supported; the server will not set this field.
     "projects": [ # The list of projects that matched the list filter. This list can be paginated.
-      { # A Project is a high-level Google Cloud Platform entity. It is a container for ACLs, APIs, AppEngine Apps, VMs, and other Google Cloud Platform resources. Projects are subordinate to Customers.
-        "name": "A String", # The user-assigned name of the project. This field is optional and can remain unset. Allowed characters are: lower- and upper-case letters, numbers, hyphen, single-quote, double-quotes, space, and exclamation point. Example: "My Project" Read-write.
-        "projectId": "A String", # The unique, user-assigned id of the project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: "tokyo-rain-123" Read-only after creation.
-        "labels": { # The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. No more than 256 labels can be associated with a given resource. Note that additional character may be included in labels in the future. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: "environment" : "dev" Read-write.
+      { # A Project is a high-level Google Cloud Platform entity. It is a container for ACLs, APIs, AppEngine Apps, VMs, and other Google Cloud Platform resources.
+        "name": "A String", # The user-assigned name of the project. It must be 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: My Project Read-write.
+        "parent": { # A container to reference an id for any resource type. A 'resource' in Google Cloud Platform is a generic term for something you (a developer) may want to interact with through one of our API's. Some examples are an AppEngine app, a Compute Engine instance, Cloud SQL database, ... # An optional reference to a parent Resource. The only supported parent type is "organization". Once set, the parent cannot be modified. Read-write.
+          "type": "A String", # Required field representing the resource type this id is for. At present, the only valid type is "organization".
+          "id": "A String", # Required field for the type-specific id. This should correspond to the id used in the type-specific API's.
+        },
+        "projectId": "A String", # The unique, user-assigned ID of the project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: tokyo-rain-123 Read-only after creation.
+        "labels": { # The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63 characters long and must conform to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. No more than 256 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: "environment" : "dev" Read-write.
           "a_key": "A String",
         },
-        "projectNumber": "A String", # The number uniquely identifying the project. Example: 415104041262. Read-only.
+        "projectNumber": "A String", # The number uniquely identifying the project. Example: 415104041262 Read-only.
         "lifecycleState": "A String", # The project lifecycle state. Read-only.
         "createTime": "A String", # Creation time. Read-only.
       },
@@ -214,9 +270,79 @@ 

Method Details

+
+ setIamPolicy(resource, body, x__xgafv=None) +
Sets the IAM access control policy for the specified project. We do not currently support 'domain:' prefixed members in a Binding of a Policy. Calling this method requires enabling the App Engine Admin API.
+
+Args:
+  resource: string, REQUIRED: The resource for which policy is being specified. `resource` is usually specified as a path, such as, `projects/{project}/zones/{zone}/disks/{disk}`. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request message for `SetIamPolicy` method.
+    "policy": { # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** ``` { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@appspot.gserviceaccount.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] } ``` For a description of IAM and its features, see the [IAM developer's guide][https://cloud.google.com/iam]. # REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.
+      "bindings": [ # Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.
+        { # Associates `members` with a `role`.
+          "role": "A String", # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required
+          "members": [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.
+            "A String",
+          ],
+        },
+      ],
+      "version": 42, # Version of the `Policy`. The default version is 0.
+      "etag": "A String", # Can be used to perform a read-modify-write.
+    },
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** ``` { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@appspot.gserviceaccount.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] } ``` For a description of IAM and its features, see the [IAM developer's guide][https://cloud.google.com/iam].
+    "bindings": [ # Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.
+      { # Associates `members` with a `role`.
+        "role": "A String", # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required
+        "members": [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.
+          "A String",
+        ],
+      },
+    ],
+    "version": 42, # Version of the `Policy`. The default version is 0.
+    "etag": "A String", # Can be used to perform a read-modify-write.
+  }
+
+ +
+ testIamPermissions(resource, body, x__xgafv=None) +
Tests the specified permissions against the IAM access control policy for the specified project.
+
+Args:
+  resource: string, REQUIRED: The resource for which policy detail is being requested. `resource` is usually specified as a path, such as, `projects/{project}`. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request message for `TestIamPermissions` method.
+    "permissions": [ # The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
+      "A String",
+    ],
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response message for `TestIamPermissions` method.
+    "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
+      "A String",
+    ],
+  }
+
+
undelete(projectId, x__xgafv=None) -
Restores the project identified by the specified `project_id` (for example, `my-project-123`). You can only use this method for a project that has a lifecycle state of [DELETE_REQUESTED] [cloudresourcemanager.projects.v1beta2.LifecycleState.DELETE_REQUESTED]. After deletion starts, as indicated by a lifecycle state of [DELETE_IN_PROGRESS] [cloudresourcemanager.projects.v1beta2.LifecycleState.DELETE_IN_PROGRESS], the project cannot be restored. The caller must have modify permissions for this project.
+  
Restores the project identified by the specified `project_id` (for example, `my-project-123`). You can only use this method for a project that has a lifecycle state of [DELETE_REQUESTED] [google.cloudresourcemanager.projects.v1beta1.LifecycleState.DELETE_REQUESTED]. After deletion starts, as indicated by a lifecycle state of [DELETE_IN_PROGRESS] [google.cloudresourcemanager.projects.v1beta1.LifecycleState.DELETE_IN_PROGRESS], the project cannot be restored. The caller must have modify permissions for this project.
 
 Args:
   projectId: string, The project ID (for example, `foo-bar-123`). Required. (required)
@@ -225,7 +351,7 @@ 

Method Details

Returns: An object of the form: - { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`. }
@@ -238,13 +364,17 @@

Method Details

body: object, The request body. (required) The object takes the form of: -{ # A Project is a high-level Google Cloud Platform entity. It is a container for ACLs, APIs, AppEngine Apps, VMs, and other Google Cloud Platform resources. Projects are subordinate to Customers. - "name": "A String", # The user-assigned name of the project. This field is optional and can remain unset. Allowed characters are: lower- and upper-case letters, numbers, hyphen, single-quote, double-quotes, space, and exclamation point. Example: "My Project" Read-write. - "projectId": "A String", # The unique, user-assigned id of the project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: "tokyo-rain-123" Read-only after creation. - "labels": { # The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. No more than 256 labels can be associated with a given resource. Note that additional character may be included in labels in the future. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: "environment" : "dev" Read-write. +{ # A Project is a high-level Google Cloud Platform entity. It is a container for ACLs, APIs, AppEngine Apps, VMs, and other Google Cloud Platform resources. + "name": "A String", # The user-assigned name of the project. It must be 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: My Project Read-write. + "parent": { # A container to reference an id for any resource type. A 'resource' in Google Cloud Platform is a generic term for something you (a developer) may want to interact with through one of our API's. Some examples are an AppEngine app, a Compute Engine instance, Cloud SQL database, ... # An optional reference to a parent Resource. The only supported parent type is "organization". Once set, the parent cannot be modified. Read-write. + "type": "A String", # Required field representing the resource type this id is for. At present, the only valid type is "organization". + "id": "A String", # Required field for the type-specific id. This should correspond to the id used in the type-specific API's. + }, + "projectId": "A String", # The unique, user-assigned ID of the project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: tokyo-rain-123 Read-only after creation. + "labels": { # The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63 characters long and must conform to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. No more than 256 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: "environment" : "dev" Read-write. "a_key": "A String", }, - "projectNumber": "A String", # The number uniquely identifying the project. Example: 415104041262. Read-only. + "projectNumber": "A String", # The number uniquely identifying the project. Example: 415104041262 Read-only. "lifecycleState": "A String", # The project lifecycle state. Read-only. "createTime": "A String", # Creation time. Read-only. } @@ -254,13 +384,17 @@

Method Details

Returns: An object of the form: - { # A Project is a high-level Google Cloud Platform entity. It is a container for ACLs, APIs, AppEngine Apps, VMs, and other Google Cloud Platform resources. Projects are subordinate to Customers. - "name": "A String", # The user-assigned name of the project. This field is optional and can remain unset. Allowed characters are: lower- and upper-case letters, numbers, hyphen, single-quote, double-quotes, space, and exclamation point. Example: "My Project" Read-write. - "projectId": "A String", # The unique, user-assigned id of the project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: "tokyo-rain-123" Read-only after creation. - "labels": { # The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. No more than 256 labels can be associated with a given resource. Note that additional character may be included in labels in the future. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: "environment" : "dev" Read-write. + { # A Project is a high-level Google Cloud Platform entity. It is a container for ACLs, APIs, AppEngine Apps, VMs, and other Google Cloud Platform resources. + "name": "A String", # The user-assigned name of the project. It must be 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: My Project Read-write. + "parent": { # A container to reference an id for any resource type. A 'resource' in Google Cloud Platform is a generic term for something you (a developer) may want to interact with through one of our API's. Some examples are an AppEngine app, a Compute Engine instance, Cloud SQL database, ... # An optional reference to a parent Resource. The only supported parent type is "organization". Once set, the parent cannot be modified. Read-write. + "type": "A String", # Required field representing the resource type this id is for. At present, the only valid type is "organization". + "id": "A String", # Required field for the type-specific id. This should correspond to the id used in the type-specific API's. + }, + "projectId": "A String", # The unique, user-assigned ID of the project. It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a letter. Trailing hyphens are prohibited. Example: tokyo-rain-123 Read-only after creation. + "labels": { # The labels associated with this project. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63 characters long and must conform to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. No more than 256 labels can be associated with a given resource. Clients should store labels in a representation such as JSON that does not depend on specific characters being disallowed. Example: "environment" : "dev" Read-write. "a_key": "A String", }, - "projectNumber": "A String", # The number uniquely identifying the project. Example: 415104041262. Read-only. + "projectNumber": "A String", # The number uniquely identifying the project. Example: 415104041262 Read-only. "lifecycleState": "A String", # The project lifecycle state. Read-only. "createTime": "A String", # Creation time. Read-only. }
diff --git a/docs/dyn/clouduseraccounts_vm_alpha.globalAccountsOperations.html b/docs/dyn/clouduseraccounts_vm_alpha.globalAccountsOperations.html new file mode 100644 index 00000000000..4ef25df98c8 --- /dev/null +++ b/docs/dyn/clouduseraccounts_vm_alpha.globalAccountsOperations.html @@ -0,0 +1,245 @@ + + + +

Cloud User Accounts API . globalAccountsOperations

+

Instance Methods

+

+ delete(project, operation)

+

Deletes the specified operation resource.

+

+ get(project, operation)

+

Retrieves the specified operation resource.

+

+ list(project, orderBy=None, maxResults=None, pageToken=None, filter=None)

+

Retrieves the list of operation resources contained within the specified project.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ delete(project, operation) +
Deletes the specified operation resource.
+
+Args:
+  project: string, Project ID for this request. (required)
+  operation: string, Name of the Operations resource to delete. (required)
+
+
+ +
+ get(project, operation) +
Retrieves the specified operation resource.
+
+Args:
+  project: string, Project ID for this request. (required)
+  operation: string, Name of the Operations resource to return. (required)
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "clouduseraccounts#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ list(project, orderBy=None, maxResults=None, pageToken=None, filter=None) +
Retrieves the list of operation resources contained within the specified project.
+
+Args:
+  project: string, Project ID for this request. (required)
+  orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
+
+You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
+
+Currently, only sorting by name or creationTimestamp desc is supported.
+  maxResults: integer, Maximum count of results to be returned.
+  pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.
+  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
+
+The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
+
+For example, filter=name ne example-instance.
+
+Returns:
+  An object of the form:
+
+    { # Contains a list of Operation resources.
+    "nextPageToken": "A String", # [Output Only] A token used to continue a truncate.
+    "items": [ # [Output Only] The Operation resources.
+      { # An Operation resource, used to manage asynchronous API requests.
+        "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+        "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+        "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+        "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+        "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+        "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+        "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+        "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+        "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+        "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+        "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+        "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+        "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+          {
+            "message": "A String", # [Output Only] Optional human-readable details for this warning.
+            "code": "A String", # [Output Only] The warning type identifier for this warning.
+            "data": [ # [Output Only] Metadata for this warning in key: value format.
+              {
+                "value": "A String", # [Output Only] A warning data value corresponding to the key.
+                "key": "A String", # [Output Only] A key for the warning data.
+              },
+            ],
+          },
+        ],
+        "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+        "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+        "kind": "clouduseraccounts#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+        "name": "A String", # [Output Only] Name of the resource.
+        "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+        "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+          "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+            {
+              "message": "A String", # [Output Only] An optional, human-readable error message.
+              "code": "A String", # [Output Only] The error type identifier for this error.
+              "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+            },
+          ],
+        },
+        "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+        "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+        "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+      },
+    ],
+    "kind": "clouduseraccounts#operationList", # [Output Only] Type of resource. Always compute#operations for Operations resource.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "selfLink": "A String", # [Output Only] Server-defined URL for this resource.
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/clouduseraccounts_vm_alpha.groups.html b/docs/dyn/clouduseraccounts_vm_alpha.groups.html new file mode 100644 index 00000000000..4b3070dde6a --- /dev/null +++ b/docs/dyn/clouduseraccounts_vm_alpha.groups.html @@ -0,0 +1,709 @@ + + + +

Cloud User Accounts API . groups

+

Instance Methods

+

+ addMember(project, groupName, body)

+

Adds users to the specified group.

+

+ delete(project, groupName)

+

Deletes the specified Group resource.

+

+ get(project, groupName)

+

Returns the specified Group resource.

+

+ getIamPolicy(project, resource)

+

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

+

+ insert(project, body)

+

Creates a Group resource in the specified project using the data included in the request.

+

+ list(project, orderBy=None, maxResults=None, pageToken=None, filter=None)

+

Retrieves the list of groups contained within the specified project.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ removeMember(project, groupName, body)

+

Removes users from the specified group.

+

+ setIamPolicy(project, resource, body)

+

Sets the access control policy on the specified resource. Replaces any existing policy.

+

+ testIamPermissions(project, resource, body)

+

Returns permissions that a caller has on the specified resource.

+

Method Details

+
+ addMember(project, groupName, body) +
Adds users to the specified group.
+
+Args:
+  project: string, Project ID for this request. (required)
+  groupName: string, Name of the group for this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "users": [ # Fully-qualified URLs of the User resources to add.
+      "A String",
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "clouduseraccounts#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ delete(project, groupName) +
Deletes the specified Group resource.
+
+Args:
+  project: string, Project ID for this request. (required)
+  groupName: string, Name of the Group resource to delete. (required)
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "clouduseraccounts#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ get(project, groupName) +
Returns the specified Group resource.
+
+Args:
+  project: string, Project ID for this request. (required)
+  groupName: string, Name of the Group resource to return. (required)
+
+Returns:
+  An object of the form:
+
+    { # A Group resource.
+      "kind": "clouduseraccounts#group", # [Output Only] Type of the resource. Always clouduseraccounts#group for groups.
+      "name": "A String", # Name of the resource; provided by the client when the resource is created.
+      "members": [ # [Output Only] A list of URLs to User resources who belong to the group. Users may only be members of groups in the same project.
+        "A String",
+      ],
+      "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+      "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+      "selfLink": "A String", # [Output Only] Server defined URL for the resource.
+      "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+    }
+
+ +
+ getIamPolicy(project, resource) +
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
+
+Args:
+  project: string, Project ID for this request. (required)
+  resource: string, Name of the resource for this request. (required)
+
+Returns:
+  An object of the form:
+
+    { # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.
+      #
+      #
+      #
+      # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.
+      #
+      # **Example**
+      #
+      # { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@appspot.gserviceaccount.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] }
+      #
+      # For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).
+    "rules": [
+      { # A rule to be applied in a Policy.
+        "logConfigs": [ # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.
+          { # Specifies what kind of log the caller must write
+            "counter": { # Options for counters # Counter options.
+              "field": "A String", # The field value to attribute.
+              "metric": "A String", # The metric to update.
+            },
+          },
+        ],
+        "notIns": [ # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is not in this set of entries.
+          "A String",
+        ],
+        "ins": [ # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in this set of entries.
+          "A String",
+        ],
+        "action": "A String", # Required
+        "permissions": [ # A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
+          "A String",
+        ],
+        "conditions": [ # Additional restrictions that must be met
+          { # A condition to be met.
+            "iam": "A String", # Trusted attributes supplied by the IAM system.
+            "svc": "A String", # Trusted attributes discharged by the service.
+            "value": "A String", # The object of the condition. Exactly one of these must be set.
+            "sys": "A String", # Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.
+            "values": [ # The objects of the condition. This is mutually exclusive with 'value'.
+              "A String",
+            ],
+            "op": "A String", # An operator to apply the subject with.
+          },
+        ],
+        "description": "A String", # Human-readable description of the rule.
+      },
+    ],
+    "bindings": [ # Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.
+      { # Associates `members` with a `role`.
+        "role": "A String", # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
+        "members": [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats:
+            #
+            # * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.
+            #
+            # * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.
+            #
+            # * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`.
+            #
+            # * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.
+            #
+            # * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.
+            #
+            # * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.
+          "A String",
+        ],
+      },
+    ],
+    "etag": "A String", # Can be used to perform a read-modify-write.
+    "version": 42, # Version of the `Policy`. The default version is 0.
+  }
+
+ +
+ insert(project, body) +
Creates a Group resource in the specified project using the data included in the request.
+
+Args:
+  project: string, Project ID for this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A Group resource.
+    "kind": "clouduseraccounts#group", # [Output Only] Type of the resource. Always clouduseraccounts#group for groups.
+    "name": "A String", # Name of the resource; provided by the client when the resource is created.
+    "members": [ # [Output Only] A list of URLs to User resources who belong to the group. Users may only be members of groups in the same project.
+      "A String",
+    ],
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "selfLink": "A String", # [Output Only] Server defined URL for the resource.
+    "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "clouduseraccounts#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ list(project, orderBy=None, maxResults=None, pageToken=None, filter=None) +
Retrieves the list of groups contained within the specified project.
+
+Args:
+  project: string, Project ID for this request. (required)
+  orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
+
+You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
+
+Currently, only sorting by name or creationTimestamp desc is supported.
+  maxResults: integer, Maximum count of results to be returned.
+  pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.
+  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
+
+The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
+
+For example, filter=name ne example-instance.
+
+Returns:
+  An object of the form:
+
+    {
+    "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request.
+    "items": [ # [Output Only] A list of Group resources.
+      { # A Group resource.
+          "kind": "clouduseraccounts#group", # [Output Only] Type of the resource. Always clouduseraccounts#group for groups.
+          "name": "A String", # Name of the resource; provided by the client when the resource is created.
+          "members": [ # [Output Only] A list of URLs to User resources who belong to the group. Users may only be members of groups in the same project.
+            "A String",
+          ],
+          "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+          "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+          "selfLink": "A String", # [Output Only] Server defined URL for the resource.
+          "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+        },
+    ],
+    "kind": "clouduseraccounts#groupList", # [Output Only] Type of resource. Always clouduseraccounts#groupList for lists of groups.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "selfLink": "A String", # [Output Only] Server defined URL for this resource.
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ removeMember(project, groupName, body) +
Removes users from the specified group.
+
+Args:
+  project: string, Project ID for this request. (required)
+  groupName: string, Name of the group for this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "users": [ # Fully-qualified URLs of the User resources to remove.
+      "A String",
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "clouduseraccounts#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ setIamPolicy(project, resource, body) +
Sets the access control policy on the specified resource. Replaces any existing policy.
+
+Args:
+  project: string, Project ID for this request. (required)
+  resource: string, Name of the resource for this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.
+    # 
+    # 
+    # 
+    # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.
+    # 
+    # **Example**
+    # 
+    # { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@appspot.gserviceaccount.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] }
+    # 
+    # For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).
+  "rules": [
+    { # A rule to be applied in a Policy.
+      "logConfigs": [ # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.
+        { # Specifies what kind of log the caller must write
+          "counter": { # Options for counters # Counter options.
+            "field": "A String", # The field value to attribute.
+            "metric": "A String", # The metric to update.
+          },
+        },
+      ],
+      "notIns": [ # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is not in this set of entries.
+        "A String",
+      ],
+      "ins": [ # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in this set of entries.
+        "A String",
+      ],
+      "action": "A String", # Required
+      "permissions": [ # A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
+        "A String",
+      ],
+      "conditions": [ # Additional restrictions that must be met
+        { # A condition to be met.
+          "iam": "A String", # Trusted attributes supplied by the IAM system.
+          "svc": "A String", # Trusted attributes discharged by the service.
+          "value": "A String", # The object of the condition. Exactly one of these must be set.
+          "sys": "A String", # Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.
+          "values": [ # The objects of the condition. This is mutually exclusive with 'value'.
+            "A String",
+          ],
+          "op": "A String", # An operator to apply the subject with.
+        },
+      ],
+      "description": "A String", # Human-readable description of the rule.
+    },
+  ],
+  "bindings": [ # Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.
+    { # Associates `members` with a `role`.
+      "role": "A String", # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
+      "members": [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats:
+          #
+          # * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.
+          #
+          # * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.
+          #
+          # * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`.
+          #
+          # * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.
+          #
+          # * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.
+          #
+          # * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.
+        "A String",
+      ],
+    },
+  ],
+  "etag": "A String", # Can be used to perform a read-modify-write.
+  "version": 42, # Version of the `Policy`. The default version is 0.
+}
+
+
+Returns:
+  An object of the form:
+
+    { # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.
+      #
+      #
+      #
+      # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.
+      #
+      # **Example**
+      #
+      # { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@appspot.gserviceaccount.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] }
+      #
+      # For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).
+    "rules": [
+      { # A rule to be applied in a Policy.
+        "logConfigs": [ # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.
+          { # Specifies what kind of log the caller must write
+            "counter": { # Options for counters # Counter options.
+              "field": "A String", # The field value to attribute.
+              "metric": "A String", # The metric to update.
+            },
+          },
+        ],
+        "notIns": [ # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is not in this set of entries.
+          "A String",
+        ],
+        "ins": [ # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in this set of entries.
+          "A String",
+        ],
+        "action": "A String", # Required
+        "permissions": [ # A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
+          "A String",
+        ],
+        "conditions": [ # Additional restrictions that must be met
+          { # A condition to be met.
+            "iam": "A String", # Trusted attributes supplied by the IAM system.
+            "svc": "A String", # Trusted attributes discharged by the service.
+            "value": "A String", # The object of the condition. Exactly one of these must be set.
+            "sys": "A String", # Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.
+            "values": [ # The objects of the condition. This is mutually exclusive with 'value'.
+              "A String",
+            ],
+            "op": "A String", # An operator to apply the subject with.
+          },
+        ],
+        "description": "A String", # Human-readable description of the rule.
+      },
+    ],
+    "bindings": [ # Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.
+      { # Associates `members` with a `role`.
+        "role": "A String", # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
+        "members": [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats:
+            #
+            # * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.
+            #
+            # * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.
+            #
+            # * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`.
+            #
+            # * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.
+            #
+            # * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.
+            #
+            # * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.
+          "A String",
+        ],
+      },
+    ],
+    "etag": "A String", # Can be used to perform a read-modify-write.
+    "version": 42, # Version of the `Policy`. The default version is 0.
+  }
+
+ +
+ testIamPermissions(project, resource, body) +
Returns permissions that a caller has on the specified resource.
+
+Args:
+  project: string, Project ID for this request. (required)
+  resource: string, Name of the resource for this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "permissions": [ # The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
+      "A String",
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    {
+    "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
+      "A String",
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/clouduseraccounts_vm_alpha.html b/docs/dyn/clouduseraccounts_vm_alpha.html new file mode 100644 index 00000000000..8f8d639c851 --- /dev/null +++ b/docs/dyn/clouduseraccounts_vm_alpha.html @@ -0,0 +1,118 @@ + + + +

Cloud User Accounts API

+

Instance Methods

+

+ globalAccountsOperations() +

+

Returns the globalAccountsOperations Resource.

+ +

+ groups() +

+

Returns the groups Resource.

+ +

+ linux() +

+

Returns the linux Resource.

+ +

+ users() +

+

Returns the users Resource.

+ +

+ new_batch_http_request()

+

Create a BatchHttpRequest object based on the discovery document.

+

Method Details

+
+ new_batch_http_request() +
Create a BatchHttpRequest object based on the discovery document.
+
+        Args:
+          callback: callable, A callback to be called for each response, of the
+            form callback(id, response, exception). The first parameter is the
+            request id, and the second is the deserialized response object. The
+            third is an apiclient.errors.HttpError exception object if an HTTP
+            error occurred while processing the request, or None if no error
+            occurred.
+
+        Returns:
+          A BatchHttpRequest object based on the discovery document.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/clouduseraccounts_vm_alpha.linux.html b/docs/dyn/clouduseraccounts_vm_alpha.linux.html new file mode 100644 index 00000000000..6a2bc22972c --- /dev/null +++ b/docs/dyn/clouduseraccounts_vm_alpha.linux.html @@ -0,0 +1,156 @@ + + + +

Cloud User Accounts API . linux

+

Instance Methods

+

+ getAuthorizedKeysView(project, zone, user, instance)

+

Returns a list of authorized public keys for a specific user account.

+

+ getLinuxAccountViews(project, zone, instance, orderBy=None, filter=None, maxResults=None, pageToken=None)

+

Retrieves a list of user accounts for an instance within a specific project.

+

Method Details

+
+ getAuthorizedKeysView(project, zone, user, instance) +
Returns a list of authorized public keys for a specific user account.
+
+Args:
+  project: string, Project ID for this request. (required)
+  zone: string, Name of the zone for this request. (required)
+  user: string, The user account for which you want to get a list of authorized public keys. (required)
+  instance: string, The fully-qualified URL of the virtual machine requesting the view. (required)
+
+Returns:
+  An object of the form:
+
+    {
+    "resource": { # A list of authorized public keys for a user account. # [Output Only] A list of authorized public keys for a user.
+      "keys": [ # [Output Only] The list of authorized public keys in SSH format.
+        "A String",
+      ],
+    },
+  }
+
+ +
+ getLinuxAccountViews(project, zone, instance, orderBy=None, filter=None, maxResults=None, pageToken=None) +
Retrieves a list of user accounts for an instance within a specific project.
+
+Args:
+  project: string, Project ID for this request. (required)
+  zone: string, Name of the zone for this request. (required)
+  instance: string, The fully-qualified URL of the virtual machine requesting the views. (required)
+  orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
+
+You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
+
+Currently, only sorting by name or creationTimestamp desc is supported.
+  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
+
+The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
+
+For example, filter=name ne example-instance.
+  maxResults: integer, Maximum count of results to be returned.
+  pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.
+
+Returns:
+  An object of the form:
+
+    {
+    "resource": { # A list of all Linux accounts for this project. This API is only used by Compute Engine virtual machines to get information about user accounts for a project or instance. Linux resources are read-only views into users and groups managed by the Compute Engine Accounts API. # [Output Only] A list of authorized user accounts and groups.
+      "kind": "clouduseraccounts#linuxAccountViews", # [Output Only] Type of the resource. Always clouduseraccounts#linuxAccountViews for Linux resources.
+      "userViews": [ # [Output Only] A list of all users within a project.
+        { # A detailed view of a Linux user account.
+          "username": "A String", # [Output Only] The username of the account.
+          "shell": "A String", # [Output Only] The path to the login shell for this account.
+          "uid": 42, # [Output Only] User ID.
+          "gid": 42, # [Output Only] User's default group ID.
+          "gecos": "A String", # [Output Only] The GECOS (user information) entry for this account.
+          "homeDirectory": "A String", # [Output Only] The path to the home directory for this account.
+        },
+      ],
+      "groupViews": [ # [Output Only] A list of all groups within a project.
+        { # A detailed view of a Linux group.
+          "groupName": "A String", # [Output Only] Group name.
+          "gid": 42, # [Output Only] The Group ID.
+          "members": [ # [Output Only] List of user accounts that belong to the group.
+            "A String",
+          ],
+        },
+      ],
+    },
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/clouduseraccounts_vm_alpha.users.html b/docs/dyn/clouduseraccounts_vm_alpha.users.html new file mode 100644 index 00000000000..74a02912227 --- /dev/null +++ b/docs/dyn/clouduseraccounts_vm_alpha.users.html @@ -0,0 +1,733 @@ + + + +

Cloud User Accounts API . users

+

Instance Methods

+

+ addPublicKey(project, user, body)

+

Adds a public key to the specified User resource with the data included in the request.

+

+ delete(project, user)

+

Deletes the specified User resource.

+

+ get(project, user)

+

Returns the specified User resource.

+

+ getIamPolicy(project, resource)

+

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

+

+ insert(project, body)

+

Creates a User resource in the specified project using the data included in the request.

+

+ list(project, orderBy=None, maxResults=None, pageToken=None, filter=None)

+

Retrieves a list of users contained within the specified project.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ removePublicKey(project, user, fingerprint)

+

Removes the specified public key from the user.

+

+ setIamPolicy(project, resource, body)

+

Sets the access control policy on the specified resource. Replaces any existing policy.

+

+ testIamPermissions(project, resource, body)

+

Returns permissions that a caller has on the specified resource.

+

Method Details

+
+ addPublicKey(project, user, body) +
Adds a public key to the specified User resource with the data included in the request.
+
+Args:
+  project: string, Project ID for this request. (required)
+  user: string, Name of the user for this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A public key for authenticating to guests.
+  "expirationTimestamp": "A String", # Optional expiration timestamp. If provided, the timestamp must be in RFC3339 text format. If not provided, the public key never expires.
+  "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+  "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+  "key": "A String", # Public key text in SSH format, defined by RFC4253 section 6.6.
+  "fingerprint": "A String", # [Output Only] The fingerprint of the key is defined by RFC4716 to be the MD5 digest of the public key.
+}
+
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "clouduseraccounts#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ delete(project, user) +
Deletes the specified User resource.
+
+Args:
+  project: string, Project ID for this request. (required)
+  user: string, Name of the user resource to delete. (required)
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "clouduseraccounts#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ get(project, user) +
Returns the specified User resource.
+
+Args:
+  project: string, Project ID for this request. (required)
+  user: string, Name of the user resource to return. (required)
+
+Returns:
+  An object of the form:
+
+    { # A User resource.
+      "kind": "clouduseraccounts#user", # [Output Only] Type of the resource. Always clouduseraccounts#user for users.
+      "name": "A String", # Name of the resource; provided by the client when the resource is created.
+      "publicKeys": [ # [Output Only] Public keys that this user may use to login.
+        { # A public key for authenticating to guests.
+          "expirationTimestamp": "A String", # Optional expiration timestamp. If provided, the timestamp must be in RFC3339 text format. If not provided, the public key never expires.
+          "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+          "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+          "key": "A String", # Public key text in SSH format, defined by RFC4253 section 6.6.
+          "fingerprint": "A String", # [Output Only] The fingerprint of the key is defined by RFC4716 to be the MD5 digest of the public key.
+        },
+      ],
+      "groups": [ # [Output Only] A list of URLs to Group resources who contain the user. Users are only members of groups in the same project.
+        "A String",
+      ],
+      "owner": "A String", # Email address of account's owner. This account will be validated to make sure it exists. The email can belong to any domain, but it must be tied to a Google account.
+      "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+      "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+      "selfLink": "A String", # [Output Only] Server defined URL for the resource.
+      "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+    }
+
+ +
+ getIamPolicy(project, resource) +
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
+
+Args:
+  project: string, Project ID for this request. (required)
+  resource: string, Name of the resource for this request. (required)
+
+Returns:
+  An object of the form:
+
+    { # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.
+      #
+      #
+      #
+      # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.
+      #
+      # **Example**
+      #
+      # { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@appspot.gserviceaccount.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] }
+      #
+      # For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).
+    "rules": [
+      { # A rule to be applied in a Policy.
+        "logConfigs": [ # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.
+          { # Specifies what kind of log the caller must write
+            "counter": { # Options for counters # Counter options.
+              "field": "A String", # The field value to attribute.
+              "metric": "A String", # The metric to update.
+            },
+          },
+        ],
+        "notIns": [ # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is not in this set of entries.
+          "A String",
+        ],
+        "ins": [ # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in this set of entries.
+          "A String",
+        ],
+        "action": "A String", # Required
+        "permissions": [ # A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
+          "A String",
+        ],
+        "conditions": [ # Additional restrictions that must be met
+          { # A condition to be met.
+            "iam": "A String", # Trusted attributes supplied by the IAM system.
+            "svc": "A String", # Trusted attributes discharged by the service.
+            "value": "A String", # The object of the condition. Exactly one of these must be set.
+            "sys": "A String", # Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.
+            "values": [ # The objects of the condition. This is mutually exclusive with 'value'.
+              "A String",
+            ],
+            "op": "A String", # An operator to apply the subject with.
+          },
+        ],
+        "description": "A String", # Human-readable description of the rule.
+      },
+    ],
+    "bindings": [ # Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.
+      { # Associates `members` with a `role`.
+        "role": "A String", # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
+        "members": [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats:
+            #
+            # * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.
+            #
+            # * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.
+            #
+            # * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`.
+            #
+            # * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.
+            #
+            # * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.
+            #
+            # * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.
+          "A String",
+        ],
+      },
+    ],
+    "etag": "A String", # Can be used to perform a read-modify-write.
+    "version": 42, # Version of the `Policy`. The default version is 0.
+  }
+
+ +
+ insert(project, body) +
Creates a User resource in the specified project using the data included in the request.
+
+Args:
+  project: string, Project ID for this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A User resource.
+    "kind": "clouduseraccounts#user", # [Output Only] Type of the resource. Always clouduseraccounts#user for users.
+    "name": "A String", # Name of the resource; provided by the client when the resource is created.
+    "publicKeys": [ # [Output Only] Public keys that this user may use to login.
+      { # A public key for authenticating to guests.
+        "expirationTimestamp": "A String", # Optional expiration timestamp. If provided, the timestamp must be in RFC3339 text format. If not provided, the public key never expires.
+        "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+        "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+        "key": "A String", # Public key text in SSH format, defined by RFC4253 section 6.6.
+        "fingerprint": "A String", # [Output Only] The fingerprint of the key is defined by RFC4716 to be the MD5 digest of the public key.
+      },
+    ],
+    "groups": [ # [Output Only] A list of URLs to Group resources who contain the user. Users are only members of groups in the same project.
+      "A String",
+    ],
+    "owner": "A String", # Email address of account's owner. This account will be validated to make sure it exists. The email can belong to any domain, but it must be tied to a Google account.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "selfLink": "A String", # [Output Only] Server defined URL for the resource.
+    "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "clouduseraccounts#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ list(project, orderBy=None, maxResults=None, pageToken=None, filter=None) +
Retrieves a list of users contained within the specified project.
+
+Args:
+  project: string, Project ID for this request. (required)
+  orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
+
+You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
+
+Currently, only sorting by name or creationTimestamp desc is supported.
+  maxResults: integer, Maximum count of results to be returned.
+  pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.
+  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
+
+The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
+
+For example, filter=name ne example-instance.
+
+Returns:
+  An object of the form:
+
+    {
+    "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request.
+    "items": [ # [Output Only] A list of User resources.
+      { # A User resource.
+          "kind": "clouduseraccounts#user", # [Output Only] Type of the resource. Always clouduseraccounts#user for users.
+          "name": "A String", # Name of the resource; provided by the client when the resource is created.
+          "publicKeys": [ # [Output Only] Public keys that this user may use to login.
+            { # A public key for authenticating to guests.
+              "expirationTimestamp": "A String", # Optional expiration timestamp. If provided, the timestamp must be in RFC3339 text format. If not provided, the public key never expires.
+              "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+              "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+              "key": "A String", # Public key text in SSH format, defined by RFC4253 section 6.6.
+              "fingerprint": "A String", # [Output Only] The fingerprint of the key is defined by RFC4716 to be the MD5 digest of the public key.
+            },
+          ],
+          "groups": [ # [Output Only] A list of URLs to Group resources who contain the user. Users are only members of groups in the same project.
+            "A String",
+          ],
+          "owner": "A String", # Email address of account's owner. This account will be validated to make sure it exists. The email can belong to any domain, but it must be tied to a Google account.
+          "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+          "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+          "selfLink": "A String", # [Output Only] Server defined URL for the resource.
+          "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+        },
+    ],
+    "kind": "clouduseraccounts#userList", # [Output Only] Type of resource. Always clouduseraccounts#userList for lists of users.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "selfLink": "A String", # [Output Only] Server defined URL for this resource.
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ removePublicKey(project, user, fingerprint) +
Removes the specified public key from the user.
+
+Args:
+  project: string, Project ID for this request. (required)
+  user: string, Name of the user for this request. (required)
+  fingerprint: string, The fingerprint of the public key to delete. Public keys are identified by their fingerprint, which is defined by RFC4716 to be the MD5 digest of the public key. (required)
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "clouduseraccounts#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ setIamPolicy(project, resource, body) +
Sets the access control policy on the specified resource. Replaces any existing policy.
+
+Args:
+  project: string, Project ID for this request. (required)
+  resource: string, Name of the resource for this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.
+    # 
+    # 
+    # 
+    # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.
+    # 
+    # **Example**
+    # 
+    # { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@appspot.gserviceaccount.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] }
+    # 
+    # For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).
+  "rules": [
+    { # A rule to be applied in a Policy.
+      "logConfigs": [ # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.
+        { # Specifies what kind of log the caller must write
+          "counter": { # Options for counters # Counter options.
+            "field": "A String", # The field value to attribute.
+            "metric": "A String", # The metric to update.
+          },
+        },
+      ],
+      "notIns": [ # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is not in this set of entries.
+        "A String",
+      ],
+      "ins": [ # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in this set of entries.
+        "A String",
+      ],
+      "action": "A String", # Required
+      "permissions": [ # A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
+        "A String",
+      ],
+      "conditions": [ # Additional restrictions that must be met
+        { # A condition to be met.
+          "iam": "A String", # Trusted attributes supplied by the IAM system.
+          "svc": "A String", # Trusted attributes discharged by the service.
+          "value": "A String", # The object of the condition. Exactly one of these must be set.
+          "sys": "A String", # Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.
+          "values": [ # The objects of the condition. This is mutually exclusive with 'value'.
+            "A String",
+          ],
+          "op": "A String", # An operator to apply the subject with.
+        },
+      ],
+      "description": "A String", # Human-readable description of the rule.
+    },
+  ],
+  "bindings": [ # Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.
+    { # Associates `members` with a `role`.
+      "role": "A String", # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
+      "members": [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats:
+          #
+          # * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.
+          #
+          # * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.
+          #
+          # * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`.
+          #
+          # * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.
+          #
+          # * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.
+          #
+          # * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.
+        "A String",
+      ],
+    },
+  ],
+  "etag": "A String", # Can be used to perform a read-modify-write.
+  "version": 42, # Version of the `Policy`. The default version is 0.
+}
+
+
+Returns:
+  An object of the form:
+
+    { # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.
+      #
+      #
+      #
+      # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM.
+      #
+      # **Example**
+      #
+      # { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@appspot.gserviceaccount.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] }
+      #
+      # For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).
+    "rules": [
+      { # A rule to be applied in a Policy.
+        "logConfigs": [ # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.
+          { # Specifies what kind of log the caller must write
+            "counter": { # Options for counters # Counter options.
+              "field": "A String", # The field value to attribute.
+              "metric": "A String", # The metric to update.
+            },
+          },
+        ],
+        "notIns": [ # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is not in this set of entries.
+          "A String",
+        ],
+        "ins": [ # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in this set of entries.
+          "A String",
+        ],
+        "action": "A String", # Required
+        "permissions": [ # A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
+          "A String",
+        ],
+        "conditions": [ # Additional restrictions that must be met
+          { # A condition to be met.
+            "iam": "A String", # Trusted attributes supplied by the IAM system.
+            "svc": "A String", # Trusted attributes discharged by the service.
+            "value": "A String", # The object of the condition. Exactly one of these must be set.
+            "sys": "A String", # Trusted attributes supplied by any service that owns resources and uses the IAM system for access control.
+            "values": [ # The objects of the condition. This is mutually exclusive with 'value'.
+              "A String",
+            ],
+            "op": "A String", # An operator to apply the subject with.
+          },
+        ],
+        "description": "A String", # Human-readable description of the rule.
+      },
+    ],
+    "bindings": [ # Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.
+      { # Associates `members` with a `role`.
+        "role": "A String", # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
+        "members": [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats:
+            #
+            # * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account.
+            #
+            # * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account.
+            #
+            # * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`.
+            #
+            # * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`.
+            #
+            # * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`.
+            #
+            # * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.
+          "A String",
+        ],
+      },
+    ],
+    "etag": "A String", # Can be used to perform a read-modify-write.
+    "version": 42, # Version of the `Policy`. The default version is 0.
+  }
+
+ +
+ testIamPermissions(project, resource, body) +
Returns permissions that a caller has on the specified resource.
+
+Args:
+  project: string, Project ID for this request. (required)
+  resource: string, Name of the resource for this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "permissions": [ # The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
+      "A String",
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    {
+    "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
+      "A String",
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/compute_v1.addresses.html b/docs/dyn/compute_v1.addresses.html index fbfa3bef40e..3ad597e3bb8 100644 --- a/docs/dyn/compute_v1.addresses.html +++ b/docs/dyn/compute_v1.addresses.html @@ -103,8 +103,12 @@

Method Details

Args: project: string, Project ID for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -135,7 +139,7 @@

Method Details

], "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], @@ -143,7 +147,7 @@

Method Details

}, "kind": "compute#addressAggregatedList", # [Output Only] Type of resource. Always compute#addressAggregatedList for aggregated lists of addresses. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for this resource. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. }
@@ -173,9 +177,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -213,7 +217,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -241,7 +245,7 @@

Method Details

], "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -267,7 +271,7 @@

Method Details

], "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -275,9 +279,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -315,7 +319,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -328,8 +332,12 @@

Method Details

project: string, Project ID for this request. (required) region: string, The name of the region for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -348,13 +356,13 @@

Method Details

], "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], "kind": "compute#addressList", # [Output Only] Type of resource. Always compute#addressList for lists of addresses. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. } diff --git a/docs/dyn/compute_v1.autoscalers.html b/docs/dyn/compute_v1.autoscalers.html new file mode 100644 index 00000000000..7de982cfe98 --- /dev/null +++ b/docs/dyn/compute_v1.autoscalers.html @@ -0,0 +1,623 @@ + + + +

Compute Engine API . autoscalers

+

Instance Methods

+

+ aggregatedList(project, maxResults=None, pageToken=None, filter=None)

+

Retrieves the list of autoscalers grouped by scope.

+

+ aggregatedList_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ delete(project, zone, autoscaler)

+

Deletes the specified autoscaler resource.

+

+ get(project, zone, autoscaler)

+

Returns the specified autoscaler resource.

+

+ insert(project, zone, body)

+

Creates an autoscaler resource in the specified project using the data included in the request.

+

+ list(project, zone, maxResults=None, pageToken=None, filter=None)

+

Retrieves the list of autoscaler resources contained within the specified zone.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(project, zone, autoscaler, body)

+

Updates an autoscaler resource in the specified project using the data included in the request. This method supports patch semantics.

+

+ update(project, zone, body, autoscaler=None)

+

Updates an autoscaler resource in the specified project using the data included in the request.

+

Method Details

+
+ aggregatedList(project, maxResults=None, pageToken=None, filter=None) +
Retrieves the list of autoscalers grouped by scope.
+
+Args:
+  project: string, Name of the project scoping this request. (required)
+  maxResults: integer, Maximum count of results to be returned.
+  pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.
+  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
+
+The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
+
+For example, filter=name ne example-instance.
+
+Returns:
+  An object of the form:
+
+    {
+    "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request.
+    "items": { # A map of scoped autoscaler lists.
+      "a_key": { # Name of the scope containing this set of autoscalers.
+        "warning": { # Informational warning which replaces the list of autoscalers when the list is empty.
+          "message": "A String", # [Output Only] Optional human-readable details for this warning.
+          "code": "A String", # [Output Only] The warning type identifier for this warning.
+          "data": [ # [Output Only] Metadata for this warning in key: value format.
+            {
+              "value": "A String", # [Output Only] A warning data value corresponding to the key.
+              "key": "A String", # [Output Only] A key for the warning data.
+            },
+          ],
+        },
+        "autoscalers": [ # List of autoscalers contained in this scope.
+          {
+              "kind": "compute#autoscaler", # Type of the resource.
+              "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+              "zone": "A String", # [Output Only] URL of the zone where the instance group resides.
+              "autoscalingPolicy": { # Cloud Autoscaler policy. # Autoscaling configuration.
+                "maxNumReplicas": 42, # The maximum number of replicas that the Autoscaler can scale up to. This field is required for config to be effective. Maximum number of replicas should be not lower than minimal number of replicas. Absolute limit for this value is defined in Autoscaler backend.
+                "coolDownPeriodSec": 42, # The number of seconds that the Autoscaler should wait between two succeeding changes to the number of virtual machines. You should define an interval that is at least as long as the initialization time of a virtual machine and the time it may take for replica pool to create the virtual machine. The default is 60 seconds.
+                "loadBalancingUtilization": { # Load balancing utilization policy. # Configuration parameters of autoscaling based on load balancer.
+                  "utilizationTarget": 3.14, # Fraction of backend capacity utilization (set in HTTP load balancing configuration) that Autoscaler should maintain. Must be a positive float value. If not defined, the default is 0.8. For example if your maxRatePerInstance capacity (in HTTP Load Balancing configuration) is set at 10 and you would like to keep number of instances such that each instance receives 7 QPS on average, set this to 0.7.
+                },
+                "customMetricUtilizations": [ # Configuration parameters of autoscaling based on custom metric.
+                  { # Custom utilization metric policy.
+                    "metric": "A String", # Identifier of the metric. It should be a Cloud Monitoring metric. The metric can not have negative values. The metric should be an utilization metric (increasing number of VMs handling requests x times should reduce average value of the metric roughly x times). For example you could use: compute.googleapis.com/instance/network/received_bytes_count.
+                    "utilizationTargetType": "A String", # Defines type in which utilization_target is expressed.
+                    "utilizationTarget": 3.14, # Target value of the metric which Autoscaler should maintain. Must be a positive value.
+                  },
+                ],
+                "cpuUtilization": { # CPU utilization policy. # TODO(jbartosik): Add support for scaling based on muliple utilization metrics (take max recommendation). Exactly one utilization policy should be provided. Configuration parameters of CPU based autoscaling policy.
+                  "utilizationTarget": 3.14, # The target utilization that the Autoscaler should maintain. It is represented as a fraction of used cores. For example: 6 cores used in 8-core VM are represented here as 0.75. Must be a float value between (0, 1]. If not defined, the default is 0.8.
+                },
+                "minNumReplicas": 42, # The minimum number of replicas that the Autoscaler can scale down to. Can't be less than 0. If not provided Autoscaler will choose default value depending on maximal number of replicas.
+              },
+              "target": "A String", # URL of Instance Group Manager or Replica Pool which will be controlled by Autoscaler.
+              "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+              "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+              "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+              "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+            },
+        ],
+      },
+    },
+    "kind": "compute#autoscalerAggregatedList", # Type of resource.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "selfLink": "A String", # [Output Only] Server-defined URL for this resource.
+  }
+
+ +
+ aggregatedList_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ delete(project, zone, autoscaler) +
Deletes the specified autoscaler resource.
+
+Args:
+  project: string, Name of the project scoping this request. (required)
+  zone: string, Name of the zone scoping this request. (required)
+  autoscaler: string, Name of the persistent autoscaler resource to delete. (required)
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ get(project, zone, autoscaler) +
Returns the specified autoscaler resource.
+
+Args:
+  project: string, Name of the project scoping this request. (required)
+  zone: string, Name of the zone scoping this request. (required)
+  autoscaler: string, Name of the persistent autoscaler resource to return. (required)
+
+Returns:
+  An object of the form:
+
+    {
+      "kind": "compute#autoscaler", # Type of the resource.
+      "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+      "zone": "A String", # [Output Only] URL of the zone where the instance group resides.
+      "autoscalingPolicy": { # Cloud Autoscaler policy. # Autoscaling configuration.
+        "maxNumReplicas": 42, # The maximum number of replicas that the Autoscaler can scale up to. This field is required for config to be effective. Maximum number of replicas should be not lower than minimal number of replicas. Absolute limit for this value is defined in Autoscaler backend.
+        "coolDownPeriodSec": 42, # The number of seconds that the Autoscaler should wait between two succeeding changes to the number of virtual machines. You should define an interval that is at least as long as the initialization time of a virtual machine and the time it may take for replica pool to create the virtual machine. The default is 60 seconds.
+        "loadBalancingUtilization": { # Load balancing utilization policy. # Configuration parameters of autoscaling based on load balancer.
+          "utilizationTarget": 3.14, # Fraction of backend capacity utilization (set in HTTP load balancing configuration) that Autoscaler should maintain. Must be a positive float value. If not defined, the default is 0.8. For example if your maxRatePerInstance capacity (in HTTP Load Balancing configuration) is set at 10 and you would like to keep number of instances such that each instance receives 7 QPS on average, set this to 0.7.
+        },
+        "customMetricUtilizations": [ # Configuration parameters of autoscaling based on custom metric.
+          { # Custom utilization metric policy.
+            "metric": "A String", # Identifier of the metric. It should be a Cloud Monitoring metric. The metric can not have negative values. The metric should be an utilization metric (increasing number of VMs handling requests x times should reduce average value of the metric roughly x times). For example you could use: compute.googleapis.com/instance/network/received_bytes_count.
+            "utilizationTargetType": "A String", # Defines type in which utilization_target is expressed.
+            "utilizationTarget": 3.14, # Target value of the metric which Autoscaler should maintain. Must be a positive value.
+          },
+        ],
+        "cpuUtilization": { # CPU utilization policy. # TODO(jbartosik): Add support for scaling based on muliple utilization metrics (take max recommendation). Exactly one utilization policy should be provided. Configuration parameters of CPU based autoscaling policy.
+          "utilizationTarget": 3.14, # The target utilization that the Autoscaler should maintain. It is represented as a fraction of used cores. For example: 6 cores used in 8-core VM are represented here as 0.75. Must be a float value between (0, 1]. If not defined, the default is 0.8.
+        },
+        "minNumReplicas": 42, # The minimum number of replicas that the Autoscaler can scale down to. Can't be less than 0. If not provided Autoscaler will choose default value depending on maximal number of replicas.
+      },
+      "target": "A String", # URL of Instance Group Manager or Replica Pool which will be controlled by Autoscaler.
+      "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+      "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+      "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+      "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+    }
+
+ +
+ insert(project, zone, body) +
Creates an autoscaler resource in the specified project using the data included in the request.
+
+Args:
+  project: string, Name of the project scoping this request. (required)
+  zone: string, Name of the zone scoping this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "kind": "compute#autoscaler", # Type of the resource.
+    "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+    "zone": "A String", # [Output Only] URL of the zone where the instance group resides.
+    "autoscalingPolicy": { # Cloud Autoscaler policy. # Autoscaling configuration.
+      "maxNumReplicas": 42, # The maximum number of replicas that the Autoscaler can scale up to. This field is required for config to be effective. Maximum number of replicas should be not lower than minimal number of replicas. Absolute limit for this value is defined in Autoscaler backend.
+      "coolDownPeriodSec": 42, # The number of seconds that the Autoscaler should wait between two succeeding changes to the number of virtual machines. You should define an interval that is at least as long as the initialization time of a virtual machine and the time it may take for replica pool to create the virtual machine. The default is 60 seconds.
+      "loadBalancingUtilization": { # Load balancing utilization policy. # Configuration parameters of autoscaling based on load balancer.
+        "utilizationTarget": 3.14, # Fraction of backend capacity utilization (set in HTTP load balancing configuration) that Autoscaler should maintain. Must be a positive float value. If not defined, the default is 0.8. For example if your maxRatePerInstance capacity (in HTTP Load Balancing configuration) is set at 10 and you would like to keep number of instances such that each instance receives 7 QPS on average, set this to 0.7.
+      },
+      "customMetricUtilizations": [ # Configuration parameters of autoscaling based on custom metric.
+        { # Custom utilization metric policy.
+          "metric": "A String", # Identifier of the metric. It should be a Cloud Monitoring metric. The metric can not have negative values. The metric should be an utilization metric (increasing number of VMs handling requests x times should reduce average value of the metric roughly x times). For example you could use: compute.googleapis.com/instance/network/received_bytes_count.
+          "utilizationTargetType": "A String", # Defines type in which utilization_target is expressed.
+          "utilizationTarget": 3.14, # Target value of the metric which Autoscaler should maintain. Must be a positive value.
+        },
+      ],
+      "cpuUtilization": { # CPU utilization policy. # TODO(jbartosik): Add support for scaling based on muliple utilization metrics (take max recommendation). Exactly one utilization policy should be provided. Configuration parameters of CPU based autoscaling policy.
+        "utilizationTarget": 3.14, # The target utilization that the Autoscaler should maintain. It is represented as a fraction of used cores. For example: 6 cores used in 8-core VM are represented here as 0.75. Must be a float value between (0, 1]. If not defined, the default is 0.8.
+      },
+      "minNumReplicas": 42, # The minimum number of replicas that the Autoscaler can scale down to. Can't be less than 0. If not provided Autoscaler will choose default value depending on maximal number of replicas.
+    },
+    "target": "A String", # URL of Instance Group Manager or Replica Pool which will be controlled by Autoscaler.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ list(project, zone, maxResults=None, pageToken=None, filter=None) +
Retrieves the list of autoscaler resources contained within the specified zone.
+
+Args:
+  project: string, Name of the project scoping this request. (required)
+  zone: string, Name of the zone scoping this request. (required)
+  maxResults: integer, Maximum count of results to be returned.
+  pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.
+  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
+
+The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
+
+For example, filter=name ne example-instance.
+
+Returns:
+  An object of the form:
+
+    { # Contains a list of persistent autoscaler resources.
+    "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request.
+    "items": [ # A list of Autoscaler resources.
+      {
+          "kind": "compute#autoscaler", # Type of the resource.
+          "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+          "zone": "A String", # [Output Only] URL of the zone where the instance group resides.
+          "autoscalingPolicy": { # Cloud Autoscaler policy. # Autoscaling configuration.
+            "maxNumReplicas": 42, # The maximum number of replicas that the Autoscaler can scale up to. This field is required for config to be effective. Maximum number of replicas should be not lower than minimal number of replicas. Absolute limit for this value is defined in Autoscaler backend.
+            "coolDownPeriodSec": 42, # The number of seconds that the Autoscaler should wait between two succeeding changes to the number of virtual machines. You should define an interval that is at least as long as the initialization time of a virtual machine and the time it may take for replica pool to create the virtual machine. The default is 60 seconds.
+            "loadBalancingUtilization": { # Load balancing utilization policy. # Configuration parameters of autoscaling based on load balancer.
+              "utilizationTarget": 3.14, # Fraction of backend capacity utilization (set in HTTP load balancing configuration) that Autoscaler should maintain. Must be a positive float value. If not defined, the default is 0.8. For example if your maxRatePerInstance capacity (in HTTP Load Balancing configuration) is set at 10 and you would like to keep number of instances such that each instance receives 7 QPS on average, set this to 0.7.
+            },
+            "customMetricUtilizations": [ # Configuration parameters of autoscaling based on custom metric.
+              { # Custom utilization metric policy.
+                "metric": "A String", # Identifier of the metric. It should be a Cloud Monitoring metric. The metric can not have negative values. The metric should be an utilization metric (increasing number of VMs handling requests x times should reduce average value of the metric roughly x times). For example you could use: compute.googleapis.com/instance/network/received_bytes_count.
+                "utilizationTargetType": "A String", # Defines type in which utilization_target is expressed.
+                "utilizationTarget": 3.14, # Target value of the metric which Autoscaler should maintain. Must be a positive value.
+              },
+            ],
+            "cpuUtilization": { # CPU utilization policy. # TODO(jbartosik): Add support for scaling based on muliple utilization metrics (take max recommendation). Exactly one utilization policy should be provided. Configuration parameters of CPU based autoscaling policy.
+              "utilizationTarget": 3.14, # The target utilization that the Autoscaler should maintain. It is represented as a fraction of used cores. For example: 6 cores used in 8-core VM are represented here as 0.75. Must be a float value between (0, 1]. If not defined, the default is 0.8.
+            },
+            "minNumReplicas": 42, # The minimum number of replicas that the Autoscaler can scale down to. Can't be less than 0. If not provided Autoscaler will choose default value depending on maximal number of replicas.
+          },
+          "target": "A String", # URL of Instance Group Manager or Replica Pool which will be controlled by Autoscaler.
+          "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+          "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+          "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+          "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+        },
+    ],
+    "kind": "compute#autoscalerList", # Type of resource.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "selfLink": "A String", # [Output Only] Server-defined URL for this resource.
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(project, zone, autoscaler, body) +
Updates an autoscaler resource in the specified project using the data included in the request. This method supports patch semantics.
+
+Args:
+  project: string, Name of the project scoping this request. (required)
+  zone: string, Name of the zone scoping this request. (required)
+  autoscaler: string, Name of the autoscaler resource to update. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "kind": "compute#autoscaler", # Type of the resource.
+    "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+    "zone": "A String", # [Output Only] URL of the zone where the instance group resides.
+    "autoscalingPolicy": { # Cloud Autoscaler policy. # Autoscaling configuration.
+      "maxNumReplicas": 42, # The maximum number of replicas that the Autoscaler can scale up to. This field is required for config to be effective. Maximum number of replicas should be not lower than minimal number of replicas. Absolute limit for this value is defined in Autoscaler backend.
+      "coolDownPeriodSec": 42, # The number of seconds that the Autoscaler should wait between two succeeding changes to the number of virtual machines. You should define an interval that is at least as long as the initialization time of a virtual machine and the time it may take for replica pool to create the virtual machine. The default is 60 seconds.
+      "loadBalancingUtilization": { # Load balancing utilization policy. # Configuration parameters of autoscaling based on load balancer.
+        "utilizationTarget": 3.14, # Fraction of backend capacity utilization (set in HTTP load balancing configuration) that Autoscaler should maintain. Must be a positive float value. If not defined, the default is 0.8. For example if your maxRatePerInstance capacity (in HTTP Load Balancing configuration) is set at 10 and you would like to keep number of instances such that each instance receives 7 QPS on average, set this to 0.7.
+      },
+      "customMetricUtilizations": [ # Configuration parameters of autoscaling based on custom metric.
+        { # Custom utilization metric policy.
+          "metric": "A String", # Identifier of the metric. It should be a Cloud Monitoring metric. The metric can not have negative values. The metric should be an utilization metric (increasing number of VMs handling requests x times should reduce average value of the metric roughly x times). For example you could use: compute.googleapis.com/instance/network/received_bytes_count.
+          "utilizationTargetType": "A String", # Defines type in which utilization_target is expressed.
+          "utilizationTarget": 3.14, # Target value of the metric which Autoscaler should maintain. Must be a positive value.
+        },
+      ],
+      "cpuUtilization": { # CPU utilization policy. # TODO(jbartosik): Add support for scaling based on muliple utilization metrics (take max recommendation). Exactly one utilization policy should be provided. Configuration parameters of CPU based autoscaling policy.
+        "utilizationTarget": 3.14, # The target utilization that the Autoscaler should maintain. It is represented as a fraction of used cores. For example: 6 cores used in 8-core VM are represented here as 0.75. Must be a float value between (0, 1]. If not defined, the default is 0.8.
+      },
+      "minNumReplicas": 42, # The minimum number of replicas that the Autoscaler can scale down to. Can't be less than 0. If not provided Autoscaler will choose default value depending on maximal number of replicas.
+    },
+    "target": "A String", # URL of Instance Group Manager or Replica Pool which will be controlled by Autoscaler.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ update(project, zone, body, autoscaler=None) +
Updates an autoscaler resource in the specified project using the data included in the request.
+
+Args:
+  project: string, Name of the project scoping this request. (required)
+  zone: string, Name of the zone scoping this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "kind": "compute#autoscaler", # Type of the resource.
+    "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
+    "zone": "A String", # [Output Only] URL of the zone where the instance group resides.
+    "autoscalingPolicy": { # Cloud Autoscaler policy. # Autoscaling configuration.
+      "maxNumReplicas": 42, # The maximum number of replicas that the Autoscaler can scale up to. This field is required for config to be effective. Maximum number of replicas should be not lower than minimal number of replicas. Absolute limit for this value is defined in Autoscaler backend.
+      "coolDownPeriodSec": 42, # The number of seconds that the Autoscaler should wait between two succeeding changes to the number of virtual machines. You should define an interval that is at least as long as the initialization time of a virtual machine and the time it may take for replica pool to create the virtual machine. The default is 60 seconds.
+      "loadBalancingUtilization": { # Load balancing utilization policy. # Configuration parameters of autoscaling based on load balancer.
+        "utilizationTarget": 3.14, # Fraction of backend capacity utilization (set in HTTP load balancing configuration) that Autoscaler should maintain. Must be a positive float value. If not defined, the default is 0.8. For example if your maxRatePerInstance capacity (in HTTP Load Balancing configuration) is set at 10 and you would like to keep number of instances such that each instance receives 7 QPS on average, set this to 0.7.
+      },
+      "customMetricUtilizations": [ # Configuration parameters of autoscaling based on custom metric.
+        { # Custom utilization metric policy.
+          "metric": "A String", # Identifier of the metric. It should be a Cloud Monitoring metric. The metric can not have negative values. The metric should be an utilization metric (increasing number of VMs handling requests x times should reduce average value of the metric roughly x times). For example you could use: compute.googleapis.com/instance/network/received_bytes_count.
+          "utilizationTargetType": "A String", # Defines type in which utilization_target is expressed.
+          "utilizationTarget": 3.14, # Target value of the metric which Autoscaler should maintain. Must be a positive value.
+        },
+      ],
+      "cpuUtilization": { # CPU utilization policy. # TODO(jbartosik): Add support for scaling based on muliple utilization metrics (take max recommendation). Exactly one utilization policy should be provided. Configuration parameters of CPU based autoscaling policy.
+        "utilizationTarget": 3.14, # The target utilization that the Autoscaler should maintain. It is represented as a fraction of used cores. For example: 6 cores used in 8-core VM are represented here as 0.75. Must be a float value between (0, 1]. If not defined, the default is 0.8.
+      },
+      "minNumReplicas": 42, # The minimum number of replicas that the Autoscaler can scale down to. Can't be less than 0. If not provided Autoscaler will choose default value depending on maximal number of replicas.
+    },
+    "target": "A String", # URL of Instance Group Manager or Replica Pool which will be controlled by Autoscaler.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+  }
+
+  autoscaler: string, Name of the autoscaler resource to update.
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/compute_v1.backendServices.html b/docs/dyn/compute_v1.backendServices.html index 0e83754d235..adc21bee022 100644 --- a/docs/dyn/compute_v1.backendServices.html +++ b/docs/dyn/compute_v1.backendServices.html @@ -110,9 +110,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -150,7 +150,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -166,27 +166,23 @@

Method Details

Returns: An object of the form: - { # A BackendService resource. This resource defines a group of backend VMs together with their serving capacity. - # - # If you add field foo, you probably need to also add: com.google.cloud.cluster.manager.api.BackendServiceResource: foo com.google.cloud.cluster.manager.networking.entities: BackendService, BackendServiceEntity: getFoo, setFoo: - # - # Converters/mappers will need to be updated: com.google.cloud.cluster.manager.networking.services.backendservice.BackendServiceResourceConverter: toResource, updateEntity: copy foo com.google.cloud.cluster.mixer.protomappers.BackendServiceMappers.ResourceMapper: ResourceMapper: add a new map call - # - # Tests to update: com.google.cloud.cluster.manager.networking.services.backendservice.BackendServiceResourceConverterTest com.google.cloud.cluster.mixer.protomappers.BackendServiceMappersTest.testResourceMapping - "kind": "compute#backendService", # Type of the resource. + { # A BackendService resource. This resource defines a group of backend virtual machines together with their serving capacity. + "kind": "compute#backendService", # [Output Only] Type of resource. Always compute#backendService for backend services. "protocol": "A String", - "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. "timeoutSec": 42, # How many seconds to wait for the backend before considering it a failed request. Default is 30 seconds. - "port": 42, # Deprecated in favor of port_name. The TCP port to connect on the backend. The default value is 80. + "port": 42, # Deprecated in favor of port name. The TCP port to connect on the backend. The default value is 80. "backends": [ # The list of backends that serve this BackendService. { # Message containing information of one individual backend. - "group": "A String", # URL of a zonal Cloud Resource View resource. This resource view defines the list of instances that serve traffic. Member virtual machine instances from each resource view must live in the same zone as the resource view itself. No two backends in a backend service are allowed to use same Resource View resource. - "description": "A String", # An optional textual description of the resource, which is provided by the client when the resource is created. - "maxUtilization": 3.14, # Used when 'balancingMode' is UTILIZATION. This ratio defines the CPU utilization target for the group. The default is 0.8. Valid range is [0, 1]. + "group": "A String", # The fully-qualified URL of a zonal Instance Group resource. This instance group defines the list of instances that serve traffic. Member virtual machine instances from each instance group must live in the same zone as the instance group itself. No two backends in a backend service are allowed to use same Instance Group resource. + # + # Note that you must specify an Instance Group resource using the fully-qualified URL, rather than a partial URL. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. + "maxUtilization": 3.14, # Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization target for the group. The default is 0.8. Valid range is [0.0, 1.0]. "maxRatePerInstance": 3.14, # The max RPS that a single backed instance can handle. This is used to calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be set. - "capacityScaler": 3.14, # The multiplier (a value between 0.0 and 1.0) of the max capacity (CPU or RPS, depending on 'balancingMode') the group should serve up to. 0 means the group is totally drained. Default value is 1. Valid range is [0.0, 1.0]. + "capacityScaler": 3.14, # A multiplier applied to the group's maximum servicing capacity (either UTILIZATION or RATE). Default value is 1, which means the group will serve up to 100% of its configured CPU or RPS (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available CPU or RPS. Valid range is [0.0,1.0]. "maxRate": 42, # The max RPS of the group. Can be used with either balancing mode, but required if RATE mode. For RATE mode, either maxRate or maxRatePerInstance must be set. - "balancingMode": "A String", # The balancing mode of this backend, default is UTILIZATION. + "balancingMode": "A String", # Specifies the balancing mode for this backend. The default is UTILIZATION but available values are UTILIZATION and RATE. }, ], "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService. @@ -194,10 +190,10 @@

Method Details

"healthChecks": [ # The list of URLs to the HttpHealthCheck resource for health checking this BackendService. Currently at most one health check can be specified, and a health check is required. "A String", ], - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -220,7 +216,7 @@

Method Details

An object of the form: { - "kind": "compute#backendServiceGroupHealth", # Type of resource. + "kind": "compute#backendServiceGroupHealth", # [Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services. "healthStatus": [ { "instance": "A String", # URL of the instance resource. @@ -241,27 +237,23 @@

Method Details

body: object, The request body. (required) The object takes the form of: -{ # A BackendService resource. This resource defines a group of backend VMs together with their serving capacity. - # - # If you add field foo, you probably need to also add: com.google.cloud.cluster.manager.api.BackendServiceResource: foo com.google.cloud.cluster.manager.networking.entities: BackendService, BackendServiceEntity: getFoo, setFoo: - # - # Converters/mappers will need to be updated: com.google.cloud.cluster.manager.networking.services.backendservice.BackendServiceResourceConverter: toResource, updateEntity: copy foo com.google.cloud.cluster.mixer.protomappers.BackendServiceMappers.ResourceMapper: ResourceMapper: add a new map call - # - # Tests to update: com.google.cloud.cluster.manager.networking.services.backendservice.BackendServiceResourceConverterTest com.google.cloud.cluster.mixer.protomappers.BackendServiceMappersTest.testResourceMapping - "kind": "compute#backendService", # Type of the resource. +{ # A BackendService resource. This resource defines a group of backend virtual machines together with their serving capacity. + "kind": "compute#backendService", # [Output Only] Type of resource. Always compute#backendService for backend services. "protocol": "A String", - "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. "timeoutSec": 42, # How many seconds to wait for the backend before considering it a failed request. Default is 30 seconds. - "port": 42, # Deprecated in favor of port_name. The TCP port to connect on the backend. The default value is 80. + "port": 42, # Deprecated in favor of port name. The TCP port to connect on the backend. The default value is 80. "backends": [ # The list of backends that serve this BackendService. { # Message containing information of one individual backend. - "group": "A String", # URL of a zonal Cloud Resource View resource. This resource view defines the list of instances that serve traffic. Member virtual machine instances from each resource view must live in the same zone as the resource view itself. No two backends in a backend service are allowed to use same Resource View resource. - "description": "A String", # An optional textual description of the resource, which is provided by the client when the resource is created. - "maxUtilization": 3.14, # Used when 'balancingMode' is UTILIZATION. This ratio defines the CPU utilization target for the group. The default is 0.8. Valid range is [0, 1]. + "group": "A String", # The fully-qualified URL of a zonal Instance Group resource. This instance group defines the list of instances that serve traffic. Member virtual machine instances from each instance group must live in the same zone as the instance group itself. No two backends in a backend service are allowed to use same Instance Group resource. + # + # Note that you must specify an Instance Group resource using the fully-qualified URL, rather than a partial URL. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. + "maxUtilization": 3.14, # Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization target for the group. The default is 0.8. Valid range is [0.0, 1.0]. "maxRatePerInstance": 3.14, # The max RPS that a single backed instance can handle. This is used to calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be set. - "capacityScaler": 3.14, # The multiplier (a value between 0.0 and 1.0) of the max capacity (CPU or RPS, depending on 'balancingMode') the group should serve up to. 0 means the group is totally drained. Default value is 1. Valid range is [0.0, 1.0]. + "capacityScaler": 3.14, # A multiplier applied to the group's maximum servicing capacity (either UTILIZATION or RATE). Default value is 1, which means the group will serve up to 100% of its configured CPU or RPS (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available CPU or RPS. Valid range is [0.0,1.0]. "maxRate": 42, # The max RPS of the group. Can be used with either balancing mode, but required if RATE mode. For RATE mode, either maxRate or maxRatePerInstance must be set. - "balancingMode": "A String", # The balancing mode of this backend, default is UTILIZATION. + "balancingMode": "A String", # Specifies the balancing mode for this backend. The default is UTILIZATION but available values are UTILIZATION and RATE. }, ], "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService. @@ -269,19 +261,19 @@

Method Details

"healthChecks": [ # The list of URLs to the HttpHealthCheck resource for health checking this BackendService. Currently at most one health check can be specified, and a health check is required. "A String", ], - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -319,7 +311,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -331,36 +323,36 @@

Method Details

Args: project: string, Name of the project scoping this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: { # Contains a list of BackendService resources. - "nextPageToken": "A String", # A token used to continue a truncated list request (output only). + "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request. "items": [ # A list of BackendService resources. - { # A BackendService resource. This resource defines a group of backend VMs together with their serving capacity. - # - # If you add field foo, you probably need to also add: com.google.cloud.cluster.manager.api.BackendServiceResource: foo com.google.cloud.cluster.manager.networking.entities: BackendService, BackendServiceEntity: getFoo, setFoo: - # - # Converters/mappers will need to be updated: com.google.cloud.cluster.manager.networking.services.backendservice.BackendServiceResourceConverter: toResource, updateEntity: copy foo com.google.cloud.cluster.mixer.protomappers.BackendServiceMappers.ResourceMapper: ResourceMapper: add a new map call - # - # Tests to update: com.google.cloud.cluster.manager.networking.services.backendservice.BackendServiceResourceConverterTest com.google.cloud.cluster.mixer.protomappers.BackendServiceMappersTest.testResourceMapping - "kind": "compute#backendService", # Type of the resource. + { # A BackendService resource. This resource defines a group of backend virtual machines together with their serving capacity. + "kind": "compute#backendService", # [Output Only] Type of resource. Always compute#backendService for backend services. "protocol": "A String", - "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. "timeoutSec": 42, # How many seconds to wait for the backend before considering it a failed request. Default is 30 seconds. - "port": 42, # Deprecated in favor of port_name. The TCP port to connect on the backend. The default value is 80. + "port": 42, # Deprecated in favor of port name. The TCP port to connect on the backend. The default value is 80. "backends": [ # The list of backends that serve this BackendService. { # Message containing information of one individual backend. - "group": "A String", # URL of a zonal Cloud Resource View resource. This resource view defines the list of instances that serve traffic. Member virtual machine instances from each resource view must live in the same zone as the resource view itself. No two backends in a backend service are allowed to use same Resource View resource. - "description": "A String", # An optional textual description of the resource, which is provided by the client when the resource is created. - "maxUtilization": 3.14, # Used when 'balancingMode' is UTILIZATION. This ratio defines the CPU utilization target for the group. The default is 0.8. Valid range is [0, 1]. + "group": "A String", # The fully-qualified URL of a zonal Instance Group resource. This instance group defines the list of instances that serve traffic. Member virtual machine instances from each instance group must live in the same zone as the instance group itself. No two backends in a backend service are allowed to use same Instance Group resource. + # + # Note that you must specify an Instance Group resource using the fully-qualified URL, rather than a partial URL. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. + "maxUtilization": 3.14, # Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization target for the group. The default is 0.8. Valid range is [0.0, 1.0]. "maxRatePerInstance": 3.14, # The max RPS that a single backed instance can handle. This is used to calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be set. - "capacityScaler": 3.14, # The multiplier (a value between 0.0 and 1.0) of the max capacity (CPU or RPS, depending on 'balancingMode') the group should serve up to. 0 means the group is totally drained. Default value is 1. Valid range is [0.0, 1.0]. + "capacityScaler": 3.14, # A multiplier applied to the group's maximum servicing capacity (either UTILIZATION or RATE). Default value is 1, which means the group will serve up to 100% of its configured CPU or RPS (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available CPU or RPS. Valid range is [0.0,1.0]. "maxRate": 42, # The max RPS of the group. Can be used with either balancing mode, but required if RATE mode. For RATE mode, either maxRate or maxRatePerInstance must be set. - "balancingMode": "A String", # The balancing mode of this backend, default is UTILIZATION. + "balancingMode": "A String", # Specifies the balancing mode for this backend. The default is UTILIZATION but available values are UTILIZATION and RATE. }, ], "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService. @@ -368,15 +360,15 @@

Method Details

"healthChecks": [ # The list of URLs to the HttpHealthCheck resource for health checking this BackendService. Currently at most one health check can be specified, and a health check is required. "A String", ], - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], - "kind": "compute#backendServiceList", # Type of resource. - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for this resource (output only). + "kind": "compute#backendServiceList", # [Output Only] Type of resource. Always compute#backendServiceList for lists of backend services. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } @@ -404,27 +396,23 @@

Method Details

body: object, The request body. (required) The object takes the form of: -{ # A BackendService resource. This resource defines a group of backend VMs together with their serving capacity. - # - # If you add field foo, you probably need to also add: com.google.cloud.cluster.manager.api.BackendServiceResource: foo com.google.cloud.cluster.manager.networking.entities: BackendService, BackendServiceEntity: getFoo, setFoo: - # - # Converters/mappers will need to be updated: com.google.cloud.cluster.manager.networking.services.backendservice.BackendServiceResourceConverter: toResource, updateEntity: copy foo com.google.cloud.cluster.mixer.protomappers.BackendServiceMappers.ResourceMapper: ResourceMapper: add a new map call - # - # Tests to update: com.google.cloud.cluster.manager.networking.services.backendservice.BackendServiceResourceConverterTest com.google.cloud.cluster.mixer.protomappers.BackendServiceMappersTest.testResourceMapping - "kind": "compute#backendService", # Type of the resource. +{ # A BackendService resource. This resource defines a group of backend virtual machines together with their serving capacity. + "kind": "compute#backendService", # [Output Only] Type of resource. Always compute#backendService for backend services. "protocol": "A String", - "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. "timeoutSec": 42, # How many seconds to wait for the backend before considering it a failed request. Default is 30 seconds. - "port": 42, # Deprecated in favor of port_name. The TCP port to connect on the backend. The default value is 80. + "port": 42, # Deprecated in favor of port name. The TCP port to connect on the backend. The default value is 80. "backends": [ # The list of backends that serve this BackendService. { # Message containing information of one individual backend. - "group": "A String", # URL of a zonal Cloud Resource View resource. This resource view defines the list of instances that serve traffic. Member virtual machine instances from each resource view must live in the same zone as the resource view itself. No two backends in a backend service are allowed to use same Resource View resource. - "description": "A String", # An optional textual description of the resource, which is provided by the client when the resource is created. - "maxUtilization": 3.14, # Used when 'balancingMode' is UTILIZATION. This ratio defines the CPU utilization target for the group. The default is 0.8. Valid range is [0, 1]. + "group": "A String", # The fully-qualified URL of a zonal Instance Group resource. This instance group defines the list of instances that serve traffic. Member virtual machine instances from each instance group must live in the same zone as the instance group itself. No two backends in a backend service are allowed to use same Instance Group resource. + # + # Note that you must specify an Instance Group resource using the fully-qualified URL, rather than a partial URL. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. + "maxUtilization": 3.14, # Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization target for the group. The default is 0.8. Valid range is [0.0, 1.0]. "maxRatePerInstance": 3.14, # The max RPS that a single backed instance can handle. This is used to calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be set. - "capacityScaler": 3.14, # The multiplier (a value between 0.0 and 1.0) of the max capacity (CPU or RPS, depending on 'balancingMode') the group should serve up to. 0 means the group is totally drained. Default value is 1. Valid range is [0.0, 1.0]. + "capacityScaler": 3.14, # A multiplier applied to the group's maximum servicing capacity (either UTILIZATION or RATE). Default value is 1, which means the group will serve up to 100% of its configured CPU or RPS (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available CPU or RPS. Valid range is [0.0,1.0]. "maxRate": 42, # The max RPS of the group. Can be used with either balancing mode, but required if RATE mode. For RATE mode, either maxRate or maxRatePerInstance must be set. - "balancingMode": "A String", # The balancing mode of this backend, default is UTILIZATION. + "balancingMode": "A String", # Specifies the balancing mode for this backend. The default is UTILIZATION but available values are UTILIZATION and RATE. }, ], "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService. @@ -432,19 +420,19 @@

Method Details

"healthChecks": [ # The list of URLs to the HttpHealthCheck resource for health checking this BackendService. Currently at most one health check can be specified, and a health check is required. "A String", ], - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -482,7 +470,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -497,27 +485,23 @@

Method Details

body: object, The request body. (required) The object takes the form of: -{ # A BackendService resource. This resource defines a group of backend VMs together with their serving capacity. - # - # If you add field foo, you probably need to also add: com.google.cloud.cluster.manager.api.BackendServiceResource: foo com.google.cloud.cluster.manager.networking.entities: BackendService, BackendServiceEntity: getFoo, setFoo: - # - # Converters/mappers will need to be updated: com.google.cloud.cluster.manager.networking.services.backendservice.BackendServiceResourceConverter: toResource, updateEntity: copy foo com.google.cloud.cluster.mixer.protomappers.BackendServiceMappers.ResourceMapper: ResourceMapper: add a new map call - # - # Tests to update: com.google.cloud.cluster.manager.networking.services.backendservice.BackendServiceResourceConverterTest com.google.cloud.cluster.mixer.protomappers.BackendServiceMappersTest.testResourceMapping - "kind": "compute#backendService", # Type of the resource. +{ # A BackendService resource. This resource defines a group of backend virtual machines together with their serving capacity. + "kind": "compute#backendService", # [Output Only] Type of resource. Always compute#backendService for backend services. "protocol": "A String", - "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. "timeoutSec": 42, # How many seconds to wait for the backend before considering it a failed request. Default is 30 seconds. - "port": 42, # Deprecated in favor of port_name. The TCP port to connect on the backend. The default value is 80. + "port": 42, # Deprecated in favor of port name. The TCP port to connect on the backend. The default value is 80. "backends": [ # The list of backends that serve this BackendService. { # Message containing information of one individual backend. - "group": "A String", # URL of a zonal Cloud Resource View resource. This resource view defines the list of instances that serve traffic. Member virtual machine instances from each resource view must live in the same zone as the resource view itself. No two backends in a backend service are allowed to use same Resource View resource. - "description": "A String", # An optional textual description of the resource, which is provided by the client when the resource is created. - "maxUtilization": 3.14, # Used when 'balancingMode' is UTILIZATION. This ratio defines the CPU utilization target for the group. The default is 0.8. Valid range is [0, 1]. + "group": "A String", # The fully-qualified URL of a zonal Instance Group resource. This instance group defines the list of instances that serve traffic. Member virtual machine instances from each instance group must live in the same zone as the instance group itself. No two backends in a backend service are allowed to use same Instance Group resource. + # + # Note that you must specify an Instance Group resource using the fully-qualified URL, rather than a partial URL. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. + "maxUtilization": 3.14, # Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization target for the group. The default is 0.8. Valid range is [0.0, 1.0]. "maxRatePerInstance": 3.14, # The max RPS that a single backed instance can handle. This is used to calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be set. - "capacityScaler": 3.14, # The multiplier (a value between 0.0 and 1.0) of the max capacity (CPU or RPS, depending on 'balancingMode') the group should serve up to. 0 means the group is totally drained. Default value is 1. Valid range is [0.0, 1.0]. + "capacityScaler": 3.14, # A multiplier applied to the group's maximum servicing capacity (either UTILIZATION or RATE). Default value is 1, which means the group will serve up to 100% of its configured CPU or RPS (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available CPU or RPS. Valid range is [0.0,1.0]. "maxRate": 42, # The max RPS of the group. Can be used with either balancing mode, but required if RATE mode. For RATE mode, either maxRate or maxRatePerInstance must be set. - "balancingMode": "A String", # The balancing mode of this backend, default is UTILIZATION. + "balancingMode": "A String", # Specifies the balancing mode for this backend. The default is UTILIZATION but available values are UTILIZATION and RATE. }, ], "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService. @@ -525,19 +509,19 @@

Method Details

"healthChecks": [ # The list of URLs to the HttpHealthCheck resource for health checking this BackendService. Currently at most one health check can be specified, and a health check is required. "A String", ], - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -575,7 +559,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } diff --git a/docs/dyn/compute_v1.diskTypes.html b/docs/dyn/compute_v1.diskTypes.html index e8e714521fd..90d6f3c7dc0 100644 --- a/docs/dyn/compute_v1.diskTypes.html +++ b/docs/dyn/compute_v1.diskTypes.html @@ -97,8 +97,12 @@

Method Details

Args: project: string, Project ID for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -130,10 +134,10 @@

Method Details

"obsolete": "A String", # An optional RFC3339 timestamp on or after which the deprecation state of this resource will be changed to OBSOLETE. "replacement": "A String", # The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource. }, - "defaultDiskSizeGb": "A String", # [Output Only] Server defined default disk size in GB. + "defaultDiskSizeGb": "A String", # [Output Only] Server-defined default disk size in GB. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # [Output Only] Name of the resource. }, ], @@ -141,7 +145,7 @@

Method Details

}, "kind": "compute#diskTypeAggregatedList", # [Output Only] Type of resource. Always compute#diskTypeAggregatedList. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for this resource. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } @@ -183,10 +187,10 @@

Method Details

"obsolete": "A String", # An optional RFC3339 timestamp on or after which the deprecation state of this resource will be changed to OBSOLETE. "replacement": "A String", # The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource. }, - "defaultDiskSizeGb": "A String", # [Output Only] Server defined default disk size in GB. + "defaultDiskSizeGb": "A String", # [Output Only] Server-defined default disk size in GB. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # [Output Only] Name of the resource. } @@ -199,8 +203,12 @@

Method Details

project: string, Project ID for this request. (required) zone: string, The name of the zone for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -220,16 +228,16 @@

Method Details

"obsolete": "A String", # An optional RFC3339 timestamp on or after which the deprecation state of this resource will be changed to OBSOLETE. "replacement": "A String", # The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource. }, - "defaultDiskSizeGb": "A String", # [Output Only] Server defined default disk size in GB. + "defaultDiskSizeGb": "A String", # [Output Only] Server-defined default disk size in GB. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # [Output Only] Name of the resource. }, ], "kind": "compute#diskTypeList", # [Output Only] Type of resource. Always compute#diskTypeList for disk types. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for this resource. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } diff --git a/docs/dyn/compute_v1.disks.html b/docs/dyn/compute_v1.disks.html index 648f72ec8d1..59ea1b2920c 100644 --- a/docs/dyn/compute_v1.disks.html +++ b/docs/dyn/compute_v1.disks.html @@ -85,7 +85,7 @@

Instance Methods

Creates a snapshot of this disk.

delete(project, zone, disk)

-

Deletes the specified persistent disk.

+

Deletes the specified persistent disk. Deleting a disk removes its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots.

get(project, zone, disk)

Returns a specified persistent disk.

@@ -106,8 +106,12 @@

Method Details

Args: project: string, Project ID for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -124,6 +128,7 @@

Method Details

# - projects/project/global/snapshots/snapshot # - global/snapshots/snapshot "kind": "compute#disk", # [Output Only] Type of the resource. Always compute#disk for disks. + "lastDetachTimestamp": "A String", # [Output Only] Last detach timestamp in RFC3339 text format. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "sizeGb": "A String", # Size of the persistent disk, specified in GB. You can specify this field when creating a persistent disk using the sourceImage or sourceSnapshot parameter, or specify it alone to create an empty persistent disk. # @@ -132,6 +137,7 @@

Method Details

"options": "A String", # Internal use only. "sourceImageId": "A String", # The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used. "sourceSnapshotId": "A String", # [Output Only] The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used. + "lastAttachTimestamp": "A String", # [Output Only] Last attach timestamp in RFC3339 text format. "sourceImage": "A String", # The source image used to create this disk. If the source image is deleted from the system, this field will not be set, even if an image with the same name has been re-created. # # When creating a disk, you can provide a private (custom) image using the following input, and Compute Engine will use the corresponding image from your project. For example: @@ -146,6 +152,9 @@

Method Details

"licenses": [ # Any applicable publicly visible licenses. "A String", ], + "users": [ # Links to the users of the disk (attached instances) in form: project/zones/zone/instances/instance + "A String", + ], "zone": "A String", # [Output Only] URL of the zone where the disk resides. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. @@ -167,7 +176,7 @@

Method Details

}, "kind": "compute#diskAggregatedList", # [Output Only] Type of resource. Always compute#diskAggregatedList for aggregated lists of persistent disks. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for this resource. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } @@ -197,30 +206,30 @@

Method Details

The object takes the form of: { # A persistent disk snapshot resource. - "status": "A String", # The status of the persistent disk snapshot (output only). - "kind": "compute#snapshot", # Type of the resource. - "storageBytes": "A String", # A size of the the storage used by the snapshot. As snapshots share storage this number is expected to change with snapshot creation/deletion. + "status": "A String", # [Output Only] The status of the snapshot. + "kind": "compute#snapshot", # [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources. + "storageBytes": "A String", # [Output Only] A size of the the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "sourceDisk": "A String", # The source disk used to create this snapshot. - "storageBytesStatus": "A String", # An indicator whether storageBytes is in a stable state, or it is being adjusted as a result of shared storage reallocation. - "sourceDiskId": "A String", # The 'id' value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name. - "diskSizeGb": "A String", # Size of the persistent disk snapshot, specified in GB (output only). + "storageBytesStatus": "A String", # [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. + "sourceDiskId": "A String", # [Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name. + "diskSizeGb": "A String", # [Output Only] Size of the snapshot, specified in GB. "licenses": [ # Public visible licenses. "A String", ], - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -258,14 +267,14 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. }
delete(project, zone, disk) -
Deletes the specified persistent disk.
+  
Deletes the specified persistent disk. Deleting a disk removes its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots.
 
 Args:
   project: string, Project ID for this request. (required)
@@ -275,9 +284,9 @@ 

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -315,7 +324,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. }
@@ -339,6 +348,7 @@

Method Details

# - projects/project/global/snapshots/snapshot # - global/snapshots/snapshot "kind": "compute#disk", # [Output Only] Type of the resource. Always compute#disk for disks. + "lastDetachTimestamp": "A String", # [Output Only] Last detach timestamp in RFC3339 text format. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "sizeGb": "A String", # Size of the persistent disk, specified in GB. You can specify this field when creating a persistent disk using the sourceImage or sourceSnapshot parameter, or specify it alone to create an empty persistent disk. # @@ -347,6 +357,7 @@

Method Details

"options": "A String", # Internal use only. "sourceImageId": "A String", # The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used. "sourceSnapshotId": "A String", # [Output Only] The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used. + "lastAttachTimestamp": "A String", # [Output Only] Last attach timestamp in RFC3339 text format. "sourceImage": "A String", # The source image used to create this disk. If the source image is deleted from the system, this field will not be set, even if an image with the same name has been re-created. # # When creating a disk, you can provide a private (custom) image using the following input, and Compute Engine will use the corresponding image from your project. For example: @@ -361,6 +372,9 @@

Method Details

"licenses": [ # Any applicable publicly visible licenses. "A String", ], + "users": [ # Links to the users of the disk (attached instances) in form: project/zones/zone/instances/instance + "A String", + ], "zone": "A String", # [Output Only] URL of the zone where the disk resides. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. @@ -386,6 +400,7 @@

Method Details

# - projects/project/global/snapshots/snapshot # - global/snapshots/snapshot "kind": "compute#disk", # [Output Only] Type of the resource. Always compute#disk for disks. + "lastDetachTimestamp": "A String", # [Output Only] Last detach timestamp in RFC3339 text format. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "sizeGb": "A String", # Size of the persistent disk, specified in GB. You can specify this field when creating a persistent disk using the sourceImage or sourceSnapshot parameter, or specify it alone to create an empty persistent disk. # @@ -394,6 +409,7 @@

Method Details

"options": "A String", # Internal use only. "sourceImageId": "A String", # The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used. "sourceSnapshotId": "A String", # [Output Only] The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used. + "lastAttachTimestamp": "A String", # [Output Only] Last attach timestamp in RFC3339 text format. "sourceImage": "A String", # The source image used to create this disk. If the source image is deleted from the system, this field will not be set, even if an image with the same name has been re-created. # # When creating a disk, you can provide a private (custom) image using the following input, and Compute Engine will use the corresponding image from your project. For example: @@ -408,6 +424,9 @@

Method Details

"licenses": [ # Any applicable publicly visible licenses. "A String", ], + "users": [ # Links to the users of the disk (attached instances) in form: project/zones/zone/instances/instance + "A String", + ], "zone": "A String", # [Output Only] URL of the zone where the disk resides. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. @@ -420,9 +439,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -460,7 +479,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -473,8 +492,12 @@

Method Details

project: string, Project ID for this request. (required) zone: string, The name of the zone for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -489,6 +512,7 @@

Method Details

# - projects/project/global/snapshots/snapshot # - global/snapshots/snapshot "kind": "compute#disk", # [Output Only] Type of the resource. Always compute#disk for disks. + "lastDetachTimestamp": "A String", # [Output Only] Last detach timestamp in RFC3339 text format. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "sizeGb": "A String", # Size of the persistent disk, specified in GB. You can specify this field when creating a persistent disk using the sourceImage or sourceSnapshot parameter, or specify it alone to create an empty persistent disk. # @@ -497,6 +521,7 @@

Method Details

"options": "A String", # Internal use only. "sourceImageId": "A String", # The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used. "sourceSnapshotId": "A String", # [Output Only] The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used. + "lastAttachTimestamp": "A String", # [Output Only] Last attach timestamp in RFC3339 text format. "sourceImage": "A String", # The source image used to create this disk. If the source image is deleted from the system, this field will not be set, even if an image with the same name has been re-created. # # When creating a disk, you can provide a private (custom) image using the following input, and Compute Engine will use the corresponding image from your project. For example: @@ -511,6 +536,9 @@

Method Details

"licenses": [ # Any applicable publicly visible licenses. "A String", ], + "users": [ # Links to the users of the disk (attached instances) in form: project/zones/zone/instances/instance + "A String", + ], "zone": "A String", # [Output Only] URL of the zone where the disk resides. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. @@ -520,7 +548,7 @@

Method Details

], "kind": "compute#diskList", # [Output Only] Type of resource. Always compute#diskList for lists of disks. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for this resource. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } diff --git a/docs/dyn/compute_v1.firewalls.html b/docs/dyn/compute_v1.firewalls.html index e6d7283af9c..5cea5d4f73a 100644 --- a/docs/dyn/compute_v1.firewalls.html +++ b/docs/dyn/compute_v1.firewalls.html @@ -107,9 +107,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -147,7 +147,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -168,12 +168,12 @@

Method Details

"description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "sourceTags": [ # A list of instance tags which this rule applies to. One or both of sourceRanges and sourceTags may be set. # - # If both properties are set, an inbound connection is allowed if the range or the tag of the source matches the sourceRanges OR matches the sourceTags property; the connection does not need to match both properties. + # If both properties are set, an inbound connection is allowed if the range matches the sourceRanges OR the tag of the source matches the sourceTags property. The connection does not need to match both properties. "A String", ], "sourceRanges": [ # The IP address blocks that this rule applies to, expressed in CIDR format. One or both of sourceRanges and sourceTags may be set. # - # If both properties are set, an inbound connection is allowed if the range or the tag of the source matches the sourceRanges OR matches the sourceTags property; the connection does not need to match both properties. + # If both properties are set, an inbound connection is allowed if the range matches the sourceRanges OR the tag of the source matches the sourceTags property. The connection does not need to match both properties. "A String", ], "network": "A String", # URL of the network resource for this firewall rule. This field is required for creating an instance but optional when creating a firewall rule. If not specified when creating a firewall rule, the default network is used: @@ -182,7 +182,7 @@

Method Details

# - https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my-network # - projects/myproject/global/networks/my-network # - global/networks/default - "targetTags": [ # A list of instance tags indicating sets of instances located on network which may make network connections as specified in allowed[]. If no targetTags are specified, the firewall rule applies to all instances on the specified network. + "targetTags": [ # A list of instance tags indicating sets of instances located in the network that may make network connections as specified in allowed[]. If no targetTags are specified, the firewall rule applies to all instances on the specified network. "A String", ], "allowed": [ # The list of rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a permitted connection. @@ -195,9 +195,9 @@

Method Details

], }, ], - "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339text format. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -216,12 +216,12 @@

Method Details

"description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "sourceTags": [ # A list of instance tags which this rule applies to. One or both of sourceRanges and sourceTags may be set. # - # If both properties are set, an inbound connection is allowed if the range or the tag of the source matches the sourceRanges OR matches the sourceTags property; the connection does not need to match both properties. + # If both properties are set, an inbound connection is allowed if the range matches the sourceRanges OR the tag of the source matches the sourceTags property. The connection does not need to match both properties. "A String", ], "sourceRanges": [ # The IP address blocks that this rule applies to, expressed in CIDR format. One or both of sourceRanges and sourceTags may be set. # - # If both properties are set, an inbound connection is allowed if the range or the tag of the source matches the sourceRanges OR matches the sourceTags property; the connection does not need to match both properties. + # If both properties are set, an inbound connection is allowed if the range matches the sourceRanges OR the tag of the source matches the sourceTags property. The connection does not need to match both properties. "A String", ], "network": "A String", # URL of the network resource for this firewall rule. This field is required for creating an instance but optional when creating a firewall rule. If not specified when creating a firewall rule, the default network is used: @@ -230,7 +230,7 @@

Method Details

# - https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my-network # - projects/myproject/global/networks/my-network # - global/networks/default - "targetTags": [ # A list of instance tags indicating sets of instances located on network which may make network connections as specified in allowed[]. If no targetTags are specified, the firewall rule applies to all instances on the specified network. + "targetTags": [ # A list of instance tags indicating sets of instances located in the network that may make network connections as specified in allowed[]. If no targetTags are specified, the firewall rule applies to all instances on the specified network. "A String", ], "allowed": [ # The list of rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a permitted connection. @@ -243,9 +243,9 @@

Method Details

], }, ], - "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339text format. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -253,9 +253,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -293,7 +293,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -305,8 +305,12 @@

Method Details

Args: project: string, Project ID for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -319,12 +323,12 @@

Method Details

"description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "sourceTags": [ # A list of instance tags which this rule applies to. One or both of sourceRanges and sourceTags may be set. # - # If both properties are set, an inbound connection is allowed if the range or the tag of the source matches the sourceRanges OR matches the sourceTags property; the connection does not need to match both properties. + # If both properties are set, an inbound connection is allowed if the range matches the sourceRanges OR the tag of the source matches the sourceTags property. The connection does not need to match both properties. "A String", ], "sourceRanges": [ # The IP address blocks that this rule applies to, expressed in CIDR format. One or both of sourceRanges and sourceTags may be set. # - # If both properties are set, an inbound connection is allowed if the range or the tag of the source matches the sourceRanges OR matches the sourceTags property; the connection does not need to match both properties. + # If both properties are set, an inbound connection is allowed if the range matches the sourceRanges OR the tag of the source matches the sourceTags property. The connection does not need to match both properties. "A String", ], "network": "A String", # URL of the network resource for this firewall rule. This field is required for creating an instance but optional when creating a firewall rule. If not specified when creating a firewall rule, the default network is used: @@ -333,7 +337,7 @@

Method Details

# - https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my-network # - projects/myproject/global/networks/my-network # - global/networks/default - "targetTags": [ # A list of instance tags indicating sets of instances located on network which may make network connections as specified in allowed[]. If no targetTags are specified, the firewall rule applies to all instances on the specified network. + "targetTags": [ # A list of instance tags indicating sets of instances located in the network that may make network connections as specified in allowed[]. If no targetTags are specified, the firewall rule applies to all instances on the specified network. "A String", ], "allowed": [ # The list of rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a permitted connection. @@ -346,15 +350,15 @@

Method Details

], }, ], - "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339text format. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], "kind": "compute#firewallList", # [Output Only] Type of resource. Always compute#firewallList for lists of firewalls. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for this resource. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } @@ -387,12 +391,12 @@

Method Details

"description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "sourceTags": [ # A list of instance tags which this rule applies to. One or both of sourceRanges and sourceTags may be set. # - # If both properties are set, an inbound connection is allowed if the range or the tag of the source matches the sourceRanges OR matches the sourceTags property; the connection does not need to match both properties. + # If both properties are set, an inbound connection is allowed if the range matches the sourceRanges OR the tag of the source matches the sourceTags property. The connection does not need to match both properties. "A String", ], "sourceRanges": [ # The IP address blocks that this rule applies to, expressed in CIDR format. One or both of sourceRanges and sourceTags may be set. # - # If both properties are set, an inbound connection is allowed if the range or the tag of the source matches the sourceRanges OR matches the sourceTags property; the connection does not need to match both properties. + # If both properties are set, an inbound connection is allowed if the range matches the sourceRanges OR the tag of the source matches the sourceTags property. The connection does not need to match both properties. "A String", ], "network": "A String", # URL of the network resource for this firewall rule. This field is required for creating an instance but optional when creating a firewall rule. If not specified when creating a firewall rule, the default network is used: @@ -401,7 +405,7 @@

Method Details

# - https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my-network # - projects/myproject/global/networks/my-network # - global/networks/default - "targetTags": [ # A list of instance tags indicating sets of instances located on network which may make network connections as specified in allowed[]. If no targetTags are specified, the firewall rule applies to all instances on the specified network. + "targetTags": [ # A list of instance tags indicating sets of instances located in the network that may make network connections as specified in allowed[]. If no targetTags are specified, the firewall rule applies to all instances on the specified network. "A String", ], "allowed": [ # The list of rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a permitted connection. @@ -414,9 +418,9 @@

Method Details

], }, ], - "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339text format. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -424,9 +428,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -464,7 +468,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -484,12 +488,12 @@

Method Details

"description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "sourceTags": [ # A list of instance tags which this rule applies to. One or both of sourceRanges and sourceTags may be set. # - # If both properties are set, an inbound connection is allowed if the range or the tag of the source matches the sourceRanges OR matches the sourceTags property; the connection does not need to match both properties. + # If both properties are set, an inbound connection is allowed if the range matches the sourceRanges OR the tag of the source matches the sourceTags property. The connection does not need to match both properties. "A String", ], "sourceRanges": [ # The IP address blocks that this rule applies to, expressed in CIDR format. One or both of sourceRanges and sourceTags may be set. # - # If both properties are set, an inbound connection is allowed if the range or the tag of the source matches the sourceRanges OR matches the sourceTags property; the connection does not need to match both properties. + # If both properties are set, an inbound connection is allowed if the range matches the sourceRanges OR the tag of the source matches the sourceTags property. The connection does not need to match both properties. "A String", ], "network": "A String", # URL of the network resource for this firewall rule. This field is required for creating an instance but optional when creating a firewall rule. If not specified when creating a firewall rule, the default network is used: @@ -498,7 +502,7 @@

Method Details

# - https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my-network # - projects/myproject/global/networks/my-network # - global/networks/default - "targetTags": [ # A list of instance tags indicating sets of instances located on network which may make network connections as specified in allowed[]. If no targetTags are specified, the firewall rule applies to all instances on the specified network. + "targetTags": [ # A list of instance tags indicating sets of instances located in the network that may make network connections as specified in allowed[]. If no targetTags are specified, the firewall rule applies to all instances on the specified network. "A String", ], "allowed": [ # The list of rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a permitted connection. @@ -511,9 +515,9 @@

Method Details

], }, ], - "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339text format. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -521,9 +525,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -561,7 +565,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } diff --git a/docs/dyn/compute_v1.forwardingRules.html b/docs/dyn/compute_v1.forwardingRules.html index ba0706148cc..bfbfcaceb94 100644 --- a/docs/dyn/compute_v1.forwardingRules.html +++ b/docs/dyn/compute_v1.forwardingRules.html @@ -106,29 +106,33 @@

Method Details

Args: project: string, Name of the project scoping this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: { - "nextPageToken": "A String", # A token used to continue a truncated list request (output only). + "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request. "items": { # A map of scoped forwarding rule lists. "a_key": { # Name of the scope containing this set of addresses. "forwardingRules": [ # List of forwarding rules contained in this scope. - { # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target VMs to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple. + { # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual machines to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple. "kind": "compute#forwardingRule", # Type of the resource. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "IPAddress": "A String", # Value of the reserved IP address that this forwarding rule is serving on behalf of. For global forwarding rules, the address must be a global IP; for regional forwarding rules, the address must live in the same region as the forwarding rule. If left empty (default value), an ephemeral IP from the same scope (global or regional) will be assigned. - "region": "A String", # URL of the region where the regional forwarding rule resides (output only). This field is not applicable to global forwarding rules. - "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy resource. - "portRange": "A String", # Applicable only when 'IPProtocol' is 'TCP', 'UDP' or 'SCTP', only packets addressed to ports in the specified range will be forwarded to 'target'. If 'portRange' is left empty (default value), all ports are forwarded. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges. - "IPProtocol": "A String", # The IP protocol to which this rule applies, valid options are 'TCP', 'UDP', 'ESP', 'AH' or 'SCTP'. - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "region": "A String", # [Output Only] URL of the region where the regional forwarding rule resides. This field is not applicable to global forwarding rules. + "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy or TargetHttpsProxy resource. + "portRange": "A String", # Applicable only when `IPProtocol` is TCP, UDP, or SCTP, only packets addressed to ports in the specified range will be forwarded to target. If portRange is left empty (default value), all ports are forwarded. Forwarding rules with the same `[IPAddress, IPProtocol]` pair must have disjoint port ranges. + "IPProtocol": "A String", # The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, AH or SCTP. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], "warning": { # Informational warning which replaces the list of forwarding rules when the list is empty. @@ -144,8 +148,8 @@

Method Details

}, }, "kind": "compute#forwardingRuleAggregatedList", # Type of resource. - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for this resource (output only). + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } @@ -175,9 +179,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -215,7 +219,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -232,18 +236,18 @@

Method Details

Returns: An object of the form: - { # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target VMs to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple. + { # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual machines to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple. "kind": "compute#forwardingRule", # Type of the resource. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "IPAddress": "A String", # Value of the reserved IP address that this forwarding rule is serving on behalf of. For global forwarding rules, the address must be a global IP; for regional forwarding rules, the address must live in the same region as the forwarding rule. If left empty (default value), an ephemeral IP from the same scope (global or regional) will be assigned. - "region": "A String", # URL of the region where the regional forwarding rule resides (output only). This field is not applicable to global forwarding rules. - "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy resource. - "portRange": "A String", # Applicable only when 'IPProtocol' is 'TCP', 'UDP' or 'SCTP', only packets addressed to ports in the specified range will be forwarded to 'target'. If 'portRange' is left empty (default value), all ports are forwarded. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges. - "IPProtocol": "A String", # The IP protocol to which this rule applies, valid options are 'TCP', 'UDP', 'ESP', 'AH' or 'SCTP'. - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "region": "A String", # [Output Only] URL of the region where the regional forwarding rule resides. This field is not applicable to global forwarding rules. + "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy or TargetHttpsProxy resource. + "portRange": "A String", # Applicable only when `IPProtocol` is TCP, UDP, or SCTP, only packets addressed to ports in the specified range will be forwarded to target. If portRange is left empty (default value), all ports are forwarded. Forwarding rules with the same `[IPAddress, IPProtocol]` pair must have disjoint port ranges. + "IPProtocol": "A String", # The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, AH or SCTP. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -257,27 +261,27 @@

Method Details

body: object, The request body. (required) The object takes the form of: -{ # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target VMs to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple. +{ # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual machines to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple. "kind": "compute#forwardingRule", # Type of the resource. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "IPAddress": "A String", # Value of the reserved IP address that this forwarding rule is serving on behalf of. For global forwarding rules, the address must be a global IP; for regional forwarding rules, the address must live in the same region as the forwarding rule. If left empty (default value), an ephemeral IP from the same scope (global or regional) will be assigned. - "region": "A String", # URL of the region where the regional forwarding rule resides (output only). This field is not applicable to global forwarding rules. - "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy resource. - "portRange": "A String", # Applicable only when 'IPProtocol' is 'TCP', 'UDP' or 'SCTP', only packets addressed to ports in the specified range will be forwarded to 'target'. If 'portRange' is left empty (default value), all ports are forwarded. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges. - "IPProtocol": "A String", # The IP protocol to which this rule applies, valid options are 'TCP', 'UDP', 'ESP', 'AH' or 'SCTP'. - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "region": "A String", # [Output Only] URL of the region where the regional forwarding rule resides. This field is not applicable to global forwarding rules. + "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy or TargetHttpsProxy resource. + "portRange": "A String", # Applicable only when `IPProtocol` is TCP, UDP, or SCTP, only packets addressed to ports in the specified range will be forwarded to target. If portRange is left empty (default value), all ports are forwarded. Forwarding rules with the same `[IPAddress, IPProtocol]` pair must have disjoint port ranges. + "IPProtocol": "A String", # The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, AH or SCTP. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -315,7 +319,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -328,32 +332,36 @@

Method Details

project: string, Name of the project scoping this request. (required) region: string, Name of the region scoping this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: { # Contains a list of ForwardingRule resources. - "nextPageToken": "A String", # A token used to continue a truncated list request (output only). + "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request. "items": [ # A list of ForwardingRule resources. - { # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target VMs to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple. + { # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual machines to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple. "kind": "compute#forwardingRule", # Type of the resource. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "IPAddress": "A String", # Value of the reserved IP address that this forwarding rule is serving on behalf of. For global forwarding rules, the address must be a global IP; for regional forwarding rules, the address must live in the same region as the forwarding rule. If left empty (default value), an ephemeral IP from the same scope (global or regional) will be assigned. - "region": "A String", # URL of the region where the regional forwarding rule resides (output only). This field is not applicable to global forwarding rules. - "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy resource. - "portRange": "A String", # Applicable only when 'IPProtocol' is 'TCP', 'UDP' or 'SCTP', only packets addressed to ports in the specified range will be forwarded to 'target'. If 'portRange' is left empty (default value), all ports are forwarded. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges. - "IPProtocol": "A String", # The IP protocol to which this rule applies, valid options are 'TCP', 'UDP', 'ESP', 'AH' or 'SCTP'. - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "region": "A String", # [Output Only] URL of the region where the regional forwarding rule resides. This field is not applicable to global forwarding rules. + "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy or TargetHttpsProxy resource. + "portRange": "A String", # Applicable only when `IPProtocol` is TCP, UDP, or SCTP, only packets addressed to ports in the specified range will be forwarded to target. If portRange is left empty (default value), all ports are forwarded. Forwarding rules with the same `[IPAddress, IPProtocol]` pair must have disjoint port ranges. + "IPProtocol": "A String", # The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, AH or SCTP. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], "kind": "compute#forwardingRuleList", # Type of resource. - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for this resource (output only). + "id": "A String", # [Output Only] Unique identifier for the resource. Set by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } @@ -390,9 +398,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -430,7 +438,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } diff --git a/docs/dyn/compute_v1.globalAddresses.html b/docs/dyn/compute_v1.globalAddresses.html index bcf3b04a191..59b59d36d56 100644 --- a/docs/dyn/compute_v1.globalAddresses.html +++ b/docs/dyn/compute_v1.globalAddresses.html @@ -101,9 +101,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -141,7 +141,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -168,7 +168,7 @@

Method Details

], "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -193,7 +193,7 @@

Method Details

], "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -201,9 +201,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -241,7 +241,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -253,8 +253,12 @@

Method Details

Args: project: string, Project ID for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -273,13 +277,13 @@

Method Details

], "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], "kind": "compute#addressList", # [Output Only] Type of resource. Always compute#addressList for lists of addresses. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. } diff --git a/docs/dyn/compute_v1.globalForwardingRules.html b/docs/dyn/compute_v1.globalForwardingRules.html index 486b961250a..32cd6bb7fe4 100644 --- a/docs/dyn/compute_v1.globalForwardingRules.html +++ b/docs/dyn/compute_v1.globalForwardingRules.html @@ -104,9 +104,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -144,7 +144,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -160,18 +160,18 @@

Method Details

Returns: An object of the form: - { # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target VMs to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple. + { # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual machines to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple. "kind": "compute#forwardingRule", # Type of the resource. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "IPAddress": "A String", # Value of the reserved IP address that this forwarding rule is serving on behalf of. For global forwarding rules, the address must be a global IP; for regional forwarding rules, the address must live in the same region as the forwarding rule. If left empty (default value), an ephemeral IP from the same scope (global or regional) will be assigned. - "region": "A String", # URL of the region where the regional forwarding rule resides (output only). This field is not applicable to global forwarding rules. - "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy resource. - "portRange": "A String", # Applicable only when 'IPProtocol' is 'TCP', 'UDP' or 'SCTP', only packets addressed to ports in the specified range will be forwarded to 'target'. If 'portRange' is left empty (default value), all ports are forwarded. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges. - "IPProtocol": "A String", # The IP protocol to which this rule applies, valid options are 'TCP', 'UDP', 'ESP', 'AH' or 'SCTP'. - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "region": "A String", # [Output Only] URL of the region where the regional forwarding rule resides. This field is not applicable to global forwarding rules. + "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy or TargetHttpsProxy resource. + "portRange": "A String", # Applicable only when `IPProtocol` is TCP, UDP, or SCTP, only packets addressed to ports in the specified range will be forwarded to target. If portRange is left empty (default value), all ports are forwarded. Forwarding rules with the same `[IPAddress, IPProtocol]` pair must have disjoint port ranges. + "IPProtocol": "A String", # The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, AH or SCTP. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -184,27 +184,27 @@

Method Details

body: object, The request body. (required) The object takes the form of: -{ # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target VMs to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple. +{ # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual machines to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple. "kind": "compute#forwardingRule", # Type of the resource. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "IPAddress": "A String", # Value of the reserved IP address that this forwarding rule is serving on behalf of. For global forwarding rules, the address must be a global IP; for regional forwarding rules, the address must live in the same region as the forwarding rule. If left empty (default value), an ephemeral IP from the same scope (global or regional) will be assigned. - "region": "A String", # URL of the region where the regional forwarding rule resides (output only). This field is not applicable to global forwarding rules. - "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy resource. - "portRange": "A String", # Applicable only when 'IPProtocol' is 'TCP', 'UDP' or 'SCTP', only packets addressed to ports in the specified range will be forwarded to 'target'. If 'portRange' is left empty (default value), all ports are forwarded. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges. - "IPProtocol": "A String", # The IP protocol to which this rule applies, valid options are 'TCP', 'UDP', 'ESP', 'AH' or 'SCTP'. - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "region": "A String", # [Output Only] URL of the region where the regional forwarding rule resides. This field is not applicable to global forwarding rules. + "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy or TargetHttpsProxy resource. + "portRange": "A String", # Applicable only when `IPProtocol` is TCP, UDP, or SCTP, only packets addressed to ports in the specified range will be forwarded to target. If portRange is left empty (default value), all ports are forwarded. Forwarding rules with the same `[IPAddress, IPProtocol]` pair must have disjoint port ranges. + "IPProtocol": "A String", # The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, AH or SCTP. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -242,7 +242,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -254,32 +254,36 @@

Method Details

Args: project: string, Name of the project scoping this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: { # Contains a list of ForwardingRule resources. - "nextPageToken": "A String", # A token used to continue a truncated list request (output only). + "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request. "items": [ # A list of ForwardingRule resources. - { # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target VMs to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple. + { # A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual machines to forward a packet to if it matches the given [IPAddress, IPProtocol, portRange] tuple. "kind": "compute#forwardingRule", # Type of the resource. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "IPAddress": "A String", # Value of the reserved IP address that this forwarding rule is serving on behalf of. For global forwarding rules, the address must be a global IP; for regional forwarding rules, the address must live in the same region as the forwarding rule. If left empty (default value), an ephemeral IP from the same scope (global or regional) will be assigned. - "region": "A String", # URL of the region where the regional forwarding rule resides (output only). This field is not applicable to global forwarding rules. - "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy resource. - "portRange": "A String", # Applicable only when 'IPProtocol' is 'TCP', 'UDP' or 'SCTP', only packets addressed to ports in the specified range will be forwarded to 'target'. If 'portRange' is left empty (default value), all ports are forwarded. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges. - "IPProtocol": "A String", # The IP protocol to which this rule applies, valid options are 'TCP', 'UDP', 'ESP', 'AH' or 'SCTP'. - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "region": "A String", # [Output Only] URL of the region where the regional forwarding rule resides. This field is not applicable to global forwarding rules. + "target": "A String", # The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must live in the same region as the forwarding rule. For global forwarding rules, this target must be a global TargetHttpProxy or TargetHttpsProxy resource. + "portRange": "A String", # Applicable only when `IPProtocol` is TCP, UDP, or SCTP, only packets addressed to ports in the specified range will be forwarded to target. If portRange is left empty (default value), all ports are forwarded. Forwarding rules with the same `[IPAddress, IPProtocol]` pair must have disjoint port ranges. + "IPProtocol": "A String", # The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, AH or SCTP. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], "kind": "compute#forwardingRuleList", # Type of resource. - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for this resource (output only). + "id": "A String", # [Output Only] Unique identifier for the resource. Set by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } @@ -315,9 +319,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -355,7 +359,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } diff --git a/docs/dyn/compute_v1.globalOperations.html b/docs/dyn/compute_v1.globalOperations.html index 088de333fef..d07ef3a4d23 100644 --- a/docs/dyn/compute_v1.globalOperations.html +++ b/docs/dyn/compute_v1.globalOperations.html @@ -82,13 +82,13 @@

Instance Methods

Retrieves the next page of results.

delete(project, operation)

-

Deletes the specified operation resource.

+

Deletes the specified Operations resource.

get(project, operation)

-

Retrieves the specified operation resource.

+

Retrieves the specified Operations resource.

list(project, maxResults=None, pageToken=None, filter=None)

-

Retrieves the list of operation resources contained within the specified project.

+

Retrieves the list of Operation resources contained within the specified project.

list_next(previous_request, previous_response)

Retrieves the next page of results.

@@ -100,8 +100,12 @@

Method Details

Args: project: string, Project ID for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -111,9 +115,9 @@

Method Details

"items": { # [Output Only] A map of scoped operation lists. "a_key": { # [Output Only] Name of the scope containing this set of operations. "operations": [ # [Output Only] List of operations contained in this scope. - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -151,7 +155,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. }, ], @@ -169,7 +173,7 @@

Method Details

}, "kind": "compute#operationAggregatedList", # [Output Only] Type of resource. Always compute#operationAggregatedList for aggregated lists of operations. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for this resource. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } @@ -189,28 +193,28 @@

Method Details

delete(project, operation) -
Deletes the specified operation resource.
+  
Deletes the specified Operations resource.
 
 Args:
   project: string, Project ID for this request. (required)
-  operation: string, Name of the operation resource to delete. (required)
+  operation: string, Name of the Operations resource to delete. (required)
 
get(project, operation) -
Retrieves the specified operation resource.
+  
Retrieves the specified Operations resource.
 
 Args:
   project: string, Project ID for this request. (required)
-  operation: string, Name of the operation resource to return. (required)
+  operation: string, Name of the Operations resource to return. (required)
 
 Returns:
   An object of the form:
 
-    { # An operation resource, used to manage asynchronous API requests.
+    { # An Operation resource, used to manage asynchronous API requests.
     "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
-    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
     "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
     "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
     "zone": "A String", # [Output Only] URL of the zone where the operation resides.
@@ -248,30 +252,34 @@ 

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. }
list(project, maxResults=None, pageToken=None, filter=None) -
Retrieves the list of operation resources contained within the specified project.
+  
Retrieves the list of Operation resources contained within the specified project.
 
 Args:
   project: string, Project ID for this request. (required)
   maxResults: integer, Maximum count of results to be returned.
-  pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request.
-  filter: string, Filter expression for filtering listed resources.
+  pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.
+  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
+
+The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
+
+For example, filter=name ne example-instance.
 
 Returns:
   An object of the form:
 
-    { # Contains a list of operation resources.
+    { # Contains a list of Operation resources.
     "nextPageToken": "A String", # [Output Only] A token used to continue a truncate.
-    "items": [ # [Output Only] The operation resources.
-      { # An operation resource, used to manage asynchronous API requests.
+    "items": [ # [Output Only] The Operation resources.
+      { # An Operation resource, used to manage asynchronous API requests.
         "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
-        "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project.
+        "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
         "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
         "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
         "zone": "A String", # [Output Only] URL of the zone where the operation resides.
@@ -309,13 +317,13 @@ 

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. }, ], "kind": "compute#operationList", # [Output Only] Type of resource. Always compute#operations for Operations resource. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for this resource. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. }
diff --git a/docs/dyn/compute_v1.html b/docs/dyn/compute_v1.html index dd93e453da4..2306ab1eddc 100644 --- a/docs/dyn/compute_v1.html +++ b/docs/dyn/compute_v1.html @@ -79,6 +79,11 @@

Instance Methods

Returns the addresses Resource.

+

+ autoscalers() +

+

Returns the autoscalers Resource.

+

backendServices()

@@ -129,6 +134,16 @@

Instance Methods

Returns the images Resource.

+

+ instanceGroupManagers() +

+

Returns the instanceGroupManagers Resource.

+ +

+ instanceGroups() +

+

Returns the instanceGroups Resource.

+

instanceTemplates()

diff --git a/docs/dyn/compute_v1.httpHealthChecks.html b/docs/dyn/compute_v1.httpHealthChecks.html index 080b3021938..8f62f4dd6c5 100644 --- a/docs/dyn/compute_v1.httpHealthChecks.html +++ b/docs/dyn/compute_v1.httpHealthChecks.html @@ -107,9 +107,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -147,7 +147,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -163,20 +163,20 @@

Method Details

Returns: An object of the form: - { # An HttpHealthCheck resource. This resource defines a template for how individual VMs should be checked for health, via HTTP. + { # An HttpHealthCheck resource. This resource defines a template for how individual instances should be checked for health, via HTTP. "kind": "compute#httpHealthCheck", # Type of the resource. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "timeoutSec": 42, # How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec. "checkIntervalSec": 42, # How often (in seconds) to send a health check. The default value is 5 seconds. "port": 42, # The TCP port number for the HTTP health check request. The default value is 80. - "healthyThreshold": 42, # A so-far unhealthy VM will be marked healthy after this many consecutive successes. The default value is 2. + "healthyThreshold": 42, # A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2. "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used. "requestPath": "A String", # The request path of the HTTP health check request. The default value is "/". - "unhealthyThreshold": 42, # A so-far healthy VM will be marked unhealthy after this many consecutive failures. The default value is 2. - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "unhealthyThreshold": 42, # A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -189,29 +189,29 @@

Method Details

body: object, The request body. (required) The object takes the form of: -{ # An HttpHealthCheck resource. This resource defines a template for how individual VMs should be checked for health, via HTTP. +{ # An HttpHealthCheck resource. This resource defines a template for how individual instances should be checked for health, via HTTP. "kind": "compute#httpHealthCheck", # Type of the resource. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "timeoutSec": 42, # How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec. "checkIntervalSec": 42, # How often (in seconds) to send a health check. The default value is 5 seconds. "port": 42, # The TCP port number for the HTTP health check request. The default value is 80. - "healthyThreshold": 42, # A so-far unhealthy VM will be marked healthy after this many consecutive successes. The default value is 2. + "healthyThreshold": 42, # A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2. "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used. "requestPath": "A String", # The request path of the HTTP health check request. The default value is "/". - "unhealthyThreshold": 42, # A so-far healthy VM will be marked unhealthy after this many consecutive failures. The default value is 2. - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "unhealthyThreshold": 42, # A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -249,7 +249,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -261,34 +261,38 @@

Method Details

Args: project: string, Name of the project scoping this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: { # Contains a list of HttpHealthCheck resources. - "nextPageToken": "A String", # A token used to continue a truncated list request (output only). + "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request. "items": [ # A list of HttpHealthCheck resources. - { # An HttpHealthCheck resource. This resource defines a template for how individual VMs should be checked for health, via HTTP. + { # An HttpHealthCheck resource. This resource defines a template for how individual instances should be checked for health, via HTTP. "kind": "compute#httpHealthCheck", # Type of the resource. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "timeoutSec": 42, # How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec. "checkIntervalSec": 42, # How often (in seconds) to send a health check. The default value is 5 seconds. "port": 42, # The TCP port number for the HTTP health check request. The default value is 80. - "healthyThreshold": 42, # A so-far unhealthy VM will be marked healthy after this many consecutive successes. The default value is 2. + "healthyThreshold": 42, # A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2. "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used. "requestPath": "A String", # The request path of the HTTP health check request. The default value is "/". - "unhealthyThreshold": 42, # A so-far healthy VM will be marked unhealthy after this many consecutive failures. The default value is 2. - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "unhealthyThreshold": 42, # A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], "kind": "compute#httpHealthCheckList", # Type of resource. - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for this resource (output only). + "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } @@ -316,29 +320,29 @@

Method Details

body: object, The request body. (required) The object takes the form of: -{ # An HttpHealthCheck resource. This resource defines a template for how individual VMs should be checked for health, via HTTP. +{ # An HttpHealthCheck resource. This resource defines a template for how individual instances should be checked for health, via HTTP. "kind": "compute#httpHealthCheck", # Type of the resource. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "timeoutSec": 42, # How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec. "checkIntervalSec": 42, # How often (in seconds) to send a health check. The default value is 5 seconds. "port": 42, # The TCP port number for the HTTP health check request. The default value is 80. - "healthyThreshold": 42, # A so-far unhealthy VM will be marked healthy after this many consecutive successes. The default value is 2. + "healthyThreshold": 42, # A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2. "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used. "requestPath": "A String", # The request path of the HTTP health check request. The default value is "/". - "unhealthyThreshold": 42, # A so-far healthy VM will be marked unhealthy after this many consecutive failures. The default value is 2. - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "unhealthyThreshold": 42, # A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -376,7 +380,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -391,29 +395,29 @@

Method Details

body: object, The request body. (required) The object takes the form of: -{ # An HttpHealthCheck resource. This resource defines a template for how individual VMs should be checked for health, via HTTP. +{ # An HttpHealthCheck resource. This resource defines a template for how individual instances should be checked for health, via HTTP. "kind": "compute#httpHealthCheck", # Type of the resource. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "timeoutSec": 42, # How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec. "checkIntervalSec": 42, # How often (in seconds) to send a health check. The default value is 5 seconds. "port": 42, # The TCP port number for the HTTP health check request. The default value is 80. - "healthyThreshold": 42, # A so-far unhealthy VM will be marked healthy after this many consecutive successes. The default value is 2. + "healthyThreshold": 42, # A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2. "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used. "requestPath": "A String", # The request path of the HTTP health check request. The default value is "/". - "unhealthyThreshold": 42, # A so-far healthy VM will be marked unhealthy after this many consecutive failures. The default value is 2. - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "unhealthyThreshold": 42, # A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -451,7 +455,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } diff --git a/docs/dyn/compute_v1.images.html b/docs/dyn/compute_v1.images.html index c5d37b893fd..a2593deb885 100644 --- a/docs/dyn/compute_v1.images.html +++ b/docs/dyn/compute_v1.images.html @@ -104,9 +104,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -144,7 +144,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -173,9 +173,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -213,7 +213,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -258,7 +258,7 @@

Method Details

"sourceType": "RAW", # The type of the image used to create this disk. The default and only value is RAW "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -301,7 +301,7 @@

Method Details

"sourceType": "RAW", # The type of the image used to create this disk. The default and only value is RAW "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -309,9 +309,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -349,7 +349,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -361,14 +361,18 @@

Method Details

Args: project: string, Project ID for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: { # Contains a list of Image resources. - "nextPageToken": "A String", # A token used to continue a truncated list request (output only). + "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request. "items": [ # A list of Image resources. { # An Image resource. "status": "A String", # [Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully created and the status is set to READY. Possible values are FAILED, PENDING, or READY. @@ -399,13 +403,13 @@

Method Details

"sourceType": "RAW", # The type of the image used to create this disk. The default and only value is RAW "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], "kind": "compute#imageList", # Type of resource. - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for this resource (output only). + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } diff --git a/docs/dyn/compute_v1.instanceGroupManagers.html b/docs/dyn/compute_v1.instanceGroupManagers.html new file mode 100644 index 00000000000..0c0ca8a0d4d --- /dev/null +++ b/docs/dyn/compute_v1.instanceGroupManagers.html @@ -0,0 +1,882 @@ + + + +

Compute Engine API . instanceGroupManagers

+

Instance Methods

+

+ abandonInstances(project, zone, instanceGroupManager, body)

+

Removes the specified instances from the managed instance group, and from any target pools where they are a member. The instances are not deleted. The managed instance group automatically reduces its targetSize value by the number of instances that you abandon from the group.

+

+ aggregatedList(project, maxResults=None, pageToken=None, filter=None)

+

Retrieves the list of managed instance groups, and groups them by project and zone.

+

+ aggregatedList_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ delete(project, zone, instanceGroupManager)

+

Deletes the specified managed instance group resource.

+

+ deleteInstances(project, zone, instanceGroupManager, body)

+

Deletes the specified instances. The instances are deleted and removed from the instance group and any target pools where they are a member. The managed instance group automatically reduces its targetSize value by the number of instances that you delete.

+

+ get(project, zone, instanceGroupManager)

+

Returns the specified managed instance group resource.

+

+ insert(project, zone, body)

+

Creates a managed instance group resource in the specified project using the data that is included in the request.

+

+ list(project, zone, maxResults=None, pageToken=None, filter=None)

+

Retrieves a list of managed instance groups that are contained within the specified project and zone.

+

+ listManagedInstances(project, zone, instanceGroupManager)

+

Lists managed instances.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ recreateInstances(project, zone, instanceGroupManager, body)

+

Recreates the specified instances. The instances are deleted, then recreated using the managed instance group's current instance template.

+

+ resize(project, zone, instanceGroupManager, size)

+

Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group removes instances in the order that is outlined in Resizing a managed instance group.

+

+ setInstanceTemplate(project, zone, instanceGroupManager, body)

+

Specifies the instance template to use when creating new instances in this group. The templates for existing instances in the group do not change unless you recreate them.

+

+ setTargetPools(project, zone, instanceGroupManager, body)

+

Modifies the target pools to which all new instances in this group are assigned. The target pools for existing instances in the group do not change unless you recreate them.

+

Method Details

+
+ abandonInstances(project, zone, instanceGroupManager, body) +
Removes the specified instances from the managed instance group, and from any target pools where they are a member. The instances are not deleted. The managed instance group automatically reduces its targetSize value by the number of instances that you abandon from the group.
+
+Args:
+  project: string, The project ID for this request. (required)
+  zone: string, The URL of the zone where the managed instance group is located. (required)
+  instanceGroupManager: string, The name of the instance group manager. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "instances": [ # The names of instances to abandon from the managed instance group.
+      "A String",
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ aggregatedList(project, maxResults=None, pageToken=None, filter=None) +
Retrieves the list of managed instance groups, and groups them by project and zone.
+
+Args:
+  project: string, The project ID for this request. (required)
+  maxResults: integer, Maximum count of results to be returned.
+  pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.
+  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
+
+The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
+
+For example, filter=name ne example-instance.
+
+Returns:
+  An object of the form:
+
+    {
+    "nextPageToken": "A String", # [Output Only] A token that is used to continue a truncated list request.
+    "items": { # A map of filtered managed instance group lists.
+      "a_key": { # The name of the scope that contains this set of managed instance groups.
+        "warning": { # [Output Only] The warning that replaces the list of managed instance groups when the list is empty.
+          "message": "A String", # [Output Only] Optional human-readable details for this warning.
+          "code": "A String", # [Output Only] The warning type identifier for this warning.
+          "data": [ # [Output Only] Metadata for this warning in key: value format.
+            {
+              "value": "A String", # [Output Only] A warning data value corresponding to the key.
+              "key": "A String", # [Output Only] A key for the warning data.
+            },
+          ],
+        },
+        "instanceGroupManagers": [ # [Output Only] The list of managed instance groups that are contained in the specified project and zone.
+          { # InstanceGroupManagers
+                #
+                # Next available tag: 19
+              "currentActions": { # [Output Only] The list of instance actions and the number of instances in this managed instance group that are scheduled for those actions.
+                "none": 42, # [Output Only] The number of instances in the managed instance group that currently have no scheduled actions.
+                "recreating": 42, # [Output Only] The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.
+                "creating": 42, # [Output Only] The number of instances in the managed instance group that are scheduled to be created or are currently being created.
+                "restarting": 42, # [Output Only] The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
+                "abandoning": 42, # [Output Only] Total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.
+                "deleting": 42, # [Output Only] The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
+                "refreshing": 42, # [Output Only] The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.
+              },
+              "description": "A String", # An optional text description for the managed instance group.
+              "zone": "A String", # The URL of the zone where the managed instance group is located.
+              "targetSize": 42, # The target number of running instances for this managed instance group. Deleting or abandoning instances reduces this number. Resizing the group changes this number.
+              "instanceGroup": "A String", # [Output Only] The URL of the InstanceGroup resource.
+              "kind": "compute#instanceGroupManager", # [Output Only] The resource type, which is always compute#instanceGroupManager for managed instance groups.
+              "targetPools": [ # The URLs of all TargetPool resources to which new instances in the instanceGroup field are added. Updating the target pool values does not affect existing instances.
+                "A String",
+              ],
+              "baseInstanceName": "A String", # The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.
+              "fingerprint": "A String", # [Output Only] The fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when updating the target pool entries.
+              "instanceTemplate": "A String", # The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group.
+              "creationTimestamp": "A String", # [Output Only] The creation timestamp for this managed instance group in RFC3339 text format.
+              "id": "A String", # [Output Only] A unique identifier for this managed instance group. The server defines this identifier.
+              "selfLink": "A String", # [Output Only] Server-defined URL for this managed instance group.
+              "name": "A String", # The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
+            },
+        ],
+      },
+    },
+    "kind": "compute#instanceGroupManagerAggregatedList", # [Output Only] Type of the resource. Always compute#instanceGroupManagerAggregatedList for an aggregated list of managed instance groups.
+    "id": "A String", # [Output Only] A unique identifier for this aggregated list of managed instance groups. The server defines this identifier.
+    "selfLink": "A String", # [Output Only] The URL for this aggregated list of managed instance groups. The server defines this URL.
+  }
+
+ +
+ aggregatedList_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ delete(project, zone, instanceGroupManager) +
Deletes the specified managed instance group resource.
+
+Args:
+  project: string, The project ID for this request. (required)
+  zone: string, The URL of the zone where the managed instance group is located. (required)
+  instanceGroupManager: string, The name of the instance group manager to delete. (required)
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ deleteInstances(project, zone, instanceGroupManager, body) +
Deletes the specified instances. The instances are deleted and removed from the instance group and any target pools where they are a member. The managed instance group automatically reduces its targetSize value by the number of instances that you delete.
+
+Args:
+  project: string, The project ID for this request. (required)
+  zone: string, The URL of the zone where the managed instance group is located. (required)
+  instanceGroupManager: string, The name of the instance group manager. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "instances": [ # The names of one or more instances to delete.
+      "A String",
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ get(project, zone, instanceGroupManager) +
Returns the specified managed instance group resource.
+
+Args:
+  project: string, The project ID for this request. (required)
+  zone: string, The URL of the zone where the managed instance group is located. (required)
+  instanceGroupManager: string, The name of the instance group manager resource. (required)
+
+Returns:
+  An object of the form:
+
+    { # InstanceGroupManagers
+        #
+        # Next available tag: 19
+      "currentActions": { # [Output Only] The list of instance actions and the number of instances in this managed instance group that are scheduled for those actions.
+        "none": 42, # [Output Only] The number of instances in the managed instance group that currently have no scheduled actions.
+        "recreating": 42, # [Output Only] The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.
+        "creating": 42, # [Output Only] The number of instances in the managed instance group that are scheduled to be created or are currently being created.
+        "restarting": 42, # [Output Only] The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
+        "abandoning": 42, # [Output Only] Total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.
+        "deleting": 42, # [Output Only] The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
+        "refreshing": 42, # [Output Only] The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.
+      },
+      "description": "A String", # An optional text description for the managed instance group.
+      "zone": "A String", # The URL of the zone where the managed instance group is located.
+      "targetSize": 42, # The target number of running instances for this managed instance group. Deleting or abandoning instances reduces this number. Resizing the group changes this number.
+      "instanceGroup": "A String", # [Output Only] The URL of the InstanceGroup resource.
+      "kind": "compute#instanceGroupManager", # [Output Only] The resource type, which is always compute#instanceGroupManager for managed instance groups.
+      "targetPools": [ # The URLs of all TargetPool resources to which new instances in the instanceGroup field are added. Updating the target pool values does not affect existing instances.
+        "A String",
+      ],
+      "baseInstanceName": "A String", # The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.
+      "fingerprint": "A String", # [Output Only] The fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when updating the target pool entries.
+      "instanceTemplate": "A String", # The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group.
+      "creationTimestamp": "A String", # [Output Only] The creation timestamp for this managed instance group in RFC3339 text format.
+      "id": "A String", # [Output Only] A unique identifier for this managed instance group. The server defines this identifier.
+      "selfLink": "A String", # [Output Only] Server-defined URL for this managed instance group.
+      "name": "A String", # The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
+    }
+
+ +
+ insert(project, zone, body) +
Creates a managed instance group resource in the specified project using the data that is included in the request.
+
+Args:
+  project: string, The project ID for this request. (required)
+  zone: string, The URL of the zone where the managed instance group is located. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # InstanceGroupManagers
+      # 
+      # Next available tag: 19
+    "currentActions": { # [Output Only] The list of instance actions and the number of instances in this managed instance group that are scheduled for those actions.
+      "none": 42, # [Output Only] The number of instances in the managed instance group that currently have no scheduled actions.
+      "recreating": 42, # [Output Only] The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.
+      "creating": 42, # [Output Only] The number of instances in the managed instance group that are scheduled to be created or are currently being created.
+      "restarting": 42, # [Output Only] The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
+      "abandoning": 42, # [Output Only] Total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.
+      "deleting": 42, # [Output Only] The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
+      "refreshing": 42, # [Output Only] The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.
+    },
+    "description": "A String", # An optional text description for the managed instance group.
+    "zone": "A String", # The URL of the zone where the managed instance group is located.
+    "targetSize": 42, # The target number of running instances for this managed instance group. Deleting or abandoning instances reduces this number. Resizing the group changes this number.
+    "instanceGroup": "A String", # [Output Only] The URL of the InstanceGroup resource.
+    "kind": "compute#instanceGroupManager", # [Output Only] The resource type, which is always compute#instanceGroupManager for managed instance groups.
+    "targetPools": [ # The URLs of all TargetPool resources to which new instances in the instanceGroup field are added. Updating the target pool values does not affect existing instances.
+      "A String",
+    ],
+    "baseInstanceName": "A String", # The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.
+    "fingerprint": "A String", # [Output Only] The fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when updating the target pool entries.
+    "instanceTemplate": "A String", # The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group.
+    "creationTimestamp": "A String", # [Output Only] The creation timestamp for this managed instance group in RFC3339 text format.
+    "id": "A String", # [Output Only] A unique identifier for this managed instance group. The server defines this identifier.
+    "selfLink": "A String", # [Output Only] Server-defined URL for this managed instance group.
+    "name": "A String", # The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ list(project, zone, maxResults=None, pageToken=None, filter=None) +
Retrieves a list of managed instance groups that are contained within the specified project and zone.
+
+Args:
+  project: string, The project ID for this request. (required)
+  zone: string, The URL of the zone where the managed instance group is located. (required)
+  maxResults: integer, Maximum count of results to be returned.
+  pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.
+  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
+
+The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
+
+For example, filter=name ne example-instance.
+
+Returns:
+  An object of the form:
+
+    { # [Output Only] A list of InstanceGroupManager resources.
+    "nextPageToken": "A String", # [Output Only] A token that is used to continue a truncated list request.
+    "items": [ # [Output Only] A list of managed instance group resources.
+      { # InstanceGroupManagers
+            #
+            # Next available tag: 19
+          "currentActions": { # [Output Only] The list of instance actions and the number of instances in this managed instance group that are scheduled for those actions.
+            "none": 42, # [Output Only] The number of instances in the managed instance group that currently have no scheduled actions.
+            "recreating": 42, # [Output Only] The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.
+            "creating": 42, # [Output Only] The number of instances in the managed instance group that are scheduled to be created or are currently being created.
+            "restarting": 42, # [Output Only] The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
+            "abandoning": 42, # [Output Only] Total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.
+            "deleting": 42, # [Output Only] The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
+            "refreshing": 42, # [Output Only] The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.
+          },
+          "description": "A String", # An optional text description for the managed instance group.
+          "zone": "A String", # The URL of the zone where the managed instance group is located.
+          "targetSize": 42, # The target number of running instances for this managed instance group. Deleting or abandoning instances reduces this number. Resizing the group changes this number.
+          "instanceGroup": "A String", # [Output Only] The URL of the InstanceGroup resource.
+          "kind": "compute#instanceGroupManager", # [Output Only] The resource type, which is always compute#instanceGroupManager for managed instance groups.
+          "targetPools": [ # The URLs of all TargetPool resources to which new instances in the instanceGroup field are added. Updating the target pool values does not affect existing instances.
+            "A String",
+          ],
+          "baseInstanceName": "A String", # The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.
+          "fingerprint": "A String", # [Output Only] The fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when updating the target pool entries.
+          "instanceTemplate": "A String", # The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group.
+          "creationTimestamp": "A String", # [Output Only] The creation timestamp for this managed instance group in RFC3339 text format.
+          "id": "A String", # [Output Only] A unique identifier for this managed instance group. The server defines this identifier.
+          "selfLink": "A String", # [Output Only] Server-defined URL for this managed instance group.
+          "name": "A String", # The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
+        },
+    ],
+    "kind": "compute#instanceGroupManagerList", # [Output Only] Type of the resource. Always compute#instanceGroupManagerList for a list of managed instance group resources.
+    "id": "A String", # [Output Only] A unique identifier for this managed instance group. The server defines this identifier.
+    "selfLink": "A String", # [Output Only] The URL for this managed instance group. The server defines this URL.
+  }
+
+ +
+ listManagedInstances(project, zone, instanceGroupManager) +
Lists managed instances.
+
+Args:
+  project: string, The project ID for this request. (required)
+  zone: string, The URL of the zone where the managed instance group is located. (required)
+  instanceGroupManager: string, The name of the managed instance group. (required)
+
+Returns:
+  An object of the form:
+
+    {
+    "managedInstances": [ # List of managed instances. If empty - all instances are listed.
+      {
+        "currentAction": "A String", # The current action that the managed instance group has scheduled for the instance.
+        "instance": "A String", # The URL of the instance (set even though instance does not exist yet).
+        "lastAttempt": { # Information about the last attempt to create or delete the instance.
+          "errors": { # Encountered errors during the last attempt to create or delete the instance.
+            "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+              {
+                "message": "A String", # [Output Only] An optional, human-readable error message.
+                "code": "A String", # [Output Only] The error type identifier for this error.
+                "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+              },
+            ],
+          },
+        },
+        "id": "A String", # The unique identifier for this resource (empty when instance does not exist).
+        "instanceStatus": "A String", # The status of the instance (empty when instance does not exist).
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ recreateInstances(project, zone, instanceGroupManager, body) +
Recreates the specified instances. The instances are deleted, then recreated using the managed instance group's current instance template.
+
+Args:
+  project: string, The project ID for this request. (required)
+  zone: string, The URL of the zone where the managed instance group is located. (required)
+  instanceGroupManager: string, The name of the instance group manager. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "instances": [ # The names of one or more instances to recreate.
+      "A String",
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ resize(project, zone, instanceGroupManager, size) +
Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group removes instances in the order that is outlined in Resizing a managed instance group.
+
+Args:
+  project: string, The project ID for this request. (required)
+  zone: string, The URL of the zone where the managed instance group is located. (required)
+  instanceGroupManager: string, The name of the instance group manager. (required)
+  size: integer, The number of running instances that the managed instance group should maintain at any given time. The group automatically adds or removes instances to maintain the number of instances specified by this parameter. (required)
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ setInstanceTemplate(project, zone, instanceGroupManager, body) +
Specifies the instance template to use when creating new instances in this group. The templates for existing instances in the group do not change unless you recreate them.
+
+Args:
+  project: string, The project ID for this request. (required)
+  zone: string, The URL of the zone where the managed instance group is located. (required)
+  instanceGroupManager: string, The name of the instance group manager. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "instanceTemplate": "A String", # The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ setTargetPools(project, zone, instanceGroupManager, body) +
Modifies the target pools to which all new instances in this group are assigned. The target pools for existing instances in the group do not change unless you recreate them.
+
+Args:
+  project: string, The project ID for this request. (required)
+  zone: string, The URL of the zone where the managed instance group is located. (required)
+  instanceGroupManager: string, The name of the instance group manager. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "targetPools": [ # The list of target pool URLs that instances in this managed instance group belong to. When the managed instance group creates new instances, the group automatically adds those instances to the target pools that are specified in this parameter. Changing the value of this parameter does not change the target pools of existing instances in this managed instance group.
+      "A String",
+    ],
+    "fingerprint": "A String", # The fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when updating the target pool entries.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/compute_v1.instanceGroups.html b/docs/dyn/compute_v1.instanceGroups.html new file mode 100644 index 00000000000..ec3a1156693 --- /dev/null +++ b/docs/dyn/compute_v1.instanceGroups.html @@ -0,0 +1,680 @@ + + + +

Compute Engine API . instanceGroups

+

Instance Methods

+

+ addInstances(project, zone, instanceGroup, body)

+

Adds a list of instances to an instance group. All of the instances in the instance group must be in the same network.

+

+ aggregatedList(project, maxResults=None, pageToken=None, filter=None)

+

Retrieves the list of instance groups, and sorts them by zone.

+

+ aggregatedList_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ delete(project, zone, instanceGroup)

+

Deletes the specified instance group.

+

+ get(project, zone, instanceGroup)

+

Returns the specified instance group resource.

+

+ insert(project, zone, body)

+

Creates an instance group in the specified project using the parameters that are included in the request.

+

+ list(project, zone, maxResults=None, pageToken=None, filter=None)

+

Retrieves the list of instance groups that are located in the specified project and zone.

+

+ listInstances(project, zone, instanceGroup, body, maxResults=None, pageToken=None, filter=None)

+

Lists instances in an instance group. The parameters for this method specify whether the list filters instances by state and named ports information.

+

+ listInstances_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ removeInstances(project, zone, instanceGroup, body)

+

Removes a list of instances from an instance group.

+

+ setNamedPorts(project, zone, instanceGroup, body)

+

Sets the named ports in an instance group.

+

Method Details

+
+ addInstances(project, zone, instanceGroup, body) +
Adds a list of instances to an instance group. All of the instances in the instance group must be in the same network.
+
+Args:
+  project: string, The project ID for this request. (required)
+  zone: string, The URL of the zone where the instance group is located. (required)
+  instanceGroup: string, The name of the instance group where you are adding instances. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "instances": [ # The instances to add to the instance group.
+      {
+        "instance": "A String",
+      },
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ aggregatedList(project, maxResults=None, pageToken=None, filter=None) +
Retrieves the list of instance groups, and sorts them by zone.
+
+Args:
+  project: string, The project ID for this request. (required)
+  maxResults: integer, Maximum count of results to be returned.
+  pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.
+  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
+
+The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
+
+For example, filter=name ne example-instance.
+
+Returns:
+  An object of the form:
+
+    {
+    "nextPageToken": "A String", # [Output Only] A token that is used to continue a truncated list request.
+    "items": { # A map of scoped instance group lists.
+      "a_key": { # The name of the scope that contains this set of instance groups.
+        "warning": { # [Output Only] An informational warning that replaces the list of instance groups when the list is empty.
+          "message": "A String", # [Output Only] Optional human-readable details for this warning.
+          "code": "A String", # [Output Only] The warning type identifier for this warning.
+          "data": [ # [Output Only] Metadata for this warning in key: value format.
+            {
+              "value": "A String", # [Output Only] A warning data value corresponding to the key.
+              "key": "A String", # [Output Only] A key for the warning data.
+            },
+          ],
+        },
+        "instanceGroups": [ # [Output Only] The list of instance groups that are contained in this scope.
+          {
+              "size": 42, # [Output Only] The total number of instances in the instance group.
+              "kind": "compute#instanceGroup", # [Output Only] The resource type, which is always compute#instanceGroup for instance groups.
+              "description": "A String", # An optional text description for the instance group.
+              "zone": "A String", # The URL of the zone where the instance group is located.
+              "network": "A String", # The URL of the network to which all instances in the instance group belong.
+              "fingerprint": "A String", # [Output Only] The fingerprint of the named ports information. The system uses this fingerprint to detect conflicts when multiple users change the named ports information concurrently.
+              "namedPorts": [ # Assigns a name to a port number. For example: {name: ?http?, port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: ?http?, port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+                { # The named port information. For example: .
+                  "name": "A String", # The name for this NamedPort.
+                  "port": 42, # The port number, which can be a value between 1 and 65535.
+                },
+              ],
+              "creationTimestamp": "A String", # [Output Only] The creation timestamp for this instance group in RFC3339 text format.
+              "id": "A String", # [Output Only] A unique identifier for this instance group. The server defines this identifier.
+              "selfLink": "A String", # [Output Only] The URL for this instance group. The server defines this URL.
+              "name": "A String", # The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035.
+            },
+        ],
+      },
+    },
+    "kind": "compute#instanceGroupAggregatedList", # [Output Only] The resource type, which is always compute#instanceGroupAggregatedList for aggregated lists of instance groups.
+    "id": "A String", # [Output Only] A unique identifier for this aggregated list of instance groups. The server defines this identifier.
+    "selfLink": "A String", # [Output Only] A unique identifier for this aggregated list of instance groups. The server defines this identifier.
+  }
+
+ +
+ aggregatedList_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ delete(project, zone, instanceGroup) +
Deletes the specified instance group.
+
+Args:
+  project: string, The project ID for this request. (required)
+  zone: string, The URL of the zone where the instance group is located. (required)
+  instanceGroup: string, The name of the instance group to delete. (required)
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ get(project, zone, instanceGroup) +
Returns the specified instance group resource.
+
+Args:
+  project: string, The project ID for this request. (required)
+  zone: string, The URL of the zone where the instance group is located. (required)
+  instanceGroup: string, The name of the instance group. (required)
+
+Returns:
+  An object of the form:
+
+    {
+      "size": 42, # [Output Only] The total number of instances in the instance group.
+      "kind": "compute#instanceGroup", # [Output Only] The resource type, which is always compute#instanceGroup for instance groups.
+      "description": "A String", # An optional text description for the instance group.
+      "zone": "A String", # The URL of the zone where the instance group is located.
+      "network": "A String", # The URL of the network to which all instances in the instance group belong.
+      "fingerprint": "A String", # [Output Only] The fingerprint of the named ports information. The system uses this fingerprint to detect conflicts when multiple users change the named ports information concurrently.
+      "namedPorts": [ # Assigns a name to a port number. For example: {name: ?http?, port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: ?http?, port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+        { # The named port information. For example: .
+          "name": "A String", # The name for this NamedPort.
+          "port": 42, # The port number, which can be a value between 1 and 65535.
+        },
+      ],
+      "creationTimestamp": "A String", # [Output Only] The creation timestamp for this instance group in RFC3339 text format.
+      "id": "A String", # [Output Only] A unique identifier for this instance group. The server defines this identifier.
+      "selfLink": "A String", # [Output Only] The URL for this instance group. The server defines this URL.
+      "name": "A String", # The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035.
+    }
+
+ +
+ insert(project, zone, body) +
Creates an instance group in the specified project using the parameters that are included in the request.
+
+Args:
+  project: string, The project ID for this request. (required)
+  zone: string, The URL of the zone where the instance group is located. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "size": 42, # [Output Only] The total number of instances in the instance group.
+    "kind": "compute#instanceGroup", # [Output Only] The resource type, which is always compute#instanceGroup for instance groups.
+    "description": "A String", # An optional text description for the instance group.
+    "zone": "A String", # The URL of the zone where the instance group is located.
+    "network": "A String", # The URL of the network to which all instances in the instance group belong.
+    "fingerprint": "A String", # [Output Only] The fingerprint of the named ports information. The system uses this fingerprint to detect conflicts when multiple users change the named ports information concurrently.
+    "namedPorts": [ # Assigns a name to a port number. For example: {name: ?http?, port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: ?http?, port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+      { # The named port information. For example: .
+        "name": "A String", # The name for this NamedPort.
+        "port": 42, # The port number, which can be a value between 1 and 65535.
+      },
+    ],
+    "creationTimestamp": "A String", # [Output Only] The creation timestamp for this instance group in RFC3339 text format.
+    "id": "A String", # [Output Only] A unique identifier for this instance group. The server defines this identifier.
+    "selfLink": "A String", # [Output Only] The URL for this instance group. The server defines this URL.
+    "name": "A String", # The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ list(project, zone, maxResults=None, pageToken=None, filter=None) +
Retrieves the list of instance groups that are located in the specified project and zone.
+
+Args:
+  project: string, The project ID for this request. (required)
+  zone: string, The URL of the zone where the instance group is located. (required)
+  maxResults: integer, Maximum count of results to be returned.
+  pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.
+  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
+
+The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
+
+For example, filter=name ne example-instance.
+
+Returns:
+  An object of the form:
+
+    { # A list of InstanceGroup resources.
+    "nextPageToken": "A String", # [Output Only] A token that is used to continue a truncated list request.
+    "items": [ # A list of InstanceGroup resources.
+      {
+          "size": 42, # [Output Only] The total number of instances in the instance group.
+          "kind": "compute#instanceGroup", # [Output Only] The resource type, which is always compute#instanceGroup for instance groups.
+          "description": "A String", # An optional text description for the instance group.
+          "zone": "A String", # The URL of the zone where the instance group is located.
+          "network": "A String", # The URL of the network to which all instances in the instance group belong.
+          "fingerprint": "A String", # [Output Only] The fingerprint of the named ports information. The system uses this fingerprint to detect conflicts when multiple users change the named ports information concurrently.
+          "namedPorts": [ # Assigns a name to a port number. For example: {name: ?http?, port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: ?http?, port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+            { # The named port information. For example: .
+              "name": "A String", # The name for this NamedPort.
+              "port": 42, # The port number, which can be a value between 1 and 65535.
+            },
+          ],
+          "creationTimestamp": "A String", # [Output Only] The creation timestamp for this instance group in RFC3339 text format.
+          "id": "A String", # [Output Only] A unique identifier for this instance group. The server defines this identifier.
+          "selfLink": "A String", # [Output Only] The URL for this instance group. The server defines this URL.
+          "name": "A String", # The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035.
+        },
+    ],
+    "kind": "compute#instanceGroupList", # [Output Only] The resource type, which is always compute#instanceGroupList for instance group lists.
+    "id": "A String", # [Output Only] A unique identifier for this list of instance groups. The server defines this identifier.
+    "selfLink": "A String", # [Output Only] The URL for this instance group. The server defines this URL.
+  }
+
+ +
+ listInstances(project, zone, instanceGroup, body, maxResults=None, pageToken=None, filter=None) +
Lists instances in an instance group. The parameters for this method specify whether the list filters instances by state and named ports information.
+
+Args:
+  project: string, The project ID for this request. (required)
+  zone: string, The URL of the zone where the instance group is located. (required)
+  instanceGroup: string, The name of the instance group from which you want to generate a list of included instances. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "instanceState": "A String", # A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes all instances regardless of their state.
+  }
+
+  maxResults: integer, Maximum count of results to be returned.
+  pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.
+  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
+
+The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
+
+For example, filter=name ne example-instance.
+
+Returns:
+  An object of the form:
+
+    {
+    "nextPageToken": "A String", # [Output Only] A token that is used to continue a truncated list request.
+    "items": [ # A list of InstanceWithNamedPorts resources, which contains all named ports for the given instance.
+      {
+        "status": "A String", # The status of the instance.
+        "instance": "A String", # The URL of the instance.
+        "namedPorts": [ # The named ports that belong to this instance group.
+          { # The named port information. For example: .
+            "name": "A String", # The name for this NamedPort.
+            "port": 42, # The port number, which can be a value between 1 and 65535.
+          },
+        ],
+      },
+    ],
+    "kind": "compute#instanceGroupsListInstances", # [Output Only] The resource type, which is always compute#instanceGroupsListInstances for lists of instance groups.
+    "id": "A String", # [Output Only] A unique identifier for this list of instance groups. The server defines this identifier.
+    "selfLink": "A String", # [Output Only] The URL for this list of instance groups. The server defines this URL.
+  }
+
+ +
+ listInstances_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ removeInstances(project, zone, instanceGroup, body) +
Removes a list of instances from an instance group.
+
+Args:
+  project: string, The project ID for this request. (required)
+  zone: string, The URL of the zone where the instance group is located. (required)
+  instanceGroup: string, The name of the instance group where the specified instances will be removed. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "instances": [ # The instances to remove from the instance group.
+      {
+        "instance": "A String",
+      },
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ setNamedPorts(project, zone, instanceGroup, body) +
Sets the named ports in an instance group.
+
+Args:
+  project: string, The project ID for this request. (required)
+  zone: string, The URL of the zone where the instance group is located. (required)
+  instanceGroup: string, The name of the instance group where the named ports are updated. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "namedPorts": [ # The list of named ports to set for this instance group.
+      { # The named port information. For example: .
+        "name": "A String", # The name for this NamedPort.
+        "port": 42, # The port number, which can be a value between 1 and 65535.
+      },
+    ],
+    "fingerprint": "A String", # The fingerprint of the named ports information, which is a hash of the contents. Use this field for optimistic locking when you update the named ports entries.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/compute_v1.instanceTemplates.html b/docs/dyn/compute_v1.instanceTemplates.html index 3d385643622..dc399e9a225 100644 --- a/docs/dyn/compute_v1.instanceTemplates.html +++ b/docs/dyn/compute_v1.instanceTemplates.html @@ -101,9 +101,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -141,7 +141,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -175,7 +175,7 @@

Method Details

}, "disks": [ # An array of disks that are associated with the instances that are created from this template. { # An instance-attached disk resource. - "deviceName": "A String", # Specifies a unique device name of your choice that is reflected into the /dev/ tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. + "deviceName": "A String", # Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. # # If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disks-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks. "kind": "compute#attachedDisk", # [Output Only] Type of the resource. Always compute#attachedDisk for attached disks. @@ -217,9 +217,9 @@

Method Details

}, ], "scheduling": { # Sets the scheduling options for an Instance. # A list of scheduling options for the instances that are created from this template. - "automaticRestart": True or False, # Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). - "preemptible": True or False, # Whether the Instance is preemptible. - "onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. The default behavior is MIGRATE. For more information, see Setting maintenance behavior. + "automaticRestart": True or False, # Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. + "preemptible": True or False, # Whether the instance is preemptible. + "onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Setting maintenance behavior. }, "canIpForward": True or False, # A boolean that specifies if instances created from this template can send packets with source IP addresses other than their own or receive packets with destination IP addresses other than their own. If you use these instances as an IP gateway or as the next-hop in a Route resource, specify true. Otherwise, specify false. "serviceAccounts": [ # A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this template. Use metadata queries to obtain the access tokens for these instances. @@ -242,7 +242,7 @@

Method Details

}, "networkInterfaces": [ # An array of network access configurations for this interface. This specifies how this interface is configured to interact with other network services, such as connecting to the internet. Currently, ONE_TO_ONE_NAT is the only supported access configuration. If you do not specify any access configurations, the instances that are created from this template will have no external internet access. { # A network interface resource attached to an instance. - "accessConfigs": [ # An array of configurations for this interface. Currently, Method Details }, "disks": [ # An array of disks that are associated with the instances that are created from this template. { # An instance-attached disk resource. - "deviceName": "A String", # Specifies a unique device name of your choice that is reflected into the /dev/ tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. + "deviceName": "A String", # Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. # # If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disks-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks. "kind": "compute#attachedDisk", # [Output Only] Type of the resource. Always compute#attachedDisk for attached disks. @@ -337,9 +337,9 @@

Method Details

}, ], "scheduling": { # Sets the scheduling options for an Instance. # A list of scheduling options for the instances that are created from this template. - "automaticRestart": True or False, # Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). - "preemptible": True or False, # Whether the Instance is preemptible. - "onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. The default behavior is MIGRATE. For more information, see Setting maintenance behavior. + "automaticRestart": True or False, # Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. + "preemptible": True or False, # Whether the instance is preemptible. + "onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Setting maintenance behavior. }, "canIpForward": True or False, # A boolean that specifies if instances created from this template can send packets with source IP addresses other than their own or receive packets with destination IP addresses other than their own. If you use these instances as an IP gateway or as the next-hop in a Route resource, specify true. Otherwise, specify false. "serviceAccounts": [ # A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this template. Use metadata queries to obtain the access tokens for these instances. @@ -362,7 +362,7 @@

Method Details

}, "networkInterfaces": [ # An array of network access configurations for this interface. This specifies how this interface is configured to interact with other network services, such as connecting to the internet. Currently, ONE_TO_ONE_NAT is the only supported access configuration. If you do not specify any access configurations, the instances that are created from this template will have no external internet access. { # A network interface resource attached to an instance. - "accessConfigs": [ # An array of configurations for this interface. Currently, Method Details Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -431,7 +431,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -443,8 +443,12 @@

Method Details

Args: project: string, The project ID for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -470,7 +474,7 @@

Method Details

}, "disks": [ # An array of disks that are associated with the instances that are created from this template. { # An instance-attached disk resource. - "deviceName": "A String", # Specifies a unique device name of your choice that is reflected into the /dev/ tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. + "deviceName": "A String", # Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. # # If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disks-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks. "kind": "compute#attachedDisk", # [Output Only] Type of the resource. Always compute#attachedDisk for attached disks. @@ -512,9 +516,9 @@

Method Details

}, ], "scheduling": { # Sets the scheduling options for an Instance. # A list of scheduling options for the instances that are created from this template. - "automaticRestart": True or False, # Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). - "preemptible": True or False, # Whether the Instance is preemptible. - "onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. The default behavior is MIGRATE. For more information, see Setting maintenance behavior. + "automaticRestart": True or False, # Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. + "preemptible": True or False, # Whether the instance is preemptible. + "onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Setting maintenance behavior. }, "canIpForward": True or False, # A boolean that specifies if instances created from this template can send packets with source IP addresses other than their own or receive packets with destination IP addresses other than their own. If you use these instances as an IP gateway or as the next-hop in a Route resource, specify true. Otherwise, specify false. "serviceAccounts": [ # A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this template. Use metadata queries to obtain the access tokens for these instances. @@ -537,7 +541,7 @@

Method Details

}, "networkInterfaces": [ # An array of network access configurations for this interface. This specifies how this interface is configured to interact with other network services, such as connecting to the internet. Currently, ONE_TO_ONE_NAT is the only supported access configuration. If you do not specify any access configurations, the instances that are created from this template will have no external internet access. { # A network interface resource attached to an instance. - "accessConfigs": [ # An array of configurations for this interface. Currently, Method Details Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -195,7 +195,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -207,8 +207,12 @@

Method Details

Args: project: string, Project ID for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -235,7 +239,7 @@

Method Details

}, "disks": [ # Array of disks associated with this instance. Persistent disks must be created before you can assign them. { # An instance-attached disk resource. - "deviceName": "A String", # Specifies a unique device name of your choice that is reflected into the /dev/ tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. + "deviceName": "A String", # Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. # # If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disks-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks. "kind": "compute#attachedDisk", # [Output Only] Type of the resource. Always compute#attachedDisk for attached disks. @@ -279,9 +283,9 @@

Method Details

"name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. "statusMessage": "A String", # [Output Only] An optional, human-readable explanation of the status. "scheduling": { # Sets the scheduling options for an Instance. # Scheduling options for this instance. - "automaticRestart": True or False, # Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). - "preemptible": True or False, # Whether the Instance is preemptible. - "onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. The default behavior is MIGRATE. For more information, see Setting maintenance behavior. + "automaticRestart": True or False, # Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. + "preemptible": True or False, # Whether the instance is preemptible. + "onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Setting maintenance behavior. }, "machineType": "A String", # Full or partial URL of the machine type resource to use for this instance. This is provided by the client when the instance is created. For example, the following is a valid partial url: # @@ -296,7 +300,7 @@

Method Details

], "networkInterfaces": [ # An array of configurations for this interface. This specifies how this interface is configured to interact with other network services, such as connecting to the internet. { # A network interface resource attached to an instance. - "accessConfigs": [ # An array of configurations for this interface. Currently, Method Details The object takes the form of: { # An instance-attached disk resource. - "deviceName": "A String", # Specifies a unique device name of your choice that is reflected into the /dev/ tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. + "deviceName": "A String", # Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. # # If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disks-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks. "kind": "compute#attachedDisk", # [Output Only] Type of the resource. Always compute#attachedDisk for attached disks. @@ -420,9 +424,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -460,7 +464,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -477,9 +481,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -517,7 +521,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -536,9 +540,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -576,7 +580,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -594,9 +598,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -634,7 +638,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -645,7 +649,7 @@

Method Details

Args: project: string, Project ID for this request. (required) - zone: string, The name of the The name of the zone for this request.. (required) + zone: string, The name of the zone for this request. (required) instance: string, Name of the instance resource to return. (required) Returns: @@ -668,7 +672,7 @@

Method Details

}, "disks": [ # Array of disks associated with this instance. Persistent disks must be created before you can assign them. { # An instance-attached disk resource. - "deviceName": "A String", # Specifies a unique device name of your choice that is reflected into the /dev/ tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. + "deviceName": "A String", # Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. # # If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disks-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks. "kind": "compute#attachedDisk", # [Output Only] Type of the resource. Always compute#attachedDisk for attached disks. @@ -712,9 +716,9 @@

Method Details

"name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. "statusMessage": "A String", # [Output Only] An optional, human-readable explanation of the status. "scheduling": { # Sets the scheduling options for an Instance. # Scheduling options for this instance. - "automaticRestart": True or False, # Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). - "preemptible": True or False, # Whether the Instance is preemptible. - "onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. The default behavior is MIGRATE. For more information, see Setting maintenance behavior. + "automaticRestart": True or False, # Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. + "preemptible": True or False, # Whether the instance is preemptible. + "onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Setting maintenance behavior. }, "machineType": "A String", # Full or partial URL of the machine type resource to use for this instance. This is provided by the client when the instance is created. For example, the following is a valid partial url: # @@ -729,7 +733,7 @@

Method Details

], "networkInterfaces": [ # An array of configurations for this interface. This specifies how this interface is configured to interact with other network services, such as connecting to the internet. { # A network interface resource attached to an instance. - "accessConfigs": [ # An array of configurations for this interface. Currently, Method Details project: string, Project ID for this request. (required) zone: string, The name of the zone for this request. (required) instance: string, Name of the instance scoping this request. (required) - port: integer, Which COM port to retrieve data from. + port: integer, Specifies which COM or serial port to retrieve data from. Returns: An object of the form: @@ -812,7 +816,7 @@

Method Details

}, "disks": [ # Array of disks associated with this instance. Persistent disks must be created before you can assign them. { # An instance-attached disk resource. - "deviceName": "A String", # Specifies a unique device name of your choice that is reflected into the /dev/ tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. + "deviceName": "A String", # Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. # # If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disks-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks. "kind": "compute#attachedDisk", # [Output Only] Type of the resource. Always compute#attachedDisk for attached disks. @@ -856,9 +860,9 @@

Method Details

"name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. "statusMessage": "A String", # [Output Only] An optional, human-readable explanation of the status. "scheduling": { # Sets the scheduling options for an Instance. # Scheduling options for this instance. - "automaticRestart": True or False, # Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). - "preemptible": True or False, # Whether the Instance is preemptible. - "onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. The default behavior is MIGRATE. For more information, see Setting maintenance behavior. + "automaticRestart": True or False, # Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. + "preemptible": True or False, # Whether the instance is preemptible. + "onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Setting maintenance behavior. }, "machineType": "A String", # Full or partial URL of the machine type resource to use for this instance. This is provided by the client when the instance is created. For example, the following is a valid partial url: # @@ -873,7 +877,7 @@

Method Details

], "networkInterfaces": [ # An array of configurations for this interface. This specifies how this interface is configured to interact with other network services, such as connecting to the internet. { # A network interface resource attached to an instance. - "accessConfigs": [ # An array of configurations for this interface. Currently, Method Details Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -952,7 +956,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -965,8 +969,12 @@

Method Details

project: string, Project ID for this request. (required) zone: string, The name of the zone for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -991,7 +999,7 @@

Method Details

}, "disks": [ # Array of disks associated with this instance. Persistent disks must be created before you can assign them. { # An instance-attached disk resource. - "deviceName": "A String", # Specifies a unique device name of your choice that is reflected into the /dev/ tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. + "deviceName": "A String", # Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. # # If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disks-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks. "kind": "compute#attachedDisk", # [Output Only] Type of the resource. Always compute#attachedDisk for attached disks. @@ -1035,9 +1043,9 @@

Method Details

"name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. "statusMessage": "A String", # [Output Only] An optional, human-readable explanation of the status. "scheduling": { # Sets the scheduling options for an Instance. # Scheduling options for this instance. - "automaticRestart": True or False, # Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). - "preemptible": True or False, # Whether the Instance is preemptible. - "onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. The default behavior is MIGRATE. For more information, see Setting maintenance behavior. + "automaticRestart": True or False, # Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. + "preemptible": True or False, # Whether the instance is preemptible. + "onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Setting maintenance behavior. }, "machineType": "A String", # Full or partial URL of the machine type resource to use for this instance. This is provided by the client when the instance is created. For example, the following is a valid partial url: # @@ -1052,7 +1060,7 @@

Method Details

], "networkInterfaces": [ # An array of configurations for this interface. This specifies how this interface is configured to interact with other network services, such as connecting to the internet. { # A network interface resource attached to an instance. - "accessConfigs": [ # An array of configurations for this interface. Currently, Method Details Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -1159,7 +1167,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -1178,9 +1186,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -1218,7 +1226,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -1249,9 +1257,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -1289,7 +1297,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -1306,18 +1314,18 @@

Method Details

The object takes the form of: { # Sets the scheduling options for an Instance. - "automaticRestart": True or False, # Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). - "preemptible": True or False, # Whether the Instance is preemptible. - "onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. The default behavior is MIGRATE. For more information, see Setting maintenance behavior. + "automaticRestart": True or False, # Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. + "preemptible": True or False, # Whether the instance is preemptible. + "onHostMaintenance": "A String", # Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Setting maintenance behavior. } Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -1355,7 +1363,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -1384,9 +1392,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -1424,7 +1432,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -1441,9 +1449,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -1481,7 +1489,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -1498,9 +1506,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -1538,7 +1546,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } diff --git a/docs/dyn/compute_v1.licenses.html b/docs/dyn/compute_v1.licenses.html index fbba2a3e0e0..ca2453b9459 100644 --- a/docs/dyn/compute_v1.licenses.html +++ b/docs/dyn/compute_v1.licenses.html @@ -92,8 +92,8 @@

Method Details

{ # A license resource. "chargesUseFee": True or False, # If true, the customer will be charged license fee for running software that contains this license on an instance. "kind": "compute#license", # [Output Only] Type of resource. Always compute#license for licenses. - "name": "A String", # Name of the resource. The name must be 1-63 characters long, and comply with RCF1035. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "name": "A String", # [Output Only] Name of the resource. The name is 1-63 characters long and complies with RFC1035. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. } diff --git a/docs/dyn/compute_v1.machineTypes.html b/docs/dyn/compute_v1.machineTypes.html index da8442dbe0a..73e8d1f7d2c 100644 --- a/docs/dyn/compute_v1.machineTypes.html +++ b/docs/dyn/compute_v1.machineTypes.html @@ -97,8 +97,12 @@

Method Details

Args: project: string, Project ID for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -131,7 +135,7 @@

Method Details

], "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # [Output Only] Name of the resource. }, ], @@ -149,7 +153,7 @@

Method Details

}, "kind": "compute#machineTypeAggregatedList", # [Output Only] Type of resource. Always compute#machineTypeAggregatedList for aggregated lists of machine types. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for this resource. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } @@ -202,7 +206,7 @@

Method Details

], "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # [Output Only] Name of the resource. } @@ -215,8 +219,12 @@

Method Details

project: string, Project ID for this request. (required) zone: string, The name of the zone for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -247,13 +255,13 @@

Method Details

], "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # [Output Only] Name of the resource. }, ], "kind": "compute#machineTypeList", # [Output Only] Type of resource. Always compute#machineTypeList for lists of machine types. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for this resource. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } diff --git a/docs/dyn/compute_v1.networks.html b/docs/dyn/compute_v1.networks.html index f878a5a49d5..15e9937afa5 100644 --- a/docs/dyn/compute_v1.networks.html +++ b/docs/dyn/compute_v1.networks.html @@ -101,9 +101,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -141,7 +141,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -159,13 +159,13 @@

Method Details

{ # A network resource. "kind": "compute#network", # [Output Only] Type of the resource. Always compute#network for networks. - "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. "IPv4Range": "A String", # The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16. Provided by the client when the network is created. "gatewayIPv4": "A String", # A gateway address for default routing to other networks. This value is read only and is selected by the Google Compute Engine, typically as the first usable address in the IPv4Range. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. - "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -180,22 +180,22 @@

Method Details

{ # A network resource. "kind": "compute#network", # [Output Only] Type of the resource. Always compute#network for networks. - "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. "IPv4Range": "A String", # The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16. Provided by the client when the network is created. "gatewayIPv4": "A String", # A gateway address for default routing to other networks. This value is read only and is selected by the Google Compute Engine, typically as the first usable address in the IPv4Range. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. - "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -233,7 +233,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -245,8 +245,12 @@

Method Details

Args: project: string, Project ID for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -256,18 +260,18 @@

Method Details

"items": [ # [Output Only] A list of Network resources. { # A network resource. "kind": "compute#network", # [Output Only] Type of the resource. Always compute#network for networks. - "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. "IPv4Range": "A String", # The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16. Provided by the client when the network is created. "gatewayIPv4": "A String", # A gateway address for default routing to other networks. This value is read only and is selected by the Google Compute Engine, typically as the first usable address in the IPv4Range. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. - "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], "kind": "compute#networkList", # [Output Only] Type of resource. Always compute#networkList for lists of networks. - "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for this resource . + "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource . } diff --git a/docs/dyn/compute_v1.projects.html b/docs/dyn/compute_v1.projects.html index b09ba932ff8..26f5d52a9b6 100644 --- a/docs/dyn/compute_v1.projects.html +++ b/docs/dyn/compute_v1.projects.html @@ -102,7 +102,9 @@

Method Details

{ # A Project resource. Projects can only be created in the Google Developers Console. Unless marked otherwise, values can only be modified in the console. "kind": "compute#project", # [Output Only] Type of the resource. Always compute#project for projects. - "description": "A String", # An optional textual description of the resource. + "enabledFeatures": [ # Restricted features enabled for use on this project. + "A String", + ], "commonInstanceMetadata": { # A metadata key/value entry. # Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information. "items": [ # Array of key/value pairs. The total size of all keys and values must be less than 512 KB. { @@ -120,14 +122,15 @@

Method Details

"limit": 3.14, # [Output Only] Quota limit for this metric. }, ], + "name": "A String", # Name of the resource. "usageExportLocation": { # The location in Cloud Storage and naming method of the daily usage report. Contains bucket_name and report_name prefix. # The location in Cloud Storage and naming method of the daily usage report. "bucketName": "A String", # The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This is just the bucket name, with no gs:// or https://storage.googleapis.com/ in front of it. "reportNamePrefix": "A String", # An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions. }, "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. - "name": "A String", # Name of the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "description": "A String", # An optional textual description of the resource. } @@ -155,9 +158,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -195,7 +198,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -224,9 +227,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -264,7 +267,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -293,9 +296,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -333,7 +336,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -356,9 +359,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -396,7 +399,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } diff --git a/docs/dyn/compute_v1.regionOperations.html b/docs/dyn/compute_v1.regionOperations.html index 53282577321..a9adbb9cd68 100644 --- a/docs/dyn/compute_v1.regionOperations.html +++ b/docs/dyn/compute_v1.regionOperations.html @@ -76,43 +76,43 @@

Compute Engine API . delete(project, region, operation)

-

Deletes the specified region-specific operation resource.

+

Deletes the specified region-specific Operations resource.

get(project, region, operation)

-

Retrieves the specified region-specific operation resource.

+

Retrieves the specified region-specific Operations resource.

list(project, region, maxResults=None, pageToken=None, filter=None)

-

Retrieves the list of operation resources contained within the specified region.

+

Retrieves the list of Operation resources contained within the specified region.

list_next(previous_request, previous_response)

Retrieves the next page of results.

Method Details

delete(project, region, operation) -
Deletes the specified region-specific operation resource.
+  
Deletes the specified region-specific Operations resource.
 
 Args:
   project: string, Project ID for this request. (required)
   region: string, Name of the region scoping this request. (required)
-  operation: string, Name of the operation resource to delete. (required)
+  operation: string, Name of the Operations resource to delete. (required)
 
get(project, region, operation) -
Retrieves the specified region-specific operation resource.
+  
Retrieves the specified region-specific Operations resource.
 
 Args:
   project: string, Project ID for this request. (required)
   region: string, Name of the zone scoping this request. (required)
-  operation: string, Name of the operation resource to return. (required)
+  operation: string, Name of the Operations resource to return. (required)
 
 Returns:
   An object of the form:
 
-    { # An operation resource, used to manage asynchronous API requests.
+    { # An Operation resource, used to manage asynchronous API requests.
     "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
-    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
     "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
     "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
     "zone": "A String", # [Output Only] URL of the zone where the operation resides.
@@ -150,31 +150,35 @@ 

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. }
list(project, region, maxResults=None, pageToken=None, filter=None) -
Retrieves the list of operation resources contained within the specified region.
+  
Retrieves the list of Operation resources contained within the specified region.
 
 Args:
   project: string, Project ID for this request. (required)
   region: string, Name of the region scoping this request. (required)
   maxResults: integer, Maximum count of results to be returned.
-  pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request.
-  filter: string, Filter expression for filtering listed resources.
+  pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.
+  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
+
+The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
+
+For example, filter=name ne example-instance.
 
 Returns:
   An object of the form:
 
-    { # Contains a list of operation resources.
+    { # Contains a list of Operation resources.
     "nextPageToken": "A String", # [Output Only] A token used to continue a truncate.
-    "items": [ # [Output Only] The operation resources.
-      { # An operation resource, used to manage asynchronous API requests.
+    "items": [ # [Output Only] The Operation resources.
+      { # An Operation resource, used to manage asynchronous API requests.
         "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
-        "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project.
+        "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
         "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
         "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
         "zone": "A String", # [Output Only] URL of the zone where the operation resides.
@@ -212,13 +216,13 @@ 

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. }, ], "kind": "compute#operationList", # [Output Only] Type of resource. Always compute#operations for Operations resource. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for this resource. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. }
diff --git a/docs/dyn/compute_v1.regions.html b/docs/dyn/compute_v1.regions.html index 5fe9b312d6f..b51e25f20df 100644 --- a/docs/dyn/compute_v1.regions.html +++ b/docs/dyn/compute_v1.regions.html @@ -118,7 +118,7 @@

Method Details

], "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server . - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # [Output Only] Name of the resource. } @@ -130,8 +130,12 @@

Method Details

Args: project: string, Project ID for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -162,13 +166,13 @@

Method Details

], "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server . - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # [Output Only] Name of the resource. }, ], "kind": "compute#regionList", # [Output Only] Type of resource. Always compute#regionList for lists of regions. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for this resource. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } diff --git a/docs/dyn/compute_v1.routes.html b/docs/dyn/compute_v1.routes.html index 8ece2a76e10..ecb577bfff6 100644 --- a/docs/dyn/compute_v1.routes.html +++ b/docs/dyn/compute_v1.routes.html @@ -101,9 +101,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -141,7 +141,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -157,20 +157,21 @@

Method Details

Returns: An object of the form: - { # The route resource. A Route is a rule that specifies how certain packets should be handled by the virtual network. Routes are associated with VMs by tag and the set of Routes for a particular VM is called its routing table. For each packet leaving a VM, the system searches that VM's routing table for a single best matching Route. Routes match packets by destination IP address, preferring smaller or more specific ranges over larger ones. If there is a tie, the system selects the Route with the smallest priority value. If there is still a tie, it uses the layer three and four packet headers to select just one of the remaining matching Routes. The packet is then forwarded as specified by the next_hop field of the winning Route -- either to another VM destination, a VM gateway or a GCE operated gateway. Packets that do not match any Route in the sending VM's routing table will be dropped. - "nextHopGateway": "A String", # The URL to a gateway that should handle matching packets. + { # The route resource. A Route is a rule that specifies how certain packets should be handled by the virtual network. Routes are associated with instances by tag and the set of Routes for a particular instance is called its routing table. For each packet leaving a instance, the system searches that instance's routing table for a single best matching Route. Routes match packets by destination IP address, preferring smaller or more specific ranges over larger ones. If there is a tie, the system selects the Route with the smallest priority value. If there is still a tie, it uses the layer three and four packet headers to select just one of the remaining matching Routes. The packet is then forwarded as specified by the nextHop field of the winning Route -- either to another instance destination, a instance gateway or a Google Compute Engien-operated gateway. Packets that do not match any Route in the sending instance's routing table are dropped. + "nextHopGateway": "A String", # The URL to a gateway that should handle matching packets. Currently, this is only the internet gateway: projects//global/gateways/default-internet-gateway "nextHopVpnTunnel": "A String", # The URL to a VpnTunnel that should handle matching packets. - "kind": "compute#route", # Type of the resource. - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "kind": "compute#route", # [Output Only] Type of this resource. Always compute#routes for Route resources. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. "tags": [ # A list of instance tags to which this route applies. "A String", ], - "nextHopInstance": "A String", # The URL to an instance that should handle matching packets. + "nextHopInstance": "A String", # The fully-qualified URL to an instance that should handle matching packets. For example: + # https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/ "priority": 42, # Breaks ties between Routes of equal specificity. Routes with smaller values win when tied with routes with larger values. Default value is 1000. A valid range is between 0 and 65535. "nextHopNetwork": "A String", # The URL of the local network if it should handle matching packets. - "network": "A String", # URL of the network to which this route is applied; provided by the client when the route is created. - "selfLink": "A String", # Server defined URL for the resource (output only). - "warnings": [ # If potential misconfigurations are detected for this route, this field will be populated with warning messages. + "network": "A String", # Fully-qualified URL of the network that this route applies to. + "selfLink": "A String", # [Output Only] Server-defined fully-qualified URL for this resource. + "warnings": [ # [Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages. { "message": "A String", # [Output Only] Optional human-readable details for this warning. "code": "A String", # [Output Only] The warning type identifier for this warning. @@ -182,11 +183,11 @@

Method Details

], }, ], - "destRange": "A String", # Which packets does this route apply to? - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). + "destRange": "A String", # The destination range of outgoing packets that this route applies to. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. "nextHopIp": "A String", # The network IP address of an instance that should handle matching packets. - "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. } @@ -199,20 +200,21 @@

Method Details

body: object, The request body. (required) The object takes the form of: -{ # The route resource. A Route is a rule that specifies how certain packets should be handled by the virtual network. Routes are associated with VMs by tag and the set of Routes for a particular VM is called its routing table. For each packet leaving a VM, the system searches that VM's routing table for a single best matching Route. Routes match packets by destination IP address, preferring smaller or more specific ranges over larger ones. If there is a tie, the system selects the Route with the smallest priority value. If there is still a tie, it uses the layer three and four packet headers to select just one of the remaining matching Routes. The packet is then forwarded as specified by the next_hop field of the winning Route -- either to another VM destination, a VM gateway or a GCE operated gateway. Packets that do not match any Route in the sending VM's routing table will be dropped. - "nextHopGateway": "A String", # The URL to a gateway that should handle matching packets. +{ # The route resource. A Route is a rule that specifies how certain packets should be handled by the virtual network. Routes are associated with instances by tag and the set of Routes for a particular instance is called its routing table. For each packet leaving a instance, the system searches that instance's routing table for a single best matching Route. Routes match packets by destination IP address, preferring smaller or more specific ranges over larger ones. If there is a tie, the system selects the Route with the smallest priority value. If there is still a tie, it uses the layer three and four packet headers to select just one of the remaining matching Routes. The packet is then forwarded as specified by the nextHop field of the winning Route -- either to another instance destination, a instance gateway or a Google Compute Engien-operated gateway. Packets that do not match any Route in the sending instance's routing table are dropped. + "nextHopGateway": "A String", # The URL to a gateway that should handle matching packets. Currently, this is only the internet gateway: projects//global/gateways/default-internet-gateway "nextHopVpnTunnel": "A String", # The URL to a VpnTunnel that should handle matching packets. - "kind": "compute#route", # Type of the resource. - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "kind": "compute#route", # [Output Only] Type of this resource. Always compute#routes for Route resources. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. "tags": [ # A list of instance tags to which this route applies. "A String", ], - "nextHopInstance": "A String", # The URL to an instance that should handle matching packets. + "nextHopInstance": "A String", # The fully-qualified URL to an instance that should handle matching packets. For example: + # https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/ "priority": 42, # Breaks ties between Routes of equal specificity. Routes with smaller values win when tied with routes with larger values. Default value is 1000. A valid range is between 0 and 65535. "nextHopNetwork": "A String", # The URL of the local network if it should handle matching packets. - "network": "A String", # URL of the network to which this route is applied; provided by the client when the route is created. - "selfLink": "A String", # Server defined URL for the resource (output only). - "warnings": [ # If potential misconfigurations are detected for this route, this field will be populated with warning messages. + "network": "A String", # Fully-qualified URL of the network that this route applies to. + "selfLink": "A String", # [Output Only] Server-defined fully-qualified URL for this resource. + "warnings": [ # [Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages. { "message": "A String", # [Output Only] Optional human-readable details for this warning. "code": "A String", # [Output Only] The warning type identifier for this warning. @@ -224,20 +226,20 @@

Method Details

], }, ], - "destRange": "A String", # Which packets does this route apply to? - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). + "destRange": "A String", # The destination range of outgoing packets that this route applies to. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. "nextHopIp": "A String", # The network IP address of an instance that should handle matching packets. - "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. } Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -275,7 +277,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -287,29 +289,34 @@

Method Details

Args: project: string, Name of the project scoping this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: { # Contains a list of route resources. - "nextPageToken": "A String", # A token used to continue a truncated list request (output only). + "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request. "items": [ # A list of Route resources. - { # The route resource. A Route is a rule that specifies how certain packets should be handled by the virtual network. Routes are associated with VMs by tag and the set of Routes for a particular VM is called its routing table. For each packet leaving a VM, the system searches that VM's routing table for a single best matching Route. Routes match packets by destination IP address, preferring smaller or more specific ranges over larger ones. If there is a tie, the system selects the Route with the smallest priority value. If there is still a tie, it uses the layer three and four packet headers to select just one of the remaining matching Routes. The packet is then forwarded as specified by the next_hop field of the winning Route -- either to another VM destination, a VM gateway or a GCE operated gateway. Packets that do not match any Route in the sending VM's routing table will be dropped. - "nextHopGateway": "A String", # The URL to a gateway that should handle matching packets. + { # The route resource. A Route is a rule that specifies how certain packets should be handled by the virtual network. Routes are associated with instances by tag and the set of Routes for a particular instance is called its routing table. For each packet leaving a instance, the system searches that instance's routing table for a single best matching Route. Routes match packets by destination IP address, preferring smaller or more specific ranges over larger ones. If there is a tie, the system selects the Route with the smallest priority value. If there is still a tie, it uses the layer three and four packet headers to select just one of the remaining matching Routes. The packet is then forwarded as specified by the nextHop field of the winning Route -- either to another instance destination, a instance gateway or a Google Compute Engien-operated gateway. Packets that do not match any Route in the sending instance's routing table are dropped. + "nextHopGateway": "A String", # The URL to a gateway that should handle matching packets. Currently, this is only the internet gateway: projects//global/gateways/default-internet-gateway "nextHopVpnTunnel": "A String", # The URL to a VpnTunnel that should handle matching packets. - "kind": "compute#route", # Type of the resource. - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "kind": "compute#route", # [Output Only] Type of this resource. Always compute#routes for Route resources. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. "tags": [ # A list of instance tags to which this route applies. "A String", ], - "nextHopInstance": "A String", # The URL to an instance that should handle matching packets. + "nextHopInstance": "A String", # The fully-qualified URL to an instance that should handle matching packets. For example: + # https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/ "priority": 42, # Breaks ties between Routes of equal specificity. Routes with smaller values win when tied with routes with larger values. Default value is 1000. A valid range is between 0 and 65535. "nextHopNetwork": "A String", # The URL of the local network if it should handle matching packets. - "network": "A String", # URL of the network to which this route is applied; provided by the client when the route is created. - "selfLink": "A String", # Server defined URL for the resource (output only). - "warnings": [ # If potential misconfigurations are detected for this route, this field will be populated with warning messages. + "network": "A String", # Fully-qualified URL of the network that this route applies to. + "selfLink": "A String", # [Output Only] Server-defined fully-qualified URL for this resource. + "warnings": [ # [Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages. { "message": "A String", # [Output Only] Optional human-readable details for this warning. "code": "A String", # [Output Only] The warning type identifier for this warning. @@ -321,16 +328,16 @@

Method Details

], }, ], - "destRange": "A String", # Which packets does this route apply to? - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). + "destRange": "A String", # The destination range of outgoing packets that this route applies to. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. "nextHopIp": "A String", # The network IP address of an instance that should handle matching packets. - "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. }, ], "kind": "compute#routeList", # Type of resource. - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for this resource (output only). + "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } diff --git a/docs/dyn/compute_v1.snapshots.html b/docs/dyn/compute_v1.snapshots.html index b8bd840965d..12834f2552a 100644 --- a/docs/dyn/compute_v1.snapshots.html +++ b/docs/dyn/compute_v1.snapshots.html @@ -76,31 +76,33 @@

Compute Engine API . delete(project, snapshot)

-

Deletes the specified persistent disk snapshot resource.

+

Deletes the specified Snapshot resource. Keep in mind that deleting a single snapshot might not necessarily delete all the data on that snapshot. If any data on the snapshot that is marked for deletion is needed for subsequent snapshots, the data will be moved to the next corresponding snapshot.

get(project, snapshot)

-

Returns the specified persistent disk snapshot resource.

+

Returns the specified Snapshot resource.

list(project, maxResults=None, pageToken=None, filter=None)

-

Retrieves the list of persistent disk snapshot resources contained within the specified project.

+

Retrieves the list of Snapshot resources contained within the specified project.

list_next(previous_request, previous_response)

Retrieves the next page of results.

Method Details

delete(project, snapshot) -
Deletes the specified persistent disk snapshot resource.
+  
Deletes the specified Snapshot resource. Keep in mind that deleting a single snapshot might not necessarily delete all the data on that snapshot. If any data on the snapshot that is marked for deletion is needed for subsequent snapshots, the data will be moved to the next corresponding snapshot.
+
+For more information, see Deleting snaphots.
 
 Args:
   project: string, Name of the project scoping this request. (required)
-  snapshot: string, Name of the persistent disk snapshot resource to delete. (required)
+  snapshot: string, Name of the Snapshot resource to delete. (required)
 
 Returns:
   An object of the form:
 
-    { # An operation resource, used to manage asynchronous API requests.
+    { # An Operation resource, used to manage asynchronous API requests.
     "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
-    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
     "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
     "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
     "zone": "A String", # [Output Only] URL of the zone where the operation resides.
@@ -138,78 +140,82 @@ 

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. }
get(project, snapshot) -
Returns the specified persistent disk snapshot resource.
+  
Returns the specified Snapshot resource.
 
 Args:
   project: string, Name of the project scoping this request. (required)
-  snapshot: string, Name of the persistent disk snapshot resource to return. (required)
+  snapshot: string, Name of the Snapshot resource to return. (required)
 
 Returns:
   An object of the form:
 
     { # A persistent disk snapshot resource.
-      "status": "A String", # The status of the persistent disk snapshot (output only).
-      "kind": "compute#snapshot", # Type of the resource.
-      "storageBytes": "A String", # A size of the the storage used by the snapshot. As snapshots share storage this number is expected to change with snapshot creation/deletion.
+      "status": "A String", # [Output Only] The status of the snapshot.
+      "kind": "compute#snapshot", # [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources.
+      "storageBytes": "A String", # [Output Only] A size of the the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.
       "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
       "sourceDisk": "A String", # The source disk used to create this snapshot.
-      "storageBytesStatus": "A String", # An indicator whether storageBytes is in a stable state, or it is being adjusted as a result of shared storage reallocation.
-      "sourceDiskId": "A String", # The 'id' value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
-      "diskSizeGb": "A String", # Size of the persistent disk snapshot, specified in GB (output only).
+      "storageBytesStatus": "A String", # [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
+      "sourceDiskId": "A String", # [Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
+      "diskSizeGb": "A String", # [Output Only] Size of the snapshot, specified in GB.
       "licenses": [ # Public visible licenses.
         "A String",
       ],
-      "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
-      "id": "A String", # Unique identifier for the resource; defined by the server (output only).
-      "selfLink": "A String", # Server defined URL for the resource (output only).
-      "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+      "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+      "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+      "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+      "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
     }
list(project, maxResults=None, pageToken=None, filter=None) -
Retrieves the list of persistent disk snapshot resources contained within the specified project.
+  
Retrieves the list of Snapshot resources contained within the specified project.
 
 Args:
   project: string, Name of the project scoping this request. (required)
   maxResults: integer, Maximum count of results to be returned.
-  pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request.
-  filter: string, Filter expression for filtering listed resources.
+  pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.
+  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
+
+The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
+
+For example, filter=name ne example-instance.
 
 Returns:
   An object of the form:
 
-    { # Contains a list of persistent disk snapshot resources.
-    "nextPageToken": "A String", # A token used to continue a truncated list request (output only).
+    { # Contains a list of Snapshot resources.
+    "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request.
     "items": [ # A list of Snapshot resources.
       { # A persistent disk snapshot resource.
-          "status": "A String", # The status of the persistent disk snapshot (output only).
-          "kind": "compute#snapshot", # Type of the resource.
-          "storageBytes": "A String", # A size of the the storage used by the snapshot. As snapshots share storage this number is expected to change with snapshot creation/deletion.
+          "status": "A String", # [Output Only] The status of the snapshot.
+          "kind": "compute#snapshot", # [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources.
+          "storageBytes": "A String", # [Output Only] A size of the the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.
           "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created.
           "sourceDisk": "A String", # The source disk used to create this snapshot.
-          "storageBytesStatus": "A String", # An indicator whether storageBytes is in a stable state, or it is being adjusted as a result of shared storage reallocation.
-          "sourceDiskId": "A String", # The 'id' value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
-          "diskSizeGb": "A String", # Size of the persistent disk snapshot, specified in GB (output only).
+          "storageBytesStatus": "A String", # [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
+          "sourceDiskId": "A String", # [Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
+          "diskSizeGb": "A String", # [Output Only] Size of the snapshot, specified in GB.
           "licenses": [ # Public visible licenses.
             "A String",
           ],
-          "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only).
-          "id": "A String", # Unique identifier for the resource; defined by the server (output only).
-          "selfLink": "A String", # Server defined URL for the resource (output only).
-          "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.
+          "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+          "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+          "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+          "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
         },
     ],
     "kind": "compute#snapshotList", # Type of resource.
-    "id": "A String", # Unique identifier for the resource; defined by the server (output only).
-    "selfLink": "A String", # Server defined URL for this resource (output only).
+    "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server.
+    "selfLink": "A String", # [Output Only] Server-defined URL for this resource.
   }
diff --git a/docs/dyn/compute_v1.targetHttpProxies.html b/docs/dyn/compute_v1.targetHttpProxies.html index d0aa6fb71f6..7b0f5113204 100644 --- a/docs/dyn/compute_v1.targetHttpProxies.html +++ b/docs/dyn/compute_v1.targetHttpProxies.html @@ -104,9 +104,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -144,7 +144,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -161,13 +161,13 @@

Method Details

An object of the form: { # A TargetHttpProxy resource. This resource defines an HTTP proxy. - "kind": "compute#targetHttpProxy", # Type of the resource. + "kind": "compute#targetHttpProxy", # [Output Only] Type of resource. Always compute#Operation for Operation resources. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "urlMap": "A String", # URL to the UrlMap resource that defines the mapping from URL to the BackendService. - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -181,22 +181,22 @@

Method Details

The object takes the form of: { # A TargetHttpProxy resource. This resource defines an HTTP proxy. - "kind": "compute#targetHttpProxy", # Type of the resource. + "kind": "compute#targetHttpProxy", # [Output Only] Type of resource. Always compute#Operation for Operation resources. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "urlMap": "A String", # URL to the UrlMap resource that defines the mapping from URL to the BackendService. - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -234,7 +234,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -246,28 +246,32 @@

Method Details

Args: project: string, Name of the project scoping this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: - { # Contains a list of TargetHttpProxy resources. - "nextPageToken": "A String", # A token used to continue a truncated list request (output only). + { # A list of TargetHttpProxy resources. + "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request. "items": [ # A list of TargetHttpProxy resources. { # A TargetHttpProxy resource. This resource defines an HTTP proxy. - "kind": "compute#targetHttpProxy", # Type of the resource. + "kind": "compute#targetHttpProxy", # [Output Only] Type of resource. Always compute#Operation for Operation resources. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. "urlMap": "A String", # URL to the UrlMap resource that defines the mapping from URL to the BackendService. - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], - "kind": "compute#targetHttpProxyList", # Type of resource. - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for this resource (output only). + "kind": "compute#targetHttpProxyList", # Type of resource. Always compute#targetHttpProxyList for lists of Target HTTP proxies. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } @@ -303,9 +307,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -343,7 +347,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } diff --git a/docs/dyn/compute_v1.targetInstances.html b/docs/dyn/compute_v1.targetInstances.html index 6f9a344e74d..09434c0b342 100644 --- a/docs/dyn/compute_v1.targetInstances.html +++ b/docs/dyn/compute_v1.targetInstances.html @@ -103,27 +103,31 @@

Method Details

Args: project: string, Name of the project scoping this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: { - "nextPageToken": "A String", # A token used to continue a truncated list request (output only). + "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request. "items": { # A map of scoped target instance lists. "a_key": { # Name of the scope containing this set of target instances. "targetInstances": [ # List of target instances contained in this scope. - { # A TargetInstance resource. This resource defines an endpoint VM that terminates traffic of certain protocols. + { # A TargetInstance resource. This resource defines an endpoint instance that terminates traffic of certain protocols. "kind": "compute#targetInstance", # Type of the resource. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. - "zone": "A String", # URL of the zone where the target instance resides (output only). - "natPolicy": "A String", # NAT option controlling how IPs are NAT'ed to the VM. Currently only NO_NAT (default value) is supported. + "zone": "A String", # [Output Only] URL of the zone where the target instance resides. + "natPolicy": "A String", # NAT option controlling how IPs are NAT'ed to the instance. Currently only NO_NAT (default value) is supported. "instance": "A String", # The URL to the instance that terminates the relevant traffic. - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], "warning": { # Informational warning which replaces the list of addresses when the list is empty. @@ -139,8 +143,8 @@

Method Details

}, }, "kind": "compute#targetInstanceAggregatedList", # Type of resource. - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for this resource (output only). + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } @@ -170,9 +174,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -210,7 +214,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -227,16 +231,16 @@

Method Details

Returns: An object of the form: - { # A TargetInstance resource. This resource defines an endpoint VM that terminates traffic of certain protocols. + { # A TargetInstance resource. This resource defines an endpoint instance that terminates traffic of certain protocols. "kind": "compute#targetInstance", # Type of the resource. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. - "zone": "A String", # URL of the zone where the target instance resides (output only). - "natPolicy": "A String", # NAT option controlling how IPs are NAT'ed to the VM. Currently only NO_NAT (default value) is supported. + "zone": "A String", # [Output Only] URL of the zone where the target instance resides. + "natPolicy": "A String", # NAT option controlling how IPs are NAT'ed to the instance. Currently only NO_NAT (default value) is supported. "instance": "A String", # The URL to the instance that terminates the relevant traffic. - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -250,25 +254,25 @@

Method Details

body: object, The request body. (required) The object takes the form of: -{ # A TargetInstance resource. This resource defines an endpoint VM that terminates traffic of certain protocols. +{ # A TargetInstance resource. This resource defines an endpoint instance that terminates traffic of certain protocols. "kind": "compute#targetInstance", # Type of the resource. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. - "zone": "A String", # URL of the zone where the target instance resides (output only). - "natPolicy": "A String", # NAT option controlling how IPs are NAT'ed to the VM. Currently only NO_NAT (default value) is supported. + "zone": "A String", # [Output Only] URL of the zone where the target instance resides. + "natPolicy": "A String", # NAT option controlling how IPs are NAT'ed to the instance. Currently only NO_NAT (default value) is supported. "instance": "A String", # The URL to the instance that terminates the relevant traffic. - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -306,7 +310,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -319,30 +323,34 @@

Method Details

project: string, Name of the project scoping this request. (required) zone: string, Name of the zone scoping this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: { # Contains a list of TargetInstance resources. - "nextPageToken": "A String", # A token used to continue a truncated list request (output only). + "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request. "items": [ # A list of TargetInstance resources. - { # A TargetInstance resource. This resource defines an endpoint VM that terminates traffic of certain protocols. + { # A TargetInstance resource. This resource defines an endpoint instance that terminates traffic of certain protocols. "kind": "compute#targetInstance", # Type of the resource. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. - "zone": "A String", # URL of the zone where the target instance resides (output only). - "natPolicy": "A String", # NAT option controlling how IPs are NAT'ed to the VM. Currently only NO_NAT (default value) is supported. + "zone": "A String", # [Output Only] URL of the zone where the target instance resides. + "natPolicy": "A String", # NAT option controlling how IPs are NAT'ed to the instance. Currently only NO_NAT (default value) is supported. "instance": "A String", # The URL to the instance that terminates the relevant traffic. - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], "kind": "compute#targetInstanceList", # Type of resource. - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for this resource (output only). + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } diff --git a/docs/dyn/compute_v1.targetPools.html b/docs/dyn/compute_v1.targetPools.html index 4acaf368b3a..a1c2e61fa3e 100644 --- a/docs/dyn/compute_v1.targetPools.html +++ b/docs/dyn/compute_v1.targetPools.html @@ -137,9 +137,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -177,7 +177,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -205,9 +205,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -245,7 +245,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -257,14 +257,18 @@

Method Details

Args: project: string, Name of the project scoping this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: { - "nextPageToken": "A String", # A token used to continue a truncated list request (output only). + "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request. "items": { # A map of scoped target pool lists. "a_key": { # Name of the scope containing this set of target pools. "warning": { # Informational warning which replaces the list of addresses when the list is empty. @@ -278,38 +282,38 @@

Method Details

], }, "targetPools": [ # List of target pools contained in this scope. - { # A TargetPool resource. This resource defines a pool of VMs, associated HttpHealthCheck resources, and the fallback TargetPool. + { # A TargetPool resource. This resource defines a pool of instances, associated HttpHealthCheck resources, and the fallback TargetPool. "failoverRatio": 3.14, # This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool). The value of the field must be in [0, 1]. # - # If set, 'backupPool' must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy VMs in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool. + # If set, backupPool must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool. # - # In case where 'failoverRatio' is not set or all the VMs in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy VMs with the best effort, or to all VMs when no VM is healthy. + # In case where failoverRatio is not set or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. - "region": "A String", # URL of the region where the target pool resides (output only). + "region": "A String", # [Output Only] URL of the region where the target pool resides. "kind": "compute#targetPool", # Type of the resource. - "sessionAffinity": "A String", # Sesssion affinity option, must be one of the following values: 'NONE': Connections from the same client IP may go to any VM in the pool; 'CLIENT_IP': Connections from the same client IP will go to the same VM in the pool while that VM remains healthy. 'CLIENT_IP_PROTO': Connections from the same client IP with the same IP protocol will go to the same VM in the pool while that VM remains healthy. - "instances": [ # A list of resource URLs to the member VMs serving this pool. They must live in zones contained in the same region as this pool. + "sessionAffinity": "A String", # Sesssion affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool; CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy. + "instances": [ # A list of resource URLs to the member virtual machines serving this pool. They must live in zones contained in the same region as this pool. "A String", ], - "backupPool": "A String", # This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its 'failoverRatio' field is properly set to a value between [0, 1]. + "backupPool": "A String", # This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. # - # 'backupPool' and 'failoverRatio' together define the fallback behavior of the primary target pool: if the ratio of the healthy VMs in the primary pool is at or below 'failoverRatio', traffic arriving at the load-balanced IP will be directed to the backup pool. + # backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. # - # In case where 'failoverRatio' and 'backupPool' are not set, or all the VMs in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy VMs with the best effort, or to all VMs when no VM is healthy. - "healthChecks": [ # A list of URLs to the HttpHealthCheck resource. A member VM in this pool is considered healthy if and only if all specified health checks pass. An empty list means all member VMs will be considered healthy at all times. + # In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy. + "healthChecks": [ # A list of URLs to the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if all specified health checks pass. An empty list means all member instances will be considered healthy at all times. "A String", ], - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], }, }, "kind": "compute#targetPoolAggregatedList", # Type of resource. - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for this resource (output only). + "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } @@ -339,9 +343,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -379,7 +383,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -396,31 +400,31 @@

Method Details

Returns: An object of the form: - { # A TargetPool resource. This resource defines a pool of VMs, associated HttpHealthCheck resources, and the fallback TargetPool. + { # A TargetPool resource. This resource defines a pool of instances, associated HttpHealthCheck resources, and the fallback TargetPool. "failoverRatio": 3.14, # This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool). The value of the field must be in [0, 1]. # - # If set, 'backupPool' must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy VMs in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool. + # If set, backupPool must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool. # - # In case where 'failoverRatio' is not set or all the VMs in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy VMs with the best effort, or to all VMs when no VM is healthy. + # In case where failoverRatio is not set or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. - "region": "A String", # URL of the region where the target pool resides (output only). + "region": "A String", # [Output Only] URL of the region where the target pool resides. "kind": "compute#targetPool", # Type of the resource. - "sessionAffinity": "A String", # Sesssion affinity option, must be one of the following values: 'NONE': Connections from the same client IP may go to any VM in the pool; 'CLIENT_IP': Connections from the same client IP will go to the same VM in the pool while that VM remains healthy. 'CLIENT_IP_PROTO': Connections from the same client IP with the same IP protocol will go to the same VM in the pool while that VM remains healthy. - "instances": [ # A list of resource URLs to the member VMs serving this pool. They must live in zones contained in the same region as this pool. + "sessionAffinity": "A String", # Sesssion affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool; CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy. + "instances": [ # A list of resource URLs to the member virtual machines serving this pool. They must live in zones contained in the same region as this pool. "A String", ], - "backupPool": "A String", # This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its 'failoverRatio' field is properly set to a value between [0, 1]. + "backupPool": "A String", # This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. # - # 'backupPool' and 'failoverRatio' together define the fallback behavior of the primary target pool: if the ratio of the healthy VMs in the primary pool is at or below 'failoverRatio', traffic arriving at the load-balanced IP will be directed to the backup pool. + # backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. # - # In case where 'failoverRatio' and 'backupPool' are not set, or all the VMs in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy VMs with the best effort, or to all VMs when no VM is healthy. - "healthChecks": [ # A list of URLs to the HttpHealthCheck resource. A member VM in this pool is considered healthy if and only if all specified health checks pass. An empty list means all member VMs will be considered healthy at all times. + # In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy. + "healthChecks": [ # A list of URLs to the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if all specified health checks pass. An empty list means all member instances will be considered healthy at all times. "A String", ], - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -466,40 +470,40 @@

Method Details

body: object, The request body. (required) The object takes the form of: -{ # A TargetPool resource. This resource defines a pool of VMs, associated HttpHealthCheck resources, and the fallback TargetPool. +{ # A TargetPool resource. This resource defines a pool of instances, associated HttpHealthCheck resources, and the fallback TargetPool. "failoverRatio": 3.14, # This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool). The value of the field must be in [0, 1]. # - # If set, 'backupPool' must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy VMs in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool. + # If set, backupPool must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool. # - # In case where 'failoverRatio' is not set or all the VMs in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy VMs with the best effort, or to all VMs when no VM is healthy. + # In case where failoverRatio is not set or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. - "region": "A String", # URL of the region where the target pool resides (output only). + "region": "A String", # [Output Only] URL of the region where the target pool resides. "kind": "compute#targetPool", # Type of the resource. - "sessionAffinity": "A String", # Sesssion affinity option, must be one of the following values: 'NONE': Connections from the same client IP may go to any VM in the pool; 'CLIENT_IP': Connections from the same client IP will go to the same VM in the pool while that VM remains healthy. 'CLIENT_IP_PROTO': Connections from the same client IP with the same IP protocol will go to the same VM in the pool while that VM remains healthy. - "instances": [ # A list of resource URLs to the member VMs serving this pool. They must live in zones contained in the same region as this pool. + "sessionAffinity": "A String", # Sesssion affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool; CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy. + "instances": [ # A list of resource URLs to the member virtual machines serving this pool. They must live in zones contained in the same region as this pool. "A String", ], - "backupPool": "A String", # This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its 'failoverRatio' field is properly set to a value between [0, 1]. + "backupPool": "A String", # This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. # - # 'backupPool' and 'failoverRatio' together define the fallback behavior of the primary target pool: if the ratio of the healthy VMs in the primary pool is at or below 'failoverRatio', traffic arriving at the load-balanced IP will be directed to the backup pool. + # backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. # - # In case where 'failoverRatio' and 'backupPool' are not set, or all the VMs in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy VMs with the best effort, or to all VMs when no VM is healthy. - "healthChecks": [ # A list of URLs to the HttpHealthCheck resource. A member VM in this pool is considered healthy if and only if all specified health checks pass. An empty list means all member VMs will be considered healthy at all times. + # In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy. + "healthChecks": [ # A list of URLs to the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if all specified health checks pass. An empty list means all member instances will be considered healthy at all times. "A String", ], - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -537,7 +541,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -550,45 +554,49 @@

Method Details

project: string, Name of the project scoping this request. (required) region: string, Name of the region scoping this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: { # Contains a list of TargetPool resources. - "nextPageToken": "A String", # A token used to continue a truncated list request (output only). + "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request. "items": [ # A list of TargetPool resources. - { # A TargetPool resource. This resource defines a pool of VMs, associated HttpHealthCheck resources, and the fallback TargetPool. + { # A TargetPool resource. This resource defines a pool of instances, associated HttpHealthCheck resources, and the fallback TargetPool. "failoverRatio": 3.14, # This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool). The value of the field must be in [0, 1]. # - # If set, 'backupPool' must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy VMs in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool. + # If set, backupPool must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool. # - # In case where 'failoverRatio' is not set or all the VMs in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy VMs with the best effort, or to all VMs when no VM is healthy. + # In case where failoverRatio is not set or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy. "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. - "region": "A String", # URL of the region where the target pool resides (output only). + "region": "A String", # [Output Only] URL of the region where the target pool resides. "kind": "compute#targetPool", # Type of the resource. - "sessionAffinity": "A String", # Sesssion affinity option, must be one of the following values: 'NONE': Connections from the same client IP may go to any VM in the pool; 'CLIENT_IP': Connections from the same client IP will go to the same VM in the pool while that VM remains healthy. 'CLIENT_IP_PROTO': Connections from the same client IP with the same IP protocol will go to the same VM in the pool while that VM remains healthy. - "instances": [ # A list of resource URLs to the member VMs serving this pool. They must live in zones contained in the same region as this pool. + "sessionAffinity": "A String", # Sesssion affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool; CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy. + "instances": [ # A list of resource URLs to the member virtual machines serving this pool. They must live in zones contained in the same region as this pool. "A String", ], - "backupPool": "A String", # This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its 'failoverRatio' field is properly set to a value between [0, 1]. + "backupPool": "A String", # This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. # - # 'backupPool' and 'failoverRatio' together define the fallback behavior of the primary target pool: if the ratio of the healthy VMs in the primary pool is at or below 'failoverRatio', traffic arriving at the load-balanced IP will be directed to the backup pool. + # backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. # - # In case where 'failoverRatio' and 'backupPool' are not set, or all the VMs in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy VMs with the best effort, or to all VMs when no VM is healthy. - "healthChecks": [ # A list of URLs to the HttpHealthCheck resource. A member VM in this pool is considered healthy if and only if all specified health checks pass. An empty list means all member VMs will be considered healthy at all times. + # In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy. + "healthChecks": [ # A list of URLs to the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if all specified health checks pass. An empty list means all member instances will be considered healthy at all times. "A String", ], - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for the resource (output only). - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], "kind": "compute#targetPoolList", # Type of resource. - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for this resource (output only). + "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } @@ -629,9 +637,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -669,7 +677,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -697,9 +705,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -737,7 +745,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -762,9 +770,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -802,7 +810,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } diff --git a/docs/dyn/compute_v1.targetVpnGateways.html b/docs/dyn/compute_v1.targetVpnGateways.html index ceb326d7a51..0a02c15f59e 100644 --- a/docs/dyn/compute_v1.targetVpnGateways.html +++ b/docs/dyn/compute_v1.targetVpnGateways.html @@ -103,8 +103,12 @@

Method Details

Args: project: string, Project ID for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -129,7 +133,7 @@

Method Details

"creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. "network": "A String", # URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created. - "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long and comply with RFC1035. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], "warning": { # [Output Only] Informational warning which replaces the list of addresses when the list is empty. @@ -176,9 +180,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -216,7 +220,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -248,7 +252,7 @@

Method Details

"creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. "network": "A String", # URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created. - "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long and comply with RFC1035. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -277,16 +281,16 @@

Method Details

"creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. "network": "A String", # URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created. - "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long and comply with RFC1035. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -324,7 +328,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -337,8 +341,12 @@

Method Details

project: string, Project ID for this request. (required) region: string, The name of the region for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -361,7 +369,7 @@

Method Details

"creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. "network": "A String", # URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created. - "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long and comply with RFC1035. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], "kind": "compute#targetVpnGatewayList", # [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. diff --git a/docs/dyn/compute_v1.urlMaps.html b/docs/dyn/compute_v1.urlMaps.html index 36143e4e4c4..3250a44d542 100644 --- a/docs/dyn/compute_v1.urlMaps.html +++ b/docs/dyn/compute_v1.urlMaps.html @@ -110,9 +110,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -150,7 +150,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -168,7 +168,7 @@

Method Details

{ # A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, based on the "longest-match" of the URL's host and path. "kind": "compute#urlMap", # Type of the resource. - "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. "defaultService": "A String", # The URL of the BackendService resource if none of the hostRules match. "tests": [ # The list of expected URL mappings. Request to update this UrlMap will succeed only all of the test cases pass. { # Message for the expected URL mappings. @@ -178,7 +178,7 @@

Method Details

"service": "A String", # Expected BackendService resource the given URL should be mapped to. }, ], - "selfLink": "A String", # Server defined URL for the resource (output only). + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap. "pathMatchers": [ # The list of named PathMatchers to use against the URL. { # A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default_service will be used. @@ -191,22 +191,22 @@

Method Details

"service": "A String", # The URL of the BackendService resource if this rule is matched. }, ], - "description": "A String", + "description": "A String", # An optional textual description of the resource. "name": "A String", # The name to which this PathMatcher is referred by the HostRule. }, ], - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource. Set by the server. "hostRules": [ # The list of HostRules to use against the URL. - { # A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService. + { # UrlMaps A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService. "hosts": [ # The list of host patterns to match. They must be valid hostnames except that they may start with *. or *-. The * acts like a glob and will match any string of atoms (separated by .s and -s) to the left. "A String", ], - "description": "A String", - "pathMatcher": "A String", # The name of the PathMatcher to match the path portion of the URL, if the this HostRule matches the URL's host portion. + "description": "A String", # An optional textual description. + "pathMatcher": "A String", # The name of the PathMatcher to match the path portion of the URL, if the this hostRule matches the URL's host portion. }, ], - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -221,7 +221,7 @@

Method Details

{ # A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, based on the "longest-match" of the URL's host and path. "kind": "compute#urlMap", # Type of the resource. - "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. "defaultService": "A String", # The URL of the BackendService resource if none of the hostRules match. "tests": [ # The list of expected URL mappings. Request to update this UrlMap will succeed only all of the test cases pass. { # Message for the expected URL mappings. @@ -231,7 +231,7 @@

Method Details

"service": "A String", # Expected BackendService resource the given URL should be mapped to. }, ], - "selfLink": "A String", # Server defined URL for the resource (output only). + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap. "pathMatchers": [ # The list of named PathMatchers to use against the URL. { # A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default_service will be used. @@ -244,31 +244,31 @@

Method Details

"service": "A String", # The URL of the BackendService resource if this rule is matched. }, ], - "description": "A String", + "description": "A String", # An optional textual description of the resource. "name": "A String", # The name to which this PathMatcher is referred by the HostRule. }, ], - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource. Set by the server. "hostRules": [ # The list of HostRules to use against the URL. - { # A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService. + { # UrlMaps A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService. "hosts": [ # The list of host patterns to match. They must be valid hostnames except that they may start with *. or *-. The * acts like a glob and will match any string of atoms (separated by .s and -s) to the left. "A String", ], - "description": "A String", - "pathMatcher": "A String", # The name of the PathMatcher to match the path portion of the URL, if the this HostRule matches the URL's host portion. + "description": "A String", # An optional textual description. + "pathMatcher": "A String", # The name of the PathMatcher to match the path portion of the URL, if the this hostRule matches the URL's host portion. }, ], - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -306,7 +306,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -318,18 +318,22 @@

Method Details

Args: project: string, Name of the project scoping this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: { # Contains a list of UrlMap resources. - "nextPageToken": "A String", # A token used to continue a truncated list request (output only). + "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request. "items": [ # A list of UrlMap resources. { # A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, based on the "longest-match" of the URL's host and path. "kind": "compute#urlMap", # Type of the resource. - "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. "defaultService": "A String", # The URL of the BackendService resource if none of the hostRules match. "tests": [ # The list of expected URL mappings. Request to update this UrlMap will succeed only all of the test cases pass. { # Message for the expected URL mappings. @@ -339,7 +343,7 @@

Method Details

"service": "A String", # Expected BackendService resource the given URL should be mapped to. }, ], - "selfLink": "A String", # Server defined URL for the resource (output only). + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap. "pathMatchers": [ # The list of named PathMatchers to use against the URL. { # A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default_service will be used. @@ -352,27 +356,27 @@

Method Details

"service": "A String", # The URL of the BackendService resource if this rule is matched. }, ], - "description": "A String", + "description": "A String", # An optional textual description of the resource. "name": "A String", # The name to which this PathMatcher is referred by the HostRule. }, ], - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource. Set by the server. "hostRules": [ # The list of HostRules to use against the URL. - { # A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService. + { # UrlMaps A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService. "hosts": [ # The list of host patterns to match. They must be valid hostnames except that they may start with *. or *-. The * acts like a glob and will match any string of atoms (separated by .s and -s) to the left. "A String", ], - "description": "A String", - "pathMatcher": "A String", # The name of the PathMatcher to match the path portion of the URL, if the this HostRule matches the URL's host portion. + "description": "A String", # An optional textual description. + "pathMatcher": "A String", # The name of the PathMatcher to match the path portion of the URL, if the this hostRule matches the URL's host portion. }, ], - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], "kind": "compute#urlMapList", # Type of resource. - "id": "A String", # Unique identifier for the resource; defined by the server (output only). - "selfLink": "A String", # Server defined URL for this resource (output only). + "id": "A String", # [Output Only] Unique identifier for the resource. Set by the server. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } @@ -402,7 +406,7 @@

Method Details

{ # A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, based on the "longest-match" of the URL's host and path. "kind": "compute#urlMap", # Type of the resource. - "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. "defaultService": "A String", # The URL of the BackendService resource if none of the hostRules match. "tests": [ # The list of expected URL mappings. Request to update this UrlMap will succeed only all of the test cases pass. { # Message for the expected URL mappings. @@ -412,7 +416,7 @@

Method Details

"service": "A String", # Expected BackendService resource the given URL should be mapped to. }, ], - "selfLink": "A String", # Server defined URL for the resource (output only). + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap. "pathMatchers": [ # The list of named PathMatchers to use against the URL. { # A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default_service will be used. @@ -425,31 +429,31 @@

Method Details

"service": "A String", # The URL of the BackendService resource if this rule is matched. }, ], - "description": "A String", + "description": "A String", # An optional textual description of the resource. "name": "A String", # The name to which this PathMatcher is referred by the HostRule. }, ], - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource. Set by the server. "hostRules": [ # The list of HostRules to use against the URL. - { # A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService. + { # UrlMaps A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService. "hosts": [ # The list of host patterns to match. They must be valid hostnames except that they may start with *. or *-. The * acts like a glob and will match any string of atoms (separated by .s and -s) to the left. "A String", ], - "description": "A String", - "pathMatcher": "A String", # The name of the PathMatcher to match the path portion of the URL, if the this HostRule matches the URL's host portion. + "description": "A String", # An optional textual description. + "pathMatcher": "A String", # The name of the PathMatcher to match the path portion of the URL, if the this hostRule matches the URL's host portion. }, ], - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -487,7 +491,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -504,7 +508,7 @@

Method Details

{ # A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, based on the "longest-match" of the URL's host and path. "kind": "compute#urlMap", # Type of the resource. - "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. "defaultService": "A String", # The URL of the BackendService resource if none of the hostRules match. "tests": [ # The list of expected URL mappings. Request to update this UrlMap will succeed only all of the test cases pass. { # Message for the expected URL mappings. @@ -514,7 +518,7 @@

Method Details

"service": "A String", # Expected BackendService resource the given URL should be mapped to. }, ], - "selfLink": "A String", # Server defined URL for the resource (output only). + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap. "pathMatchers": [ # The list of named PathMatchers to use against the URL. { # A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default_service will be used. @@ -527,31 +531,31 @@

Method Details

"service": "A String", # The URL of the BackendService resource if this rule is matched. }, ], - "description": "A String", + "description": "A String", # An optional textual description of the resource. "name": "A String", # The name to which this PathMatcher is referred by the HostRule. }, ], - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource. Set by the server. "hostRules": [ # The list of HostRules to use against the URL. - { # A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService. + { # UrlMaps A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService. "hosts": [ # The list of host patterns to match. They must be valid hostnames except that they may start with *. or *-. The * acts like a glob and will match any string of atoms (separated by .s and -s) to the left. "A String", ], - "description": "A String", - "pathMatcher": "A String", # The name of the PathMatcher to match the path portion of the URL, if the this HostRule matches the URL's host portion. + "description": "A String", # An optional textual description. + "pathMatcher": "A String", # The name of the PathMatcher to match the path portion of the URL, if the this hostRule matches the URL's host portion. }, ], - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -589,7 +593,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -607,7 +611,7 @@

Method Details

{ "resource": { # A UrlMap resource. This resource defines the mapping from URL to the BackendService resource, based on the "longest-match" of the URL's host and path. # Content of the UrlMap to be validated. "kind": "compute#urlMap", # Type of the resource. - "description": "A String", # An optional textual description of the resource; provided by the client when the resource is created. + "description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. "defaultService": "A String", # The URL of the BackendService resource if none of the hostRules match. "tests": [ # The list of expected URL mappings. Request to update this UrlMap will succeed only all of the test cases pass. { # Message for the expected URL mappings. @@ -617,7 +621,7 @@

Method Details

"service": "A String", # Expected BackendService resource the given URL should be mapped to. }, ], - "selfLink": "A String", # Server defined URL for the resource (output only). + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "fingerprint": "A String", # Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap. "pathMatchers": [ # The list of named PathMatchers to use against the URL. { # A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default_service will be used. @@ -630,22 +634,22 @@

Method Details

"service": "A String", # The URL of the BackendService resource if this rule is matched. }, ], - "description": "A String", + "description": "A String", # An optional textual description of the resource. "name": "A String", # The name to which this PathMatcher is referred by the HostRule. }, ], - "creationTimestamp": "A String", # Creation timestamp in RFC3339 text format (output only). - "id": "A String", # Unique identifier for the resource; defined by the server (output only). + "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. + "id": "A String", # [Output Only] Unique identifier for the resource. Set by the server. "hostRules": [ # The list of HostRules to use against the URL. - { # A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService. + { # UrlMaps A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService. "hosts": [ # The list of host patterns to match. They must be valid hostnames except that they may start with *. or *-. The * acts like a glob and will match any string of atoms (separated by .s and -s) to the left. "A String", ], - "description": "A String", - "pathMatcher": "A String", # The name of the PathMatcher to match the path portion of the URL, if the this HostRule matches the URL's host portion. + "description": "A String", # An optional textual description. + "pathMatcher": "A String", # The name of the PathMatcher to match the path portion of the URL, if the this hostRule matches the URL's host portion. }, ], - "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. + "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, } diff --git a/docs/dyn/compute_v1.vpnTunnels.html b/docs/dyn/compute_v1.vpnTunnels.html index 4a46b8a3a81..517ee1deb01 100644 --- a/docs/dyn/compute_v1.vpnTunnels.html +++ b/docs/dyn/compute_v1.vpnTunnels.html @@ -103,8 +103,12 @@

Method Details

Args: project: string, Project ID for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -121,17 +125,14 @@

Method Details

"description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. "peerIp": "A String", # IP address of the peer VPN gateway. "region": "A String", # [Output Only] URL of the region where the VPN tunnel resides. - "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long and comply with RFC1035. "status": "A String", # [Output Only] The status of the VPN tunnel. "sharedSecretHash": "A String", # Hash of the shared secret. "targetVpnGateway": "A String", # URL of the VPN gateway to which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. "sharedSecret": "A String", # Shared secret used to set the secure session between the GCE VPN gateway and the peer VPN gateway. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. - "ikeNetworks": [ # IKE networks to use when establishing the VPN tunnel with peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. - "A String", - ], + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], "warning": { # Informational warning which replaces the list of addresses when the list is empty. @@ -148,7 +149,7 @@

Method Details

}, "kind": "compute#vpnTunnelAggregatedList", # [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for this resource. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } @@ -178,9 +179,9 @@

Method Details

Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -218,7 +219,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -242,17 +243,14 @@

Method Details

"description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. "peerIp": "A String", # IP address of the peer VPN gateway. "region": "A String", # [Output Only] URL of the region where the VPN tunnel resides. - "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long and comply with RFC1035. "status": "A String", # [Output Only] The status of the VPN tunnel. "sharedSecretHash": "A String", # Hash of the shared secret. "targetVpnGateway": "A String", # URL of the VPN gateway to which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. "sharedSecret": "A String", # Shared secret used to set the secure session between the GCE VPN gateway and the peer VPN gateway. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. - "ikeNetworks": [ # IKE networks to use when establishing the VPN tunnel with peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. - "A String", - ], + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } @@ -273,26 +271,23 @@

Method Details

"description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. "peerIp": "A String", # IP address of the peer VPN gateway. "region": "A String", # [Output Only] URL of the region where the VPN tunnel resides. - "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long and comply with RFC1035. "status": "A String", # [Output Only] The status of the VPN tunnel. "sharedSecretHash": "A String", # Hash of the shared secret. "targetVpnGateway": "A String", # URL of the VPN gateway to which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. "sharedSecret": "A String", # Shared secret used to set the secure session between the GCE VPN gateway and the peer VPN gateway. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. - "ikeNetworks": [ # IKE networks to use when establishing the VPN tunnel with peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. - "A String", - ], + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. } Returns: An object of the form: - { # An operation resource, used to manage asynchronous API requests. + { # An Operation resource, used to manage asynchronous API requests. "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target. - "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project. + "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "zone": "A String", # [Output Only] URL of the zone where the operation resides. @@ -330,7 +325,7 @@

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. } @@ -343,8 +338,12 @@

Method Details

project: string, Project ID for this request. (required) region: string, The name of the region for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -359,17 +358,14 @@

Method Details

"description": "A String", # An optional textual description of the resource. Provided by the client when the resource is created. "peerIp": "A String", # IP address of the peer VPN gateway. "region": "A String", # [Output Only] URL of the region where the VPN tunnel resides. - "name": "A String", # Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long and comply with RFC1035. "status": "A String", # [Output Only] The status of the VPN tunnel. "sharedSecretHash": "A String", # Hash of the shared secret. "targetVpnGateway": "A String", # URL of the VPN gateway to which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. "sharedSecret": "A String", # Shared secret used to set the secure session between the GCE VPN gateway and the peer VPN gateway. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. - "ikeNetworks": [ # IKE networks to use when establishing the VPN tunnel with peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. - "A String", - ], + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. + "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. }, ], "kind": "compute#vpnTunnelList", # [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. diff --git a/docs/dyn/compute_v1.zoneOperations.html b/docs/dyn/compute_v1.zoneOperations.html index f7f906cd570..8b33ef645c4 100644 --- a/docs/dyn/compute_v1.zoneOperations.html +++ b/docs/dyn/compute_v1.zoneOperations.html @@ -76,43 +76,43 @@

Compute Engine API . delete(project, zone, operation)

-

Deletes the specified zone-specific operation resource.

+

Deletes the specified zone-specific Operations resource.

get(project, zone, operation)

-

Retrieves the specified zone-specific operation resource.

+

Retrieves the specified zone-specific Operations resource.

list(project, zone, maxResults=None, pageToken=None, filter=None)

-

Retrieves the list of operation resources contained within the specified zone.

+

Retrieves the list of Operation resources contained within the specified zone.

list_next(previous_request, previous_response)

Retrieves the next page of results.

Method Details

delete(project, zone, operation) -
Deletes the specified zone-specific operation resource.
+  
Deletes the specified zone-specific Operations resource.
 
 Args:
   project: string, Project ID for this request. (required)
   zone: string, Name of the zone scoping this request. (required)
-  operation: string, Name of the operation resource to delete. (required)
+  operation: string, Name of the Operations resource to delete. (required)
 
get(project, zone, operation) -
Retrieves the specified zone-specific operation resource.
+  
Retrieves the specified zone-specific Operations resource.
 
 Args:
   project: string, Project ID for this request. (required)
   zone: string, Name of the zone scoping this request. (required)
-  operation: string, Name of the operation resource to return. (required)
+  operation: string, Name of the Operations resource to return. (required)
 
 Returns:
   An object of the form:
 
-    { # An operation resource, used to manage asynchronous API requests.
+    { # An Operation resource, used to manage asynchronous API requests.
     "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
-    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
     "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
     "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
     "zone": "A String", # [Output Only] URL of the zone where the operation resides.
@@ -150,31 +150,35 @@ 

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. }
list(project, zone, maxResults=None, pageToken=None, filter=None) -
Retrieves the list of operation resources contained within the specified zone.
+  
Retrieves the list of Operation resources contained within the specified zone.
 
 Args:
   project: string, Project ID for this request. (required)
   zone: string, Name of the zone scoping this request. (required)
   maxResults: integer, Maximum count of results to be returned.
-  pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request.
-  filter: string, Filter expression for filtering listed resources.
+  pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.
+  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
+
+The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
+
+For example, filter=name ne example-instance.
 
 Returns:
   An object of the form:
 
-    { # Contains a list of operation resources.
+    { # Contains a list of Operation resources.
     "nextPageToken": "A String", # [Output Only] A token used to continue a truncate.
-    "items": [ # [Output Only] The operation resources.
-      { # An operation resource, used to manage asynchronous API requests.
+    "items": [ # [Output Only] The Operation resources.
+      { # An Operation resource, used to manage asynchronous API requests.
         "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
-        "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project.
+        "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
         "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
         "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
         "zone": "A String", # [Output Only] URL of the zone where the operation resides.
@@ -212,13 +216,13 @@ 

Method Details

], }, "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating. }, ], "kind": "compute#operationList", # [Output Only] Type of resource. Always compute#operations for Operations resource. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for this resource. + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. }
diff --git a/docs/dyn/compute_v1.zones.html b/docs/dyn/compute_v1.zones.html index d47f723d371..9a057505fcd 100644 --- a/docs/dyn/compute_v1.zones.html +++ b/docs/dyn/compute_v1.zones.html @@ -117,7 +117,7 @@

Method Details

"region": "A String", # [Output Only] Full URL reference to the region which hosts the zone. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # [Output Only] Name of the resource. } @@ -129,8 +129,12 @@

Method Details

Args: project: string, Project ID for this request. (required) maxResults: integer, Maximum count of results to be returned. - pageToken: string, Tag returned by a previous list request when that list was truncated to maxResults. Used to continue a previous list request. - filter: string, Filter expression for filtering listed resources. + pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request. + filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING. + +The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field. + +For example, filter=name ne example-instance. Returns: An object of the form: @@ -160,13 +164,13 @@

Method Details

"region": "A String", # [Output Only] Full URL reference to the region which hosts the zone. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # [Output Only] Server defined URL for the resource. + "selfLink": "A String", # [Output Only] Server-defined URL for the resource. "name": "A String", # [Output Only] Name of the resource. }, ], "kind": "compute#zoneList", # Type of resource. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. - "selfLink": "A String", # Server defined URL for this resource (output only). + "selfLink": "A String", # [Output Only] Server-defined URL for this resource. } diff --git a/docs/dyn/container_v1.html b/docs/dyn/container_v1.html new file mode 100644 index 00000000000..6f5f74d3038 --- /dev/null +++ b/docs/dyn/container_v1.html @@ -0,0 +1,103 @@ + + + +

Google Container Engine API

+

Instance Methods

+

+ projects() +

+

Returns the projects Resource.

+ +

+ new_batch_http_request()

+

Create a BatchHttpRequest object based on the discovery document.

+

Method Details

+
+ new_batch_http_request() +
Create a BatchHttpRequest object based on the discovery document.
+
+        Args:
+          callback: callable, A callback to be called for each response, of the
+            form callback(id, response, exception). The first parameter is the
+            request id, and the second is the deserialized response object. The
+            third is an apiclient.errors.HttpError exception object if an HTTP
+            error occurred while processing the request, or None if no error
+            occurred.
+
+        Returns:
+          A BatchHttpRequest object based on the discovery document.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/container_v1.projects.html b/docs/dyn/container_v1.projects.html new file mode 100644 index 00000000000..f8a0b669bd5 --- /dev/null +++ b/docs/dyn/container_v1.projects.html @@ -0,0 +1,82 @@ + + + +

Google Container Engine API . projects

+

Instance Methods

+

+ zones() +

+

Returns the zones Resource.

+ + \ No newline at end of file diff --git a/docs/dyn/container_v1.projects.zones.clusters.html b/docs/dyn/container_v1.projects.zones.clusters.html new file mode 100644 index 00000000000..529e2cdc134 --- /dev/null +++ b/docs/dyn/container_v1.projects.zones.clusters.html @@ -0,0 +1,323 @@ + + + +

Google Container Engine API . projects . zones . clusters

+

Instance Methods

+

+ create(projectId, zone, body, x__xgafv=None)

+

Creates a cluster, consisting of the specified number and type of Google Compute Engine instances, plus a Kubernetes master endpoint. By default, the cluster is created in the project's [default network](/compute/docs/networking#networks_1). One firewall is added for the cluster. After cluster creation, the cluster creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range is being used by the cluster.

+

+ delete(projectId, zone, clusterId, x__xgafv=None)

+

Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted.

+

+ get(projectId, zone, clusterId, x__xgafv=None)

+

Gets a specific cluster.

+

+ list(projectId, zone, x__xgafv=None)

+

Lists all clusters owned by a project in either the specified zone or all zones.

+

+ update(projectId, zone, clusterId, body, x__xgafv=None)

+

Update settings of a specific cluster.

+

Method Details

+
+ create(projectId, zone, body, x__xgafv=None) +
Creates a cluster, consisting of the specified number and type of Google Compute Engine instances, plus a Kubernetes master endpoint. By default, the cluster is created in the project's [default network](/compute/docs/networking#networks_1). One firewall is added for the cluster. After cluster creation, the cluster creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range is being used by the cluster.
+
+Args:
+  projectId: string, The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). (required)
+  zone: string, The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # CreateClusterRequest creates a cluster.
+    "cluster": { # A Google Container Engine cluster. # A [cluster resource](/container-engine/reference/rest/v1/projects.zones.clusters)
+      "status": "A String", # [Output only] The current status of this cluster.
+      "nodeIpv4CidrSize": 42, # [Output only] The size of the address space on each node for hosting containers. This is provisioned from within the container_ipv4_cidr range.
+      "statusMessage": "A String", # [Output only] Additional information about the current status of this cluster, if available.
+      "endpoint": "A String", # [Output only] The IP address of this cluster's Kubernetes master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.
+      "name": "A String", # The name of this cluster. The name must be unique within this project and zone, and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
+      "loggingService": "A String", # The logging service that the cluster should write logs to. Currently available options: * "logging.googleapis.com" - the Google Cloud Logging service * "none" - no logs will be exported from the cluster * "" - default value; the default is "logging.googleapis.com"
+      "currentNodeVersion": "A String", # [Output only] The current version of the node software components. If they are currently at different versions because they're in the process of being upgraded, this reflects the minimum version of any of them.
+      "instanceGroupUrls": [ # [Output only] The resource URLs of [instance groups](/compute/docs/instance-groups/) associated with this cluster.
+        "A String",
+      ],
+      "currentMasterVersion": "A String", # [Output only] The current software version of the master endpoint.
+      "servicesIpv4Cidr": "A String", # [Output only] The IP address range of the Kubernetes services in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last /16 from the container CIDR.
+      "masterAuth": { # The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates. # The authentication information for accessing the master.
+        "username": "A String", # The username to use for HTTP basic authentication when accessing the Kubernetes master endpoint.
+        "password": "A String", # The password to use for HTTP basic authentication when accessing the Kubernetes master endpoint. Because the master endpoint is open to the internet, you should create a strong password.
+        "clientKey": "A String", # [Output only] Base64 encoded private key used by clients to authenticate to the cluster endpoint.
+        "clientCertificate": "A String", # [Output only] Base64 encoded public certificate used by clients to authenticate to the cluster endpoint.
+        "clusterCaCertificate": "A String", # [Output only] Base64 encoded public certificate that is the root of trust for the cluster.
+      },
+      "network": "A String", # The name of the Google Compute Engine [network](/compute/docs/networking#networks_1) to which the cluster is connected. If left unspecified, the "default" network will be used.
+      "initialClusterVersion": "A String", # [Output only] The software version of Kubernetes master and kubelets used in the cluster when it was first created. The version can be upgraded over time.
+      "nodeConfig": { # Per-node parameters. # Parameters used in creating the cluster's nodes. See the descriptions of the child properties of `nodeConfig`. If unspecified, the defaults for all child properties are used.
+        "diskSizeGb": 42, # Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
+        "machineType": "A String", # The name of a Google Compute Engine [machine type](/compute/docs/machine-types) (e.g. `n1-standard-1`). If unspecified, the default machine type is `n1-standard-1`.
+        "oauthScopes": [ # The set of Google API scopes to be made available on all of the node VMs under the "default" service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with *gcr.io*. If unspecified, no scopes are added.
+          "A String",
+        ],
+      },
+      "initialNodeCount": 42, # The number of nodes to create in this cluster. You must ensure that your Compute Engine [resource quota](/compute/docs/resource-quotas) is sufficient for this number of instances. You must also have available firewall and routes quota.
+      "clusterIpv4Cidr": "A String", # The IP address range of the container pods in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
+      "monitoringService": "A String", # The monitoring service that the cluster should write metrics to. Currently available options: * "monitoring.googleapis.com" - the Google Cloud Monitoring service * "none" - no metrics will be exported from the cluster * "" - default value; the default is "monitoring.googleapis.com"
+      "zone": "A String", # [Output only] The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.
+      "createTime": "A String", # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+      "selfLink": "A String", # [Output only] Server-defined URL for the resource.
+      "description": "A String", # An optional description of this cluster.
+    },
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Defines the operation resource. All fields are output only.
+    "status": "A String", # The current status of the operation.
+    "name": "A String", # The server-assigned ID for the operation.
+    "zone": "A String", # The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation is taking place.
+    "statusMessage": "A String", # If an error has occurred, a textual description of the error.
+    "operationType": "A String", # The operation type.
+    "selfLink": "A String", # Server-defined URL for the resource.
+    "targetLink": "A String", # Server-defined URL for the target of the operation.
+  }
+
+ +
+ delete(projectId, zone, clusterId, x__xgafv=None) +
Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted.
+
+Args:
+  projectId: string, The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). (required)
+  zone: string, The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. (required)
+  clusterId: string, The name of the cluster to delete. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Defines the operation resource. All fields are output only.
+    "status": "A String", # The current status of the operation.
+    "name": "A String", # The server-assigned ID for the operation.
+    "zone": "A String", # The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation is taking place.
+    "statusMessage": "A String", # If an error has occurred, a textual description of the error.
+    "operationType": "A String", # The operation type.
+    "selfLink": "A String", # Server-defined URL for the resource.
+    "targetLink": "A String", # Server-defined URL for the target of the operation.
+  }
+
+ +
+ get(projectId, zone, clusterId, x__xgafv=None) +
Gets a specific cluster.
+
+Args:
+  projectId: string, The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). (required)
+  zone: string, The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. (required)
+  clusterId: string, The name of the cluster to retrieve. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A Google Container Engine cluster.
+    "status": "A String", # [Output only] The current status of this cluster.
+    "nodeIpv4CidrSize": 42, # [Output only] The size of the address space on each node for hosting containers. This is provisioned from within the container_ipv4_cidr range.
+    "statusMessage": "A String", # [Output only] Additional information about the current status of this cluster, if available.
+    "endpoint": "A String", # [Output only] The IP address of this cluster's Kubernetes master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.
+    "name": "A String", # The name of this cluster. The name must be unique within this project and zone, and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
+    "loggingService": "A String", # The logging service that the cluster should write logs to. Currently available options: * "logging.googleapis.com" - the Google Cloud Logging service * "none" - no logs will be exported from the cluster * "" - default value; the default is "logging.googleapis.com"
+    "currentNodeVersion": "A String", # [Output only] The current version of the node software components. If they are currently at different versions because they're in the process of being upgraded, this reflects the minimum version of any of them.
+    "instanceGroupUrls": [ # [Output only] The resource URLs of [instance groups](/compute/docs/instance-groups/) associated with this cluster.
+      "A String",
+    ],
+    "currentMasterVersion": "A String", # [Output only] The current software version of the master endpoint.
+    "servicesIpv4Cidr": "A String", # [Output only] The IP address range of the Kubernetes services in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last /16 from the container CIDR.
+    "masterAuth": { # The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates. # The authentication information for accessing the master.
+      "username": "A String", # The username to use for HTTP basic authentication when accessing the Kubernetes master endpoint.
+      "password": "A String", # The password to use for HTTP basic authentication when accessing the Kubernetes master endpoint. Because the master endpoint is open to the internet, you should create a strong password.
+      "clientKey": "A String", # [Output only] Base64 encoded private key used by clients to authenticate to the cluster endpoint.
+      "clientCertificate": "A String", # [Output only] Base64 encoded public certificate used by clients to authenticate to the cluster endpoint.
+      "clusterCaCertificate": "A String", # [Output only] Base64 encoded public certificate that is the root of trust for the cluster.
+    },
+    "network": "A String", # The name of the Google Compute Engine [network](/compute/docs/networking#networks_1) to which the cluster is connected. If left unspecified, the "default" network will be used.
+    "initialClusterVersion": "A String", # [Output only] The software version of Kubernetes master and kubelets used in the cluster when it was first created. The version can be upgraded over time.
+    "nodeConfig": { # Per-node parameters. # Parameters used in creating the cluster's nodes. See the descriptions of the child properties of `nodeConfig`. If unspecified, the defaults for all child properties are used.
+      "diskSizeGb": 42, # Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
+      "machineType": "A String", # The name of a Google Compute Engine [machine type](/compute/docs/machine-types) (e.g. `n1-standard-1`). If unspecified, the default machine type is `n1-standard-1`.
+      "oauthScopes": [ # The set of Google API scopes to be made available on all of the node VMs under the "default" service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with *gcr.io*. If unspecified, no scopes are added.
+        "A String",
+      ],
+    },
+    "initialNodeCount": 42, # The number of nodes to create in this cluster. You must ensure that your Compute Engine [resource quota](/compute/docs/resource-quotas) is sufficient for this number of instances. You must also have available firewall and routes quota.
+    "clusterIpv4Cidr": "A String", # The IP address range of the container pods in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
+    "monitoringService": "A String", # The monitoring service that the cluster should write metrics to. Currently available options: * "monitoring.googleapis.com" - the Google Cloud Monitoring service * "none" - no metrics will be exported from the cluster * "" - default value; the default is "monitoring.googleapis.com"
+    "zone": "A String", # [Output only] The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.
+    "createTime": "A String", # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+    "selfLink": "A String", # [Output only] Server-defined URL for the resource.
+    "description": "A String", # An optional description of this cluster.
+  }
+
+ +
+ list(projectId, zone, x__xgafv=None) +
Lists all clusters owned by a project in either the specified zone or all zones.
+
+Args:
+  projectId: string, The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). (required)
+  zone: string, The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides, or "-" for all zones. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # ListClustersResponse is the result of ListClustersRequest.
+    "clusters": [ # A list of clusters in the project in the specified zone, or across all ones.
+      { # A Google Container Engine cluster.
+        "status": "A String", # [Output only] The current status of this cluster.
+        "nodeIpv4CidrSize": 42, # [Output only] The size of the address space on each node for hosting containers. This is provisioned from within the container_ipv4_cidr range.
+        "statusMessage": "A String", # [Output only] Additional information about the current status of this cluster, if available.
+        "endpoint": "A String", # [Output only] The IP address of this cluster's Kubernetes master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.
+        "name": "A String", # The name of this cluster. The name must be unique within this project and zone, and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
+        "loggingService": "A String", # The logging service that the cluster should write logs to. Currently available options: * "logging.googleapis.com" - the Google Cloud Logging service * "none" - no logs will be exported from the cluster * "" - default value; the default is "logging.googleapis.com"
+        "currentNodeVersion": "A String", # [Output only] The current version of the node software components. If they are currently at different versions because they're in the process of being upgraded, this reflects the minimum version of any of them.
+        "instanceGroupUrls": [ # [Output only] The resource URLs of [instance groups](/compute/docs/instance-groups/) associated with this cluster.
+          "A String",
+        ],
+        "currentMasterVersion": "A String", # [Output only] The current software version of the master endpoint.
+        "servicesIpv4Cidr": "A String", # [Output only] The IP address range of the Kubernetes services in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last /16 from the container CIDR.
+        "masterAuth": { # The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates. # The authentication information for accessing the master.
+          "username": "A String", # The username to use for HTTP basic authentication when accessing the Kubernetes master endpoint.
+          "password": "A String", # The password to use for HTTP basic authentication when accessing the Kubernetes master endpoint. Because the master endpoint is open to the internet, you should create a strong password.
+          "clientKey": "A String", # [Output only] Base64 encoded private key used by clients to authenticate to the cluster endpoint.
+          "clientCertificate": "A String", # [Output only] Base64 encoded public certificate used by clients to authenticate to the cluster endpoint.
+          "clusterCaCertificate": "A String", # [Output only] Base64 encoded public certificate that is the root of trust for the cluster.
+        },
+        "network": "A String", # The name of the Google Compute Engine [network](/compute/docs/networking#networks_1) to which the cluster is connected. If left unspecified, the "default" network will be used.
+        "initialClusterVersion": "A String", # [Output only] The software version of Kubernetes master and kubelets used in the cluster when it was first created. The version can be upgraded over time.
+        "nodeConfig": { # Per-node parameters. # Parameters used in creating the cluster's nodes. See the descriptions of the child properties of `nodeConfig`. If unspecified, the defaults for all child properties are used.
+          "diskSizeGb": 42, # Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
+          "machineType": "A String", # The name of a Google Compute Engine [machine type](/compute/docs/machine-types) (e.g. `n1-standard-1`). If unspecified, the default machine type is `n1-standard-1`.
+          "oauthScopes": [ # The set of Google API scopes to be made available on all of the node VMs under the "default" service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with *gcr.io*. If unspecified, no scopes are added.
+            "A String",
+          ],
+        },
+        "initialNodeCount": 42, # The number of nodes to create in this cluster. You must ensure that your Compute Engine [resource quota](/compute/docs/resource-quotas) is sufficient for this number of instances. You must also have available firewall and routes quota.
+        "clusterIpv4Cidr": "A String", # The IP address range of the container pods in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
+        "monitoringService": "A String", # The monitoring service that the cluster should write metrics to. Currently available options: * "monitoring.googleapis.com" - the Google Cloud Monitoring service * "none" - no metrics will be exported from the cluster * "" - default value; the default is "monitoring.googleapis.com"
+        "zone": "A String", # [Output only] The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.
+        "createTime": "A String", # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
+        "selfLink": "A String", # [Output only] Server-defined URL for the resource.
+        "description": "A String", # An optional description of this cluster.
+      },
+    ],
+  }
+
+ +
+ update(projectId, zone, clusterId, body, x__xgafv=None) +
Update settings of a specific cluster.
+
+Args:
+  projectId: string, The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). (required)
+  zone: string, The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. (required)
+  clusterId: string, The name of the cluster to upgrade. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # UpdateClusterRequest updates a cluster.
+    "update": { # ClusterUpdate describes an update to the cluster. # A description of the update.
+      "desiredNodeVersion": "A String", # The Kubernetes version to change the nodes to (typically an upgrade). Use "-" to upgrade to the latest version supported by the server.
+    },
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Defines the operation resource. All fields are output only.
+    "status": "A String", # The current status of the operation.
+    "name": "A String", # The server-assigned ID for the operation.
+    "zone": "A String", # The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation is taking place.
+    "statusMessage": "A String", # If an error has occurred, a textual description of the error.
+    "operationType": "A String", # The operation type.
+    "selfLink": "A String", # Server-defined URL for the resource.
+    "targetLink": "A String", # Server-defined URL for the target of the operation.
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/container_v1.projects.zones.html b/docs/dyn/container_v1.projects.zones.html new file mode 100644 index 00000000000..9a47dfe5335 --- /dev/null +++ b/docs/dyn/container_v1.projects.zones.html @@ -0,0 +1,111 @@ + + + +

Google Container Engine API . projects . zones

+

Instance Methods

+

+ clusters() +

+

Returns the clusters Resource.

+ +

+ operations() +

+

Returns the operations Resource.

+ +

+ getServerconfig(projectId, zone, x__xgafv=None)

+

Returns configuration info about the Container Engine service.

+

Method Details

+
+ getServerconfig(projectId, zone, x__xgafv=None) +
Returns configuration info about the Container Engine service.
+
+Args:
+  projectId: string, The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). (required)
+  zone: string, The name of the Google Compute Engine [zone](/compute/docs/zones#available) to return operations for, or "-" for all zones. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Container Engine Server configuration.
+    "defaultClusterVersion": "A String", # What version this server deploys by default.
+    "validNodeVersions": [ # List of valid node upgrade target versions.
+      "A String",
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/container_v1.projects.zones.operations.html b/docs/dyn/container_v1.projects.zones.operations.html new file mode 100644 index 00000000000..9846d95f5a4 --- /dev/null +++ b/docs/dyn/container_v1.projects.zones.operations.html @@ -0,0 +1,135 @@ + + + +

Google Container Engine API . projects . zones . operations

+

Instance Methods

+

+ get(projectId, zone, operationId, x__xgafv=None)

+

Gets the specified operation.

+

+ list(projectId, zone, x__xgafv=None)

+

Lists all operations in a project in a specific zone or all zones.

+

Method Details

+
+ get(projectId, zone, operationId, x__xgafv=None) +
Gets the specified operation.
+
+Args:
+  projectId: string, The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). (required)
+  zone: string, The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides. (required)
+  operationId: string, The server-assigned `name` of the operation. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Defines the operation resource. All fields are output only.
+    "status": "A String", # The current status of the operation.
+    "name": "A String", # The server-assigned ID for the operation.
+    "zone": "A String", # The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation is taking place.
+    "statusMessage": "A String", # If an error has occurred, a textual description of the error.
+    "operationType": "A String", # The operation type.
+    "selfLink": "A String", # Server-defined URL for the resource.
+    "targetLink": "A String", # Server-defined URL for the target of the operation.
+  }
+
+ +
+ list(projectId, zone, x__xgafv=None) +
Lists all operations in a project in a specific zone or all zones.
+
+Args:
+  projectId: string, The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). (required)
+  zone: string, The name of the Google Compute Engine [zone](/compute/docs/zones#available) to return operations for, or "-" for all zones. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # ListOperationsResponse is the result of ListOperationsRequest.
+    "operations": [ # A list of operations in the project in the specified zone.
+      { # Defines the operation resource. All fields are output only.
+        "status": "A String", # The current status of the operation.
+        "name": "A String", # The server-assigned ID for the operation.
+        "zone": "A String", # The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation is taking place.
+        "statusMessage": "A String", # If an error has occurred, a textual description of the error.
+        "operationType": "A String", # The operation type.
+        "selfLink": "A String", # Server-defined URL for the resource.
+        "targetLink": "A String", # Server-defined URL for the target of the operation.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/content_v2.accounts.html b/docs/dyn/content_v2.accounts.html index 061adcdfba3..ea13e2fb50d 100644 --- a/docs/dyn/content_v2.accounts.html +++ b/docs/dyn/content_v2.accounts.html @@ -78,16 +78,16 @@

Instance Methods

authinfo()

Returns information about the authenticated user.

- custombatch(body)

+ custombatch(body, dryRun=None)

Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request.

- delete(merchantId, accountId)

+ delete(merchantId, accountId, dryRun=None)

Deletes a Merchant Center sub-account.

get(merchantId, accountId)

Retrieves a Merchant Center account.

- insert(merchantId, body)

+ insert(merchantId, body, dryRun=None)

Creates a Merchant Center sub-account.

list(merchantId, pageToken=None, maxResults=None)

@@ -96,10 +96,10 @@

Instance Methods

list_next(previous_request, previous_response)

Retrieves the next page of results.

- patch(merchantId, accountId, body)

+ patch(merchantId, accountId, body, dryRun=None)

Updates a Merchant Center account. This method supports patch semantics.

- update(merchantId, accountId, body)

+ update(merchantId, accountId, body, dryRun=None)

Updates a Merchant Center account.

Method Details

@@ -126,7 +126,7 @@

Method Details

- custombatch(body) + custombatch(body, dryRun=None)
Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request.
 
 Args:
@@ -165,6 +165,7 @@ 

Method Details

], } + dryRun: boolean, Flag to run the request in dry-run mode. Returns: An object of the form: @@ -213,12 +214,13 @@

Method Details

- delete(merchantId, accountId) + delete(merchantId, accountId, dryRun=None)
Deletes a Merchant Center sub-account.
 
 Args:
   merchantId: string, The ID of the managing account. (required)
   accountId: string, The ID of the account. (required)
+  dryRun: boolean, Flag to run the request in dry-run mode.
 
@@ -257,7 +259,7 @@

Method Details

- insert(merchantId, body) + insert(merchantId, body, dryRun=None)
Creates a Merchant Center sub-account.
 
 Args:
@@ -287,6 +289,7 @@ 

Method Details

], } + dryRun: boolean, Flag to run the request in dry-run mode. Returns: An object of the form: @@ -370,7 +373,7 @@

Method Details

- patch(merchantId, accountId, body) + patch(merchantId, accountId, body, dryRun=None)
Updates a Merchant Center account. This method supports patch semantics.
 
 Args:
@@ -401,6 +404,7 @@ 

Method Details

], } + dryRun: boolean, Flag to run the request in dry-run mode. Returns: An object of the form: @@ -429,7 +433,7 @@

Method Details

- update(merchantId, accountId, body) + update(merchantId, accountId, body, dryRun=None)
Updates a Merchant Center account.
 
 Args:
@@ -460,6 +464,7 @@ 

Method Details

], } + dryRun: boolean, Flag to run the request in dry-run mode. Returns: An object of the form: diff --git a/docs/dyn/content_v2.accountshipping.html b/docs/dyn/content_v2.accountshipping.html index 57861698027..1cd36eebe74 100644 --- a/docs/dyn/content_v2.accountshipping.html +++ b/docs/dyn/content_v2.accountshipping.html @@ -112,7 +112,7 @@

Method Details

{ # A carrier-calculated shipping rate. "shippingOrigin": "A String", # Shipping origin represented as a postal code. "name": "A String", # The name of the carrier rate. - "saleCountry": "A String", # Sale country for which this carrier rate is valid, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The sale country for which this carrier rate is valid, represented as a CLDR territory code. "modifierPercent": "A String", # Multiplicative shipping rate modifier in percent. Represented as a floating point number without the percentage character. "carrier": "A String", # The carrier that is responsible for the shipping, such as "UPS", "FedEx", or "USPS". "carrierService": "A String", # The carrier service, such as "Ground" or "2Day". @@ -132,7 +132,7 @@

Method Details

"end": "A String", # The last (inclusive) postal code or prefix of the range. }, ], - "country": "A String", # The country in which this location group is, represented as ISO 3166-1 Alpha-2 code. + "country": "A String", # The CLDR territory code of the country in which this location group is. "locationIds": [ # A location ID (also called criteria ID) representing administrative areas, smaller country subdivisions (counties), or cities. "A String", ], @@ -186,7 +186,7 @@

Method Details

# Object with schema name: AccountShippingShippingServiceCostRule ], }, - "saleCountry": "A String", # Sale country for which this service can be used, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The CLDR territory code of the sale country for which this service can be used. "calculationMethod": { # Shipping cost calculation method. Exactly one of the field is set. # Calculation method for the "simple" case that needs no rules. "percentageRate": "A String", # Percentage of the price, represented as a floating point number without the percentage character. "carrierRate": "A String", # Name of the carrier rate to use for the calculation. @@ -231,7 +231,7 @@

Method Details

}, }, ], - "saleCountry": "A String", # Sale country for which this table is valid, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The sale country for which this table is valid, represented as a CLDR territory code. "name": "A String", # The name of the rate table. }, ], @@ -270,7 +270,7 @@

Method Details

{ # A carrier-calculated shipping rate. "shippingOrigin": "A String", # Shipping origin represented as a postal code. "name": "A String", # The name of the carrier rate. - "saleCountry": "A String", # Sale country for which this carrier rate is valid, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The sale country for which this carrier rate is valid, represented as a CLDR territory code. "modifierPercent": "A String", # Multiplicative shipping rate modifier in percent. Represented as a floating point number without the percentage character. "carrier": "A String", # The carrier that is responsible for the shipping, such as "UPS", "FedEx", or "USPS". "carrierService": "A String", # The carrier service, such as "Ground" or "2Day". @@ -290,7 +290,7 @@

Method Details

"end": "A String", # The last (inclusive) postal code or prefix of the range. }, ], - "country": "A String", # The country in which this location group is, represented as ISO 3166-1 Alpha-2 code. + "country": "A String", # The CLDR territory code of the country in which this location group is. "locationIds": [ # A location ID (also called criteria ID) representing administrative areas, smaller country subdivisions (counties), or cities. "A String", ], @@ -344,7 +344,7 @@

Method Details

# Object with schema name: AccountShippingShippingServiceCostRule ], }, - "saleCountry": "A String", # Sale country for which this service can be used, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The CLDR territory code of the sale country for which this service can be used. "calculationMethod": { # Shipping cost calculation method. Exactly one of the field is set. # Calculation method for the "simple" case that needs no rules. "percentageRate": "A String", # Percentage of the price, represented as a floating point number without the percentage character. "carrierRate": "A String", # Name of the carrier rate to use for the calculation. @@ -389,7 +389,7 @@

Method Details

}, }, ], - "saleCountry": "A String", # Sale country for which this table is valid, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The sale country for which this table is valid, represented as a CLDR territory code. "name": "A String", # The name of the rate table. }, ], @@ -416,7 +416,7 @@

Method Details

{ # A carrier-calculated shipping rate. "shippingOrigin": "A String", # Shipping origin represented as a postal code. "name": "A String", # The name of the carrier rate. - "saleCountry": "A String", # Sale country for which this carrier rate is valid, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The sale country for which this carrier rate is valid, represented as a CLDR territory code. "modifierPercent": "A String", # Multiplicative shipping rate modifier in percent. Represented as a floating point number without the percentage character. "carrier": "A String", # The carrier that is responsible for the shipping, such as "UPS", "FedEx", or "USPS". "carrierService": "A String", # The carrier service, such as "Ground" or "2Day". @@ -436,7 +436,7 @@

Method Details

"end": "A String", # The last (inclusive) postal code or prefix of the range. }, ], - "country": "A String", # The country in which this location group is, represented as ISO 3166-1 Alpha-2 code. + "country": "A String", # The CLDR territory code of the country in which this location group is. "locationIds": [ # A location ID (also called criteria ID) representing administrative areas, smaller country subdivisions (counties), or cities. "A String", ], @@ -490,7 +490,7 @@

Method Details

# Object with schema name: AccountShippingShippingServiceCostRule ], }, - "saleCountry": "A String", # Sale country for which this service can be used, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The CLDR territory code of the sale country for which this service can be used. "calculationMethod": { # Shipping cost calculation method. Exactly one of the field is set. # Calculation method for the "simple" case that needs no rules. "percentageRate": "A String", # Percentage of the price, represented as a floating point number without the percentage character. "carrierRate": "A String", # Name of the carrier rate to use for the calculation. @@ -535,7 +535,7 @@

Method Details

}, }, ], - "saleCountry": "A String", # Sale country for which this table is valid, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The sale country for which this table is valid, represented as a CLDR territory code. "name": "A String", # The name of the rate table. }, ], @@ -564,7 +564,7 @@

Method Details

{ # A carrier-calculated shipping rate. "shippingOrigin": "A String", # Shipping origin represented as a postal code. "name": "A String", # The name of the carrier rate. - "saleCountry": "A String", # Sale country for which this carrier rate is valid, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The sale country for which this carrier rate is valid, represented as a CLDR territory code. "modifierPercent": "A String", # Multiplicative shipping rate modifier in percent. Represented as a floating point number without the percentage character. "carrier": "A String", # The carrier that is responsible for the shipping, such as "UPS", "FedEx", or "USPS". "carrierService": "A String", # The carrier service, such as "Ground" or "2Day". @@ -584,7 +584,7 @@

Method Details

"end": "A String", # The last (inclusive) postal code or prefix of the range. }, ], - "country": "A String", # The country in which this location group is, represented as ISO 3166-1 Alpha-2 code. + "country": "A String", # The CLDR territory code of the country in which this location group is. "locationIds": [ # A location ID (also called criteria ID) representing administrative areas, smaller country subdivisions (counties), or cities. "A String", ], @@ -638,7 +638,7 @@

Method Details

# Object with schema name: AccountShippingShippingServiceCostRule ], }, - "saleCountry": "A String", # Sale country for which this service can be used, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The CLDR territory code of the sale country for which this service can be used. "calculationMethod": { # Shipping cost calculation method. Exactly one of the field is set. # Calculation method for the "simple" case that needs no rules. "percentageRate": "A String", # Percentage of the price, represented as a floating point number without the percentage character. "carrierRate": "A String", # Name of the carrier rate to use for the calculation. @@ -683,7 +683,7 @@

Method Details

}, }, ], - "saleCountry": "A String", # Sale country for which this table is valid, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The sale country for which this table is valid, represented as a CLDR territory code. "name": "A String", # The name of the rate table. }, ], @@ -722,7 +722,7 @@

Method Details

{ # A carrier-calculated shipping rate. "shippingOrigin": "A String", # Shipping origin represented as a postal code. "name": "A String", # The name of the carrier rate. - "saleCountry": "A String", # Sale country for which this carrier rate is valid, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The sale country for which this carrier rate is valid, represented as a CLDR territory code. "modifierPercent": "A String", # Multiplicative shipping rate modifier in percent. Represented as a floating point number without the percentage character. "carrier": "A String", # The carrier that is responsible for the shipping, such as "UPS", "FedEx", or "USPS". "carrierService": "A String", # The carrier service, such as "Ground" or "2Day". @@ -742,7 +742,7 @@

Method Details

"end": "A String", # The last (inclusive) postal code or prefix of the range. }, ], - "country": "A String", # The country in which this location group is, represented as ISO 3166-1 Alpha-2 code. + "country": "A String", # The CLDR territory code of the country in which this location group is. "locationIds": [ # A location ID (also called criteria ID) representing administrative areas, smaller country subdivisions (counties), or cities. "A String", ], @@ -796,7 +796,7 @@

Method Details

# Object with schema name: AccountShippingShippingServiceCostRule ], }, - "saleCountry": "A String", # Sale country for which this service can be used, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The CLDR territory code of the sale country for which this service can be used. "calculationMethod": { # Shipping cost calculation method. Exactly one of the field is set. # Calculation method for the "simple" case that needs no rules. "percentageRate": "A String", # Percentage of the price, represented as a floating point number without the percentage character. "carrierRate": "A String", # Name of the carrier rate to use for the calculation. @@ -841,7 +841,7 @@

Method Details

}, }, ], - "saleCountry": "A String", # Sale country for which this table is valid, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The sale country for which this table is valid, represented as a CLDR territory code. "name": "A String", # The name of the rate table. }, ], @@ -858,7 +858,7 @@

Method Details

{ # A carrier-calculated shipping rate. "shippingOrigin": "A String", # Shipping origin represented as a postal code. "name": "A String", # The name of the carrier rate. - "saleCountry": "A String", # Sale country for which this carrier rate is valid, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The sale country for which this carrier rate is valid, represented as a CLDR territory code. "modifierPercent": "A String", # Multiplicative shipping rate modifier in percent. Represented as a floating point number without the percentage character. "carrier": "A String", # The carrier that is responsible for the shipping, such as "UPS", "FedEx", or "USPS". "carrierService": "A String", # The carrier service, such as "Ground" or "2Day". @@ -878,7 +878,7 @@

Method Details

"end": "A String", # The last (inclusive) postal code or prefix of the range. }, ], - "country": "A String", # The country in which this location group is, represented as ISO 3166-1 Alpha-2 code. + "country": "A String", # The CLDR territory code of the country in which this location group is. "locationIds": [ # A location ID (also called criteria ID) representing administrative areas, smaller country subdivisions (counties), or cities. "A String", ], @@ -932,7 +932,7 @@

Method Details

# Object with schema name: AccountShippingShippingServiceCostRule ], }, - "saleCountry": "A String", # Sale country for which this service can be used, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The CLDR territory code of the sale country for which this service can be used. "calculationMethod": { # Shipping cost calculation method. Exactly one of the field is set. # Calculation method for the "simple" case that needs no rules. "percentageRate": "A String", # Percentage of the price, represented as a floating point number without the percentage character. "carrierRate": "A String", # Name of the carrier rate to use for the calculation. @@ -977,7 +977,7 @@

Method Details

}, }, ], - "saleCountry": "A String", # Sale country for which this table is valid, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The sale country for which this table is valid, represented as a CLDR territory code. "name": "A String", # The name of the rate table. }, ], @@ -1000,7 +1000,7 @@

Method Details

{ # A carrier-calculated shipping rate. "shippingOrigin": "A String", # Shipping origin represented as a postal code. "name": "A String", # The name of the carrier rate. - "saleCountry": "A String", # Sale country for which this carrier rate is valid, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The sale country for which this carrier rate is valid, represented as a CLDR territory code. "modifierPercent": "A String", # Multiplicative shipping rate modifier in percent. Represented as a floating point number without the percentage character. "carrier": "A String", # The carrier that is responsible for the shipping, such as "UPS", "FedEx", or "USPS". "carrierService": "A String", # The carrier service, such as "Ground" or "2Day". @@ -1020,7 +1020,7 @@

Method Details

"end": "A String", # The last (inclusive) postal code or prefix of the range. }, ], - "country": "A String", # The country in which this location group is, represented as ISO 3166-1 Alpha-2 code. + "country": "A String", # The CLDR territory code of the country in which this location group is. "locationIds": [ # A location ID (also called criteria ID) representing administrative areas, smaller country subdivisions (counties), or cities. "A String", ], @@ -1074,7 +1074,7 @@

Method Details

# Object with schema name: AccountShippingShippingServiceCostRule ], }, - "saleCountry": "A String", # Sale country for which this service can be used, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The CLDR territory code of the sale country for which this service can be used. "calculationMethod": { # Shipping cost calculation method. Exactly one of the field is set. # Calculation method for the "simple" case that needs no rules. "percentageRate": "A String", # Percentage of the price, represented as a floating point number without the percentage character. "carrierRate": "A String", # Name of the carrier rate to use for the calculation. @@ -1119,7 +1119,7 @@

Method Details

}, }, ], - "saleCountry": "A String", # Sale country for which this table is valid, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The sale country for which this table is valid, represented as a CLDR territory code. "name": "A String", # The name of the rate table. }, ], @@ -1136,7 +1136,7 @@

Method Details

{ # A carrier-calculated shipping rate. "shippingOrigin": "A String", # Shipping origin represented as a postal code. "name": "A String", # The name of the carrier rate. - "saleCountry": "A String", # Sale country for which this carrier rate is valid, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The sale country for which this carrier rate is valid, represented as a CLDR territory code. "modifierPercent": "A String", # Multiplicative shipping rate modifier in percent. Represented as a floating point number without the percentage character. "carrier": "A String", # The carrier that is responsible for the shipping, such as "UPS", "FedEx", or "USPS". "carrierService": "A String", # The carrier service, such as "Ground" or "2Day". @@ -1156,7 +1156,7 @@

Method Details

"end": "A String", # The last (inclusive) postal code or prefix of the range. }, ], - "country": "A String", # The country in which this location group is, represented as ISO 3166-1 Alpha-2 code. + "country": "A String", # The CLDR territory code of the country in which this location group is. "locationIds": [ # A location ID (also called criteria ID) representing administrative areas, smaller country subdivisions (counties), or cities. "A String", ], @@ -1210,7 +1210,7 @@

Method Details

# Object with schema name: AccountShippingShippingServiceCostRule ], }, - "saleCountry": "A String", # Sale country for which this service can be used, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The CLDR territory code of the sale country for which this service can be used. "calculationMethod": { # Shipping cost calculation method. Exactly one of the field is set. # Calculation method for the "simple" case that needs no rules. "percentageRate": "A String", # Percentage of the price, represented as a floating point number without the percentage character. "carrierRate": "A String", # Name of the carrier rate to use for the calculation. @@ -1255,7 +1255,7 @@

Method Details

}, }, ], - "saleCountry": "A String", # Sale country for which this table is valid, represented as an ISO 3166-1 Alpha-2 code. + "saleCountry": "A String", # The sale country for which this table is valid, represented as a CLDR territory code. "name": "A String", # The name of the rate table. }, ], diff --git a/docs/dyn/content_v2.datafeeds.html b/docs/dyn/content_v2.datafeeds.html index cb8fefe3018..fe080373d56 100644 --- a/docs/dyn/content_v2.datafeeds.html +++ b/docs/dyn/content_v2.datafeeds.html @@ -75,16 +75,16 @@

Content API for Shopping . datafeeds

Instance Methods

- custombatch(body)

+ custombatch(body, dryRun=None)

A description of how to use this function

- delete(merchantId, datafeedId)

+ delete(merchantId, datafeedId, dryRun=None)

Deletes a datafeed from your Merchant Center account.

get(merchantId, datafeedId)

Retrieves a datafeed from your Merchant Center account.

- insert(merchantId, body)

+ insert(merchantId, body, dryRun=None)

Registers a datafeed with your Merchant Center account.

list(merchantId, pageToken=None, maxResults=None)

@@ -93,14 +93,14 @@

Instance Methods

list_next(previous_request, previous_response)

Retrieves the next page of results.

- patch(merchantId, datafeedId, body)

+ patch(merchantId, datafeedId, body, dryRun=None)

Updates a datafeed of your Merchant Center account. This method supports patch semantics.

- update(merchantId, datafeedId, body)

+ update(merchantId, datafeedId, body, dryRun=None)

Updates a datafeed of your Merchant Center account.

Method Details

- custombatch(body) + custombatch(body, dryRun=None)
A description of how to use this function
 
 Args:
@@ -131,7 +131,7 @@ 

Method Details

"password": "A String", # An optional password for fetch_url. "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31). }, - "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index. + "targetCountry": "A String", # The country where the items in the feed will be included in the search index, represented as a CLDR territory code. "fileName": "A String", # The filename of the feed. All feeds must have a unique file name. "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center). "A String", @@ -145,6 +145,7 @@

Method Details

], } + dryRun: boolean, Flag to run the request in dry-run mode. Returns: An object of the form: @@ -184,7 +185,7 @@

Method Details

"password": "A String", # An optional password for fetch_url. "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31). }, - "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index. + "targetCountry": "A String", # The country where the items in the feed will be included in the search index, represented as a CLDR territory code. "fileName": "A String", # The filename of the feed. All feeds must have a unique file name. "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center). "A String", @@ -198,12 +199,13 @@

Method Details

- delete(merchantId, datafeedId) + delete(merchantId, datafeedId, dryRun=None)
Deletes a datafeed from your Merchant Center account.
 
 Args:
   merchantId: string, A parameter (required)
   datafeedId: string, A parameter (required)
+  dryRun: boolean, Flag to run the request in dry-run mode.
 
@@ -237,7 +239,7 @@

Method Details

"password": "A String", # An optional password for fetch_url. "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31). }, - "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index. + "targetCountry": "A String", # The country where the items in the feed will be included in the search index, represented as a CLDR territory code. "fileName": "A String", # The filename of the feed. All feeds must have a unique file name. "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center). "A String", @@ -248,7 +250,7 @@

Method Details

- insert(merchantId, body) + insert(merchantId, body, dryRun=None)
Registers a datafeed with your Merchant Center account.
 
 Args:
@@ -275,7 +277,7 @@ 

Method Details

"password": "A String", # An optional password for fetch_url. "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31). }, - "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index. + "targetCountry": "A String", # The country where the items in the feed will be included in the search index, represented as a CLDR territory code. "fileName": "A String", # The filename of the feed. All feeds must have a unique file name. "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center). "A String", @@ -284,6 +286,7 @@

Method Details

"attributeLanguage": "A String", # The two-letter ISO 639-1 language in which the attributes are defined in the data feed. } + dryRun: boolean, Flag to run the request in dry-run mode. Returns: An object of the form: @@ -307,7 +310,7 @@

Method Details

"password": "A String", # An optional password for fetch_url. "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31). }, - "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index. + "targetCountry": "A String", # The country where the items in the feed will be included in the search index, represented as a CLDR territory code. "fileName": "A String", # The filename of the feed. All feeds must have a unique file name. "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center). "A String", @@ -352,7 +355,7 @@

Method Details

"password": "A String", # An optional password for fetch_url. "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31). }, - "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index. + "targetCountry": "A String", # The country where the items in the feed will be included in the search index, represented as a CLDR territory code. "fileName": "A String", # The filename of the feed. All feeds must have a unique file name. "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center). "A String", @@ -379,7 +382,7 @@

Method Details

- patch(merchantId, datafeedId, body) + patch(merchantId, datafeedId, body, dryRun=None)
Updates a datafeed of your Merchant Center account. This method supports patch semantics.
 
 Args:
@@ -407,7 +410,7 @@ 

Method Details

"password": "A String", # An optional password for fetch_url. "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31). }, - "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index. + "targetCountry": "A String", # The country where the items in the feed will be included in the search index, represented as a CLDR territory code. "fileName": "A String", # The filename of the feed. All feeds must have a unique file name. "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center). "A String", @@ -416,6 +419,7 @@

Method Details

"attributeLanguage": "A String", # The two-letter ISO 639-1 language in which the attributes are defined in the data feed. } + dryRun: boolean, Flag to run the request in dry-run mode. Returns: An object of the form: @@ -439,7 +443,7 @@

Method Details

"password": "A String", # An optional password for fetch_url. "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31). }, - "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index. + "targetCountry": "A String", # The country where the items in the feed will be included in the search index, represented as a CLDR territory code. "fileName": "A String", # The filename of the feed. All feeds must have a unique file name. "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center). "A String", @@ -450,7 +454,7 @@

Method Details

- update(merchantId, datafeedId, body) + update(merchantId, datafeedId, body, dryRun=None)
Updates a datafeed of your Merchant Center account.
 
 Args:
@@ -478,7 +482,7 @@ 

Method Details

"password": "A String", # An optional password for fetch_url. "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31). }, - "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index. + "targetCountry": "A String", # The country where the items in the feed will be included in the search index, represented as a CLDR territory code. "fileName": "A String", # The filename of the feed. All feeds must have a unique file name. "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center). "A String", @@ -487,6 +491,7 @@

Method Details

"attributeLanguage": "A String", # The two-letter ISO 639-1 language in which the attributes are defined in the data feed. } + dryRun: boolean, Flag to run the request in dry-run mode. Returns: An object of the form: @@ -510,7 +515,7 @@

Method Details

"password": "A String", # An optional password for fetch_url. "dayOfMonth": 42, # The day of the month the feed file should be fetched (1-31). }, - "targetCountry": "A String", # The two-letter ISO 3166 country where the items in the feed will be included in the search index. + "targetCountry": "A String", # The country where the items in the feed will be included in the search index, represented as a CLDR territory code. "fileName": "A String", # The filename of the feed. All feeds must have a unique file name. "intendedDestinations": [ # The list of intended destinations (corresponds to checked check boxes in Merchant Center). "A String", diff --git a/docs/dyn/content_v2.inventory.html b/docs/dyn/content_v2.inventory.html index db6de435563..c7729a4b8ee 100644 --- a/docs/dyn/content_v2.inventory.html +++ b/docs/dyn/content_v2.inventory.html @@ -75,15 +75,15 @@

Content API for Shopping . inventory

Instance Methods

- custombatch(body)

-

Updates price and availability for multiple products or stores in a single request.

+ custombatch(body, dryRun=None)

+

Updates price and availability for multiple products or stores in a single request. This operation does not update the expiration date of the products.

- set(merchantId, storeCode, productId, body)

-

Updates price and availability of a product in your Merchant Center account.

+ set(merchantId, storeCode, productId, body, dryRun=None)

+

Updates price and availability of a product in your Merchant Center account. This operation does not update the expiration date of the product.

Method Details

- custombatch(body) -
Updates price and availability for multiple products or stores in a single request.
+    custombatch(body, dryRun=None)
+  
Updates price and availability for multiple products or stores in a single request. This operation does not update the expiration date of the products.
 
 Args:
   body: object, The request body. (required)
@@ -102,6 +102,7 @@ 

Method Details

"currency": "A String", # The currency of the price. "value": "A String", # The price represented as a number. }, + "sellOnGoogleQuantity": 42, # The quantity of the product that is reserved for sell-on-google ads. Supported only for online products. "salePrice": { # The sale price of the product. Mandatory if sale_price_effective_date is defined. "currency": "A String", # The currency of the price. "value": "A String", # The price represented as a number. @@ -114,6 +115,7 @@

Method Details

], } + dryRun: boolean, Flag to run the request in dry-run mode. Returns: An object of the form: @@ -141,8 +143,8 @@

Method Details

- set(merchantId, storeCode, productId, body) -
Updates price and availability of a product in your Merchant Center account.
+    set(merchantId, storeCode, productId, body, dryRun=None)
+  
Updates price and availability of a product in your Merchant Center account. This operation does not update the expiration date of the product.
 
 Args:
   merchantId: string, The ID of the managing account. (required)
@@ -152,19 +154,21 @@ 

Method Details

The object takes the form of: { - "salePrice": { # The sale price of the product. Mandatory if sale_price_effective_date is defined. + "salePriceEffectiveDate": "A String", # A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates might be specified as 'null' if undecided. + "price": { # The price of the product. "currency": "A String", # The currency of the price. "value": "A String", # The price represented as a number. }, - "price": { # The price of the product. + "sellOnGoogleQuantity": 42, # The quantity of the product that is reserved for sell-on-google ads. Supported only for online products. + "salePrice": { # The sale price of the product. Mandatory if sale_price_effective_date is defined. "currency": "A String", # The currency of the price. "value": "A String", # The price represented as a number. }, "availability": "A String", # The availability of the product. - "salePriceEffectiveDate": "A String", # A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates might be specified as 'null' if undecided. "quantity": 42, # The quantity of the product. Must be equal to or greater than zero. Supported only for local products. } + dryRun: boolean, Flag to run the request in dry-run mode. Returns: An object of the form: diff --git a/docs/dyn/content_v2.products.html b/docs/dyn/content_v2.products.html index d64543cee28..affa6128ae5 100644 --- a/docs/dyn/content_v2.products.html +++ b/docs/dyn/content_v2.products.html @@ -131,7 +131,7 @@

Method Details

"destinationName": "A String", # The name of the destination. }, ], - "targetCountry": "A String", # The two-letter ISO 3166 country code for the item. + "targetCountry": "A String", # The CLDR territory code for the item. "sizeType": "A String", # The cut of the item. Recommended for apparel items. "offerId": "A String", # An identifier of the item. "shippingWidth": { # Width of the item for shipping. @@ -196,7 +196,7 @@

Method Details

}, "taxes": [ # Tax information. { - "country": "A String", # The country within which the item is taxed, specified with a two-letter ISO 3166 country code. + "country": "A String", # The country within which the item is taxed, specified as a CLDR territory code. "region": "A String", # The geographic region to which the tax rate applies. "rate": 3.14, # The percentage of tax rate that applies to the item price. "locationId": "A String", # The numeric id of a location that the tax rate applies to as defined in the AdWords API. @@ -212,6 +212,7 @@

Method Details

# - "cm" # - "in" }, + "sellOnGoogleQuantity": "A String", # The quantity of the product that is reserved for sell-on-google ads. "link": "A String", # URL directly linking to your item's page on your website. "adwordsRedirect": "A String", # Allows advertisers to override the item URL when the product is shown within the context of Product Ads. "displayAdsLink": "A String", # URL directly to your item's landing page for dynamic remarketing campaigns. @@ -255,7 +256,7 @@

Method Details

"shipping": [ # Shipping rules. { "service": "A String", # A free-form description of the service class or delivery speed. - "country": "A String", # The two-letter ISO 3166 country code for the country to which an item will ship. + "country": "A String", # The CLDR territory code of the country to which an item will ship. "price": { # Fixed shipping price, represented as a number. "currency": "A String", # The currency of the price. "value": "A String", # The price represented as a number. @@ -345,7 +346,7 @@

Method Details

"destinationName": "A String", # The name of the destination. }, ], - "targetCountry": "A String", # The two-letter ISO 3166 country code for the item. + "targetCountry": "A String", # The CLDR territory code for the item. "sizeType": "A String", # The cut of the item. Recommended for apparel items. "offerId": "A String", # An identifier of the item. "shippingWidth": { # Width of the item for shipping. @@ -410,7 +411,7 @@

Method Details

}, "taxes": [ # Tax information. { - "country": "A String", # The country within which the item is taxed, specified with a two-letter ISO 3166 country code. + "country": "A String", # The country within which the item is taxed, specified as a CLDR territory code. "region": "A String", # The geographic region to which the tax rate applies. "rate": 3.14, # The percentage of tax rate that applies to the item price. "locationId": "A String", # The numeric id of a location that the tax rate applies to as defined in the AdWords API. @@ -426,6 +427,7 @@

Method Details

# - "cm" # - "in" }, + "sellOnGoogleQuantity": "A String", # The quantity of the product that is reserved for sell-on-google ads. "link": "A String", # URL directly linking to your item's page on your website. "adwordsRedirect": "A String", # Allows advertisers to override the item URL when the product is shown within the context of Product Ads. "displayAdsLink": "A String", # URL directly to your item's landing page for dynamic remarketing campaigns. @@ -469,7 +471,7 @@

Method Details

"shipping": [ # Shipping rules. { "service": "A String", # A free-form description of the service class or delivery speed. - "country": "A String", # The two-letter ISO 3166 country code for the country to which an item will ship. + "country": "A String", # The CLDR territory code of the country to which an item will ship. "price": { # Fixed shipping price, represented as a number. "currency": "A String", # The currency of the price. "value": "A String", # The price represented as a number. @@ -557,7 +559,7 @@

Method Details

"destinationName": "A String", # The name of the destination. }, ], - "targetCountry": "A String", # The two-letter ISO 3166 country code for the item. + "targetCountry": "A String", # The CLDR territory code for the item. "sizeType": "A String", # The cut of the item. Recommended for apparel items. "offerId": "A String", # An identifier of the item. "shippingWidth": { # Width of the item for shipping. @@ -622,7 +624,7 @@

Method Details

}, "taxes": [ # Tax information. { - "country": "A String", # The country within which the item is taxed, specified with a two-letter ISO 3166 country code. + "country": "A String", # The country within which the item is taxed, specified as a CLDR territory code. "region": "A String", # The geographic region to which the tax rate applies. "rate": 3.14, # The percentage of tax rate that applies to the item price. "locationId": "A String", # The numeric id of a location that the tax rate applies to as defined in the AdWords API. @@ -638,6 +640,7 @@

Method Details

# - "cm" # - "in" }, + "sellOnGoogleQuantity": "A String", # The quantity of the product that is reserved for sell-on-google ads. "link": "A String", # URL directly linking to your item's page on your website. "adwordsRedirect": "A String", # Allows advertisers to override the item URL when the product is shown within the context of Product Ads. "displayAdsLink": "A String", # URL directly to your item's landing page for dynamic remarketing campaigns. @@ -681,7 +684,7 @@

Method Details

"shipping": [ # Shipping rules. { "service": "A String", # A free-form description of the service class or delivery speed. - "country": "A String", # The two-letter ISO 3166 country code for the country to which an item will ship. + "country": "A String", # The CLDR territory code of the country to which an item will ship. "price": { # Fixed shipping price, represented as a number. "currency": "A String", # The currency of the price. "value": "A String", # The price represented as a number. @@ -753,7 +756,7 @@

Method Details

"destinationName": "A String", # The name of the destination. }, ], - "targetCountry": "A String", # The two-letter ISO 3166 country code for the item. + "targetCountry": "A String", # The CLDR territory code for the item. "sizeType": "A String", # The cut of the item. Recommended for apparel items. "offerId": "A String", # An identifier of the item. "shippingWidth": { # Width of the item for shipping. @@ -818,7 +821,7 @@

Method Details

}, "taxes": [ # Tax information. { - "country": "A String", # The country within which the item is taxed, specified with a two-letter ISO 3166 country code. + "country": "A String", # The country within which the item is taxed, specified as a CLDR territory code. "region": "A String", # The geographic region to which the tax rate applies. "rate": 3.14, # The percentage of tax rate that applies to the item price. "locationId": "A String", # The numeric id of a location that the tax rate applies to as defined in the AdWords API. @@ -834,6 +837,7 @@

Method Details

# - "cm" # - "in" }, + "sellOnGoogleQuantity": "A String", # The quantity of the product that is reserved for sell-on-google ads. "link": "A String", # URL directly linking to your item's page on your website. "adwordsRedirect": "A String", # Allows advertisers to override the item URL when the product is shown within the context of Product Ads. "displayAdsLink": "A String", # URL directly to your item's landing page for dynamic remarketing campaigns. @@ -877,7 +881,7 @@

Method Details

"shipping": [ # Shipping rules. { "service": "A String", # A free-form description of the service class or delivery speed. - "country": "A String", # The two-letter ISO 3166 country code for the country to which an item will ship. + "country": "A String", # The CLDR territory code of the country to which an item will ship. "price": { # Fixed shipping price, represented as a number. "currency": "A String", # The currency of the price. "value": "A String", # The price represented as a number. @@ -944,7 +948,7 @@

Method Details

"destinationName": "A String", # The name of the destination. }, ], - "targetCountry": "A String", # The two-letter ISO 3166 country code for the item. + "targetCountry": "A String", # The CLDR territory code for the item. "sizeType": "A String", # The cut of the item. Recommended for apparel items. "offerId": "A String", # An identifier of the item. "shippingWidth": { # Width of the item for shipping. @@ -1009,7 +1013,7 @@

Method Details

}, "taxes": [ # Tax information. { - "country": "A String", # The country within which the item is taxed, specified with a two-letter ISO 3166 country code. + "country": "A String", # The country within which the item is taxed, specified as a CLDR territory code. "region": "A String", # The geographic region to which the tax rate applies. "rate": 3.14, # The percentage of tax rate that applies to the item price. "locationId": "A String", # The numeric id of a location that the tax rate applies to as defined in the AdWords API. @@ -1025,6 +1029,7 @@

Method Details

# - "cm" # - "in" }, + "sellOnGoogleQuantity": "A String", # The quantity of the product that is reserved for sell-on-google ads. "link": "A String", # URL directly linking to your item's page on your website. "adwordsRedirect": "A String", # Allows advertisers to override the item URL when the product is shown within the context of Product Ads. "displayAdsLink": "A String", # URL directly to your item's landing page for dynamic remarketing campaigns. @@ -1068,7 +1073,7 @@

Method Details

"shipping": [ # Shipping rules. { "service": "A String", # A free-form description of the service class or delivery speed. - "country": "A String", # The two-letter ISO 3166 country code for the country to which an item will ship. + "country": "A String", # The CLDR territory code of the country to which an item will ship. "price": { # Fixed shipping price, represented as a number. "currency": "A String", # The currency of the price. "value": "A String", # The price represented as a number. @@ -1147,7 +1152,7 @@

Method Details

"destinationName": "A String", # The name of the destination. }, ], - "targetCountry": "A String", # The two-letter ISO 3166 country code for the item. + "targetCountry": "A String", # The CLDR territory code for the item. "sizeType": "A String", # The cut of the item. Recommended for apparel items. "offerId": "A String", # An identifier of the item. "shippingWidth": { # Width of the item for shipping. @@ -1212,7 +1217,7 @@

Method Details

}, "taxes": [ # Tax information. { - "country": "A String", # The country within which the item is taxed, specified with a two-letter ISO 3166 country code. + "country": "A String", # The country within which the item is taxed, specified as a CLDR territory code. "region": "A String", # The geographic region to which the tax rate applies. "rate": 3.14, # The percentage of tax rate that applies to the item price. "locationId": "A String", # The numeric id of a location that the tax rate applies to as defined in the AdWords API. @@ -1228,6 +1233,7 @@

Method Details

# - "cm" # - "in" }, + "sellOnGoogleQuantity": "A String", # The quantity of the product that is reserved for sell-on-google ads. "link": "A String", # URL directly linking to your item's page on your website. "adwordsRedirect": "A String", # Allows advertisers to override the item URL when the product is shown within the context of Product Ads. "displayAdsLink": "A String", # URL directly to your item's landing page for dynamic remarketing campaigns. @@ -1271,7 +1277,7 @@

Method Details

"shipping": [ # Shipping rules. { "service": "A String", # A free-form description of the service class or delivery speed. - "country": "A String", # The two-letter ISO 3166 country code for the country to which an item will ship. + "country": "A String", # The CLDR territory code of the country to which an item will ship. "price": { # Fixed shipping price, represented as a number. "currency": "A String", # The currency of the price. "value": "A String", # The price represented as a number. diff --git a/docs/dyn/content_v2.productstatuses.html b/docs/dyn/content_v2.productstatuses.html index a98fc228a4c..49a3e6bafc8 100644 --- a/docs/dyn/content_v2.productstatuses.html +++ b/docs/dyn/content_v2.productstatuses.html @@ -208,7 +208,8 @@

Method Details

Args: merchantId: string, The ID of the managing account. (required) pageToken: string, The token returned by the previous request. - maxResults: integer, The maximum number of product statuses to return in the response, used for paging. + maxResults: integer, The maximum number of product statuses to return in the response, used for paging. The default value is 25 and the maximum allowed value is 250. +Known issue: Note that for the time being all List calls will return by default all orders without limit. Returns: An object of the form: diff --git a/docs/dyn/coordinate_v1.jobs.html b/docs/dyn/coordinate_v1.jobs.html index a53680cfc55..4949fcd3975 100644 --- a/docs/dyn/coordinate_v1.jobs.html +++ b/docs/dyn/coordinate_v1.jobs.html @@ -81,7 +81,7 @@

Instance Methods

insert(teamId, address, lat, lng, title, body, customerName=None, assignee=None, customerPhoneNumber=None, note=None, customField=None)

Inserts a new job. Only the state field of the job should be set.

- list(teamId, pageToken=None, minModifiedTimestampMs=None, maxResults=None)

+ list(teamId, pageToken=None, minModifiedTimestampMs=None, maxResults=None, omitJobChanges=None)

Retrieves jobs created or modified since the given timestamp.

list_next(previous_request, previous_response)

@@ -336,7 +336,7 @@

Method Details

- list(teamId, pageToken=None, minModifiedTimestampMs=None, maxResults=None) + list(teamId, pageToken=None, minModifiedTimestampMs=None, maxResults=None, omitJobChanges=None)
Retrieves jobs created or modified since the given timestamp.
 
 Args:
@@ -344,6 +344,7 @@ 

Method Details

pageToken: string, Continuation token minModifiedTimestampMs: string, Minimum time a job was modified in milliseconds since epoch. maxResults: integer, Maximum number of results to return in one page. + omitJobChanges: boolean, Whether to omit detail job history information. Returns: An object of the form: diff --git a/docs/dyn/dataflow_v1b3.projects.jobs.html b/docs/dyn/dataflow_v1b3.projects.jobs.html index 59e4c1eef28..fa98557ceb1 100644 --- a/docs/dyn/dataflow_v1b3.projects.jobs.html +++ b/docs/dyn/dataflow_v1b3.projects.jobs.html @@ -85,595 +85,605 @@

Instance Methods

Returns the workItems Resource.

- create(projectId, body, replaceJobId=None, view=None)

+ create(projectId, body, x__xgafv=None, replaceJobId=None, view=None)

Creates a dataflow job.

- get(projectId, jobId, view=None)

+ get(projectId, jobId, x__xgafv=None, view=None)

Gets the state of the specified dataflow job.

- getMetrics(projectId, jobId, startTime=None)

+ getMetrics(projectId, jobId, startTime=None, x__xgafv=None)

Request the job status.

- list(projectId, pageToken=None, pageSize=None, view=None)

+ list(projectId, pageSize=None, pageToken=None, x__xgafv=None, view=None)

List the jobs of a project

list_next(previous_request, previous_response)

Retrieves the next page of results.

- patch(projectId, jobId, body)

-

Updates the state of an existing dataflow job. This method supports patch semantics.

-

- update(projectId, jobId, body)

+ update(projectId, jobId, body, x__xgafv=None)

Updates the state of an existing dataflow job.

Method Details

- create(projectId, body, replaceJobId=None, view=None) + create(projectId, body, x__xgafv=None, replaceJobId=None, view=None)
Creates a dataflow job.
 
 Args:
-  projectId: string, A parameter (required)
+  projectId: string, The project which owns the job. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
-{
-  "clientRequestId": "A String",
-  "requestedState": "A String",
-  "name": "A String",
-  "projectId": "A String",
-  "transformNameMapping": {
-    "a_key": "A String",
-  },
-  "id": "A String",
-  "environment": {
-    "version": {
-      "a_key": "",
+{ # Defines a job to be run by the Dataflow service.
+    "clientRequestId": "A String", # Client's unique identifier of the job, re-used by SDK across retried attempts. If this field is set, the service will ensure its uniqueness. That is, the request to create a job will fail if the service has knowledge of a previously submitted job with the same client's id and job name. The caller may, for example, use this field to ensure idempotence of job creation across retried attempts to create a job. By default, the field is empty and, in that case, the service ignores it.
+    "requestedState": "A String", # The job's requested state. UpdateJob may be used to switch between the JOB_STATE_STOPPED and JOB_STATE_RUNNING states, by setting requested_state. UpdateJob may also be used to directly set a job's requested state to JOB_STATE_CANCELLED or JOB_STATE_DONE, irrevocably terminating the job if it has not already reached a terminal state.
+    "name": "A String", # The user-specified Dataflow job name. Only one Job with a given name may exist in a project at any given time. If a caller attempts to create a Job with the same name as an already-existing Job, the attempt will return the existing Job. The name must match the regular expression [a-z]([-a-z0-9]{0,38}[a-z0-9])?
+    "replacedByJobId": "A String", # If another job is an update of this job (and thus, this job is in JOB_STATE_UPDATED), this field will contain the ID of that job.
+    "projectId": "A String", # The project which owns the job.
+    "transformNameMapping": { # Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
+      "a_key": "A String",
     },
-    "workerPools": [
-      {
-        "diskSourceImage": "A String",
-        "teardownPolicy": "A String",
-        "kind": "A String",
-        "packages": [
-          {
-            "location": "A String",
-            "name": "A String",
-          },
-        ],
-        "machineType": "A String",
-        "network": "A String",
-        "zone": "A String",
-        "onHostMaintenance": "A String",
-        "diskType": "A String",
-        "taskrunnerSettings": {
-          "workflowFileName": "A String",
-          "logUploadLocation": "A String",
-          "commandlinesFileName": "A String",
-          "alsologtostderr": True or False,
-          "vmId": "A String",
-          "baseTaskDir": "A String",
-          "continueOnException": True or False,
-          "baseUrl": "A String",
-          "parallelWorkerSettings": {
-            "reportingEnabled": True or False,
-            "shuffleServicePath": "A String",
-            "workerId": "A String",
-            "baseUrl": "A String",
-            "servicePath": "A String",
-            "tempStoragePrefix": "A String",
-          },
-          "oauthScopes": [
-            "A String",
-          ],
-          "taskGroup": "A String",
-          "languageHint": "A String",
-          "logToSerialconsole": True or False,
-          "streamingWorkerMainClass": "A String",
-          "logDir": "A String",
-          "dataflowApiVersion": "A String",
-          "taskUser": "A String",
-          "harnessCommand": "A String",
-          "tempStoragePrefix": "A String",
-        },
-        "diskSizeGb": 42,
-        "poolArgs": {
-          "a_key": "",
-        },
-        "numWorkers": 42,
-        "defaultPackageSet": "A String",
-        "metadata": {
-          "a_key": "A String",
-        },
-        "autoscalingSettings": {
-          "maxNumWorkers": 42,
-          "algorithm": "A String",
-        },
-        "dataDisks": [
-          {
-            "mountPoint": "A String",
-            "sizeGb": 42,
-            "diskType": "A String",
-          },
-        ],
+    "createTime": "A String", # Timestamp when job was initially created. Immutable, set by the Dataflow service.
+    "environment": { # Describes the environment in which a Dataflow Job runs. # Environment for the job.
+      "version": { # A structure describing which components and their versions of the service are required in order to run the job.
+        "a_key": "", # Properties of the object.
       },
-    ],
-    "dataset": "A String",
-    "experiments": [
-      "A String",
-    ],
-    "sdkPipelineOptions": {
-      "a_key": "",
-    },
-    "userAgent": {
-      "a_key": "",
-    },
-    "clusterManagerApiService": "A String",
-    "tempStoragePrefix": "A String",
-  },
-  "replaceJobId": "A String",
-  "steps": [
-    {
-      "kind": "A String",
-      "name": "A String",
-      "properties": {
-        "a_key": "",
+      "tempStoragePrefix": "A String", # The prefix of the resources the system should use for temporary storage. The system will append the suffix "/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
+      "internalExperiments": { # Experimental settings.
+        "a_key": "", # Properties of the object. Contains field @ype with type URL.
       },
-    },
-  ],
-  "currentStateTime": "A String",
-  "type": "A String",
-  "createTime": "A String",
-  "currentState": "A String",
-  "executionInfo": {
-    "stages": {
-      "a_key": {
-        "stepName": [
-          "A String",
-        ],
+      "dataset": "A String", # The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}
+      "experiments": [ # The list of experiments to enable.
+        "A String",
+      ],
+      "sdkPipelineOptions": { # The Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
+        "a_key": "", # Properties of the object.
       },
-    },
-  },
-}
-
-  replaceJobId: string, A parameter
-  view: string, A parameter
-    Allowed values
-      JOB_VIEW_ALL - 
-      JOB_VIEW_SUMMARY - 
-      JOB_VIEW_UNKNOWN - 
-
-Returns:
-  An object of the form:
-
-    {
-    "clientRequestId": "A String",
-    "requestedState": "A String",
-    "name": "A String",
-    "projectId": "A String",
-    "transformNameMapping": {
-      "a_key": "A String",
-    },
-    "id": "A String",
-    "environment": {
-      "version": {
-        "a_key": "",
+      "userAgent": { # A description of the process that generated the request.
+        "a_key": "", # Properties of the object.
       },
-      "workerPools": [
-        {
-          "diskSourceImage": "A String",
-          "teardownPolicy": "A String",
-          "kind": "A String",
-          "packages": [
-            {
-              "location": "A String",
-              "name": "A String",
-            },
-          ],
-          "machineType": "A String",
-          "network": "A String",
-          "zone": "A String",
-          "onHostMaintenance": "A String",
-          "diskType": "A String",
-          "taskrunnerSettings": {
-            "workflowFileName": "A String",
-            "logUploadLocation": "A String",
-            "commandlinesFileName": "A String",
-            "alsologtostderr": True or False,
-            "vmId": "A String",
-            "baseTaskDir": "A String",
-            "continueOnException": True or False,
-            "baseUrl": "A String",
-            "parallelWorkerSettings": {
-              "reportingEnabled": True or False,
-              "shuffleServicePath": "A String",
-              "workerId": "A String",
-              "baseUrl": "A String",
-              "servicePath": "A String",
-              "tempStoragePrefix": "A String",
+      "clusterManagerApiService": "A String", # The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. "compute.googleapis.com".
+      "workerPools": [ # Worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
+        { # Describes one particular pool of Dataflow workers to be instantiated by the Dataflow service in order to perform the computations required by a job. Note that a workflow job may use multiple pools, in order to match the various computational requirements of the various stages of the job.
+          "diskSourceImage": "A String", # Fully qualified source image for disks.
+          "taskrunnerSettings": { # Taskrunner configuration settings. # Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
+            "workflowFileName": "A String", # Store the workflow in this file.
+            "logUploadLocation": "A String", # Indicates where to put logs. If this is not specified, the logs will not be uploaded. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
+            "commandlinesFileName": "A String", # Store preprocessing commands in this file.
+            "parallelWorkerSettings": { # Provides data to pass through to the worker harness. # Settings to pass to the parallel worker harness.
+              "reportingEnabled": True or False, # Send work progress updates to service.
+              "shuffleServicePath": "A String", # The Shuffle service path relative to the root URL, for example, "shuffle/v1beta1".
+              "workerId": "A String", # ID of the worker running this pipeline.
+              "baseUrl": "A String", # The base URL for accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators". If not specified, the default value is "http://www.googleapis.com/"
+              "servicePath": "A String", # The Dataflow service path relative to the root URL, for example, "dataflow/v1b3/projects".
+              "tempStoragePrefix": "A String", # The prefix of the resources the system should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
             },
-            "oauthScopes": [
+            "vmId": "A String", # ID string of VM.
+            "baseTaskDir": "A String", # Location on the worker for task-specific subdirectories.
+            "continueOnException": True or False, # Do we continue taskrunner if an exception is hit?
+            "baseUrl": "A String", # The base URL for the taskrunner to use when accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators". If not specified, the default value is "http://www.googleapis.com/"
+            "taskUser": "A String", # The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. "root".
+            "taskGroup": "A String", # The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. "wheel".
+            "oauthScopes": [ # OAuth2 scopes to be requested by the taskrunner in order to access the dataflow API.
               "A String",
             ],
-            "taskGroup": "A String",
-            "languageHint": "A String",
-            "logToSerialconsole": True or False,
-            "streamingWorkerMainClass": "A String",
-            "logDir": "A String",
-            "dataflowApiVersion": "A String",
-            "taskUser": "A String",
-            "harnessCommand": "A String",
-            "tempStoragePrefix": "A String",
+            "languageHint": "A String", # Suggested backend language.
+            "logToSerialconsole": True or False, # Send taskrunner log into to Google Compute Engine VM serial console?
+            "streamingWorkerMainClass": "A String", # Streaming worker main class name.
+            "logDir": "A String", # Directory on the VM to store logs.
+            "dataflowApiVersion": "A String", # API version of endpoint, e.g. "v1b3"
+            "harnessCommand": "A String", # Command to launch the worker harness.
+            "tempStoragePrefix": "A String", # The prefix of the resources the taskrunner should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
+            "alsologtostderr": True or False, # Also send taskrunner log info to stderr?
           },
-          "diskSizeGb": 42,
-          "poolArgs": {
-            "a_key": "",
-          },
-          "numWorkers": 42,
-          "defaultPackageSet": "A String",
-          "metadata": {
+          "kind": "A String", # The kind of the worker pool; currently only 'harness' and 'shuffle' are supported.
+          "machineType": "A String", # Machine type (e.g. "n1-standard-1"). If empty or unspecified, the service will attempt to choose a reasonable default.
+          "network": "A String", # Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
+          "zone": "A String", # Zone to run the worker pools in (e.g. "us-central1-b"). If empty or unspecified, the service will attempt to choose a reasonable default.
+          "onHostMaintenance": "A String", # The action to take on host maintenance, as defined by the Google Compute Engine API.
+          "diskType": "A String", # Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default.
+          "teardownPolicy": "A String", # Sets the policy for determining when to turndown worker pool. Allowed values are: TEARDOWN_ALWAYS, TEARDOWN_ON_SUCCESS, and TEARDOWN_NEVER. TEARDOWN_ALWAYS means workers are always torn down regardless of whether the job succeeds. TEARDOWN_ON_SUCCESS means workers are torn down if the job succeeds. TEARDOWN_NEVER means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user's project until they are explicitly terminated by the user. Because of this, Google recommends using the TEARDOWN_ALWAYS policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.
+          "diskSizeGb": 42, # Size of root disk for VMs, in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
+          "metadata": { # Metadata to set on the Google Compute Engine VMs.
             "a_key": "A String",
           },
-          "autoscalingSettings": {
-            "maxNumWorkers": 42,
-            "algorithm": "A String",
+          "poolArgs": { # Extra arguments for this worker pool.
+            "a_key": "", # Properties of the object. Contains field @ype with type URL.
           },
-          "dataDisks": [
-            {
-              "mountPoint": "A String",
-              "sizeGb": 42,
-              "diskType": "A String",
+          "numWorkers": 42, # Number of Google Compute Engine workers in this pool needed to execute the job. If zero or unspecified, the service will attempt to choose a reasonable default.
+          "defaultPackageSet": "A String", # The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.
+          "packages": [ # Packages to be installed on workers.
+            { # Packages that need to be installed in order for a worker to run the steps of the Dataflow job which will be assigned to its worker pool. This is the mechanism by which the SDK causes code to be loaded onto the workers. For example, the Dataflow Java SDK might use this to install jars containing the user's code and all of the various dependencies (libraries, data files, etc) required in order for that code to run.
+              "name": "A String", # The name of the package.
+              "location": "A String", # The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
+            },
+          ],
+          "autoscalingSettings": { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
+            "maxNumWorkers": 42, # The maximum number of workers to cap scaling at.
+            "algorithm": "A String", # The algorithm to use for autoscaling.
+          },
+          "dataDisks": [ # Data disks that are used by a VM in this workflow.
+            { # Describes the data disk used by a workflow job.
+              "mountPoint": "A String", # Directory in a VM where disk is mounted.
+              "sizeGb": 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
+              "diskType": "A String", # Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default. For example, the standard persistent disk type is a resource name typically ending in "pd-standard". If SSD persistent disks are available, the resource name typically ends with "pd-ssd". The actual valid values are defined the Google Compute Engine API, not by the Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone. Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this: compute.googleapis.com/projects/
+                  # /zones//diskTypes/pd-standard
             },
           ],
         },
       ],
-      "dataset": "A String",
-      "experiments": [
-        "A String",
-      ],
-      "sdkPipelineOptions": {
-        "a_key": "",
-      },
-      "userAgent": {
-        "a_key": "",
-      },
-      "clusterManagerApiService": "A String",
-      "tempStoragePrefix": "A String",
     },
-    "replaceJobId": "A String",
-    "steps": [
-      {
-        "kind": "A String",
-        "name": "A String",
-        "properties": {
-          "a_key": "",
+    "replaceJobId": "A String", # If this job is an update of an existing job, this field will be the ID of the job it replaced. When sending a CreateJobRequest, you can update a job by specifying it here. The job named here will be stopped, and its intermediate state transferred to this job.
+    "steps": [ # The top-level steps that constitute the entire job.
+      { # Defines a particular step within a Dataflow job. A job consists of multiple steps, each of which performs some specific operation as part of the overall job. Data is typically passed from one step to another as part of the job. Here's an example of a sequence of steps which together implement a Map-Reduce job: * Read a collection of data from some source, parsing the collection's elements. * Validate the elements. * Apply a user-defined function to map each element to some value and extract an element-specific key value. * Group elements with the same key into a single element with that key, transforming a multiply-keyed collection into a uniquely-keyed collection. * Write the elements out to some data sink. (Note that the Dataflow service may be used to run many different types of jobs, not just Map-Reduce).
+        "kind": "A String", # The kind of step in the dataflow Job.
+        "name": "A String", # Name identifying the step. This must be unique for each step with respect to all other steps in the dataflow Job.
+        "properties": { # Named properties associated with the step. Each kind of predefined step has its own required set of properties.
+          "a_key": "", # Properties of the object.
         },
       },
     ],
-    "currentStateTime": "A String",
-    "type": "A String",
-    "createTime": "A String",
-    "currentState": "A String",
-    "executionInfo": {
-      "stages": {
-        "a_key": {
-          "stepName": [
+    "currentStateTime": "A String", # The timestamp associated with the current state.
+    "type": "A String", # The type of dataflow job.
+    "id": "A String", # The unique ID of this job. This field is set by the Dataflow service when the Job is created, and is immutable for the life of the Job.
+    "currentState": "A String", # The current state of the job. Jobs are created in the JOB_STATE_STOPPED state unless otherwise specified. A job in the JOB_STATE_RUNNING state may asynchronously enter a terminal state. Once a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Dataflow service; callers cannot mutate it.
+    "executionInfo": { # Additional information about how a Dataflow job will be executed which isn’t contained in the submitted job. # Information about how the Dataflow service will actually run the job.
+      "stages": { # A mapping from each stage to the information about that stage.
+        "a_key": { # Contains information about how a particular [google.dataflow.v1beta3.Step][google.dataflow.v1beta3.Step] will be executed.
+          "stepName": [ # The steps associated with the execution stage. Note that stages may have several steps, and that a given step might be run by more than one stage.
             "A String",
           ],
         },
       },
     },
-  }
+ } + + x__xgafv: string, V1 error format. + replaceJobId: string, DEPRECATED. This field is now on the Job message. + view: string, Level of information requested in response. + +Returns: + An object of the form: + + { # Defines a job to be run by the Dataflow service. + "clientRequestId": "A String", # Client's unique identifier of the job, re-used by SDK across retried attempts. If this field is set, the service will ensure its uniqueness. That is, the request to create a job will fail if the service has knowledge of a previously submitted job with the same client's id and job name. The caller may, for example, use this field to ensure idempotence of job creation across retried attempts to create a job. By default, the field is empty and, in that case, the service ignores it. + "requestedState": "A String", # The job's requested state. UpdateJob may be used to switch between the JOB_STATE_STOPPED and JOB_STATE_RUNNING states, by setting requested_state. UpdateJob may also be used to directly set a job's requested state to JOB_STATE_CANCELLED or JOB_STATE_DONE, irrevocably terminating the job if it has not already reached a terminal state. + "name": "A String", # The user-specified Dataflow job name. Only one Job with a given name may exist in a project at any given time. If a caller attempts to create a Job with the same name as an already-existing Job, the attempt will return the existing Job. The name must match the regular expression [a-z]([-a-z0-9]{0,38}[a-z0-9])? + "replacedByJobId": "A String", # If another job is an update of this job (and thus, this job is in JOB_STATE_UPDATED), this field will contain the ID of that job. + "projectId": "A String", # The project which owns the job. + "transformNameMapping": { # Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job. + "a_key": "A String", + }, + "createTime": "A String", # Timestamp when job was initially created. Immutable, set by the Dataflow service. + "environment": { # Describes the environment in which a Dataflow Job runs. # Environment for the job. + "version": { # A structure describing which components and their versions of the service are required in order to run the job. + "a_key": "", # Properties of the object. + }, + "tempStoragePrefix": "A String", # The prefix of the resources the system should use for temporary storage. The system will append the suffix "/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object} + "internalExperiments": { # Experimental settings. + "a_key": "", # Properties of the object. Contains field @ype with type URL. + }, + "dataset": "A String", # The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset} + "experiments": [ # The list of experiments to enable. + "A String", + ], + "sdkPipelineOptions": { # The Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way. + "a_key": "", # Properties of the object. + }, + "userAgent": { # A description of the process that generated the request. + "a_key": "", # Properties of the object. + }, + "clusterManagerApiService": "A String", # The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. "compute.googleapis.com". + "workerPools": [ # Worker pools. At least one "harness" worker pool must be specified in order for the job to have workers. + { # Describes one particular pool of Dataflow workers to be instantiated by the Dataflow service in order to perform the computations required by a job. Note that a workflow job may use multiple pools, in order to match the various computational requirements of the various stages of the job. + "diskSourceImage": "A String", # Fully qualified source image for disks. + "taskrunnerSettings": { # Taskrunner configuration settings. # Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field. + "workflowFileName": "A String", # Store the workflow in this file. + "logUploadLocation": "A String", # Indicates where to put logs. If this is not specified, the logs will not be uploaded. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object} + "commandlinesFileName": "A String", # Store preprocessing commands in this file. + "parallelWorkerSettings": { # Provides data to pass through to the worker harness. # Settings to pass to the parallel worker harness. + "reportingEnabled": True or False, # Send work progress updates to service. + "shuffleServicePath": "A String", # The Shuffle service path relative to the root URL, for example, "shuffle/v1beta1". + "workerId": "A String", # ID of the worker running this pipeline. + "baseUrl": "A String", # The base URL for accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators". If not specified, the default value is "http://www.googleapis.com/" + "servicePath": "A String", # The Dataflow service path relative to the root URL, for example, "dataflow/v1b3/projects". + "tempStoragePrefix": "A String", # The prefix of the resources the system should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object} + }, + "vmId": "A String", # ID string of VM. + "baseTaskDir": "A String", # Location on the worker for task-specific subdirectories. + "continueOnException": True or False, # Do we continue taskrunner if an exception is hit? + "baseUrl": "A String", # The base URL for the taskrunner to use when accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators". If not specified, the default value is "http://www.googleapis.com/" + "taskUser": "A String", # The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. "root". + "taskGroup": "A String", # The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. "wheel". + "oauthScopes": [ # OAuth2 scopes to be requested by the taskrunner in order to access the dataflow API. + "A String", + ], + "languageHint": "A String", # Suggested backend language. + "logToSerialconsole": True or False, # Send taskrunner log into to Google Compute Engine VM serial console? + "streamingWorkerMainClass": "A String", # Streaming worker main class name. + "logDir": "A String", # Directory on the VM to store logs. + "dataflowApiVersion": "A String", # API version of endpoint, e.g. "v1b3" + "harnessCommand": "A String", # Command to launch the worker harness. + "tempStoragePrefix": "A String", # The prefix of the resources the taskrunner should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object} + "alsologtostderr": True or False, # Also send taskrunner log info to stderr? + }, + "kind": "A String", # The kind of the worker pool; currently only 'harness' and 'shuffle' are supported. + "machineType": "A String", # Machine type (e.g. "n1-standard-1"). If empty or unspecified, the service will attempt to choose a reasonable default. + "network": "A String", # Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default". + "zone": "A String", # Zone to run the worker pools in (e.g. "us-central1-b"). If empty or unspecified, the service will attempt to choose a reasonable default. + "onHostMaintenance": "A String", # The action to take on host maintenance, as defined by the Google Compute Engine API. + "diskType": "A String", # Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default. + "teardownPolicy": "A String", # Sets the policy for determining when to turndown worker pool. Allowed values are: TEARDOWN_ALWAYS, TEARDOWN_ON_SUCCESS, and TEARDOWN_NEVER. TEARDOWN_ALWAYS means workers are always torn down regardless of whether the job succeeds. TEARDOWN_ON_SUCCESS means workers are torn down if the job succeeds. TEARDOWN_NEVER means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user's project until they are explicitly terminated by the user. Because of this, Google recommends using the TEARDOWN_ALWAYS policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default. + "diskSizeGb": 42, # Size of root disk for VMs, in GB. If zero or unspecified, the service will attempt to choose a reasonable default. + "metadata": { # Metadata to set on the Google Compute Engine VMs. + "a_key": "A String", + }, + "poolArgs": { # Extra arguments for this worker pool. + "a_key": "", # Properties of the object. Contains field @ype with type URL. + }, + "numWorkers": 42, # Number of Google Compute Engine workers in this pool needed to execute the job. If zero or unspecified, the service will attempt to choose a reasonable default. + "defaultPackageSet": "A String", # The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language. + "packages": [ # Packages to be installed on workers. + { # Packages that need to be installed in order for a worker to run the steps of the Dataflow job which will be assigned to its worker pool. This is the mechanism by which the SDK causes code to be loaded onto the workers. For example, the Dataflow Java SDK might use this to install jars containing the user's code and all of the various dependencies (libraries, data files, etc) required in order for that code to run. + "name": "A String", # The name of the package. + "location": "A String", # The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/ + }, + ], + "autoscalingSettings": { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool. + "maxNumWorkers": 42, # The maximum number of workers to cap scaling at. + "algorithm": "A String", # The algorithm to use for autoscaling. + }, + "dataDisks": [ # Data disks that are used by a VM in this workflow. + { # Describes the data disk used by a workflow job. + "mountPoint": "A String", # Directory in a VM where disk is mounted. + "sizeGb": 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default. + "diskType": "A String", # Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default. For example, the standard persistent disk type is a resource name typically ending in "pd-standard". If SSD persistent disks are available, the resource name typically ends with "pd-ssd". The actual valid values are defined the Google Compute Engine API, not by the Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone. Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this: compute.googleapis.com/projects/ + # /zones//diskTypes/pd-standard + }, + ], + }, + ], + }, + "replaceJobId": "A String", # If this job is an update of an existing job, this field will be the ID of the job it replaced. When sending a CreateJobRequest, you can update a job by specifying it here. The job named here will be stopped, and its intermediate state transferred to this job. + "steps": [ # The top-level steps that constitute the entire job. + { # Defines a particular step within a Dataflow job. A job consists of multiple steps, each of which performs some specific operation as part of the overall job. Data is typically passed from one step to another as part of the job. Here's an example of a sequence of steps which together implement a Map-Reduce job: * Read a collection of data from some source, parsing the collection's elements. * Validate the elements. * Apply a user-defined function to map each element to some value and extract an element-specific key value. * Group elements with the same key into a single element with that key, transforming a multiply-keyed collection into a uniquely-keyed collection. * Write the elements out to some data sink. (Note that the Dataflow service may be used to run many different types of jobs, not just Map-Reduce). + "kind": "A String", # The kind of step in the dataflow Job. + "name": "A String", # Name identifying the step. This must be unique for each step with respect to all other steps in the dataflow Job. + "properties": { # Named properties associated with the step. Each kind of predefined step has its own required set of properties. + "a_key": "", # Properties of the object. + }, + }, + ], + "currentStateTime": "A String", # The timestamp associated with the current state. + "type": "A String", # The type of dataflow job. + "id": "A String", # The unique ID of this job. This field is set by the Dataflow service when the Job is created, and is immutable for the life of the Job. + "currentState": "A String", # The current state of the job. Jobs are created in the JOB_STATE_STOPPED state unless otherwise specified. A job in the JOB_STATE_RUNNING state may asynchronously enter a terminal state. Once a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Dataflow service; callers cannot mutate it. + "executionInfo": { # Additional information about how a Dataflow job will be executed which isn’t contained in the submitted job. # Information about how the Dataflow service will actually run the job. + "stages": { # A mapping from each stage to the information about that stage. + "a_key": { # Contains information about how a particular [google.dataflow.v1beta3.Step][google.dataflow.v1beta3.Step] will be executed. + "stepName": [ # The steps associated with the execution stage. Note that stages may have several steps, and that a given step might be run by more than one stage. + "A String", + ], + }, + }, + }, + }
- get(projectId, jobId, view=None) + get(projectId, jobId, x__xgafv=None, view=None)
Gets the state of the specified dataflow job.
 
 Args:
-  projectId: string, A parameter (required)
-  jobId: string, A parameter (required)
-  view: string, A parameter
-    Allowed values
-      JOB_VIEW_ALL - 
-      JOB_VIEW_SUMMARY - 
-      JOB_VIEW_UNKNOWN - 
+  projectId: string, The project which owns the job. (required)
+  jobId: string, Identifies a single job. (required)
+  x__xgafv: string, V1 error format.
+  view: string, Level of information requested in response.
 
 Returns:
   An object of the form:
 
-    {
-    "clientRequestId": "A String",
-    "requestedState": "A String",
-    "name": "A String",
-    "projectId": "A String",
-    "transformNameMapping": {
-      "a_key": "A String",
-    },
-    "id": "A String",
-    "environment": {
-      "version": {
-        "a_key": "",
+    { # Defines a job to be run by the Dataflow service.
+      "clientRequestId": "A String", # Client's unique identifier of the job, re-used by SDK across retried attempts. If this field is set, the service will ensure its uniqueness. That is, the request to create a job will fail if the service has knowledge of a previously submitted job with the same client's id and job name. The caller may, for example, use this field to ensure idempotence of job creation across retried attempts to create a job. By default, the field is empty and, in that case, the service ignores it.
+      "requestedState": "A String", # The job's requested state. UpdateJob may be used to switch between the JOB_STATE_STOPPED and JOB_STATE_RUNNING states, by setting requested_state. UpdateJob may also be used to directly set a job's requested state to JOB_STATE_CANCELLED or JOB_STATE_DONE, irrevocably terminating the job if it has not already reached a terminal state.
+      "name": "A String", # The user-specified Dataflow job name. Only one Job with a given name may exist in a project at any given time. If a caller attempts to create a Job with the same name as an already-existing Job, the attempt will return the existing Job. The name must match the regular expression [a-z]([-a-z0-9]{0,38}[a-z0-9])?
+      "replacedByJobId": "A String", # If another job is an update of this job (and thus, this job is in JOB_STATE_UPDATED), this field will contain the ID of that job.
+      "projectId": "A String", # The project which owns the job.
+      "transformNameMapping": { # Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
+        "a_key": "A String",
       },
-      "workerPools": [
-        {
-          "diskSourceImage": "A String",
-          "teardownPolicy": "A String",
-          "kind": "A String",
-          "packages": [
-            {
-              "location": "A String",
-              "name": "A String",
+      "createTime": "A String", # Timestamp when job was initially created. Immutable, set by the Dataflow service.
+      "environment": { # Describes the environment in which a Dataflow Job runs. # Environment for the job.
+        "version": { # A structure describing which components and their versions of the service are required in order to run the job.
+          "a_key": "", # Properties of the object.
+        },
+        "tempStoragePrefix": "A String", # The prefix of the resources the system should use for temporary storage. The system will append the suffix "/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
+        "internalExperiments": { # Experimental settings.
+          "a_key": "", # Properties of the object. Contains field @ype with type URL.
+        },
+        "dataset": "A String", # The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}
+        "experiments": [ # The list of experiments to enable.
+          "A String",
+        ],
+        "sdkPipelineOptions": { # The Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
+          "a_key": "", # Properties of the object.
+        },
+        "userAgent": { # A description of the process that generated the request.
+          "a_key": "", # Properties of the object.
+        },
+        "clusterManagerApiService": "A String", # The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. "compute.googleapis.com".
+        "workerPools": [ # Worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
+          { # Describes one particular pool of Dataflow workers to be instantiated by the Dataflow service in order to perform the computations required by a job. Note that a workflow job may use multiple pools, in order to match the various computational requirements of the various stages of the job.
+            "diskSourceImage": "A String", # Fully qualified source image for disks.
+            "taskrunnerSettings": { # Taskrunner configuration settings. # Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
+              "workflowFileName": "A String", # Store the workflow in this file.
+              "logUploadLocation": "A String", # Indicates where to put logs. If this is not specified, the logs will not be uploaded. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
+              "commandlinesFileName": "A String", # Store preprocessing commands in this file.
+              "parallelWorkerSettings": { # Provides data to pass through to the worker harness. # Settings to pass to the parallel worker harness.
+                "reportingEnabled": True or False, # Send work progress updates to service.
+                "shuffleServicePath": "A String", # The Shuffle service path relative to the root URL, for example, "shuffle/v1beta1".
+                "workerId": "A String", # ID of the worker running this pipeline.
+                "baseUrl": "A String", # The base URL for accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators". If not specified, the default value is "http://www.googleapis.com/"
+                "servicePath": "A String", # The Dataflow service path relative to the root URL, for example, "dataflow/v1b3/projects".
+                "tempStoragePrefix": "A String", # The prefix of the resources the system should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
+              },
+              "vmId": "A String", # ID string of VM.
+              "baseTaskDir": "A String", # Location on the worker for task-specific subdirectories.
+              "continueOnException": True or False, # Do we continue taskrunner if an exception is hit?
+              "baseUrl": "A String", # The base URL for the taskrunner to use when accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators". If not specified, the default value is "http://www.googleapis.com/"
+              "taskUser": "A String", # The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. "root".
+              "taskGroup": "A String", # The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. "wheel".
+              "oauthScopes": [ # OAuth2 scopes to be requested by the taskrunner in order to access the dataflow API.
+                "A String",
+              ],
+              "languageHint": "A String", # Suggested backend language.
+              "logToSerialconsole": True or False, # Send taskrunner log into to Google Compute Engine VM serial console?
+              "streamingWorkerMainClass": "A String", # Streaming worker main class name.
+              "logDir": "A String", # Directory on the VM to store logs.
+              "dataflowApiVersion": "A String", # API version of endpoint, e.g. "v1b3"
+              "harnessCommand": "A String", # Command to launch the worker harness.
+              "tempStoragePrefix": "A String", # The prefix of the resources the taskrunner should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
+              "alsologtostderr": True or False, # Also send taskrunner log info to stderr?
             },
-          ],
-          "machineType": "A String",
-          "network": "A String",
-          "zone": "A String",
-          "onHostMaintenance": "A String",
-          "diskType": "A String",
-          "taskrunnerSettings": {
-            "workflowFileName": "A String",
-            "logUploadLocation": "A String",
-            "commandlinesFileName": "A String",
-            "alsologtostderr": True or False,
-            "vmId": "A String",
-            "baseTaskDir": "A String",
-            "continueOnException": True or False,
-            "baseUrl": "A String",
-            "parallelWorkerSettings": {
-              "reportingEnabled": True or False,
-              "shuffleServicePath": "A String",
-              "workerId": "A String",
-              "baseUrl": "A String",
-              "servicePath": "A String",
-              "tempStoragePrefix": "A String",
+            "kind": "A String", # The kind of the worker pool; currently only 'harness' and 'shuffle' are supported.
+            "machineType": "A String", # Machine type (e.g. "n1-standard-1"). If empty or unspecified, the service will attempt to choose a reasonable default.
+            "network": "A String", # Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
+            "zone": "A String", # Zone to run the worker pools in (e.g. "us-central1-b"). If empty or unspecified, the service will attempt to choose a reasonable default.
+            "onHostMaintenance": "A String", # The action to take on host maintenance, as defined by the Google Compute Engine API.
+            "diskType": "A String", # Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default.
+            "teardownPolicy": "A String", # Sets the policy for determining when to turndown worker pool. Allowed values are: TEARDOWN_ALWAYS, TEARDOWN_ON_SUCCESS, and TEARDOWN_NEVER. TEARDOWN_ALWAYS means workers are always torn down regardless of whether the job succeeds. TEARDOWN_ON_SUCCESS means workers are torn down if the job succeeds. TEARDOWN_NEVER means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user's project until they are explicitly terminated by the user. Because of this, Google recommends using the TEARDOWN_ALWAYS policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.
+            "diskSizeGb": 42, # Size of root disk for VMs, in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
+            "metadata": { # Metadata to set on the Google Compute Engine VMs.
+              "a_key": "A String",
             },
-            "oauthScopes": [
-              "A String",
+            "poolArgs": { # Extra arguments for this worker pool.
+              "a_key": "", # Properties of the object. Contains field @ype with type URL.
+            },
+            "numWorkers": 42, # Number of Google Compute Engine workers in this pool needed to execute the job. If zero or unspecified, the service will attempt to choose a reasonable default.
+            "defaultPackageSet": "A String", # The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.
+            "packages": [ # Packages to be installed on workers.
+              { # Packages that need to be installed in order for a worker to run the steps of the Dataflow job which will be assigned to its worker pool. This is the mechanism by which the SDK causes code to be loaded onto the workers. For example, the Dataflow Java SDK might use this to install jars containing the user's code and all of the various dependencies (libraries, data files, etc) required in order for that code to run.
+                "name": "A String", # The name of the package.
+                "location": "A String", # The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
+              },
+            ],
+            "autoscalingSettings": { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
+              "maxNumWorkers": 42, # The maximum number of workers to cap scaling at.
+              "algorithm": "A String", # The algorithm to use for autoscaling.
+            },
+            "dataDisks": [ # Data disks that are used by a VM in this workflow.
+              { # Describes the data disk used by a workflow job.
+                "mountPoint": "A String", # Directory in a VM where disk is mounted.
+                "sizeGb": 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
+                "diskType": "A String", # Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default. For example, the standard persistent disk type is a resource name typically ending in "pd-standard". If SSD persistent disks are available, the resource name typically ends with "pd-ssd". The actual valid values are defined the Google Compute Engine API, not by the Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone. Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this: compute.googleapis.com/projects/
+                    # /zones//diskTypes/pd-standard
+              },
             ],
-            "taskGroup": "A String",
-            "languageHint": "A String",
-            "logToSerialconsole": True or False,
-            "streamingWorkerMainClass": "A String",
-            "logDir": "A String",
-            "dataflowApiVersion": "A String",
-            "taskUser": "A String",
-            "harnessCommand": "A String",
-            "tempStoragePrefix": "A String",
-          },
-          "diskSizeGb": 42,
-          "poolArgs": {
-            "a_key": "",
-          },
-          "numWorkers": 42,
-          "defaultPackageSet": "A String",
-          "metadata": {
-            "a_key": "A String",
           },
-          "autoscalingSettings": {
-            "maxNumWorkers": 42,
-            "algorithm": "A String",
+        ],
+      },
+      "replaceJobId": "A String", # If this job is an update of an existing job, this field will be the ID of the job it replaced. When sending a CreateJobRequest, you can update a job by specifying it here. The job named here will be stopped, and its intermediate state transferred to this job.
+      "steps": [ # The top-level steps that constitute the entire job.
+        { # Defines a particular step within a Dataflow job. A job consists of multiple steps, each of which performs some specific operation as part of the overall job. Data is typically passed from one step to another as part of the job. Here's an example of a sequence of steps which together implement a Map-Reduce job: * Read a collection of data from some source, parsing the collection's elements. * Validate the elements. * Apply a user-defined function to map each element to some value and extract an element-specific key value. * Group elements with the same key into a single element with that key, transforming a multiply-keyed collection into a uniquely-keyed collection. * Write the elements out to some data sink. (Note that the Dataflow service may be used to run many different types of jobs, not just Map-Reduce).
+          "kind": "A String", # The kind of step in the dataflow Job.
+          "name": "A String", # Name identifying the step. This must be unique for each step with respect to all other steps in the dataflow Job.
+          "properties": { # Named properties associated with the step. Each kind of predefined step has its own required set of properties.
+            "a_key": "", # Properties of the object.
           },
-          "dataDisks": [
-            {
-              "mountPoint": "A String",
-              "sizeGb": 42,
-              "diskType": "A String",
-            },
-          ],
         },
       ],
-      "dataset": "A String",
-      "experiments": [
-        "A String",
-      ],
-      "sdkPipelineOptions": {
-        "a_key": "",
-      },
-      "userAgent": {
-        "a_key": "",
-      },
-      "clusterManagerApiService": "A String",
-      "tempStoragePrefix": "A String",
-    },
-    "replaceJobId": "A String",
-    "steps": [
-      {
-        "kind": "A String",
-        "name": "A String",
-        "properties": {
-          "a_key": "",
-        },
-      },
-    ],
-    "currentStateTime": "A String",
-    "type": "A String",
-    "createTime": "A String",
-    "currentState": "A String",
-    "executionInfo": {
-      "stages": {
-        "a_key": {
-          "stepName": [
-            "A String",
-          ],
+      "currentStateTime": "A String", # The timestamp associated with the current state.
+      "type": "A String", # The type of dataflow job.
+      "id": "A String", # The unique ID of this job. This field is set by the Dataflow service when the Job is created, and is immutable for the life of the Job.
+      "currentState": "A String", # The current state of the job. Jobs are created in the JOB_STATE_STOPPED state unless otherwise specified. A job in the JOB_STATE_RUNNING state may asynchronously enter a terminal state. Once a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Dataflow service; callers cannot mutate it.
+      "executionInfo": { # Additional information about how a Dataflow job will be executed which isn’t contained in the submitted job. # Information about how the Dataflow service will actually run the job.
+        "stages": { # A mapping from each stage to the information about that stage.
+          "a_key": { # Contains information about how a particular [google.dataflow.v1beta3.Step][google.dataflow.v1beta3.Step] will be executed.
+            "stepName": [ # The steps associated with the execution stage. Note that stages may have several steps, and that a given step might be run by more than one stage.
+              "A String",
+            ],
+          },
         },
       },
-    },
-  }
+ }
- getMetrics(projectId, jobId, startTime=None) + getMetrics(projectId, jobId, startTime=None, x__xgafv=None)
Request the job status.
 
 Args:
-  projectId: string, A parameter (required)
-  jobId: string, A parameter (required)
-  startTime: string, A parameter
+  projectId: string, A project id. (required)
+  jobId: string, The job to get messages for. (required)
+  startTime: string, Return only metric data that has changed since this time. Default is to return all information about all metrics for the job.
+  x__xgafv: string, V1 error format.
 
 Returns:
   An object of the form:
 
-    {
-    "metrics": [
-      {
-        "meanCount": "",
-        "kind": "A String",
-        "set": "",
-        "name": {
-          "origin": "A String",
-          "name": "A String",
-          "context": {
+    { # JobMetrics contains a collection of metrics descibing the detailed progress of a Dataflow job. Metrics correspond to user-defined and system-defined metrics in the job. This resource captures only the most recent values of each metric; time-series data can be queried for them (under the same metric names) from Cloud Monitoring.
+    "metrics": [ # All metrics for this job.
+      { # Describes the state of a metric.
+        "meanCount": "", # Worker-computed aggregate value for the "Mean" aggregation kind. This holds the count of the aggregated values and is used in combination with mean_sum above to obtain the actual mean aggregate value. The only possible value type is Long.
+        "kind": "A String", # Metric aggregation kind. The possible metric aggregation kinds are "Sum", "Max", "Min", "Mean", "Set", "And", and "Or". The specified aggregation kind is case-insensitive. If omitted, this is not an aggregated value but instead a single metric sample value.
+        "set": "", # Worker-computed aggregate value for the "Set" aggregation kind. The only possible value type is a list of Values whose type can be Long, Double, or String, according to the metric's type. All Values in the list must be of the same type.
+        "name": { # Identifies a metric, by describing the source which generated the metric. # Name of the metric.
+          "origin": "A String", # Origin (namespace) of metric name. May be blank for user-define metrics; will be "dataflow" for metrics defined by the Dataflow service or SDK.
+          "name": "A String", # Worker-defined metric name.
+          "context": { # Zero or more labeled fields which identify the part of the job this metric is associated with, such as the name of a step or collection. For example, built-in counters associated with steps will have context['step'] = . Counters associated with PCollections in the SDK will have context['pcollection'] =
+              # .
             "a_key": "A String",
           },
         },
-        "meanSum": "",
-        "cumulative": True or False,
-        "updateTime": "A String",
-        "scalar": "",
-        "internal": "",
+        "cumulative": True or False, # True if this metric is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem. By default this is false, indicating that this metric is reported as a delta that is not associated with any WorkItem.
+        "updateTime": "A String", # Timestamp associated with the metric value. Optional when workers are reporting work progress; it will be filled in responses from the metrics API.
+        "scalar": "", # Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or". The possible value types are Long, Double, and Boolean.
+        "meanSum": "", # Worker-computed aggregate value for the "Mean" aggregation kind. This holds the sum of the aggregated values and is used in combination with mean_count below to obtain the actual mean aggregate value. The only possible value types are Long and Double.
+        "internal": "", # Worker-computed aggregate value for internal use by the Dataflow service.
       },
     ],
-    "metricTime": "A String",
+    "metricTime": "A String", # Timestamp as of which metric values are current.
   }
- list(projectId, pageToken=None, pageSize=None, view=None) + list(projectId, pageSize=None, pageToken=None, x__xgafv=None, view=None)
List the jobs of a project
 
 Args:
-  projectId: string, A parameter (required)
-  pageToken: string, A parameter
-  pageSize: integer, A parameter
-  view: string, A parameter
-    Allowed values
-      JOB_VIEW_ALL - 
-      JOB_VIEW_SUMMARY - 
-      JOB_VIEW_UNKNOWN - 
+  projectId: string, The project which owns the jobs. (required)
+  pageSize: integer, If there are many jobs, limit response to at most this many. The actual number of jobs returned will be the lesser of max_responses and an unspecified server-defined limit.
+  pageToken: string, Set this to the 'next_page_token' field of a previous response to request additional results in a long list.
+  x__xgafv: string, V1 error format.
+  view: string, Level of information requested in response. Default is SUMMARY.
 
 Returns:
   An object of the form:
 
-    {
-    "nextPageToken": "A String",
-    "jobs": [
-      {
-        "clientRequestId": "A String",
-        "requestedState": "A String",
-        "name": "A String",
-        "projectId": "A String",
-        "transformNameMapping": {
-          "a_key": "A String",
-        },
-        "id": "A String",
-        "environment": {
-          "version": {
-            "a_key": "",
+    { # Response to a request to list Dataflow jobs. This may be a partial response, depending on the page size in the ListJobsRequest.
+    "nextPageToken": "A String", # Set if there may be more results than fit in this response.
+    "jobs": [ # A subset of the requested job information.
+      { # Defines a job to be run by the Dataflow service.
+          "clientRequestId": "A String", # Client's unique identifier of the job, re-used by SDK across retried attempts. If this field is set, the service will ensure its uniqueness. That is, the request to create a job will fail if the service has knowledge of a previously submitted job with the same client's id and job name. The caller may, for example, use this field to ensure idempotence of job creation across retried attempts to create a job. By default, the field is empty and, in that case, the service ignores it.
+          "requestedState": "A String", # The job's requested state. UpdateJob may be used to switch between the JOB_STATE_STOPPED and JOB_STATE_RUNNING states, by setting requested_state. UpdateJob may also be used to directly set a job's requested state to JOB_STATE_CANCELLED or JOB_STATE_DONE, irrevocably terminating the job if it has not already reached a terminal state.
+          "name": "A String", # The user-specified Dataflow job name. Only one Job with a given name may exist in a project at any given time. If a caller attempts to create a Job with the same name as an already-existing Job, the attempt will return the existing Job. The name must match the regular expression [a-z]([-a-z0-9]{0,38}[a-z0-9])?
+          "replacedByJobId": "A String", # If another job is an update of this job (and thus, this job is in JOB_STATE_UPDATED), this field will contain the ID of that job.
+          "projectId": "A String", # The project which owns the job.
+          "transformNameMapping": { # Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
+            "a_key": "A String",
           },
-          "workerPools": [
-            {
-              "diskSourceImage": "A String",
-              "teardownPolicy": "A String",
-              "kind": "A String",
-              "packages": [
-                {
-                  "location": "A String",
-                  "name": "A String",
+          "createTime": "A String", # Timestamp when job was initially created. Immutable, set by the Dataflow service.
+          "environment": { # Describes the environment in which a Dataflow Job runs. # Environment for the job.
+            "version": { # A structure describing which components and their versions of the service are required in order to run the job.
+              "a_key": "", # Properties of the object.
+            },
+            "tempStoragePrefix": "A String", # The prefix of the resources the system should use for temporary storage. The system will append the suffix "/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
+            "internalExperiments": { # Experimental settings.
+              "a_key": "", # Properties of the object. Contains field @ype with type URL.
+            },
+            "dataset": "A String", # The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}
+            "experiments": [ # The list of experiments to enable.
+              "A String",
+            ],
+            "sdkPipelineOptions": { # The Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
+              "a_key": "", # Properties of the object.
+            },
+            "userAgent": { # A description of the process that generated the request.
+              "a_key": "", # Properties of the object.
+            },
+            "clusterManagerApiService": "A String", # The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. "compute.googleapis.com".
+            "workerPools": [ # Worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
+              { # Describes one particular pool of Dataflow workers to be instantiated by the Dataflow service in order to perform the computations required by a job. Note that a workflow job may use multiple pools, in order to match the various computational requirements of the various stages of the job.
+                "diskSourceImage": "A String", # Fully qualified source image for disks.
+                "taskrunnerSettings": { # Taskrunner configuration settings. # Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
+                  "workflowFileName": "A String", # Store the workflow in this file.
+                  "logUploadLocation": "A String", # Indicates where to put logs. If this is not specified, the logs will not be uploaded. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
+                  "commandlinesFileName": "A String", # Store preprocessing commands in this file.
+                  "parallelWorkerSettings": { # Provides data to pass through to the worker harness. # Settings to pass to the parallel worker harness.
+                    "reportingEnabled": True or False, # Send work progress updates to service.
+                    "shuffleServicePath": "A String", # The Shuffle service path relative to the root URL, for example, "shuffle/v1beta1".
+                    "workerId": "A String", # ID of the worker running this pipeline.
+                    "baseUrl": "A String", # The base URL for accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators". If not specified, the default value is "http://www.googleapis.com/"
+                    "servicePath": "A String", # The Dataflow service path relative to the root URL, for example, "dataflow/v1b3/projects".
+                    "tempStoragePrefix": "A String", # The prefix of the resources the system should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
+                  },
+                  "vmId": "A String", # ID string of VM.
+                  "baseTaskDir": "A String", # Location on the worker for task-specific subdirectories.
+                  "continueOnException": True or False, # Do we continue taskrunner if an exception is hit?
+                  "baseUrl": "A String", # The base URL for the taskrunner to use when accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators". If not specified, the default value is "http://www.googleapis.com/"
+                  "taskUser": "A String", # The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. "root".
+                  "taskGroup": "A String", # The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. "wheel".
+                  "oauthScopes": [ # OAuth2 scopes to be requested by the taskrunner in order to access the dataflow API.
+                    "A String",
+                  ],
+                  "languageHint": "A String", # Suggested backend language.
+                  "logToSerialconsole": True or False, # Send taskrunner log into to Google Compute Engine VM serial console?
+                  "streamingWorkerMainClass": "A String", # Streaming worker main class name.
+                  "logDir": "A String", # Directory on the VM to store logs.
+                  "dataflowApiVersion": "A String", # API version of endpoint, e.g. "v1b3"
+                  "harnessCommand": "A String", # Command to launch the worker harness.
+                  "tempStoragePrefix": "A String", # The prefix of the resources the taskrunner should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
+                  "alsologtostderr": True or False, # Also send taskrunner log info to stderr?
                 },
-              ],
-              "machineType": "A String",
-              "network": "A String",
-              "zone": "A String",
-              "onHostMaintenance": "A String",
-              "diskType": "A String",
-              "taskrunnerSettings": {
-                "workflowFileName": "A String",
-                "logUploadLocation": "A String",
-                "commandlinesFileName": "A String",
-                "alsologtostderr": True or False,
-                "vmId": "A String",
-                "baseTaskDir": "A String",
-                "continueOnException": True or False,
-                "baseUrl": "A String",
-                "parallelWorkerSettings": {
-                  "reportingEnabled": True or False,
-                  "shuffleServicePath": "A String",
-                  "workerId": "A String",
-                  "baseUrl": "A String",
-                  "servicePath": "A String",
-                  "tempStoragePrefix": "A String",
+                "kind": "A String", # The kind of the worker pool; currently only 'harness' and 'shuffle' are supported.
+                "machineType": "A String", # Machine type (e.g. "n1-standard-1"). If empty or unspecified, the service will attempt to choose a reasonable default.
+                "network": "A String", # Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
+                "zone": "A String", # Zone to run the worker pools in (e.g. "us-central1-b"). If empty or unspecified, the service will attempt to choose a reasonable default.
+                "onHostMaintenance": "A String", # The action to take on host maintenance, as defined by the Google Compute Engine API.
+                "diskType": "A String", # Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default.
+                "teardownPolicy": "A String", # Sets the policy for determining when to turndown worker pool. Allowed values are: TEARDOWN_ALWAYS, TEARDOWN_ON_SUCCESS, and TEARDOWN_NEVER. TEARDOWN_ALWAYS means workers are always torn down regardless of whether the job succeeds. TEARDOWN_ON_SUCCESS means workers are torn down if the job succeeds. TEARDOWN_NEVER means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user's project until they are explicitly terminated by the user. Because of this, Google recommends using the TEARDOWN_ALWAYS policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.
+                "diskSizeGb": 42, # Size of root disk for VMs, in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
+                "metadata": { # Metadata to set on the Google Compute Engine VMs.
+                  "a_key": "A String",
                 },
-                "oauthScopes": [
-                  "A String",
+                "poolArgs": { # Extra arguments for this worker pool.
+                  "a_key": "", # Properties of the object. Contains field @ype with type URL.
+                },
+                "numWorkers": 42, # Number of Google Compute Engine workers in this pool needed to execute the job. If zero or unspecified, the service will attempt to choose a reasonable default.
+                "defaultPackageSet": "A String", # The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.
+                "packages": [ # Packages to be installed on workers.
+                  { # Packages that need to be installed in order for a worker to run the steps of the Dataflow job which will be assigned to its worker pool. This is the mechanism by which the SDK causes code to be loaded onto the workers. For example, the Dataflow Java SDK might use this to install jars containing the user's code and all of the various dependencies (libraries, data files, etc) required in order for that code to run.
+                    "name": "A String", # The name of the package.
+                    "location": "A String", # The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
+                  },
+                ],
+                "autoscalingSettings": { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
+                  "maxNumWorkers": 42, # The maximum number of workers to cap scaling at.
+                  "algorithm": "A String", # The algorithm to use for autoscaling.
+                },
+                "dataDisks": [ # Data disks that are used by a VM in this workflow.
+                  { # Describes the data disk used by a workflow job.
+                    "mountPoint": "A String", # Directory in a VM where disk is mounted.
+                    "sizeGb": 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
+                    "diskType": "A String", # Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default. For example, the standard persistent disk type is a resource name typically ending in "pd-standard". If SSD persistent disks are available, the resource name typically ends with "pd-ssd". The actual valid values are defined the Google Compute Engine API, not by the Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone. Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this: compute.googleapis.com/projects/
+                        # /zones//diskTypes/pd-standard
+                  },
                 ],
-                "taskGroup": "A String",
-                "languageHint": "A String",
-                "logToSerialconsole": True or False,
-                "streamingWorkerMainClass": "A String",
-                "logDir": "A String",
-                "dataflowApiVersion": "A String",
-                "taskUser": "A String",
-                "harnessCommand": "A String",
-                "tempStoragePrefix": "A String",
-              },
-              "diskSizeGb": 42,
-              "poolArgs": {
-                "a_key": "",
-              },
-              "numWorkers": 42,
-              "defaultPackageSet": "A String",
-              "metadata": {
-                "a_key": "A String",
               },
-              "autoscalingSettings": {
-                "maxNumWorkers": 42,
-                "algorithm": "A String",
+            ],
+          },
+          "replaceJobId": "A String", # If this job is an update of an existing job, this field will be the ID of the job it replaced. When sending a CreateJobRequest, you can update a job by specifying it here. The job named here will be stopped, and its intermediate state transferred to this job.
+          "steps": [ # The top-level steps that constitute the entire job.
+            { # Defines a particular step within a Dataflow job. A job consists of multiple steps, each of which performs some specific operation as part of the overall job. Data is typically passed from one step to another as part of the job. Here's an example of a sequence of steps which together implement a Map-Reduce job: * Read a collection of data from some source, parsing the collection's elements. * Validate the elements. * Apply a user-defined function to map each element to some value and extract an element-specific key value. * Group elements with the same key into a single element with that key, transforming a multiply-keyed collection into a uniquely-keyed collection. * Write the elements out to some data sink. (Note that the Dataflow service may be used to run many different types of jobs, not just Map-Reduce).
+              "kind": "A String", # The kind of step in the dataflow Job.
+              "name": "A String", # Name identifying the step. This must be unique for each step with respect to all other steps in the dataflow Job.
+              "properties": { # Named properties associated with the step. Each kind of predefined step has its own required set of properties.
+                "a_key": "", # Properties of the object.
               },
-              "dataDisks": [
-                {
-                  "mountPoint": "A String",
-                  "sizeGb": 42,
-                  "diskType": "A String",
-                },
-              ],
             },
           ],
-          "dataset": "A String",
-          "experiments": [
-            "A String",
-          ],
-          "sdkPipelineOptions": {
-            "a_key": "",
-          },
-          "userAgent": {
-            "a_key": "",
-          },
-          "clusterManagerApiService": "A String",
-          "tempStoragePrefix": "A String",
-        },
-        "replaceJobId": "A String",
-        "steps": [
-          {
-            "kind": "A String",
-            "name": "A String",
-            "properties": {
-              "a_key": "",
-            },
-          },
-        ],
-        "currentStateTime": "A String",
-        "type": "A String",
-        "createTime": "A String",
-        "currentState": "A String",
-        "executionInfo": {
-          "stages": {
-            "a_key": {
-              "stepName": [
-                "A String",
-              ],
+          "currentStateTime": "A String", # The timestamp associated with the current state.
+          "type": "A String", # The type of dataflow job.
+          "id": "A String", # The unique ID of this job. This field is set by the Dataflow service when the Job is created, and is immutable for the life of the Job.
+          "currentState": "A String", # The current state of the job. Jobs are created in the JOB_STATE_STOPPED state unless otherwise specified. A job in the JOB_STATE_RUNNING state may asynchronously enter a terminal state. Once a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Dataflow service; callers cannot mutate it.
+          "executionInfo": { # Additional information about how a Dataflow job will be executed which isn’t contained in the submitted job. # Information about how the Dataflow service will actually run the job.
+            "stages": { # A mapping from each stage to the information about that stage.
+              "a_key": { # Contains information about how a particular [google.dataflow.v1beta3.Step][google.dataflow.v1beta3.Step] will be executed.
+                "stepName": [ # The steps associated with the execution stage. Note that stages may have several steps, and that a given step might be run by more than one stage.
+                  "A String",
+                ],
+              },
             },
           },
         },
-      },
     ],
   }
@@ -693,509 +703,267 @@

Method Details

- patch(projectId, jobId, body) -
Updates the state of an existing dataflow job. This method supports patch semantics.
+    update(projectId, jobId, body, x__xgafv=None)
+  
Updates the state of an existing dataflow job.
 
 Args:
-  projectId: string, A parameter (required)
-  jobId: string, A parameter (required)
+  projectId: string, The project which owns the job. (required)
+  jobId: string, Identifies a single job. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
-{
-  "clientRequestId": "A String",
-  "requestedState": "A String",
-  "name": "A String",
-  "projectId": "A String",
-  "transformNameMapping": {
-    "a_key": "A String",
-  },
-  "id": "A String",
-  "environment": {
-    "version": {
-      "a_key": "",
+{ # Defines a job to be run by the Dataflow service.
+    "clientRequestId": "A String", # Client's unique identifier of the job, re-used by SDK across retried attempts. If this field is set, the service will ensure its uniqueness. That is, the request to create a job will fail if the service has knowledge of a previously submitted job with the same client's id and job name. The caller may, for example, use this field to ensure idempotence of job creation across retried attempts to create a job. By default, the field is empty and, in that case, the service ignores it.
+    "requestedState": "A String", # The job's requested state. UpdateJob may be used to switch between the JOB_STATE_STOPPED and JOB_STATE_RUNNING states, by setting requested_state. UpdateJob may also be used to directly set a job's requested state to JOB_STATE_CANCELLED or JOB_STATE_DONE, irrevocably terminating the job if it has not already reached a terminal state.
+    "name": "A String", # The user-specified Dataflow job name. Only one Job with a given name may exist in a project at any given time. If a caller attempts to create a Job with the same name as an already-existing Job, the attempt will return the existing Job. The name must match the regular expression [a-z]([-a-z0-9]{0,38}[a-z0-9])?
+    "replacedByJobId": "A String", # If another job is an update of this job (and thus, this job is in JOB_STATE_UPDATED), this field will contain the ID of that job.
+    "projectId": "A String", # The project which owns the job.
+    "transformNameMapping": { # Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
+      "a_key": "A String",
     },
-    "workerPools": [
-      {
-        "diskSourceImage": "A String",
-        "teardownPolicy": "A String",
-        "kind": "A String",
-        "packages": [
-          {
-            "location": "A String",
-            "name": "A String",
-          },
-        ],
-        "machineType": "A String",
-        "network": "A String",
-        "zone": "A String",
-        "onHostMaintenance": "A String",
-        "diskType": "A String",
-        "taskrunnerSettings": {
-          "workflowFileName": "A String",
-          "logUploadLocation": "A String",
-          "commandlinesFileName": "A String",
-          "alsologtostderr": True or False,
-          "vmId": "A String",
-          "baseTaskDir": "A String",
-          "continueOnException": True or False,
-          "baseUrl": "A String",
-          "parallelWorkerSettings": {
-            "reportingEnabled": True or False,
-            "shuffleServicePath": "A String",
-            "workerId": "A String",
-            "baseUrl": "A String",
-            "servicePath": "A String",
-            "tempStoragePrefix": "A String",
-          },
-          "oauthScopes": [
-            "A String",
-          ],
-          "taskGroup": "A String",
-          "languageHint": "A String",
-          "logToSerialconsole": True or False,
-          "streamingWorkerMainClass": "A String",
-          "logDir": "A String",
-          "dataflowApiVersion": "A String",
-          "taskUser": "A String",
-          "harnessCommand": "A String",
-          "tempStoragePrefix": "A String",
-        },
-        "diskSizeGb": 42,
-        "poolArgs": {
-          "a_key": "",
-        },
-        "numWorkers": 42,
-        "defaultPackageSet": "A String",
-        "metadata": {
-          "a_key": "A String",
-        },
-        "autoscalingSettings": {
-          "maxNumWorkers": 42,
-          "algorithm": "A String",
-        },
-        "dataDisks": [
-          {
-            "mountPoint": "A String",
-            "sizeGb": 42,
-            "diskType": "A String",
-          },
-        ],
+    "createTime": "A String", # Timestamp when job was initially created. Immutable, set by the Dataflow service.
+    "environment": { # Describes the environment in which a Dataflow Job runs. # Environment for the job.
+      "version": { # A structure describing which components and their versions of the service are required in order to run the job.
+        "a_key": "", # Properties of the object.
       },
-    ],
-    "dataset": "A String",
-    "experiments": [
-      "A String",
-    ],
-    "sdkPipelineOptions": {
-      "a_key": "",
-    },
-    "userAgent": {
-      "a_key": "",
-    },
-    "clusterManagerApiService": "A String",
-    "tempStoragePrefix": "A String",
-  },
-  "replaceJobId": "A String",
-  "steps": [
-    {
-      "kind": "A String",
-      "name": "A String",
-      "properties": {
-        "a_key": "",
+      "tempStoragePrefix": "A String", # The prefix of the resources the system should use for temporary storage. The system will append the suffix "/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
+      "internalExperiments": { # Experimental settings.
+        "a_key": "", # Properties of the object. Contains field @ype with type URL.
       },
-    },
-  ],
-  "currentStateTime": "A String",
-  "type": "A String",
-  "createTime": "A String",
-  "currentState": "A String",
-  "executionInfo": {
-    "stages": {
-      "a_key": {
-        "stepName": [
-          "A String",
-        ],
+      "dataset": "A String", # The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}
+      "experiments": [ # The list of experiments to enable.
+        "A String",
+      ],
+      "sdkPipelineOptions": { # The Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
+        "a_key": "", # Properties of the object.
       },
-    },
-  },
-}
-
-
-Returns:
-  An object of the form:
-
-    {
-    "clientRequestId": "A String",
-    "requestedState": "A String",
-    "name": "A String",
-    "projectId": "A String",
-    "transformNameMapping": {
-      "a_key": "A String",
-    },
-    "id": "A String",
-    "environment": {
-      "version": {
-        "a_key": "",
+      "userAgent": { # A description of the process that generated the request.
+        "a_key": "", # Properties of the object.
       },
-      "workerPools": [
-        {
-          "diskSourceImage": "A String",
-          "teardownPolicy": "A String",
-          "kind": "A String",
-          "packages": [
-            {
-              "location": "A String",
-              "name": "A String",
+      "clusterManagerApiService": "A String", # The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. "compute.googleapis.com".
+      "workerPools": [ # Worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
+        { # Describes one particular pool of Dataflow workers to be instantiated by the Dataflow service in order to perform the computations required by a job. Note that a workflow job may use multiple pools, in order to match the various computational requirements of the various stages of the job.
+          "diskSourceImage": "A String", # Fully qualified source image for disks.
+          "taskrunnerSettings": { # Taskrunner configuration settings. # Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
+            "workflowFileName": "A String", # Store the workflow in this file.
+            "logUploadLocation": "A String", # Indicates where to put logs. If this is not specified, the logs will not be uploaded. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
+            "commandlinesFileName": "A String", # Store preprocessing commands in this file.
+            "parallelWorkerSettings": { # Provides data to pass through to the worker harness. # Settings to pass to the parallel worker harness.
+              "reportingEnabled": True or False, # Send work progress updates to service.
+              "shuffleServicePath": "A String", # The Shuffle service path relative to the root URL, for example, "shuffle/v1beta1".
+              "workerId": "A String", # ID of the worker running this pipeline.
+              "baseUrl": "A String", # The base URL for accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators". If not specified, the default value is "http://www.googleapis.com/"
+              "servicePath": "A String", # The Dataflow service path relative to the root URL, for example, "dataflow/v1b3/projects".
+              "tempStoragePrefix": "A String", # The prefix of the resources the system should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
             },
-          ],
-          "machineType": "A String",
-          "network": "A String",
-          "zone": "A String",
-          "onHostMaintenance": "A String",
-          "diskType": "A String",
-          "taskrunnerSettings": {
-            "workflowFileName": "A String",
-            "logUploadLocation": "A String",
-            "commandlinesFileName": "A String",
-            "alsologtostderr": True or False,
-            "vmId": "A String",
-            "baseTaskDir": "A String",
-            "continueOnException": True or False,
-            "baseUrl": "A String",
-            "parallelWorkerSettings": {
-              "reportingEnabled": True or False,
-              "shuffleServicePath": "A String",
-              "workerId": "A String",
-              "baseUrl": "A String",
-              "servicePath": "A String",
-              "tempStoragePrefix": "A String",
-            },
-            "oauthScopes": [
+            "vmId": "A String", # ID string of VM.
+            "baseTaskDir": "A String", # Location on the worker for task-specific subdirectories.
+            "continueOnException": True or False, # Do we continue taskrunner if an exception is hit?
+            "baseUrl": "A String", # The base URL for the taskrunner to use when accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators". If not specified, the default value is "http://www.googleapis.com/"
+            "taskUser": "A String", # The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. "root".
+            "taskGroup": "A String", # The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. "wheel".
+            "oauthScopes": [ # OAuth2 scopes to be requested by the taskrunner in order to access the dataflow API.
               "A String",
             ],
-            "taskGroup": "A String",
-            "languageHint": "A String",
-            "logToSerialconsole": True or False,
-            "streamingWorkerMainClass": "A String",
-            "logDir": "A String",
-            "dataflowApiVersion": "A String",
-            "taskUser": "A String",
-            "harnessCommand": "A String",
-            "tempStoragePrefix": "A String",
-          },
-          "diskSizeGb": 42,
-          "poolArgs": {
-            "a_key": "",
+            "languageHint": "A String", # Suggested backend language.
+            "logToSerialconsole": True or False, # Send taskrunner log into to Google Compute Engine VM serial console?
+            "streamingWorkerMainClass": "A String", # Streaming worker main class name.
+            "logDir": "A String", # Directory on the VM to store logs.
+            "dataflowApiVersion": "A String", # API version of endpoint, e.g. "v1b3"
+            "harnessCommand": "A String", # Command to launch the worker harness.
+            "tempStoragePrefix": "A String", # The prefix of the resources the taskrunner should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
+            "alsologtostderr": True or False, # Also send taskrunner log info to stderr?
           },
-          "numWorkers": 42,
-          "defaultPackageSet": "A String",
-          "metadata": {
+          "kind": "A String", # The kind of the worker pool; currently only 'harness' and 'shuffle' are supported.
+          "machineType": "A String", # Machine type (e.g. "n1-standard-1"). If empty or unspecified, the service will attempt to choose a reasonable default.
+          "network": "A String", # Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
+          "zone": "A String", # Zone to run the worker pools in (e.g. "us-central1-b"). If empty or unspecified, the service will attempt to choose a reasonable default.
+          "onHostMaintenance": "A String", # The action to take on host maintenance, as defined by the Google Compute Engine API.
+          "diskType": "A String", # Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default.
+          "teardownPolicy": "A String", # Sets the policy for determining when to turndown worker pool. Allowed values are: TEARDOWN_ALWAYS, TEARDOWN_ON_SUCCESS, and TEARDOWN_NEVER. TEARDOWN_ALWAYS means workers are always torn down regardless of whether the job succeeds. TEARDOWN_ON_SUCCESS means workers are torn down if the job succeeds. TEARDOWN_NEVER means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user's project until they are explicitly terminated by the user. Because of this, Google recommends using the TEARDOWN_ALWAYS policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.
+          "diskSizeGb": 42, # Size of root disk for VMs, in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
+          "metadata": { # Metadata to set on the Google Compute Engine VMs.
             "a_key": "A String",
           },
-          "autoscalingSettings": {
-            "maxNumWorkers": 42,
-            "algorithm": "A String",
+          "poolArgs": { # Extra arguments for this worker pool.
+            "a_key": "", # Properties of the object. Contains field @ype with type URL.
+          },
+          "numWorkers": 42, # Number of Google Compute Engine workers in this pool needed to execute the job. If zero or unspecified, the service will attempt to choose a reasonable default.
+          "defaultPackageSet": "A String", # The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.
+          "packages": [ # Packages to be installed on workers.
+            { # Packages that need to be installed in order for a worker to run the steps of the Dataflow job which will be assigned to its worker pool. This is the mechanism by which the SDK causes code to be loaded onto the workers. For example, the Dataflow Java SDK might use this to install jars containing the user's code and all of the various dependencies (libraries, data files, etc) required in order for that code to run.
+              "name": "A String", # The name of the package.
+              "location": "A String", # The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
+            },
+          ],
+          "autoscalingSettings": { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
+            "maxNumWorkers": 42, # The maximum number of workers to cap scaling at.
+            "algorithm": "A String", # The algorithm to use for autoscaling.
           },
-          "dataDisks": [
-            {
-              "mountPoint": "A String",
-              "sizeGb": 42,
-              "diskType": "A String",
+          "dataDisks": [ # Data disks that are used by a VM in this workflow.
+            { # Describes the data disk used by a workflow job.
+              "mountPoint": "A String", # Directory in a VM where disk is mounted.
+              "sizeGb": 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
+              "diskType": "A String", # Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default. For example, the standard persistent disk type is a resource name typically ending in "pd-standard". If SSD persistent disks are available, the resource name typically ends with "pd-ssd". The actual valid values are defined the Google Compute Engine API, not by the Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone. Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this: compute.googleapis.com/projects/
+                  # /zones//diskTypes/pd-standard
             },
           ],
         },
       ],
-      "dataset": "A String",
-      "experiments": [
-        "A String",
-      ],
-      "sdkPipelineOptions": {
-        "a_key": "",
-      },
-      "userAgent": {
-        "a_key": "",
-      },
-      "clusterManagerApiService": "A String",
-      "tempStoragePrefix": "A String",
     },
-    "replaceJobId": "A String",
-    "steps": [
-      {
-        "kind": "A String",
-        "name": "A String",
-        "properties": {
-          "a_key": "",
+    "replaceJobId": "A String", # If this job is an update of an existing job, this field will be the ID of the job it replaced. When sending a CreateJobRequest, you can update a job by specifying it here. The job named here will be stopped, and its intermediate state transferred to this job.
+    "steps": [ # The top-level steps that constitute the entire job.
+      { # Defines a particular step within a Dataflow job. A job consists of multiple steps, each of which performs some specific operation as part of the overall job. Data is typically passed from one step to another as part of the job. Here's an example of a sequence of steps which together implement a Map-Reduce job: * Read a collection of data from some source, parsing the collection's elements. * Validate the elements. * Apply a user-defined function to map each element to some value and extract an element-specific key value. * Group elements with the same key into a single element with that key, transforming a multiply-keyed collection into a uniquely-keyed collection. * Write the elements out to some data sink. (Note that the Dataflow service may be used to run many different types of jobs, not just Map-Reduce).
+        "kind": "A String", # The kind of step in the dataflow Job.
+        "name": "A String", # Name identifying the step. This must be unique for each step with respect to all other steps in the dataflow Job.
+        "properties": { # Named properties associated with the step. Each kind of predefined step has its own required set of properties.
+          "a_key": "", # Properties of the object.
         },
       },
     ],
-    "currentStateTime": "A String",
-    "type": "A String",
-    "createTime": "A String",
-    "currentState": "A String",
-    "executionInfo": {
-      "stages": {
-        "a_key": {
-          "stepName": [
+    "currentStateTime": "A String", # The timestamp associated with the current state.
+    "type": "A String", # The type of dataflow job.
+    "id": "A String", # The unique ID of this job. This field is set by the Dataflow service when the Job is created, and is immutable for the life of the Job.
+    "currentState": "A String", # The current state of the job. Jobs are created in the JOB_STATE_STOPPED state unless otherwise specified. A job in the JOB_STATE_RUNNING state may asynchronously enter a terminal state. Once a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Dataflow service; callers cannot mutate it.
+    "executionInfo": { # Additional information about how a Dataflow job will be executed which isn’t contained in the submitted job. # Information about how the Dataflow service will actually run the job.
+      "stages": { # A mapping from each stage to the information about that stage.
+        "a_key": { # Contains information about how a particular [google.dataflow.v1beta3.Step][google.dataflow.v1beta3.Step] will be executed.
+          "stepName": [ # The steps associated with the execution stage. Note that stages may have several steps, and that a given step might be run by more than one stage.
             "A String",
           ],
         },
       },
     },
-  }
-
+ } -
- update(projectId, jobId, body) -
Updates the state of an existing dataflow job.
+  x__xgafv: string, V1 error format.
 
-Args:
-  projectId: string, A parameter (required)
-  jobId: string, A parameter (required)
-  body: object, The request body. (required)
-    The object takes the form of:
+Returns:
+  An object of the form:
 
-{
-  "clientRequestId": "A String",
-  "requestedState": "A String",
-  "name": "A String",
-  "projectId": "A String",
-  "transformNameMapping": {
-    "a_key": "A String",
-  },
-  "id": "A String",
-  "environment": {
-    "version": {
-      "a_key": "",
-    },
-    "workerPools": [
-      {
-        "diskSourceImage": "A String",
-        "teardownPolicy": "A String",
-        "kind": "A String",
-        "packages": [
-          {
-            "location": "A String",
-            "name": "A String",
-          },
-        ],
-        "machineType": "A String",
-        "network": "A String",
-        "zone": "A String",
-        "onHostMaintenance": "A String",
-        "diskType": "A String",
-        "taskrunnerSettings": {
-          "workflowFileName": "A String",
-          "logUploadLocation": "A String",
-          "commandlinesFileName": "A String",
-          "alsologtostderr": True or False,
-          "vmId": "A String",
-          "baseTaskDir": "A String",
-          "continueOnException": True or False,
-          "baseUrl": "A String",
-          "parallelWorkerSettings": {
-            "reportingEnabled": True or False,
-            "shuffleServicePath": "A String",
-            "workerId": "A String",
-            "baseUrl": "A String",
-            "servicePath": "A String",
-            "tempStoragePrefix": "A String",
-          },
-          "oauthScopes": [
-            "A String",
-          ],
-          "taskGroup": "A String",
-          "languageHint": "A String",
-          "logToSerialconsole": True or False,
-          "streamingWorkerMainClass": "A String",
-          "logDir": "A String",
-          "dataflowApiVersion": "A String",
-          "taskUser": "A String",
-          "harnessCommand": "A String",
-          "tempStoragePrefix": "A String",
-        },
-        "diskSizeGb": 42,
-        "poolArgs": {
-          "a_key": "",
-        },
-        "numWorkers": 42,
-        "defaultPackageSet": "A String",
-        "metadata": {
-          "a_key": "A String",
+    { # Defines a job to be run by the Dataflow service.
+      "clientRequestId": "A String", # Client's unique identifier of the job, re-used by SDK across retried attempts. If this field is set, the service will ensure its uniqueness. That is, the request to create a job will fail if the service has knowledge of a previously submitted job with the same client's id and job name. The caller may, for example, use this field to ensure idempotence of job creation across retried attempts to create a job. By default, the field is empty and, in that case, the service ignores it.
+      "requestedState": "A String", # The job's requested state. UpdateJob may be used to switch between the JOB_STATE_STOPPED and JOB_STATE_RUNNING states, by setting requested_state. UpdateJob may also be used to directly set a job's requested state to JOB_STATE_CANCELLED or JOB_STATE_DONE, irrevocably terminating the job if it has not already reached a terminal state.
+      "name": "A String", # The user-specified Dataflow job name. Only one Job with a given name may exist in a project at any given time. If a caller attempts to create a Job with the same name as an already-existing Job, the attempt will return the existing Job. The name must match the regular expression [a-z]([-a-z0-9]{0,38}[a-z0-9])?
+      "replacedByJobId": "A String", # If another job is an update of this job (and thus, this job is in JOB_STATE_UPDATED), this field will contain the ID of that job.
+      "projectId": "A String", # The project which owns the job.
+      "transformNameMapping": { # Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
+        "a_key": "A String",
+      },
+      "createTime": "A String", # Timestamp when job was initially created. Immutable, set by the Dataflow service.
+      "environment": { # Describes the environment in which a Dataflow Job runs. # Environment for the job.
+        "version": { # A structure describing which components and their versions of the service are required in order to run the job.
+          "a_key": "", # Properties of the object.
         },
-        "autoscalingSettings": {
-          "maxNumWorkers": 42,
-          "algorithm": "A String",
+        "tempStoragePrefix": "A String", # The prefix of the resources the system should use for temporary storage. The system will append the suffix "/temp-{JOBNAME} to this resource prefix, where {JOBNAME} is the value of the job_name field. The resulting bucket and object prefix is used as the prefix of the resources used to store temporary data needed during the job execution. NOTE: This will override the value in taskrunner_settings. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
+        "internalExperiments": { # Experimental settings.
+          "a_key": "", # Properties of the object. Contains field @ype with type URL.
         },
-        "dataDisks": [
-          {
-            "mountPoint": "A String",
-            "sizeGb": 42,
-            "diskType": "A String",
-          },
-        ],
-      },
-    ],
-    "dataset": "A String",
-    "experiments": [
-      "A String",
-    ],
-    "sdkPipelineOptions": {
-      "a_key": "",
-    },
-    "userAgent": {
-      "a_key": "",
-    },
-    "clusterManagerApiService": "A String",
-    "tempStoragePrefix": "A String",
-  },
-  "replaceJobId": "A String",
-  "steps": [
-    {
-      "kind": "A String",
-      "name": "A String",
-      "properties": {
-        "a_key": "",
-      },
-    },
-  ],
-  "currentStateTime": "A String",
-  "type": "A String",
-  "createTime": "A String",
-  "currentState": "A String",
-  "executionInfo": {
-    "stages": {
-      "a_key": {
-        "stepName": [
+        "dataset": "A String", # The dataset for the current project where various workflow related tables are stored. The supported resource type is: Google BigQuery: bigquery.googleapis.com/{dataset}
+        "experiments": [ # The list of experiments to enable.
           "A String",
         ],
-      },
-    },
-  },
-}
-
-
-Returns:
-  An object of the form:
-
-    {
-    "clientRequestId": "A String",
-    "requestedState": "A String",
-    "name": "A String",
-    "projectId": "A String",
-    "transformNameMapping": {
-      "a_key": "A String",
-    },
-    "id": "A String",
-    "environment": {
-      "version": {
-        "a_key": "",
-      },
-      "workerPools": [
-        {
-          "diskSourceImage": "A String",
-          "teardownPolicy": "A String",
-          "kind": "A String",
-          "packages": [
-            {
-              "location": "A String",
-              "name": "A String",
+        "sdkPipelineOptions": { # The Dataflow SDK pipeline options specified by the user. These options are passed through the service and are used to recreate the SDK pipeline options on the worker in a language agnostic and platform independent way.
+          "a_key": "", # Properties of the object.
+        },
+        "userAgent": { # A description of the process that generated the request.
+          "a_key": "", # Properties of the object.
+        },
+        "clusterManagerApiService": "A String", # The type of cluster manager API to use. If unknown or unspecified, the service will attempt to choose a reasonable default. This should be in the form of the API service name, e.g. "compute.googleapis.com".
+        "workerPools": [ # Worker pools. At least one "harness" worker pool must be specified in order for the job to have workers.
+          { # Describes one particular pool of Dataflow workers to be instantiated by the Dataflow service in order to perform the computations required by a job. Note that a workflow job may use multiple pools, in order to match the various computational requirements of the various stages of the job.
+            "diskSourceImage": "A String", # Fully qualified source image for disks.
+            "taskrunnerSettings": { # Taskrunner configuration settings. # Settings passed through to Google Compute Engine workers when using the standard Dataflow task runner. Users should ignore this field.
+              "workflowFileName": "A String", # Store the workflow in this file.
+              "logUploadLocation": "A String", # Indicates where to put logs. If this is not specified, the logs will not be uploaded. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
+              "commandlinesFileName": "A String", # Store preprocessing commands in this file.
+              "parallelWorkerSettings": { # Provides data to pass through to the worker harness. # Settings to pass to the parallel worker harness.
+                "reportingEnabled": True or False, # Send work progress updates to service.
+                "shuffleServicePath": "A String", # The Shuffle service path relative to the root URL, for example, "shuffle/v1beta1".
+                "workerId": "A String", # ID of the worker running this pipeline.
+                "baseUrl": "A String", # The base URL for accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators". If not specified, the default value is "http://www.googleapis.com/"
+                "servicePath": "A String", # The Dataflow service path relative to the root URL, for example, "dataflow/v1b3/projects".
+                "tempStoragePrefix": "A String", # The prefix of the resources the system should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
+              },
+              "vmId": "A String", # ID string of VM.
+              "baseTaskDir": "A String", # Location on the worker for task-specific subdirectories.
+              "continueOnException": True or False, # Do we continue taskrunner if an exception is hit?
+              "baseUrl": "A String", # The base URL for the taskrunner to use when accessing Google Cloud APIs. When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, "Relative Uniform Resource Locators". If not specified, the default value is "http://www.googleapis.com/"
+              "taskUser": "A String", # The UNIX user ID on the worker VM to use for tasks launched by taskrunner; e.g. "root".
+              "taskGroup": "A String", # The UNIX group ID on the worker VM to use for tasks launched by taskrunner; e.g. "wheel".
+              "oauthScopes": [ # OAuth2 scopes to be requested by the taskrunner in order to access the dataflow API.
+                "A String",
+              ],
+              "languageHint": "A String", # Suggested backend language.
+              "logToSerialconsole": True or False, # Send taskrunner log into to Google Compute Engine VM serial console?
+              "streamingWorkerMainClass": "A String", # Streaming worker main class name.
+              "logDir": "A String", # Directory on the VM to store logs.
+              "dataflowApiVersion": "A String", # API version of endpoint, e.g. "v1b3"
+              "harnessCommand": "A String", # Command to launch the worker harness.
+              "tempStoragePrefix": "A String", # The prefix of the resources the taskrunner should use for temporary storage. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
+              "alsologtostderr": True or False, # Also send taskrunner log info to stderr?
             },
-          ],
-          "machineType": "A String",
-          "network": "A String",
-          "zone": "A String",
-          "onHostMaintenance": "A String",
-          "diskType": "A String",
-          "taskrunnerSettings": {
-            "workflowFileName": "A String",
-            "logUploadLocation": "A String",
-            "commandlinesFileName": "A String",
-            "alsologtostderr": True or False,
-            "vmId": "A String",
-            "baseTaskDir": "A String",
-            "continueOnException": True or False,
-            "baseUrl": "A String",
-            "parallelWorkerSettings": {
-              "reportingEnabled": True or False,
-              "shuffleServicePath": "A String",
-              "workerId": "A String",
-              "baseUrl": "A String",
-              "servicePath": "A String",
-              "tempStoragePrefix": "A String",
+            "kind": "A String", # The kind of the worker pool; currently only 'harness' and 'shuffle' are supported.
+            "machineType": "A String", # Machine type (e.g. "n1-standard-1"). If empty or unspecified, the service will attempt to choose a reasonable default.
+            "network": "A String", # Network to which VMs will be assigned. If empty or unspecified, the service will use the network "default".
+            "zone": "A String", # Zone to run the worker pools in (e.g. "us-central1-b"). If empty or unspecified, the service will attempt to choose a reasonable default.
+            "onHostMaintenance": "A String", # The action to take on host maintenance, as defined by the Google Compute Engine API.
+            "diskType": "A String", # Type of root disk for VMs. If empty or unspecified, the service will attempt to choose a reasonable default.
+            "teardownPolicy": "A String", # Sets the policy for determining when to turndown worker pool. Allowed values are: TEARDOWN_ALWAYS, TEARDOWN_ON_SUCCESS, and TEARDOWN_NEVER. TEARDOWN_ALWAYS means workers are always torn down regardless of whether the job succeeds. TEARDOWN_ON_SUCCESS means workers are torn down if the job succeeds. TEARDOWN_NEVER means the workers are never torn down. If the workers are not torn down by the service, they will continue to run and use Google Compute Engine VM resources in the user's project until they are explicitly terminated by the user. Because of this, Google recommends using the TEARDOWN_ALWAYS policy except for small, manually supervised test jobs. If unknown or unspecified, the service will attempt to choose a reasonable default.
+            "diskSizeGb": 42, # Size of root disk for VMs, in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
+            "metadata": { # Metadata to set on the Google Compute Engine VMs.
+              "a_key": "A String",
             },
-            "oauthScopes": [
-              "A String",
+            "poolArgs": { # Extra arguments for this worker pool.
+              "a_key": "", # Properties of the object. Contains field @ype with type URL.
+            },
+            "numWorkers": 42, # Number of Google Compute Engine workers in this pool needed to execute the job. If zero or unspecified, the service will attempt to choose a reasonable default.
+            "defaultPackageSet": "A String", # The default package set to install. This allows the service to select a default set of packages which are useful to worker harnesses written in a particular language.
+            "packages": [ # Packages to be installed on workers.
+              { # Packages that need to be installed in order for a worker to run the steps of the Dataflow job which will be assigned to its worker pool. This is the mechanism by which the SDK causes code to be loaded onto the workers. For example, the Dataflow Java SDK might use this to install jars containing the user's code and all of the various dependencies (libraries, data files, etc) required in order for that code to run.
+                "name": "A String", # The name of the package.
+                "location": "A String", # The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
+              },
+            ],
+            "autoscalingSettings": { # Settings for WorkerPool autoscaling. # Settings for autoscaling of this WorkerPool.
+              "maxNumWorkers": 42, # The maximum number of workers to cap scaling at.
+              "algorithm": "A String", # The algorithm to use for autoscaling.
+            },
+            "dataDisks": [ # Data disks that are used by a VM in this workflow.
+              { # Describes the data disk used by a workflow job.
+                "mountPoint": "A String", # Directory in a VM where disk is mounted.
+                "sizeGb": 42, # Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.
+                "diskType": "A String", # Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default. For example, the standard persistent disk type is a resource name typically ending in "pd-standard". If SSD persistent disks are available, the resource name typically ends with "pd-ssd". The actual valid values are defined the Google Compute Engine API, not by the Dataflow API; consult the Google Compute Engine documentation for more information about determining the set of available disk types for a particular project and zone. Google Compute Engine Disk types are local to a particular project in a particular zone, and so the resource name will typically look something like this: compute.googleapis.com/projects/
+                    # /zones//diskTypes/pd-standard
+              },
             ],
-            "taskGroup": "A String",
-            "languageHint": "A String",
-            "logToSerialconsole": True or False,
-            "streamingWorkerMainClass": "A String",
-            "logDir": "A String",
-            "dataflowApiVersion": "A String",
-            "taskUser": "A String",
-            "harnessCommand": "A String",
-            "tempStoragePrefix": "A String",
-          },
-          "diskSizeGb": 42,
-          "poolArgs": {
-            "a_key": "",
-          },
-          "numWorkers": 42,
-          "defaultPackageSet": "A String",
-          "metadata": {
-            "a_key": "A String",
           },
-          "autoscalingSettings": {
-            "maxNumWorkers": 42,
-            "algorithm": "A String",
+        ],
+      },
+      "replaceJobId": "A String", # If this job is an update of an existing job, this field will be the ID of the job it replaced. When sending a CreateJobRequest, you can update a job by specifying it here. The job named here will be stopped, and its intermediate state transferred to this job.
+      "steps": [ # The top-level steps that constitute the entire job.
+        { # Defines a particular step within a Dataflow job. A job consists of multiple steps, each of which performs some specific operation as part of the overall job. Data is typically passed from one step to another as part of the job. Here's an example of a sequence of steps which together implement a Map-Reduce job: * Read a collection of data from some source, parsing the collection's elements. * Validate the elements. * Apply a user-defined function to map each element to some value and extract an element-specific key value. * Group elements with the same key into a single element with that key, transforming a multiply-keyed collection into a uniquely-keyed collection. * Write the elements out to some data sink. (Note that the Dataflow service may be used to run many different types of jobs, not just Map-Reduce).
+          "kind": "A String", # The kind of step in the dataflow Job.
+          "name": "A String", # Name identifying the step. This must be unique for each step with respect to all other steps in the dataflow Job.
+          "properties": { # Named properties associated with the step. Each kind of predefined step has its own required set of properties.
+            "a_key": "", # Properties of the object.
           },
-          "dataDisks": [
-            {
-              "mountPoint": "A String",
-              "sizeGb": 42,
-              "diskType": "A String",
-            },
-          ],
         },
       ],
-      "dataset": "A String",
-      "experiments": [
-        "A String",
-      ],
-      "sdkPipelineOptions": {
-        "a_key": "",
-      },
-      "userAgent": {
-        "a_key": "",
-      },
-      "clusterManagerApiService": "A String",
-      "tempStoragePrefix": "A String",
-    },
-    "replaceJobId": "A String",
-    "steps": [
-      {
-        "kind": "A String",
-        "name": "A String",
-        "properties": {
-          "a_key": "",
-        },
-      },
-    ],
-    "currentStateTime": "A String",
-    "type": "A String",
-    "createTime": "A String",
-    "currentState": "A String",
-    "executionInfo": {
-      "stages": {
-        "a_key": {
-          "stepName": [
-            "A String",
-          ],
+      "currentStateTime": "A String", # The timestamp associated with the current state.
+      "type": "A String", # The type of dataflow job.
+      "id": "A String", # The unique ID of this job. This field is set by the Dataflow service when the Job is created, and is immutable for the life of the Job.
+      "currentState": "A String", # The current state of the job. Jobs are created in the JOB_STATE_STOPPED state unless otherwise specified. A job in the JOB_STATE_RUNNING state may asynchronously enter a terminal state. Once a job has reached a terminal state, no further state updates may be made. This field may be mutated by the Dataflow service; callers cannot mutate it.
+      "executionInfo": { # Additional information about how a Dataflow job will be executed which isn’t contained in the submitted job. # Information about how the Dataflow service will actually run the job.
+        "stages": { # A mapping from each stage to the information about that stage.
+          "a_key": { # Contains information about how a particular [google.dataflow.v1beta3.Step][google.dataflow.v1beta3.Step] will be executed.
+            "stepName": [ # The steps associated with the execution stage. Note that stages may have several steps, and that a given step might be run by more than one stage.
+              "A String",
+            ],
+          },
         },
       },
-    },
-  }
+ }
\ No newline at end of file diff --git a/docs/dyn/dataflow_v1b3.projects.jobs.messages.html b/docs/dyn/dataflow_v1b3.projects.jobs.messages.html index becf367150d..a33e7cd30d7 100644 --- a/docs/dyn/dataflow_v1b3.projects.jobs.messages.html +++ b/docs/dyn/dataflow_v1b3.projects.jobs.messages.html @@ -75,43 +75,37 @@

Google Dataflow API . projects . jobs . messages

Instance Methods

- list(projectId, jobId, pageSize=None, pageToken=None, startTime=None, endTime=None, minimumImportance=None)

+ list(projectId, jobId, startTime=None, pageSize=None, x__xgafv=None, pageToken=None, minimumImportance=None, endTime=None)

Request the job status.

list_next(previous_request, previous_response)

Retrieves the next page of results.

Method Details

- list(projectId, jobId, pageSize=None, pageToken=None, startTime=None, endTime=None, minimumImportance=None) + list(projectId, jobId, startTime=None, pageSize=None, x__xgafv=None, pageToken=None, minimumImportance=None, endTime=None)
Request the job status.
 
 Args:
-  projectId: string, A parameter (required)
-  jobId: string, A parameter (required)
-  pageSize: integer, A parameter
-  pageToken: string, A parameter
-  startTime: string, A parameter
-  endTime: string, A parameter
-  minimumImportance: string, A parameter
-    Allowed values
-      JOB_MESSAGE_BASIC - 
-      JOB_MESSAGE_DEBUG - 
-      JOB_MESSAGE_DETAILED - 
-      JOB_MESSAGE_ERROR - 
-      JOB_MESSAGE_IMPORTANCE_UNKNOWN - 
-      JOB_MESSAGE_WARNING - 
+  projectId: string, A project id. (required)
+  jobId: string, The job to get messages about. (required)
+  startTime: string, If specified, return only messages with timestamps >= start_time. The default is the job creation time (i.e. beginning of messages).
+  pageSize: integer, If specified, determines the maximum number of messages to return. If unspecified, the service may choose an appropriate default, or may return an arbitrarily large number of results.
+  x__xgafv: string, V1 error format.
+  pageToken: string, If supplied, this should be the value of next_page_token returned by an earlier call. This will cause the next page of results to be returned.
+  minimumImportance: string, Filter to only get messages with importance >= level
+  endTime: string, Return only messages with timestamps < end_time. The default is now (i.e. return up to the latest messages available).
 
 Returns:
   An object of the form:
 
-    {
-    "nextPageToken": "A String",
-    "jobMessages": [
-      {
-        "messageImportance": "A String",
-        "messageText": "A String",
-        "id": "A String",
-        "time": "A String",
+    { # Response to a request to list job messages.
+    "nextPageToken": "A String", # The token to obtain the next page of results if there are more.
+    "jobMessages": [ # Messages in ascending timestamp order.
+      { # A particular message pertaining to a Dataflow job.
+        "messageImportance": "A String", # Importance level of the message.
+        "messageText": "A String", # The text of the message.
+        "id": "A String", # Identifies the message. This is automatically generated by the service; the caller should treat it as an opaque string.
+        "time": "A String", # The timestamp of the message.
       },
     ],
   }
diff --git a/docs/dyn/dataflow_v1b3.projects.jobs.workItems.html b/docs/dyn/dataflow_v1b3.projects.jobs.workItems.html index 198e4c1a468..8a77ee811e2 100644 --- a/docs/dyn/dataflow_v1b3.projects.jobs.workItems.html +++ b/docs/dyn/dataflow_v1b3.projects.jobs.workItems.html @@ -75,659 +75,702 @@

Google Dataflow API . projects . jobs . workItems

Instance Methods

- lease(projectId, jobId, body)

+ lease(projectId, jobId, body, x__xgafv=None)

Leases a dataflow WorkItem to run.

- reportStatus(projectId, jobId, body)

+ reportStatus(projectId, jobId, body, x__xgafv=None)

Reports the status of dataflow WorkItems leased by a worker.

Method Details

- lease(projectId, jobId, body) + lease(projectId, jobId, body, x__xgafv=None)
Leases a dataflow WorkItem to run.
 
 Args:
-  projectId: string, A parameter (required)
-  jobId: string, A parameter (required)
+  projectId: string, Identifies the project this worker belongs to. (required)
+  jobId: string, Identifies the workflow job this worker belongs to. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
-{
-    "requestedLeaseDuration": "A String",
-    "workItemTypes": [
+{ # Request to lease WorkItems.
+    "workItemTypes": [ # Filter for WorkItem type.
       "A String",
     ],
-    "workerCapabilities": [
+    "requestedLeaseDuration": "A String", # The initial lease period.
+    "workerCapabilities": [ # Worker capabilities. WorkItems might be limited to workers with specific capabilities.
       "A String",
     ],
-    "currentWorkerTime": "A String",
-    "workerId": "A String",
+    "currentWorkerTime": "A String", # The current timestamp at the worker.
+    "workerId": "A String", # Identifies the worker leasing work -- typically the ID of the virtual machine running the worker.
   }
 
+  x__xgafv: string, V1 error format.
 
 Returns:
   An object of the form:
 
-    {
-    "workItems": [
-      {
-        "packages": [
-          {
-            "location": "A String",
-            "name": "A String",
-          },
-        ],
-        "leaseExpireTime": "A String",
-        "seqMapTask": {
-          "inputs": [
-            {
-              "sources": [
-                {
-                  "codec": {
-                    "a_key": "",
+    { # Response to a request to lease WorkItems.
+    "workItems": [ # A list of the leased WorkItems.
+      { # WorkItem represents basic information about a WorkItem to be executed in the cloud.
+        "reportStatusInterval": "A String", # Recommended reporting interval.
+        "leaseExpireTime": "A String", # Time when the lease on this [Work][] will expire.
+        "seqMapTask": { # Describes a particular function to invoke. # Additional information for SeqMapTask WorkItems.
+          "inputs": [ # Information about each of the inputs.
+            { # Information about a side input of a DoFn or an input of a SeqDoFn.
+              "sources": [ # The source(s) to read element(s) from to get the value of this side input. If more than one source, then the elements are taken from the sources, in the specified order if order matters. At least one source is required.
+                { # A source that records can be read and decoded from.
+                  "codec": { # The codec to use to decode data read from the source.
+                    "a_key": "", # Properties of the object.
                   },
-                  "baseSpecs": [
+                  "baseSpecs": [ # While splitting, sources may specify the produced bundles as differences against another source, in order to save backend-side memory and allow bigger jobs. For details, see SourceSplitRequest. To support this use case, the full set of parameters of the source is logically obtained by taking the latest explicitly specified value of each parameter in the order: base_specs (later items win), spec (overrides anything in base_specs).
                     {
-                      "a_key": "",
+                      "a_key": "", # Properties of the object.
                     },
                   ],
-                  "spec": {
-                    "a_key": "",
+                  "spec": { # The source to read from, plus its parameters.
+                    "a_key": "", # Properties of the object.
                   },
-                  "doesNotNeedSplitting": True or False,
-                  "metadata": {
-                    "infinite": True or False,
-                    "estimatedSizeBytes": "A String",
-                    "producesSortedKeys": True or False,
+                  "doesNotNeedSplitting": True or False, # Setting this value to true hints to the framework that the source doesn't need splitting, and using SourceSplitRequest on it would yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. E.g. a file splitter may set this to true when splitting a single file into a set of byte ranges of appropriate size, and set this to false when splitting a filepattern into individual files. However, for efficiency, a file splitter may decide to produce file subranges directly from the filepattern to avoid a splitting round-trip. See SourceSplitRequest for an overview of the splitting process. This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+                  "metadata": { # Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc. # Optionally, metadata for this source can be supplied right away, avoiding a SourceGetMetadataOperation roundtrip (see SourceOperationRequest). This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+                    "infinite": True or False, # Specifies that the size of this source is known to be infinite (this is a streaming source).
+                    "estimatedSizeBytes": "A String", # An estimate of the total size (in bytes) of the data that would be read from this source. This estimate is in terms of external storage size, before any decompression or other processing done by the reader.
+                    "producesSortedKeys": True or False, # Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order.
                   },
                 },
               ],
-              "kind": {
-                "a_key": "",
+              "kind": { # How to interpret the source element(s) as a side input value.
+                "a_key": "", # Properties of the object.
               },
-              "tag": "A String",
+              "tag": "A String", # The id of the tag the user code will access this side input by; this should correspond to the tag of some MultiOutputInfo.
             },
           ],
-          "name": "A String",
-          "stageName": "A String",
-          "systemName": "A String",
-          "userFn": {
-            "a_key": "",
-          },
-          "outputInfos": [
-            {
-              "tag": "A String",
-              "sink": {
-                "codec": {
-                  "a_key": "",
+          "outputInfos": [ # Information about each of the outputs.
+            { # Information about an output of a SeqMapTask.
+              "tag": "A String", # The id of the TupleTag the user code will tag the output value by.
+              "sink": { # A sink that records can be encoded and written to. # The sink to write the output value to.
+                "codec": { # The codec to use to encode data written to the sink.
+                  "a_key": "", # Properties of the object.
                 },
-                "spec": {
-                  "a_key": "",
+                "spec": { # The sink to write to, plus its parameters.
+                  "a_key": "", # Properties of the object.
                 },
               },
             },
           ],
+          "stageName": "A String", # System-defined name of the stage containing the SeqDo operation. Unique across the workflow.
+          "systemName": "A String", # System-defined name of the SeqDo operation. Unique across the workflow.
+          "userFn": { # The user function to invoke.
+            "a_key": "", # Properties of the object.
+          },
+          "name": "A String", # The user-provided name of the SeqDo operation.
         },
-        "projectId": "A String",
-        "sourceOperationTask": {
-          "getMetadata": {
-            "source": {
-              "codec": {
-                "a_key": "",
-              },
-              "baseSpecs": [
+        "projectId": "A String", # Identifies the cloud project this WorkItem belongs to.
+        "sourceOperationTask": { # A work item that represents the different operations that can be performed on a user-defined Source specification. # Additional information for source operation WorkItems.
+          "getMetadata": { # A request to compute the SourceMetadata of a Source. # Information about a request to get metadata about a source.
+            "source": { # A source that records can be read and decoded from. # Specification of the source whose metadata should be computed.
+              "codec": { # The codec to use to decode data read from the source.
+                "a_key": "", # Properties of the object.
+              },
+              "baseSpecs": [ # While splitting, sources may specify the produced bundles as differences against another source, in order to save backend-side memory and allow bigger jobs. For details, see SourceSplitRequest. To support this use case, the full set of parameters of the source is logically obtained by taking the latest explicitly specified value of each parameter in the order: base_specs (later items win), spec (overrides anything in base_specs).
                 {
-                  "a_key": "",
+                  "a_key": "", # Properties of the object.
                 },
               ],
-              "spec": {
-                "a_key": "",
+              "spec": { # The source to read from, plus its parameters.
+                "a_key": "", # Properties of the object.
               },
-              "doesNotNeedSplitting": True or False,
-              "metadata": {
-                "infinite": True or False,
-                "estimatedSizeBytes": "A String",
-                "producesSortedKeys": True or False,
+              "doesNotNeedSplitting": True or False, # Setting this value to true hints to the framework that the source doesn't need splitting, and using SourceSplitRequest on it would yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. E.g. a file splitter may set this to true when splitting a single file into a set of byte ranges of appropriate size, and set this to false when splitting a filepattern into individual files. However, for efficiency, a file splitter may decide to produce file subranges directly from the filepattern to avoid a splitting round-trip. See SourceSplitRequest for an overview of the splitting process. This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+              "metadata": { # Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc. # Optionally, metadata for this source can be supplied right away, avoiding a SourceGetMetadataOperation roundtrip (see SourceOperationRequest). This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+                "infinite": True or False, # Specifies that the size of this source is known to be infinite (this is a streaming source).
+                "estimatedSizeBytes": "A String", # An estimate of the total size (in bytes) of the data that would be read from this source. This estimate is in terms of external storage size, before any decompression or other processing done by the reader.
+                "producesSortedKeys": True or False, # Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order.
               },
             },
           },
-          "split": {
-            "source": {
-              "codec": {
-                "a_key": "",
+          "split": { # Represents the operation to split a high-level Source specification into bundles (parts for parallel processing). At a high level, splitting of a source into bundles happens as follows: SourceSplitRequest is applied to the source. If it returns SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting happens and the source is used "as is". Otherwise, splitting is applied recursively to each produced DerivedSource. As an optimization, for any Source, if its does_not_need_splitting is true, the framework assumes that splitting this source would return SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest. This applies both to the initial source being split and to bundles produced from it. # Information about a request to split a source.
+            "source": { # A source that records can be read and decoded from. # Specification of the source to be split.
+              "codec": { # The codec to use to decode data read from the source.
+                "a_key": "", # Properties of the object.
               },
-              "baseSpecs": [
+              "baseSpecs": [ # While splitting, sources may specify the produced bundles as differences against another source, in order to save backend-side memory and allow bigger jobs. For details, see SourceSplitRequest. To support this use case, the full set of parameters of the source is logically obtained by taking the latest explicitly specified value of each parameter in the order: base_specs (later items win), spec (overrides anything in base_specs).
                 {
-                  "a_key": "",
+                  "a_key": "", # Properties of the object.
                 },
               ],
-              "spec": {
-                "a_key": "",
+              "spec": { # The source to read from, plus its parameters.
+                "a_key": "", # Properties of the object.
               },
-              "doesNotNeedSplitting": True or False,
-              "metadata": {
-                "infinite": True or False,
-                "estimatedSizeBytes": "A String",
-                "producesSortedKeys": True or False,
+              "doesNotNeedSplitting": True or False, # Setting this value to true hints to the framework that the source doesn't need splitting, and using SourceSplitRequest on it would yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. E.g. a file splitter may set this to true when splitting a single file into a set of byte ranges of appropriate size, and set this to false when splitting a filepattern into individual files. However, for efficiency, a file splitter may decide to produce file subranges directly from the filepattern to avoid a splitting round-trip. See SourceSplitRequest for an overview of the splitting process. This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+              "metadata": { # Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc. # Optionally, metadata for this source can be supplied right away, avoiding a SourceGetMetadataOperation roundtrip (see SourceOperationRequest). This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+                "infinite": True or False, # Specifies that the size of this source is known to be infinite (this is a streaming source).
+                "estimatedSizeBytes": "A String", # An estimate of the total size (in bytes) of the data that would be read from this source. This estimate is in terms of external storage size, before any decompression or other processing done by the reader.
+                "producesSortedKeys": True or False, # Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order.
               },
             },
-            "options": {
-              "desiredShardSizeBytes": "A String",
-              "desiredBundleSizeBytes": "A String",
+            "options": { # Hints for splitting a Source into bundles (parts for parallel processing) using SourceSplitRequest. # Hints for tuning the splitting process.
+              "desiredShardSizeBytes": "A String", # DEPRECATED in favor of desired_bundle_size_bytes.
+              "desiredBundleSizeBytes": "A String", # The source should be split into a set of bundles where the estimated size of each is approximately this many bytes.
             },
           },
         },
-        "initialReportIndex": "A String",
-        "mapTask": {
-          "systemName": "A String",
-          "stageName": "A String",
-          "instructions": [
-            {
-              "name": "A String",
-              "read": {
-                "source": {
-                  "codec": {
-                    "a_key": "",
+        "initialReportIndex": "A String", # The initial index to use when reporting the status of the WorkItem.
+        "mapTask": { # MapTask consists of an ordered set of instructions, each of which describes one particular low-level operation for the worker to perform in order to accomplish the MapTask's WorkItem. Each instruction must appear in the list before any instructions which depends on its output. # Additional information for MapTask WorkItems.
+          "systemName": "A String", # System-defined name of this MapTask. Unique across the workflow.
+          "stageName": "A String", # System-defined name of the stage containing this MapTask. Unique across the workflow.
+          "instructions": [ # The instructions in the MapTask.
+            { # Describes a particular operation comprising a MapTask.
+              "name": "A String", # User-provided name of this operation.
+              "read": { # An instruction that reads records. Takes no inputs, produces one output. # Additional information for Read instructions.
+                "source": { # A source that records can be read and decoded from. # The source to read from.
+                  "codec": { # The codec to use to decode data read from the source.
+                    "a_key": "", # Properties of the object.
                   },
-                  "baseSpecs": [
+                  "baseSpecs": [ # While splitting, sources may specify the produced bundles as differences against another source, in order to save backend-side memory and allow bigger jobs. For details, see SourceSplitRequest. To support this use case, the full set of parameters of the source is logically obtained by taking the latest explicitly specified value of each parameter in the order: base_specs (later items win), spec (overrides anything in base_specs).
                     {
-                      "a_key": "",
+                      "a_key": "", # Properties of the object.
                     },
                   ],
-                  "spec": {
-                    "a_key": "",
+                  "spec": { # The source to read from, plus its parameters.
+                    "a_key": "", # Properties of the object.
                   },
-                  "doesNotNeedSplitting": True or False,
-                  "metadata": {
-                    "infinite": True or False,
-                    "estimatedSizeBytes": "A String",
-                    "producesSortedKeys": True or False,
+                  "doesNotNeedSplitting": True or False, # Setting this value to true hints to the framework that the source doesn't need splitting, and using SourceSplitRequest on it would yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. E.g. a file splitter may set this to true when splitting a single file into a set of byte ranges of appropriate size, and set this to false when splitting a filepattern into individual files. However, for efficiency, a file splitter may decide to produce file subranges directly from the filepattern to avoid a splitting round-trip. See SourceSplitRequest for an overview of the splitting process. This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+                  "metadata": { # Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc. # Optionally, metadata for this source can be supplied right away, avoiding a SourceGetMetadataOperation roundtrip (see SourceOperationRequest). This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+                    "infinite": True or False, # Specifies that the size of this source is known to be infinite (this is a streaming source).
+                    "estimatedSizeBytes": "A String", # An estimate of the total size (in bytes) of the data that would be read from this source. This estimate is in terms of external storage size, before any decompression or other processing done by the reader.
+                    "producesSortedKeys": True or False, # Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order.
                   },
                 },
               },
-              "outputs": [
-                {
-                  "codec": {
-                    "a_key": "",
+              "outputs": [ # Describes the outputs of the instruction.
+                { # An output of an instruction.
+                  "codec": { # The codec to use to encode data being written via this output.
+                    "a_key": "", # Properties of the object.
                   },
-                  "name": "A String",
+                  "systemName": "A String", # System-defined name of this output. Unique across the workflow.
+                  "name": "A String", # The user-provided name of this output.
                 },
               ],
-              "partialGroupByKey": {
-                "input": {
-                  "outputNum": 42,
-                  "producerInstructionIndex": 42,
+              "partialGroupByKey": { # An instruction that does a partial group-by-key. One input and one output. # Additional information for PartialGroupByKey instructions.
+                "input": { # An input of an instruction, as a reference to an output of a producer instruction. # Describes the input to the partial group-by-key instruction.
+                  "outputNum": 42, # The output index (origin zero) within the producer.
+                  "producerInstructionIndex": 42, # The index (origin zero) of the parallel instruction that produces the output to be consumed by this input. This index is relative to the list of instructions in this input's instruction's containing MapTask.
                 },
-                "valueCombiningFn": {
-                  "a_key": "",
+                "valueCombiningFn": { # The value combining function to invoke.
+                  "a_key": "", # Properties of the object.
                 },
-                "inputElementCodec": {
-                  "a_key": "",
+                "inputElementCodec": { # The codec to use for interpreting an element in the input PTable.
+                  "a_key": "", # Properties of the object.
                 },
               },
-              "write": {
-                "input": {
-                  "outputNum": 42,
-                  "producerInstructionIndex": 42,
+              "write": { # An instruction that writes records. Takes one input, produces no outputs. # Additional information for Write instructions.
+                "input": { # An input of an instruction, as a reference to an output of a producer instruction. # The input.
+                  "outputNum": 42, # The output index (origin zero) within the producer.
+                  "producerInstructionIndex": 42, # The index (origin zero) of the parallel instruction that produces the output to be consumed by this input. This index is relative to the list of instructions in this input's instruction's containing MapTask.
                 },
-                "sink": {
-                  "codec": {
-                    "a_key": "",
+                "sink": { # A sink that records can be encoded and written to. # The sink to write to.
+                  "codec": { # The codec to use to encode data written to the sink.
+                    "a_key": "", # Properties of the object.
                   },
-                  "spec": {
-                    "a_key": "",
+                  "spec": { # The sink to write to, plus its parameters.
+                    "a_key": "", # Properties of the object.
                   },
                 },
               },
-              "systemName": "A String",
-              "flatten": {
-                "inputs": [
-                  {
-                    "outputNum": 42,
-                    "producerInstructionIndex": 42,
+              "systemName": "A String", # System-defined name of this operation. Unique across the workflow.
+              "flatten": { # An instruction that copies its inputs (zero or more) to its (single) output. # Additional information for Flatten instructions.
+                "inputs": [ # Describes the inputs to the flatten instruction.
+                  { # An input of an instruction, as a reference to an output of a producer instruction.
+                    "outputNum": 42, # The output index (origin zero) within the producer.
+                    "producerInstructionIndex": 42, # The index (origin zero) of the parallel instruction that produces the output to be consumed by this input. This index is relative to the list of instructions in this input's instruction's containing MapTask.
                   },
                 ],
               },
-              "parDo": {
-                "sideInputs": [
-                  {
-                    "sources": [
-                      {
-                        "codec": {
-                          "a_key": "",
+              "parDo": { # An instruction that does a ParDo operation. Takes one main input and zero or more side inputs, and produces zero or more outputs. Runs user code. # Additional information for ParDo instructions.
+                "sideInputs": [ # Zero or more side inputs.
+                  { # Information about a side input of a DoFn or an input of a SeqDoFn.
+                    "sources": [ # The source(s) to read element(s) from to get the value of this side input. If more than one source, then the elements are taken from the sources, in the specified order if order matters. At least one source is required.
+                      { # A source that records can be read and decoded from.
+                        "codec": { # The codec to use to decode data read from the source.
+                          "a_key": "", # Properties of the object.
                         },
-                        "baseSpecs": [
+                        "baseSpecs": [ # While splitting, sources may specify the produced bundles as differences against another source, in order to save backend-side memory and allow bigger jobs. For details, see SourceSplitRequest. To support this use case, the full set of parameters of the source is logically obtained by taking the latest explicitly specified value of each parameter in the order: base_specs (later items win), spec (overrides anything in base_specs).
                           {
-                            "a_key": "",
+                            "a_key": "", # Properties of the object.
                           },
                         ],
-                        "spec": {
-                          "a_key": "",
+                        "spec": { # The source to read from, plus its parameters.
+                          "a_key": "", # Properties of the object.
                         },
-                        "doesNotNeedSplitting": True or False,
-                        "metadata": {
-                          "infinite": True or False,
-                          "estimatedSizeBytes": "A String",
-                          "producesSortedKeys": True or False,
+                        "doesNotNeedSplitting": True or False, # Setting this value to true hints to the framework that the source doesn't need splitting, and using SourceSplitRequest on it would yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. E.g. a file splitter may set this to true when splitting a single file into a set of byte ranges of appropriate size, and set this to false when splitting a filepattern into individual files. However, for efficiency, a file splitter may decide to produce file subranges directly from the filepattern to avoid a splitting round-trip. See SourceSplitRequest for an overview of the splitting process. This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+                        "metadata": { # Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc. # Optionally, metadata for this source can be supplied right away, avoiding a SourceGetMetadataOperation roundtrip (see SourceOperationRequest). This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+                          "infinite": True or False, # Specifies that the size of this source is known to be infinite (this is a streaming source).
+                          "estimatedSizeBytes": "A String", # An estimate of the total size (in bytes) of the data that would be read from this source. This estimate is in terms of external storage size, before any decompression or other processing done by the reader.
+                          "producesSortedKeys": True or False, # Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order.
                         },
                       },
                     ],
-                    "kind": {
-                      "a_key": "",
+                    "kind": { # How to interpret the source element(s) as a side input value.
+                      "a_key": "", # Properties of the object.
                     },
-                    "tag": "A String",
+                    "tag": "A String", # The id of the tag the user code will access this side input by; this should correspond to the tag of some MultiOutputInfo.
                   },
                 ],
-                "input": {
-                  "outputNum": 42,
-                  "producerInstructionIndex": 42,
+                "input": { # An input of an instruction, as a reference to an output of a producer instruction. # The input.
+                  "outputNum": 42, # The output index (origin zero) within the producer.
+                  "producerInstructionIndex": 42, # The index (origin zero) of the parallel instruction that produces the output to be consumed by this input. This index is relative to the list of instructions in this input's instruction's containing MapTask.
                 },
-                "multiOutputInfos": [
-                  {
-                    "tag": "A String",
+                "multiOutputInfos": [ # Information about each of the outputs, if user_fn is a MultiDoFn.
+                  { # Information about an output of a multi-output DoFn.
+                    "tag": "A String", # The id of the tag the user code will emit to this output by; this should correspond to the tag of some SideInputInfo.
                   },
                 ],
-                "numOutputs": 42,
-                "userFn": {
-                  "a_key": "",
+                "numOutputs": 42, # The number of outputs.
+                "userFn": { # The user function to invoke.
+                  "a_key": "", # Properties of the object.
                 },
               },
             },
           ],
         },
-        "jobId": "A String",
-        "streamingComputationTask": {
-          "taskType": "A String",
-          "computationRanges": [
-            {
-              "rangeAssignments": [
-                {
-                  "start": "A String",
-                  "end": "A String",
-                  "dataDisk": "A String",
-                },
-              ],
-              "computationId": "A String",
+        "jobId": "A String", # Identifies the workflow job this WorkItem belongs to.
+        "streamingComputationTask": { # A task which describes what action should be performed for the specified streaming computation ranges. # Additional information for StreamingComputationTask WorkItems.
+          "dataDisks": [ # Describes the set of data disks this task should apply to.
+            { # Describes mounted data disk.
+              "dataDisk": "A String", # The name of the data disk. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".
             },
           ],
-          "dataDisks": [
-            {
-              "dataDisk": "A String",
+          "computationRanges": [ # Contains ranges of a streaming computation this task should apply to.
+            { # Describes full or partial data disk assignment information of the computation ranges.
+              "rangeAssignments": [ # Data disk assignments for ranges from this computation.
+                { # Data disk assignment information for a specific key-range of a sharded computation. Currently we only support UTF-8 character splits to simplify encoding into JSON.
+                  "start": "A String", # The start (inclusive) of the key range.
+                  "end": "A String", # The end (exclusive) of the key range.
+                  "dataDisk": "A String", # The name of the data disk where data for this range is stored. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".
+                },
+              ],
+              "computationId": "A String", # The ID of the computation.
             },
           ],
+          "taskType": "A String", # A type of streaming computation task.
         },
-        "reportStatusInterval": "A String",
-        "streamingSetupTask": {
-          "workerHarnessPort": 42,
-          "streamingComputationTopology": {
-            "computations": [
-              {
-                "inputs": [
-                  {
-                    "streamingStageLocation": {
-                      "streamId": "A String",
+        "configuration": "A String", # Work item-specific configuration as an opaque blob.
+        "streamingSetupTask": { # A task which initializes part of a streaming Dataflow job. # Additional information for StreamingSetupTask WorkItems.
+          "workerHarnessPort": 42, # The TCP port used by the worker to communicate with the Dataflow worker harness.
+          "streamingComputationTopology": { # Global topology of the streaming Dataflow job, including all computations and their sharded locations. # The global topology of the streaming Dataflow job.
+            "computations": [ # The computations associated with a streaming Dataflow job.
+              { # All configuration data for a particular Computation.
+                "inputs": [ # The inputs to the computation.
+                  { # Describes a stream of data, either as input to be processed or as output of a streaming Dataflow job.
+                    "streamingStageLocation": { # Identifies the location of a streaming computation stage, for stage-to-stage communication. # The stream is part of another computation within the current streaming Dataflow job.
+                      "streamId": "A String", # Identifies the particular stream within the streaming Dataflow job.
+                    },
+                    "pubsubLocation": { # Identifies a pubsub location to use for transferring data into or out of a streaming Dataflow job. # The stream is a pubsub stream.
+                      "idLabel": "A String", # If set, contains a pubsub label from which to extract record ids. If left empty, record deduplication will be strictly best effort.
+                      "timestampLabel": "A String", # If set, contains a pubsub label from which to extract record timestamps. If left empty, record timestamps will be generated upon arrival.
+                      "dropLateData": True or False, # Indicates whether the pipeline allows late-arriving data.
+                      "topic": "A String", # A pubsub topic, in the form of "pubsub.googleapis.com/topics/
+                          # /"
+                      "trackingSubscription": "A String", # If set, specifies the pubsub subscription that will be used for tracking custom time timestamps for watermark estimation.
+                      "subscription": "A String", # A pubsub subscription, in the form of "pubsub.googleapis.com/subscriptions/
+                          # /"
                     },
-                    "pubsubLocation": {
-                      "idLabel": "A String",
-                      "timestampLabel": "A String",
-                      "dropLateData": True or False,
-                      "topic": "A String",
-                      "trackingSubscription": "A String",
-                      "subscription": "A String",
+                    "customSourceLocation": { # Identifies the location of a custom souce. # The stream is a custom source.
+                      "stateful": True or False, # Whether this source is stateful.
                     },
-                    "sideInputLocation": {
-                      "tag": "A String",
+                    "sideInputLocation": { # Identifies the location of a streaming side input. # The stream is a streaming side input.
+                      "stateFamily": "A String", # Identifies the state family where this side input is stored.
+                      "tag": "A String", # Identifies the particular side input within the streaming Dataflow job.
                     },
                   },
                 ],
-                "computationId": "A String",
-                "keyRanges": [
-                  {
-                    "start": "A String",
-                    "deliveryEndpoint": "A String",
-                    "end": "A String",
-                    "persistentDirectory": "A String",
-                    "dataDisk": "A String",
+                "systemStageName": "A String", # The system stage name.
+                "keyRanges": [ # The key ranges processed by the computation.
+                  { # Location information for a specific key-range of a sharded computation. Currently we only support UTF-8 character splits to simplify encoding into JSON.
+                    "start": "A String", # The start (inclusive) of the key range.
+                    "deliveryEndpoint": "A String", # The physical location of this range assignment to be used for streaming computation cross-worker message delivery.
+                    "end": "A String", # The end (exclusive) of the key range.
+                    "persistentDirectory": "A String", # The location of the persistent state for this range, as a persistent directory in the worker local filesystem.
+                    "dataDisk": "A String", # The name of the data disk where data for this range is stored. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".
                   },
                 ],
-                "outputs": [
-                  {
-                    "streamingStageLocation": {
-                      "streamId": "A String",
+                "computationId": "A String", # The ID of the computation.
+                "outputs": [ # The outputs from the computation.
+                  { # Describes a stream of data, either as input to be processed or as output of a streaming Dataflow job.
+                    "streamingStageLocation": { # Identifies the location of a streaming computation stage, for stage-to-stage communication. # The stream is part of another computation within the current streaming Dataflow job.
+                      "streamId": "A String", # Identifies the particular stream within the streaming Dataflow job.
                     },
-                    "pubsubLocation": {
-                      "idLabel": "A String",
-                      "timestampLabel": "A String",
-                      "dropLateData": True or False,
-                      "topic": "A String",
-                      "trackingSubscription": "A String",
-                      "subscription": "A String",
+                    "pubsubLocation": { # Identifies a pubsub location to use for transferring data into or out of a streaming Dataflow job. # The stream is a pubsub stream.
+                      "idLabel": "A String", # If set, contains a pubsub label from which to extract record ids. If left empty, record deduplication will be strictly best effort.
+                      "timestampLabel": "A String", # If set, contains a pubsub label from which to extract record timestamps. If left empty, record timestamps will be generated upon arrival.
+                      "dropLateData": True or False, # Indicates whether the pipeline allows late-arriving data.
+                      "topic": "A String", # A pubsub topic, in the form of "pubsub.googleapis.com/topics/
+                          # /"
+                      "trackingSubscription": "A String", # If set, specifies the pubsub subscription that will be used for tracking custom time timestamps for watermark estimation.
+                      "subscription": "A String", # A pubsub subscription, in the form of "pubsub.googleapis.com/subscriptions/
+                          # /"
                     },
-                    "sideInputLocation": {
-                      "tag": "A String",
+                    "customSourceLocation": { # Identifies the location of a custom souce. # The stream is a custom source.
+                      "stateful": True or False, # Whether this source is stateful.
                     },
+                    "sideInputLocation": { # Identifies the location of a streaming side input. # The stream is a streaming side input.
+                      "stateFamily": "A String", # Identifies the state family where this side input is stored.
+                      "tag": "A String", # Identifies the particular side input within the streaming Dataflow job.
+                    },
+                  },
+                ],
+                "userStageName": "A String", # The user stage name.
+                "stateFamilies": [ # The state family values.
+                  { # State family configuration.
+                    "stateFamily": "A String", # The state family value.
+                    "isRead": True or False, # If true, this family corresponds to a read operation.
                   },
                 ],
               },
             ],
-            "dataDiskAssignments": [
-              {
-                "vmInstance": "A String",
-                "dataDisks": [
+            "dataDiskAssignments": [ # The disks assigned to a streaming Dataflow job.
+              { # Data disk assignment for a given VM instance.
+                "vmInstance": "A String", # VM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".
+                "dataDisks": [ # Mounted data disks. The order is important a data disk's 0-based index in this list defines which persistent directory the disk is mounted to, for example the list of { "myproject-1014-104817-4c2-harness-0-disk-0" }, { "myproject-1014-104817-4c2-harness-0-disk-1" }.
                   "A String",
                 ],
               },
             ],
+            "userStageToComputationNameMap": { # Maps user stage names to stable computation names.
+              "a_key": "A String",
+            },
           },
-          "receiveWorkPort": 42,
+          "receiveWorkPort": 42, # The TCP port on which the worker should listen for messages from other streaming computation workers.
         },
-        "configuration": "A String",
-        "shellTask": {
-          "command": "A String",
-          "exitCode": 42,
+        "packages": [ # Any required packages that need to be fetched in order to execute this WorkItem.
+          { # Packages that need to be installed in order for a worker to run the steps of the Dataflow job which will be assigned to its worker pool. This is the mechanism by which the SDK causes code to be loaded onto the workers. For example, the Dataflow Java SDK might use this to install jars containing the user's code and all of the various dependencies (libraries, data files, etc) required in order for that code to run.
+            "name": "A String", # The name of the package.
+            "location": "A String", # The resource to read the package from. The supported resource type is: Google Cloud Storage: storage.googleapis.com/{bucket} bucket.storage.googleapis.com/
+          },
+        ],
+        "shellTask": { # A task which consists of a shell command for the worker to execute. # Additional information for ShellTask WorkItems.
+          "command": "A String", # The shell command to run.
+          "exitCode": 42, # Exit code for the task.
         },
-        "id": "A String",
+        "id": "A String", # Identifies this WorkItem.
       },
     ],
   }
- reportStatus(projectId, jobId, body) + reportStatus(projectId, jobId, body, x__xgafv=None)
Reports the status of dataflow WorkItems leased by a worker.
 
 Args:
-  projectId: string, A parameter (required)
-  jobId: string, A parameter (required)
+  projectId: string, The project which owns the WorkItem's job. (required)
+  jobId: string, The job which the WorkItem is part of. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
-{
-    "workerId": "A String",
-    "currentWorkerTime": "A String",
-    "workItemStatuses": [
-      {
-        "reportIndex": "A String",
-        "errors": [
-          {
-            "message": "A String",
-            "code": 42,
-            "details": [
+{ # Request to report the status of WorkItems.
+    "workerId": "A String", # The ID of the worker reporting the WorkItem status. If this does not match the ID of the worker which the Dataflow service believes currently has the lease on the WorkItem, the report will be dropped (with an error response).
+    "currentWorkerTime": "A String", # The current timestamp at the worker.
+    "workItemStatuses": [ # The order is unimportant, except that the order of the WorkItemServiceState messages in the ReportWorkItemStatusResponse corresponds to the order of WorkItemStatus messages here.
+      { # Conveys a worker's progress through the work described by a WorkItem.
+        "reportIndex": "A String", # The report index. When a WorkItem is leased, the lease will contain an initial report index. When a WorkItem's status is reported to the system, the report should be sent with that report index, and the response will contain the index the worker should use for the next report. Reports received with unexpected index values will be rejected by the service. In order to preserve idempotency, the worker should not alter the contents of a report, even if the worker must submit the same report multiple times before getting back a response. The worker should not submit a subsequent report until the response for the previous report had been received from the service.
+        "errors": [ # Specifies errors which occurred during processing. If errors are provided, and completed = true, then the WorkItem is considered to have failed.
+          { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.
+            "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+            "code": 42, # The status code, which should be an enum value of [google.rpc.Code][].
+            "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
               {
-                "a_key": "",
+                "a_key": "", # Properties of the object. Contains field @ype with type URL.
               },
             ],
           },
         ],
-        "sourceOperationResponse": {
-          "getMetadata": {
-            "metadata": {
-              "infinite": True or False,
-              "estimatedSizeBytes": "A String",
-              "producesSortedKeys": True or False,
+        "sourceOperationResponse": { # The result of a SourceOperationRequest, specified in ReportWorkItemStatusRequest.source_operation when the work item is completed. # If the work item represented a SourceOperationRequest, and the work is completed, contains the result of the operation.
+          "getMetadata": { # The result of a SourceGetMetadataOperation. # A response to a request to get metadata about a source.
+            "metadata": { # Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc. # The computed metadata.
+              "infinite": True or False, # Specifies that the size of this source is known to be infinite (this is a streaming source).
+              "estimatedSizeBytes": "A String", # An estimate of the total size (in bytes) of the data that would be read from this source. This estimate is in terms of external storage size, before any decompression or other processing done by the reader.
+              "producesSortedKeys": True or False, # Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order.
             },
           },
-          "split": {
-            "outcome": "A String",
-            "bundles": [
-              {
-                "derivationMode": "A String",
-                "source": {
-                  "codec": {
-                    "a_key": "",
+          "split": { # The response to a SourceSplitRequest. # A response to a request to split a source.
+            "outcome": "A String", # Indicates whether splitting happened and produced a list of bundles. If this is USE_CURRENT_SOURCE_AS_IS, the current source should be processed "as is" without splitting. "bundles" is ignored in this case. If this is SPLITTING_HAPPENED, then "bundles" contains a list of bundles into which the source was split.
+            "bundles": [ # If outcome is SPLITTING_HAPPENED, then this is a list of bundles into which the source was split. Otherwise this field is ignored. This list can be empty, which means the source represents an empty input.
+              { # Specification of one of the bundles produced as a result of splitting a Source (e.g. when executing a SourceSplitRequest, or when splitting an active task using WorkItemStatus.dynamic_source_split), relative to the source being split.
+                "derivationMode": "A String", # What source to base the produced source on (if any).
+                "source": { # A source that records can be read and decoded from. # Specification of the source.
+                  "codec": { # The codec to use to decode data read from the source.
+                    "a_key": "", # Properties of the object.
                   },
-                  "baseSpecs": [
+                  "baseSpecs": [ # While splitting, sources may specify the produced bundles as differences against another source, in order to save backend-side memory and allow bigger jobs. For details, see SourceSplitRequest. To support this use case, the full set of parameters of the source is logically obtained by taking the latest explicitly specified value of each parameter in the order: base_specs (later items win), spec (overrides anything in base_specs).
                     {
-                      "a_key": "",
+                      "a_key": "", # Properties of the object.
                     },
                   ],
-                  "spec": {
-                    "a_key": "",
+                  "spec": { # The source to read from, plus its parameters.
+                    "a_key": "", # Properties of the object.
                   },
-                  "doesNotNeedSplitting": True or False,
-                  "metadata": {
-                    "infinite": True or False,
-                    "estimatedSizeBytes": "A String",
-                    "producesSortedKeys": True or False,
+                  "doesNotNeedSplitting": True or False, # Setting this value to true hints to the framework that the source doesn't need splitting, and using SourceSplitRequest on it would yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. E.g. a file splitter may set this to true when splitting a single file into a set of byte ranges of appropriate size, and set this to false when splitting a filepattern into individual files. However, for efficiency, a file splitter may decide to produce file subranges directly from the filepattern to avoid a splitting round-trip. See SourceSplitRequest for an overview of the splitting process. This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+                  "metadata": { # Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc. # Optionally, metadata for this source can be supplied right away, avoiding a SourceGetMetadataOperation roundtrip (see SourceOperationRequest). This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+                    "infinite": True or False, # Specifies that the size of this source is known to be infinite (this is a streaming source).
+                    "estimatedSizeBytes": "A String", # An estimate of the total size (in bytes) of the data that would be read from this source. This estimate is in terms of external storage size, before any decompression or other processing done by the reader.
+                    "producesSortedKeys": True or False, # Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order.
                   },
                 },
               },
             ],
-            "shards": [
-              {
-                "derivationMode": "A String",
-                "source": {
-                  "codec": {
-                    "a_key": "",
+            "shards": [ # DEPRECATED in favor of bundles.
+              { # DEPRECATED in favor of DerivedSource.
+                "derivationMode": "A String", # DEPRECATED
+                "source": { # A source that records can be read and decoded from. # DEPRECATED
+                  "codec": { # The codec to use to decode data read from the source.
+                    "a_key": "", # Properties of the object.
                   },
-                  "baseSpecs": [
+                  "baseSpecs": [ # While splitting, sources may specify the produced bundles as differences against another source, in order to save backend-side memory and allow bigger jobs. For details, see SourceSplitRequest. To support this use case, the full set of parameters of the source is logically obtained by taking the latest explicitly specified value of each parameter in the order: base_specs (later items win), spec (overrides anything in base_specs).
                     {
-                      "a_key": "",
+                      "a_key": "", # Properties of the object.
                     },
                   ],
-                  "spec": {
-                    "a_key": "",
+                  "spec": { # The source to read from, plus its parameters.
+                    "a_key": "", # Properties of the object.
                   },
-                  "doesNotNeedSplitting": True or False,
-                  "metadata": {
-                    "infinite": True or False,
-                    "estimatedSizeBytes": "A String",
-                    "producesSortedKeys": True or False,
+                  "doesNotNeedSplitting": True or False, # Setting this value to true hints to the framework that the source doesn't need splitting, and using SourceSplitRequest on it would yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. E.g. a file splitter may set this to true when splitting a single file into a set of byte ranges of appropriate size, and set this to false when splitting a filepattern into individual files. However, for efficiency, a file splitter may decide to produce file subranges directly from the filepattern to avoid a splitting round-trip. See SourceSplitRequest for an overview of the splitting process. This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+                  "metadata": { # Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc. # Optionally, metadata for this source can be supplied right away, avoiding a SourceGetMetadataOperation roundtrip (see SourceOperationRequest). This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+                    "infinite": True or False, # Specifies that the size of this source is known to be infinite (this is a streaming source).
+                    "estimatedSizeBytes": "A String", # An estimate of the total size (in bytes) of the data that would be read from this source. This estimate is in terms of external storage size, before any decompression or other processing done by the reader.
+                    "producesSortedKeys": True or False, # Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order.
                   },
                 },
               },
             ],
           },
         },
-        "stopPosition": {
-          "recordIndex": "A String",
-          "end": True or False,
-          "byteOffset": "A String",
-          "key": "A String",
-          "shufflePosition": "A String",
+        "stopPosition": { # Position defines a position within a collection of data. The value can be either the end position, a key (used with ordered collections), a byte offset, or a record index. # A worker may split an active map task in two parts, "primary" and "residual", continuing to process the primary part and returning the residual part into the pool of available work. This event is called a "dynamic split" and is critical to the dynamic work rebalancing feature. The two obtained sub-tasks are called "parts" of the split. The parts, if concatenated, must represent the same input as would be read by the current task if the split did not happen. The exact way in which the original task is decomposed into the two parts is specified either as a position demarcating them (stop_position), or explicitly as two DerivedSources, if this task consumes a user-defined source type (dynamic_source_split). The "current" task is adjusted as a result of the split: after a task with range [A, B) sends a stop_position update at C, its range is considered to be [A, C), e.g.: * Progress should be interpreted relative to the new range, e.g. "75% completed" means "75% of [A, C) completed" * The worker should interpret proposed_stop_position relative to the new range, e.g. "split at 68%" should be interpreted as "split at 68% of [A, C)". * If the worker chooses to split again using stop_position, only stop_positions in [A, C) will be accepted. * Etc. dynamic_source_split has similar semantics: e.g., if a task with source S splits using dynamic_source_split into {P, R} (where P and R must be together equivalent to S), then subsequent progress and proposed_stop_position should be interpreted relative to P, and in a potential subsequent dynamic_source_split into {P', R'}, P' and R' must be together equivalent to P, etc.
+          "end": True or False, # Position is past all other positions. Also useful for the end position of an unbounded range.
+          "recordIndex": "A String", # Position is a record index.
+          "byteOffset": "A String", # Position is a byte offset.
+          "key": "A String", # Position is a string key, ordered lexicographically.
+          "concatPosition": { # A position that encapsulates an inner position and an index for the inner position. A ConcatPosition can be used by a reader of a source that encapsulates a set of other sources. # CloudPosition is a concat position.
+            "index": 42, # Index of the inner source.
+            "position": # Object with schema name: Position # Position within the inner source.
+          },
+          "shufflePosition": "A String", # CloudPosition is a base64 encoded BatchShufflePosition (with FIXED sharding).
         },
-        "sourceFork": {
-          "residualSource": {
-            "derivationMode": "A String",
-            "source": {
-              "codec": {
-                "a_key": "",
-              },
-              "baseSpecs": [
+        "sourceFork": { # DEPRECATED in favor of DynamicSourceSplit. # DEPRECATED in favor of dynamic_source_split.
+          "residualSource": { # Specification of one of the bundles produced as a result of splitting a Source (e.g. when executing a SourceSplitRequest, or when splitting an active task using WorkItemStatus.dynamic_source_split), relative to the source being split. # DEPRECATED
+            "derivationMode": "A String", # What source to base the produced source on (if any).
+            "source": { # A source that records can be read and decoded from. # Specification of the source.
+              "codec": { # The codec to use to decode data read from the source.
+                "a_key": "", # Properties of the object.
+              },
+              "baseSpecs": [ # While splitting, sources may specify the produced bundles as differences against another source, in order to save backend-side memory and allow bigger jobs. For details, see SourceSplitRequest. To support this use case, the full set of parameters of the source is logically obtained by taking the latest explicitly specified value of each parameter in the order: base_specs (later items win), spec (overrides anything in base_specs).
                 {
-                  "a_key": "",
+                  "a_key": "", # Properties of the object.
                 },
               ],
-              "spec": {
-                "a_key": "",
+              "spec": { # The source to read from, plus its parameters.
+                "a_key": "", # Properties of the object.
               },
-              "doesNotNeedSplitting": True or False,
-              "metadata": {
-                "infinite": True or False,
-                "estimatedSizeBytes": "A String",
-                "producesSortedKeys": True or False,
+              "doesNotNeedSplitting": True or False, # Setting this value to true hints to the framework that the source doesn't need splitting, and using SourceSplitRequest on it would yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. E.g. a file splitter may set this to true when splitting a single file into a set of byte ranges of appropriate size, and set this to false when splitting a filepattern into individual files. However, for efficiency, a file splitter may decide to produce file subranges directly from the filepattern to avoid a splitting round-trip. See SourceSplitRequest for an overview of the splitting process. This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+              "metadata": { # Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc. # Optionally, metadata for this source can be supplied right away, avoiding a SourceGetMetadataOperation roundtrip (see SourceOperationRequest). This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+                "infinite": True or False, # Specifies that the size of this source is known to be infinite (this is a streaming source).
+                "estimatedSizeBytes": "A String", # An estimate of the total size (in bytes) of the data that would be read from this source. This estimate is in terms of external storage size, before any decompression or other processing done by the reader.
+                "producesSortedKeys": True or False, # Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order.
               },
             },
           },
-          "primarySource": {
-            "derivationMode": "A String",
-            "source": {
-              "codec": {
-                "a_key": "",
+          "primarySource": { # Specification of one of the bundles produced as a result of splitting a Source (e.g. when executing a SourceSplitRequest, or when splitting an active task using WorkItemStatus.dynamic_source_split), relative to the source being split. # DEPRECATED
+            "derivationMode": "A String", # What source to base the produced source on (if any).
+            "source": { # A source that records can be read and decoded from. # Specification of the source.
+              "codec": { # The codec to use to decode data read from the source.
+                "a_key": "", # Properties of the object.
               },
-              "baseSpecs": [
+              "baseSpecs": [ # While splitting, sources may specify the produced bundles as differences against another source, in order to save backend-side memory and allow bigger jobs. For details, see SourceSplitRequest. To support this use case, the full set of parameters of the source is logically obtained by taking the latest explicitly specified value of each parameter in the order: base_specs (later items win), spec (overrides anything in base_specs).
                 {
-                  "a_key": "",
+                  "a_key": "", # Properties of the object.
                 },
               ],
-              "spec": {
-                "a_key": "",
+              "spec": { # The source to read from, plus its parameters.
+                "a_key": "", # Properties of the object.
               },
-              "doesNotNeedSplitting": True or False,
-              "metadata": {
-                "infinite": True or False,
-                "estimatedSizeBytes": "A String",
-                "producesSortedKeys": True or False,
+              "doesNotNeedSplitting": True or False, # Setting this value to true hints to the framework that the source doesn't need splitting, and using SourceSplitRequest on it would yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. E.g. a file splitter may set this to true when splitting a single file into a set of byte ranges of appropriate size, and set this to false when splitting a filepattern into individual files. However, for efficiency, a file splitter may decide to produce file subranges directly from the filepattern to avoid a splitting round-trip. See SourceSplitRequest for an overview of the splitting process. This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+              "metadata": { # Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc. # Optionally, metadata for this source can be supplied right away, avoiding a SourceGetMetadataOperation roundtrip (see SourceOperationRequest). This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+                "infinite": True or False, # Specifies that the size of this source is known to be infinite (this is a streaming source).
+                "estimatedSizeBytes": "A String", # An estimate of the total size (in bytes) of the data that would be read from this source. This estimate is in terms of external storage size, before any decompression or other processing done by the reader.
+                "producesSortedKeys": True or False, # Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order.
               },
             },
           },
-          "primary": {
-            "derivationMode": "A String",
-            "source": {
-              "codec": {
-                "a_key": "",
+          "primary": { # DEPRECATED in favor of DerivedSource. # DEPRECATED
+            "derivationMode": "A String", # DEPRECATED
+            "source": { # A source that records can be read and decoded from. # DEPRECATED
+              "codec": { # The codec to use to decode data read from the source.
+                "a_key": "", # Properties of the object.
               },
-              "baseSpecs": [
+              "baseSpecs": [ # While splitting, sources may specify the produced bundles as differences against another source, in order to save backend-side memory and allow bigger jobs. For details, see SourceSplitRequest. To support this use case, the full set of parameters of the source is logically obtained by taking the latest explicitly specified value of each parameter in the order: base_specs (later items win), spec (overrides anything in base_specs).
                 {
-                  "a_key": "",
+                  "a_key": "", # Properties of the object.
                 },
               ],
-              "spec": {
-                "a_key": "",
+              "spec": { # The source to read from, plus its parameters.
+                "a_key": "", # Properties of the object.
               },
-              "doesNotNeedSplitting": True or False,
-              "metadata": {
-                "infinite": True or False,
-                "estimatedSizeBytes": "A String",
-                "producesSortedKeys": True or False,
+              "doesNotNeedSplitting": True or False, # Setting this value to true hints to the framework that the source doesn't need splitting, and using SourceSplitRequest on it would yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. E.g. a file splitter may set this to true when splitting a single file into a set of byte ranges of appropriate size, and set this to false when splitting a filepattern into individual files. However, for efficiency, a file splitter may decide to produce file subranges directly from the filepattern to avoid a splitting round-trip. See SourceSplitRequest for an overview of the splitting process. This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+              "metadata": { # Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc. # Optionally, metadata for this source can be supplied right away, avoiding a SourceGetMetadataOperation roundtrip (see SourceOperationRequest). This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+                "infinite": True or False, # Specifies that the size of this source is known to be infinite (this is a streaming source).
+                "estimatedSizeBytes": "A String", # An estimate of the total size (in bytes) of the data that would be read from this source. This estimate is in terms of external storage size, before any decompression or other processing done by the reader.
+                "producesSortedKeys": True or False, # Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order.
               },
             },
           },
-          "residual": {
-            "derivationMode": "A String",
-            "source": {
-              "codec": {
-                "a_key": "",
+          "residual": { # DEPRECATED in favor of DerivedSource. # DEPRECATED
+            "derivationMode": "A String", # DEPRECATED
+            "source": { # A source that records can be read and decoded from. # DEPRECATED
+              "codec": { # The codec to use to decode data read from the source.
+                "a_key": "", # Properties of the object.
               },
-              "baseSpecs": [
+              "baseSpecs": [ # While splitting, sources may specify the produced bundles as differences against another source, in order to save backend-side memory and allow bigger jobs. For details, see SourceSplitRequest. To support this use case, the full set of parameters of the source is logically obtained by taking the latest explicitly specified value of each parameter in the order: base_specs (later items win), spec (overrides anything in base_specs).
                 {
-                  "a_key": "",
+                  "a_key": "", # Properties of the object.
                 },
               ],
-              "spec": {
-                "a_key": "",
+              "spec": { # The source to read from, plus its parameters.
+                "a_key": "", # Properties of the object.
               },
-              "doesNotNeedSplitting": True or False,
-              "metadata": {
-                "infinite": True or False,
-                "estimatedSizeBytes": "A String",
-                "producesSortedKeys": True or False,
+              "doesNotNeedSplitting": True or False, # Setting this value to true hints to the framework that the source doesn't need splitting, and using SourceSplitRequest on it would yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. E.g. a file splitter may set this to true when splitting a single file into a set of byte ranges of appropriate size, and set this to false when splitting a filepattern into individual files. However, for efficiency, a file splitter may decide to produce file subranges directly from the filepattern to avoid a splitting round-trip. See SourceSplitRequest for an overview of the splitting process. This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+              "metadata": { # Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc. # Optionally, metadata for this source can be supplied right away, avoiding a SourceGetMetadataOperation roundtrip (see SourceOperationRequest). This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+                "infinite": True or False, # Specifies that the size of this source is known to be infinite (this is a streaming source).
+                "estimatedSizeBytes": "A String", # An estimate of the total size (in bytes) of the data that would be read from this source. This estimate is in terms of external storage size, before any decompression or other processing done by the reader.
+                "producesSortedKeys": True or False, # Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order.
               },
             },
           },
         },
-        "requestedLeaseDuration": "A String",
-        "completed": True or False,
-        "workItemId": "A String",
-        "dynamicSourceSplit": {
-          "primary": {
-            "derivationMode": "A String",
-            "source": {
-              "codec": {
-                "a_key": "",
-              },
-              "baseSpecs": [
+        "requestedLeaseDuration": "A String", # Amount of time the worker requests for its lease.
+        "completed": True or False, # True if the WorkItem was completed (successfully or unsuccessfully).
+        "workItemId": "A String", # Identifies the WorkItem.
+        "dynamicSourceSplit": { # When a task splits using WorkItemStatus.dynamic_source_split, this message describes the two parts of the split relative to the description of the current task's input. # See documentation of stop_position.
+          "primary": { # Specification of one of the bundles produced as a result of splitting a Source (e.g. when executing a SourceSplitRequest, or when splitting an active task using WorkItemStatus.dynamic_source_split), relative to the source being split. # Primary part (continued to be processed by worker). Specified relative to the previously-current source. Becomes current.
+            "derivationMode": "A String", # What source to base the produced source on (if any).
+            "source": { # A source that records can be read and decoded from. # Specification of the source.
+              "codec": { # The codec to use to decode data read from the source.
+                "a_key": "", # Properties of the object.
+              },
+              "baseSpecs": [ # While splitting, sources may specify the produced bundles as differences against another source, in order to save backend-side memory and allow bigger jobs. For details, see SourceSplitRequest. To support this use case, the full set of parameters of the source is logically obtained by taking the latest explicitly specified value of each parameter in the order: base_specs (later items win), spec (overrides anything in base_specs).
                 {
-                  "a_key": "",
+                  "a_key": "", # Properties of the object.
                 },
               ],
-              "spec": {
-                "a_key": "",
+              "spec": { # The source to read from, plus its parameters.
+                "a_key": "", # Properties of the object.
               },
-              "doesNotNeedSplitting": True or False,
-              "metadata": {
-                "infinite": True or False,
-                "estimatedSizeBytes": "A String",
-                "producesSortedKeys": True or False,
+              "doesNotNeedSplitting": True or False, # Setting this value to true hints to the framework that the source doesn't need splitting, and using SourceSplitRequest on it would yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. E.g. a file splitter may set this to true when splitting a single file into a set of byte ranges of appropriate size, and set this to false when splitting a filepattern into individual files. However, for efficiency, a file splitter may decide to produce file subranges directly from the filepattern to avoid a splitting round-trip. See SourceSplitRequest for an overview of the splitting process. This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+              "metadata": { # Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc. # Optionally, metadata for this source can be supplied right away, avoiding a SourceGetMetadataOperation roundtrip (see SourceOperationRequest). This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+                "infinite": True or False, # Specifies that the size of this source is known to be infinite (this is a streaming source).
+                "estimatedSizeBytes": "A String", # An estimate of the total size (in bytes) of the data that would be read from this source. This estimate is in terms of external storage size, before any decompression or other processing done by the reader.
+                "producesSortedKeys": True or False, # Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order.
               },
             },
           },
-          "residual": {
-            "derivationMode": "A String",
-            "source": {
-              "codec": {
-                "a_key": "",
+          "residual": { # Specification of one of the bundles produced as a result of splitting a Source (e.g. when executing a SourceSplitRequest, or when splitting an active task using WorkItemStatus.dynamic_source_split), relative to the source being split. # Residual part (returned to the pool of work). Specified relative to the previously-current source.
+            "derivationMode": "A String", # What source to base the produced source on (if any).
+            "source": { # A source that records can be read and decoded from. # Specification of the source.
+              "codec": { # The codec to use to decode data read from the source.
+                "a_key": "", # Properties of the object.
               },
-              "baseSpecs": [
+              "baseSpecs": [ # While splitting, sources may specify the produced bundles as differences against another source, in order to save backend-side memory and allow bigger jobs. For details, see SourceSplitRequest. To support this use case, the full set of parameters of the source is logically obtained by taking the latest explicitly specified value of each parameter in the order: base_specs (later items win), spec (overrides anything in base_specs).
                 {
-                  "a_key": "",
+                  "a_key": "", # Properties of the object.
                 },
               ],
-              "spec": {
-                "a_key": "",
+              "spec": { # The source to read from, plus its parameters.
+                "a_key": "", # Properties of the object.
               },
-              "doesNotNeedSplitting": True or False,
-              "metadata": {
-                "infinite": True or False,
-                "estimatedSizeBytes": "A String",
-                "producesSortedKeys": True or False,
+              "doesNotNeedSplitting": True or False, # Setting this value to true hints to the framework that the source doesn't need splitting, and using SourceSplitRequest on it would yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. E.g. a file splitter may set this to true when splitting a single file into a set of byte ranges of appropriate size, and set this to false when splitting a filepattern into individual files. However, for efficiency, a file splitter may decide to produce file subranges directly from the filepattern to avoid a splitting round-trip. See SourceSplitRequest for an overview of the splitting process. This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+              "metadata": { # Metadata about a Source useful for automatically optimizing and tuning the pipeline, etc. # Optionally, metadata for this source can be supplied right away, avoiding a SourceGetMetadataOperation roundtrip (see SourceOperationRequest). This field is meaningful only in the Source objects populated by the user (e.g. when filling in a DerivedSource). Source objects supplied by the framework to the user don't have this field populated.
+                "infinite": True or False, # Specifies that the size of this source is known to be infinite (this is a streaming source).
+                "estimatedSizeBytes": "A String", # An estimate of the total size (in bytes) of the data that would be read from this source. This estimate is in terms of external storage size, before any decompression or other processing done by the reader.
+                "producesSortedKeys": True or False, # Whether this source is known to produce key/value pairs with the (encoded) keys in lexicographically sorted order.
               },
             },
           },
         },
-        "progress": {
-          "position": {
-            "recordIndex": "A String",
-            "end": True or False,
-            "byteOffset": "A String",
-            "key": "A String",
-            "shufflePosition": "A String",
+        "progress": { # A progress measurement of a WorkItem by a worker. # The WorkItem's approximate progress.
+          "position": { # Position defines a position within a collection of data. The value can be either the end position, a key (used with ordered collections), a byte offset, or a record index. # A Position within the work to represent a progress.
+            "end": True or False, # Position is past all other positions. Also useful for the end position of an unbounded range.
+            "recordIndex": "A String", # Position is a record index.
+            "byteOffset": "A String", # Position is a byte offset.
+            "key": "A String", # Position is a string key, ordered lexicographically.
+            "concatPosition": { # A position that encapsulates an inner position and an index for the inner position. A ConcatPosition can be used by a reader of a source that encapsulates a set of other sources. # CloudPosition is a concat position.
+              "index": 42, # Index of the inner source.
+              "position": # Object with schema name: Position # Position within the inner source.
+            },
+            "shufflePosition": "A String", # CloudPosition is a base64 encoded BatchShufflePosition (with FIXED sharding).
           },
-          "remainingTime": "A String",
-          "percentComplete": 3.14,
+          "remainingTime": "A String", # Completion as an estimated time remaining.
+          "percentComplete": 3.14, # Completion as percentage of the work, from 0.0 (beginning, nothing complete), to 1.0 (end of the work range, entire WorkItem complete).
         },
-        "metricUpdates": [
-          {
-            "meanCount": "",
-            "kind": "A String",
-            "set": "",
-            "name": {
-              "origin": "A String",
-              "name": "A String",
-              "context": {
+        "metricUpdates": [ # Worker output metrics (counters) for this WorkItem.
+          { # Describes the state of a metric.
+            "meanCount": "", # Worker-computed aggregate value for the "Mean" aggregation kind. This holds the count of the aggregated values and is used in combination with mean_sum above to obtain the actual mean aggregate value. The only possible value type is Long.
+            "kind": "A String", # Metric aggregation kind. The possible metric aggregation kinds are "Sum", "Max", "Min", "Mean", "Set", "And", and "Or". The specified aggregation kind is case-insensitive. If omitted, this is not an aggregated value but instead a single metric sample value.
+            "set": "", # Worker-computed aggregate value for the "Set" aggregation kind. The only possible value type is a list of Values whose type can be Long, Double, or String, according to the metric's type. All Values in the list must be of the same type.
+            "name": { # Identifies a metric, by describing the source which generated the metric. # Name of the metric.
+              "origin": "A String", # Origin (namespace) of metric name. May be blank for user-define metrics; will be "dataflow" for metrics defined by the Dataflow service or SDK.
+              "name": "A String", # Worker-defined metric name.
+              "context": { # Zero or more labeled fields which identify the part of the job this metric is associated with, such as the name of a step or collection. For example, built-in counters associated with steps will have context['step'] = . Counters associated with PCollections in the SDK will have context['pcollection'] =
+                  # .
                 "a_key": "A String",
               },
             },
-            "meanSum": "",
-            "cumulative": True or False,
-            "updateTime": "A String",
-            "scalar": "",
-            "internal": "",
+            "cumulative": True or False, # True if this metric is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem. By default this is false, indicating that this metric is reported as a delta that is not associated with any WorkItem.
+            "updateTime": "A String", # Timestamp associated with the metric value. Optional when workers are reporting work progress; it will be filled in responses from the metrics API.
+            "scalar": "", # Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", "And", and "Or". The possible value types are Long, Double, and Boolean.
+            "meanSum": "", # Worker-computed aggregate value for the "Mean" aggregation kind. This holds the sum of the aggregated values and is used in combination with mean_count below to obtain the actual mean aggregate value. The only possible value types are Long and Double.
+            "internal": "", # Worker-computed aggregate value for internal use by the Dataflow service.
           },
         ],
       },
     ],
   }
 
+  x__xgafv: string, V1 error format.
 
 Returns:
   An object of the form:
 
-    {
-    "workItemServiceStates": [
-      {
-        "reportStatusInterval": "A String",
-        "suggestedStopPosition": {
-          "recordIndex": "A String",
-          "end": True or False,
-          "byteOffset": "A String",
-          "key": "A String",
-          "shufflePosition": "A String",
+    { # Response from a request to report the status of WorkItems.
+    "workItemServiceStates": [ # A set of messages indicating the service-side state for each WorkItem whose status was reported, in the same order as the WorkItemStatus messages in the ReportWorkItemStatusRequest which resulting in this response.
+      { # The Dataflow service's idea of the current state of a WorkItem being processed by a worker.
+        "reportStatusInterval": "A String", # New recommended reporting interval.
+        "suggestedStopPosition": { # Position defines a position within a collection of data. The value can be either the end position, a key (used with ordered collections), a byte offset, or a record index. # Obsolete, always empty.
+          "end": True or False, # Position is past all other positions. Also useful for the end position of an unbounded range.
+          "recordIndex": "A String", # Position is a record index.
+          "byteOffset": "A String", # Position is a byte offset.
+          "key": "A String", # Position is a string key, ordered lexicographically.
+          "concatPosition": { # A position that encapsulates an inner position and an index for the inner position. A ConcatPosition can be used by a reader of a source that encapsulates a set of other sources. # CloudPosition is a concat position.
+            "index": 42, # Index of the inner source.
+            "position": # Object with schema name: Position # Position within the inner source.
+          },
+          "shufflePosition": "A String", # CloudPosition is a base64 encoded BatchShufflePosition (with FIXED sharding).
         },
-        "leaseExpireTime": "A String",
-        "nextReportIndex": "A String",
-        "harnessData": {
-          "a_key": "",
+        "harnessData": { # Other data returned by the service, specific to the particular worker harness.
+          "a_key": "", # Properties of the object.
         },
-        "suggestedStopPoint": {
-          "position": {
-            "recordIndex": "A String",
-            "end": True or False,
-            "byteOffset": "A String",
-            "key": "A String",
-            "shufflePosition": "A String",
+        "nextReportIndex": "A String", # The index value to use for the next report sent by the worker. Note: If the report call fails for whatever reason, the worker should reuse this index for subsequent report attempts.
+        "leaseExpireTime": "A String", # Time at which the current lease will expire.
+        "suggestedStopPoint": { # A progress measurement of a WorkItem by a worker. # The progress point in the WorkItem where the Dataflow service suggests that the worker truncate the task.
+          "position": { # Position defines a position within a collection of data. The value can be either the end position, a key (used with ordered collections), a byte offset, or a record index. # A Position within the work to represent a progress.
+            "end": True or False, # Position is past all other positions. Also useful for the end position of an unbounded range.
+            "recordIndex": "A String", # Position is a record index.
+            "byteOffset": "A String", # Position is a byte offset.
+            "key": "A String", # Position is a string key, ordered lexicographically.
+            "concatPosition": { # A position that encapsulates an inner position and an index for the inner position. A ConcatPosition can be used by a reader of a source that encapsulates a set of other sources. # CloudPosition is a concat position.
+              "index": 42, # Index of the inner source.
+              "position": # Object with schema name: Position # Position within the inner source.
+            },
+            "shufflePosition": "A String", # CloudPosition is a base64 encoded BatchShufflePosition (with FIXED sharding).
           },
-          "remainingTime": "A String",
-          "percentComplete": 3.14,
+          "remainingTime": "A String", # Completion as an estimated time remaining.
+          "percentComplete": 3.14, # Completion as percentage of the work, from 0.0 (beginning, nothing complete), to 1.0 (end of the work range, entire WorkItem complete).
         },
       },
     ],
diff --git a/docs/dyn/deploymentmanager_v2.deployments.html b/docs/dyn/deploymentmanager_v2.deployments.html
new file mode 100644
index 00000000000..b2a884ed2b4
--- /dev/null
+++ b/docs/dyn/deploymentmanager_v2.deployments.html
@@ -0,0 +1,875 @@
+
+
+
+

Google Cloud Deployment Manager API . deployments

+

Instance Methods

+

+ cancelPreview(project, deployment, body)

+

Cancels and removes the preview currently associated with the deployment.

+

+ delete(project, deployment)

+

Deletes a deployment and all of the resources in the deployment.

+

+ get(project, deployment)

+

Gets information about a specific deployment.

+

+ insert(project, body, preview=None)

+

Creates a deployment and all of the resources described by the deployment manifest.

+

+ list(project, maxResults=None, pageToken=None, filter=None)

+

Lists all deployments for a given project.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(project, deployment, body, deletePolicy=None, createPolicy=None, preview=None)

+

Updates a deployment and all of the resources described by the deployment manifest. This method supports patch semantics.

+

+ stop(project, deployment, body)

+

Stops an ongoing operation. This does not roll back any work that has already been completed, but prevents any new work from being started.

+

+ update(project, deployment, body, deletePolicy=None, createPolicy=None, preview=None)

+

Updates a deployment and all of the resources described by the deployment manifest.

+

Method Details

+
+ cancelPreview(project, deployment, body) +
Cancels and removes the preview currently associated with the deployment.
+
+Args:
+  project: string, The project ID for this request. (required)
+  deployment: string, The name of the deployment for this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "fingerprint": "A String", # Specifies a fingerprint for cancelPreview() requests. A fingerprint is a randomly generated value that must be provided in cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to cancel a preview, this would prevent one of the requests).
+        # 
+        # The fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a get() request to a deployment.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ delete(project, deployment) +
Deletes a deployment and all of the resources in the deployment.
+
+Args:
+  project: string, The project ID for this request. (required)
+  deployment: string, The name of the deployment for this request. (required)
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ get(project, deployment) +
Gets information about a specific deployment.
+
+Args:
+  project: string, The project ID for this request. (required)
+  deployment: string, The name of the deployment for this request. (required)
+
+Returns:
+  An object of the form:
+
+    {
+      "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+      "update": { # [Output Only] If Deployment Manager is currently updating or previewing an update to this deployment, the updated configuration appears here.
+        "manifest": "A String", # [Output Only] URL of the manifest representing the update configuration of this deployment.
+      },
+      "manifest": "A String", # [Output Only] URL of the manifest representing the last manifest that was successfully deployed.
+      "insertTime": "A String", # [Output Only] Timestamp when the deployment was created, in RFC3339 text format .
+      "fingerprint": "A String", # Provides a fingerprint to use in requests to modify a deployment, such as update(), stop(), and cancelPreview() requests. A fingerprint is a randomly generated value that must be provided with update(), stop(), and cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that only one request happens at a time.
+          #
+          # The fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform a get() request to a deployment.
+      "operation": { # An Operation resource, used to manage asynchronous API requests. # [Output Only] The Operation that most recently ran, or is currently running, on this deployment.
+        "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+        "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+        "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+        "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+        "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+        "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+        "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+        "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+        "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+        "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+        "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+        "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+        "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+          {
+            "message": "A String", # [Output Only] Optional human-readable details for this warning.
+            "code": "A String", # [Output Only] The warning type identifier for this warning.
+            "data": [ # [Output Only] Metadata for this warning in key: value format.
+              {
+                "value": "A String", # [Output Only] A warning data value corresponding to the key.
+                "key": "A String", # [Output Only] A key for the warning data.
+              },
+            ],
+          },
+        ],
+        "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+        "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+        "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+        "name": "A String", # [Output Only] Name of the resource.
+        "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+        "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+          "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+            {
+              "message": "A String", # [Output Only] An optional, human-readable error message.
+              "code": "A String", # [Output Only] The error type identifier for this error.
+              "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+            },
+          ],
+        },
+        "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+        "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+        "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+      },
+      "target": { # [Input Only] The parameters that define your deployment, including the deployment configuration and relevant templates.
+        "imports": [ # Specifies any files to import for this configuration. This can be used to import templates or other files. For example, you might import a text file in order to use the file in a template.
+          {
+            "content": "A String", # The contents of the file.
+            "name": "A String", # The name of the file.
+          },
+        ],
+        "config": { # The configuration to use for this deployment.
+          "content": "A String", # The contents of the file.
+        },
+      },
+      "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+      "description": "A String", # An optional user-provided description of the deployment.
+    }
+
+ +
+ insert(project, body, preview=None) +
Creates a deployment and all of the resources described by the deployment manifest.
+
+Args:
+  project: string, The project ID for this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+    "update": { # [Output Only] If Deployment Manager is currently updating or previewing an update to this deployment, the updated configuration appears here.
+      "manifest": "A String", # [Output Only] URL of the manifest representing the update configuration of this deployment.
+    },
+    "manifest": "A String", # [Output Only] URL of the manifest representing the last manifest that was successfully deployed.
+    "insertTime": "A String", # [Output Only] Timestamp when the deployment was created, in RFC3339 text format .
+    "fingerprint": "A String", # Provides a fingerprint to use in requests to modify a deployment, such as update(), stop(), and cancelPreview() requests. A fingerprint is a randomly generated value that must be provided with update(), stop(), and cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that only one request happens at a time.
+        # 
+        # The fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform a get() request to a deployment.
+    "operation": { # An Operation resource, used to manage asynchronous API requests. # [Output Only] The Operation that most recently ran, or is currently running, on this deployment.
+      "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+      "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+      "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+      "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+      "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+      "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+      "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+      "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+      "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+      "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+      "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+      "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+      "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+        {
+          "message": "A String", # [Output Only] Optional human-readable details for this warning.
+          "code": "A String", # [Output Only] The warning type identifier for this warning.
+          "data": [ # [Output Only] Metadata for this warning in key: value format.
+            {
+              "value": "A String", # [Output Only] A warning data value corresponding to the key.
+              "key": "A String", # [Output Only] A key for the warning data.
+            },
+          ],
+        },
+      ],
+      "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+      "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+      "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+      "name": "A String", # [Output Only] Name of the resource.
+      "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+      "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+        "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+          {
+            "message": "A String", # [Output Only] An optional, human-readable error message.
+            "code": "A String", # [Output Only] The error type identifier for this error.
+            "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+          },
+        ],
+      },
+      "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+      "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+      "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+    },
+    "target": { # [Input Only] The parameters that define your deployment, including the deployment configuration and relevant templates.
+      "imports": [ # Specifies any files to import for this configuration. This can be used to import templates or other files. For example, you might import a text file in order to use the file in a template.
+        {
+          "content": "A String", # The contents of the file.
+          "name": "A String", # The name of the file.
+        },
+      ],
+      "config": { # The configuration to use for this deployment.
+        "content": "A String", # The contents of the file.
+      },
+    },
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "description": "A String", # An optional user-provided description of the deployment.
+  }
+
+  preview: boolean, If set to true, creates a deployment and creates "shell" resources but does not actually instantiate these resources. This allows you to preview what your deployment looks like. After previewing a deployment, you can deploy your resources by making a request with the update() method or you can use the cancelPreview() method to cancel the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ list(project, maxResults=None, pageToken=None, filter=None) +
Lists all deployments for a given project.
+
+Args:
+  project: string, The project ID for this request. (required)
+  maxResults: integer, Maximum count of results to be returned.
+  pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.
+  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
+
+The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
+
+For example, filter=name ne example-instance.
+
+Returns:
+  An object of the form:
+
+    { # A response containing a partial list of deployments and a page token used to build the next request if the request has been truncated.
+    "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request.
+    "deployments": [ # [Output Only] The deployments contained in this response.
+      {
+          "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+          "update": { # [Output Only] If Deployment Manager is currently updating or previewing an update to this deployment, the updated configuration appears here.
+            "manifest": "A String", # [Output Only] URL of the manifest representing the update configuration of this deployment.
+          },
+          "manifest": "A String", # [Output Only] URL of the manifest representing the last manifest that was successfully deployed.
+          "insertTime": "A String", # [Output Only] Timestamp when the deployment was created, in RFC3339 text format .
+          "fingerprint": "A String", # Provides a fingerprint to use in requests to modify a deployment, such as update(), stop(), and cancelPreview() requests. A fingerprint is a randomly generated value that must be provided with update(), stop(), and cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that only one request happens at a time.
+              #
+              # The fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform a get() request to a deployment.
+          "operation": { # An Operation resource, used to manage asynchronous API requests. # [Output Only] The Operation that most recently ran, or is currently running, on this deployment.
+            "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+            "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+            "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+            "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+            "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+            "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+            "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+            "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+            "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+            "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+            "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+            "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+            "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+              {
+                "message": "A String", # [Output Only] Optional human-readable details for this warning.
+                "code": "A String", # [Output Only] The warning type identifier for this warning.
+                "data": [ # [Output Only] Metadata for this warning in key: value format.
+                  {
+                    "value": "A String", # [Output Only] A warning data value corresponding to the key.
+                    "key": "A String", # [Output Only] A key for the warning data.
+                  },
+                ],
+              },
+            ],
+            "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+            "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+            "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+            "name": "A String", # [Output Only] Name of the resource.
+            "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+            "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+              "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+                {
+                  "message": "A String", # [Output Only] An optional, human-readable error message.
+                  "code": "A String", # [Output Only] The error type identifier for this error.
+                  "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+                },
+              ],
+            },
+            "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+            "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+            "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+          },
+          "target": { # [Input Only] The parameters that define your deployment, including the deployment configuration and relevant templates.
+            "imports": [ # Specifies any files to import for this configuration. This can be used to import templates or other files. For example, you might import a text file in order to use the file in a template.
+              {
+                "content": "A String", # The contents of the file.
+                "name": "A String", # The name of the file.
+              },
+            ],
+            "config": { # The configuration to use for this deployment.
+              "content": "A String", # The contents of the file.
+            },
+          },
+          "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+          "description": "A String", # An optional user-provided description of the deployment.
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(project, deployment, body, deletePolicy=None, createPolicy=None, preview=None) +
Updates a deployment and all of the resources described by the deployment manifest. This method supports patch semantics.
+
+Args:
+  project: string, The project ID for this request. (required)
+  deployment: string, The name of the deployment for this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+    "update": { # [Output Only] If Deployment Manager is currently updating or previewing an update to this deployment, the updated configuration appears here.
+      "manifest": "A String", # [Output Only] URL of the manifest representing the update configuration of this deployment.
+    },
+    "manifest": "A String", # [Output Only] URL of the manifest representing the last manifest that was successfully deployed.
+    "insertTime": "A String", # [Output Only] Timestamp when the deployment was created, in RFC3339 text format .
+    "fingerprint": "A String", # Provides a fingerprint to use in requests to modify a deployment, such as update(), stop(), and cancelPreview() requests. A fingerprint is a randomly generated value that must be provided with update(), stop(), and cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that only one request happens at a time.
+        # 
+        # The fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform a get() request to a deployment.
+    "operation": { # An Operation resource, used to manage asynchronous API requests. # [Output Only] The Operation that most recently ran, or is currently running, on this deployment.
+      "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+      "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+      "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+      "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+      "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+      "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+      "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+      "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+      "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+      "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+      "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+      "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+      "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+        {
+          "message": "A String", # [Output Only] Optional human-readable details for this warning.
+          "code": "A String", # [Output Only] The warning type identifier for this warning.
+          "data": [ # [Output Only] Metadata for this warning in key: value format.
+            {
+              "value": "A String", # [Output Only] A warning data value corresponding to the key.
+              "key": "A String", # [Output Only] A key for the warning data.
+            },
+          ],
+        },
+      ],
+      "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+      "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+      "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+      "name": "A String", # [Output Only] Name of the resource.
+      "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+      "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+        "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+          {
+            "message": "A String", # [Output Only] An optional, human-readable error message.
+            "code": "A String", # [Output Only] The error type identifier for this error.
+            "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+          },
+        ],
+      },
+      "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+      "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+      "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+    },
+    "target": { # [Input Only] The parameters that define your deployment, including the deployment configuration and relevant templates.
+      "imports": [ # Specifies any files to import for this configuration. This can be used to import templates or other files. For example, you might import a text file in order to use the file in a template.
+        {
+          "content": "A String", # The contents of the file.
+          "name": "A String", # The name of the file.
+        },
+      ],
+      "config": { # The configuration to use for this deployment.
+        "content": "A String", # The contents of the file.
+      },
+    },
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "description": "A String", # An optional user-provided description of the deployment.
+  }
+
+  deletePolicy: string, Sets the policy to use for deleting resources.
+    Allowed values
+      ABANDON - 
+      DELETE - 
+  createPolicy: string, Sets the policy to use for creating new resources.
+    Allowed values
+      ACQUIRE - 
+      CREATE_OR_ACQUIRE - 
+  preview: boolean, If set to true, updates the deployment and creates and updates the "shell" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment looks like. You can use this intent to preview how an update would affect your deployment. You must provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the update() or you can cancelPreview() to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ stop(project, deployment, body) +
Stops an ongoing operation. This does not roll back any work that has already been completed, but prevents any new work from being started.
+
+Args:
+  project: string, The project ID for this request. (required)
+  deployment: string, The name of the deployment for this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "fingerprint": "A String", # Specifies a fingerprint for stop() requests. A fingerprint is a randomly generated value that must be provided in stop() requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to stop an ongoing update request, this would prevent a collision).
+        # 
+        # The fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a get() request to a deployment.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ update(project, deployment, body, deletePolicy=None, createPolicy=None, preview=None) +
Updates a deployment and all of the resources described by the deployment manifest.
+
+Args:
+  project: string, The project ID for this request. (required)
+  deployment: string, The name of the deployment for this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "name": "A String", # Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
+    "update": { # [Output Only] If Deployment Manager is currently updating or previewing an update to this deployment, the updated configuration appears here.
+      "manifest": "A String", # [Output Only] URL of the manifest representing the update configuration of this deployment.
+    },
+    "manifest": "A String", # [Output Only] URL of the manifest representing the last manifest that was successfully deployed.
+    "insertTime": "A String", # [Output Only] Timestamp when the deployment was created, in RFC3339 text format .
+    "fingerprint": "A String", # Provides a fingerprint to use in requests to modify a deployment, such as update(), stop(), and cancelPreview() requests. A fingerprint is a randomly generated value that must be provided with update(), stop(), and cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that only one request happens at a time.
+        # 
+        # The fingerprint is initially generated by Deployment Manager and changes after every request to modify data. To get the latest fingerprint value, perform a get() request to a deployment.
+    "operation": { # An Operation resource, used to manage asynchronous API requests. # [Output Only] The Operation that most recently ran, or is currently running, on this deployment.
+      "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+      "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+      "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+      "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+      "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+      "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+      "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+      "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+      "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+      "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+      "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+      "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+      "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+        {
+          "message": "A String", # [Output Only] Optional human-readable details for this warning.
+          "code": "A String", # [Output Only] The warning type identifier for this warning.
+          "data": [ # [Output Only] Metadata for this warning in key: value format.
+            {
+              "value": "A String", # [Output Only] A warning data value corresponding to the key.
+              "key": "A String", # [Output Only] A key for the warning data.
+            },
+          ],
+        },
+      ],
+      "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+      "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+      "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+      "name": "A String", # [Output Only] Name of the resource.
+      "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+      "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+        "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+          {
+            "message": "A String", # [Output Only] An optional, human-readable error message.
+            "code": "A String", # [Output Only] The error type identifier for this error.
+            "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+          },
+        ],
+      },
+      "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+      "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+      "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+    },
+    "target": { # [Input Only] The parameters that define your deployment, including the deployment configuration and relevant templates.
+      "imports": [ # Specifies any files to import for this configuration. This can be used to import templates or other files. For example, you might import a text file in order to use the file in a template.
+        {
+          "content": "A String", # The contents of the file.
+          "name": "A String", # The name of the file.
+        },
+      ],
+      "config": { # The configuration to use for this deployment.
+        "content": "A String", # The contents of the file.
+      },
+    },
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "description": "A String", # An optional user-provided description of the deployment.
+  }
+
+  deletePolicy: string, Sets the policy to use for deleting resources.
+    Allowed values
+      ABANDON - 
+      DELETE - 
+  createPolicy: string, Sets the policy to use for creating new resources.
+    Allowed values
+      ACQUIRE - 
+      CREATE_OR_ACQUIRE - 
+  preview: boolean, If set to true, updates the deployment and creates and updates the "shell" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment looks like. You can use this intent to preview how an update would affect your deployment. You must provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the update() or you can cancelPreview() to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/deploymentmanager_v2.html b/docs/dyn/deploymentmanager_v2.html new file mode 100644 index 00000000000..551eb8a2081 --- /dev/null +++ b/docs/dyn/deploymentmanager_v2.html @@ -0,0 +1,123 @@ + + + +

Google Cloud Deployment Manager API

+

Instance Methods

+

+ deployments() +

+

Returns the deployments Resource.

+ +

+ manifests() +

+

Returns the manifests Resource.

+ +

+ operations() +

+

Returns the operations Resource.

+ +

+ resources() +

+

Returns the resources Resource.

+ +

+ types() +

+

Returns the types Resource.

+ +

+ new_batch_http_request()

+

Create a BatchHttpRequest object based on the discovery document.

+

Method Details

+
+ new_batch_http_request() +
Create a BatchHttpRequest object based on the discovery document.
+
+        Args:
+          callback: callable, A callback to be called for each response, of the
+            form callback(id, response, exception). The first parameter is the
+            request id, and the second is the deserialized response object. The
+            third is an apiclient.errors.HttpError exception object if an HTTP
+            error occurred while processing the request, or None if no error
+            occurred.
+
+        Returns:
+          A BatchHttpRequest object based on the discovery document.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/deploymentmanager_v2.manifests.html b/docs/dyn/deploymentmanager_v2.manifests.html new file mode 100644 index 00000000000..710aeaa23ca --- /dev/null +++ b/docs/dyn/deploymentmanager_v2.manifests.html @@ -0,0 +1,174 @@ + + + +

Google Cloud Deployment Manager API . manifests

+

Instance Methods

+

+ get(project, deployment, manifest)

+

Gets information about a specific manifest.

+

+ list(project, deployment, maxResults=None, pageToken=None, filter=None)

+

Lists all manifests for a given deployment.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ get(project, deployment, manifest) +
Gets information about a specific manifest.
+
+Args:
+  project: string, The project ID for this request. (required)
+  deployment: string, The name of the deployment for this request. (required)
+  manifest: string, The name of the manifest for this request. (required)
+
+Returns:
+  An object of the form:
+
+    {
+    "layout": "A String", # [Output Only] The YAML layout for this manifest.
+    "name": "A String", # [Output Only] The name of the manifest.
+    "expandedConfig": "A String", # [Output Only] The fully-expanded configuration file, including any templates and references.
+    "imports": [ # [Output Only] The imported files for this manifest.
+      {
+        "content": "A String", # The contents of the file.
+        "name": "A String", # The name of the file.
+      },
+    ],
+    "insertTime": "A String", # [Output Only] Timestamp when the manifest was created, in RFC3339 text format.
+    "config": { # [Output Only] The YAML configuration for this manifest.
+      "content": "A String", # The contents of the file.
+    },
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "selfLink": "A String", # [Output Only] Self link for the manifest.
+  }
+
+ +
+ list(project, deployment, maxResults=None, pageToken=None, filter=None) +
Lists all manifests for a given deployment.
+
+Args:
+  project: string, The project ID for this request. (required)
+  deployment: string, The name of the deployment for this request. (required)
+  maxResults: integer, Maximum count of results to be returned.
+  pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.
+  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
+
+The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
+
+For example, filter=name ne example-instance.
+
+Returns:
+  An object of the form:
+
+    { # A response containing a partial list of manifests and a page token used to build the next request if the request has been truncated.
+    "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request.
+    "manifests": [ # [Output Only] Manifests contained in this list response.
+      {
+        "layout": "A String", # [Output Only] The YAML layout for this manifest.
+        "name": "A String", # [Output Only] The name of the manifest.
+        "expandedConfig": "A String", # [Output Only] The fully-expanded configuration file, including any templates and references.
+        "imports": [ # [Output Only] The imported files for this manifest.
+          {
+            "content": "A String", # The contents of the file.
+            "name": "A String", # The name of the file.
+          },
+        ],
+        "insertTime": "A String", # [Output Only] Timestamp when the manifest was created, in RFC3339 text format.
+        "config": { # [Output Only] The YAML configuration for this manifest.
+          "content": "A String", # The contents of the file.
+        },
+        "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+        "selfLink": "A String", # [Output Only] Self link for the manifest.
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/deploymentmanager_v2.operations.html b/docs/dyn/deploymentmanager_v2.operations.html new file mode 100644 index 00000000000..0175500c1d0 --- /dev/null +++ b/docs/dyn/deploymentmanager_v2.operations.html @@ -0,0 +1,224 @@ + + + +

Google Cloud Deployment Manager API . operations

+

Instance Methods

+

+ get(project, operation)

+

Gets information about a specific operation.

+

+ list(project, maxResults=None, pageToken=None, filter=None)

+

Lists all operations for a project.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ get(project, operation) +
Gets information about a specific operation.
+
+Args:
+  project: string, The project ID for this request. (required)
+  operation: string, The name of the operation for this request. (required)
+
+Returns:
+  An object of the form:
+
+    { # An Operation resource, used to manage asynchronous API requests.
+    "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+    "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+    "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+    "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+    "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+    "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+    "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+    "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+    "name": "A String", # [Output Only] Name of the resource.
+    "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+        {
+          "message": "A String", # [Output Only] An optional, human-readable error message.
+          "code": "A String", # [Output Only] The error type identifier for this error.
+          "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+        },
+      ],
+    },
+    "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+    "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+  }
+
+ +
+ list(project, maxResults=None, pageToken=None, filter=None) +
Lists all operations for a project.
+
+Args:
+  project: string, The project ID for this request. (required)
+  maxResults: integer, Maximum count of results to be returned.
+  pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.
+  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
+
+The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
+
+For example, filter=name ne example-instance.
+
+Returns:
+  An object of the form:
+
+    { # A response containing a partial list of operations and a page token used to build the next request if the request has been truncated.
+    "nextPageToken": "A String", # [Output Only] A token used to continue a truncated list request.
+    "operations": [ # [Output Only] Operations contained in this list response.
+      { # An Operation resource, used to manage asynchronous API requests.
+        "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
+        "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all Operation resources in the project.
+        "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+        "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+        "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+        "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
+        "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
+        "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should monotonically increase as the operation progresses.
+        "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
+        "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+        "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
+        "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
+        "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
+          {
+            "message": "A String", # [Output Only] Optional human-readable details for this warning.
+            "code": "A String", # [Output Only] The warning type identifier for this warning.
+            "data": [ # [Output Only] Metadata for this warning in key: value format.
+              {
+                "value": "A String", # [Output Only] A warning data value corresponding to the key.
+                "key": "A String", # [Output Only] A key for the warning data.
+              },
+            ],
+          },
+        ],
+        "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
+        "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
+        "kind": "deploymentmanager#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
+        "name": "A String", # [Output Only] Name of the resource.
+        "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
+        "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
+          "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+            {
+              "message": "A String", # [Output Only] An optional, human-readable error message.
+              "code": "A String", # [Output Only] The error type identifier for this error.
+              "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+            },
+          ],
+        },
+        "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
+        "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
+        "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/deploymentmanager_v2.resources.html b/docs/dyn/deploymentmanager_v2.resources.html new file mode 100644 index 00000000000..968a37f09bb --- /dev/null +++ b/docs/dyn/deploymentmanager_v2.resources.html @@ -0,0 +1,242 @@ + + + +

Google Cloud Deployment Manager API . resources

+

Instance Methods

+

+ get(project, deployment, resource)

+

Gets information about a single resource.

+

+ list(project, deployment, maxResults=None, pageToken=None, filter=None)

+

Lists all resources in a given deployment.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ get(project, deployment, resource) +
Gets information about a single resource.
+
+Args:
+  project: string, The project ID for this request. (required)
+  deployment: string, The name of the deployment for this request. (required)
+  resource: string, The name of the resource for this request. (required)
+
+Returns:
+  An object of the form:
+
+    {
+    "finalProperties": "A String", # [Output Only] The evaluated properties of the resource with references expanded. Returned as serialized YAML.
+    "updateTime": "A String", # [Output Only] Timestamp when the resource was updated, in RFC3339 text format .
+    "name": "A String", # [Output Only] The name of the resource as it appears in the YAML config.
+    "warnings": [ # [Output Only] If warning messages are generated during processing of this resource, this field will be populated.
+      {
+        "message": "A String", # [Output Only] Optional human-readable details for this warning.
+        "code": "A String", # [Output Only] The warning type identifier for this warning.
+        "data": [ # [Output Only] Metadata for this warning in key: value format.
+          {
+            "value": "A String", # [Output Only] A warning data value corresponding to the key.
+            "key": "A String", # [Output Only] A key for the warning data.
+          },
+        ],
+      },
+    ],
+    "url": "A String", # [Output Only] The URL of the actual resource.
+    "update": { # [Output Only] If Deployment Manager is currently updating or previewing an update to this resource, the updated configuration appears here.
+      "finalProperties": "A String", # [Output Only] The expanded properties of the resource with reference values expanded. Returned as serialized YAML.
+      "warnings": [ # [Output Only] If warning messages are generated during processing of this resource, this field will be populated.
+        {
+          "message": "A String", # [Output Only] Optional human-readable details for this warning.
+          "code": "A String", # [Output Only] The warning type identifier for this warning.
+          "data": [ # [Output Only] Metadata for this warning in key: value format.
+            {
+              "value": "A String", # [Output Only] A warning data value corresponding to the key.
+              "key": "A String", # [Output Only] A key for the warning data.
+            },
+          ],
+        },
+      ],
+      "manifest": "A String", # [Output Only] URL of the manifest representing the update configuration of this resource.
+      "state": "A String", # [Output Only] The state of the resource.
+      "intent": "A String", # [Output Only] The intent of the resource: PREVIEW, UPDATE, or CANCEL.
+      "error": { # [Output Only] If errors are generated during update of the resource, this field will be populated.
+        "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+          {
+            "message": "A String", # [Output Only] An optional, human-readable error message.
+            "code": "A String", # [Output Only] The error type identifier for this error.
+            "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+          },
+        ],
+      },
+      "properties": "A String", # [Output Only] The set of updated properties for this resource, before references are expanded. Returned as serialized YAML.
+    },
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "insertTime": "A String", # [Output Only] Timestamp when the resource was created or acquired, in RFC3339 text format .
+    "manifest": "A String", # [Output Only] URL of the manifest representing the current configuration of this resource.
+    "type": "A String", # [Output Only] The type of the resource, for example compute.v1.instance, or replicaPools.v1beta2.instanceGroupManager.
+    "properties": "A String", # [Output Only] The current properties of the resource before any references have been filled in. Returned as serialized YAML.
+  }
+
+ +
+ list(project, deployment, maxResults=None, pageToken=None, filter=None) +
Lists all resources in a given deployment.
+
+Args:
+  project: string, The project ID for this request. (required)
+  deployment: string, The name of the deployment for this request. (required)
+  maxResults: integer, Maximum count of results to be returned.
+  pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.
+  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
+
+The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
+
+For example, filter=name ne example-instance.
+
+Returns:
+  An object of the form:
+
+    { # A response containing a partial list of resources and a page token used to build the next request if the request has been truncated.
+    "nextPageToken": "A String", # A token used to continue a truncated list request.
+    "resources": [ # Resources contained in this list response.
+      {
+        "finalProperties": "A String", # [Output Only] The evaluated properties of the resource with references expanded. Returned as serialized YAML.
+        "updateTime": "A String", # [Output Only] Timestamp when the resource was updated, in RFC3339 text format .
+        "name": "A String", # [Output Only] The name of the resource as it appears in the YAML config.
+        "warnings": [ # [Output Only] If warning messages are generated during processing of this resource, this field will be populated.
+          {
+            "message": "A String", # [Output Only] Optional human-readable details for this warning.
+            "code": "A String", # [Output Only] The warning type identifier for this warning.
+            "data": [ # [Output Only] Metadata for this warning in key: value format.
+              {
+                "value": "A String", # [Output Only] A warning data value corresponding to the key.
+                "key": "A String", # [Output Only] A key for the warning data.
+              },
+            ],
+          },
+        ],
+        "url": "A String", # [Output Only] The URL of the actual resource.
+        "update": { # [Output Only] If Deployment Manager is currently updating or previewing an update to this resource, the updated configuration appears here.
+          "finalProperties": "A String", # [Output Only] The expanded properties of the resource with reference values expanded. Returned as serialized YAML.
+          "warnings": [ # [Output Only] If warning messages are generated during processing of this resource, this field will be populated.
+            {
+              "message": "A String", # [Output Only] Optional human-readable details for this warning.
+              "code": "A String", # [Output Only] The warning type identifier for this warning.
+              "data": [ # [Output Only] Metadata for this warning in key: value format.
+                {
+                  "value": "A String", # [Output Only] A warning data value corresponding to the key.
+                  "key": "A String", # [Output Only] A key for the warning data.
+                },
+              ],
+            },
+          ],
+          "manifest": "A String", # [Output Only] URL of the manifest representing the update configuration of this resource.
+          "state": "A String", # [Output Only] The state of the resource.
+          "intent": "A String", # [Output Only] The intent of the resource: PREVIEW, UPDATE, or CANCEL.
+          "error": { # [Output Only] If errors are generated during update of the resource, this field will be populated.
+            "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+              {
+                "message": "A String", # [Output Only] An optional, human-readable error message.
+                "code": "A String", # [Output Only] The error type identifier for this error.
+                "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
+              },
+            ],
+          },
+          "properties": "A String", # [Output Only] The set of updated properties for this resource, before references are expanded. Returned as serialized YAML.
+        },
+        "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+        "insertTime": "A String", # [Output Only] Timestamp when the resource was created or acquired, in RFC3339 text format .
+        "manifest": "A String", # [Output Only] URL of the manifest representing the current configuration of this resource.
+        "type": "A String", # [Output Only] The type of the resource, for example compute.v1.instance, or replicaPools.v1beta2.instanceGroupManager.
+        "properties": "A String", # [Output Only] The current properties of the resource before any references have been filled in. Returned as serialized YAML.
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/deploymentmanager_v2.types.html b/docs/dyn/deploymentmanager_v2.types.html new file mode 100644 index 00000000000..0590ac186ba --- /dev/null +++ b/docs/dyn/deploymentmanager_v2.types.html @@ -0,0 +1,128 @@ + + + +

Google Cloud Deployment Manager API . types

+

Instance Methods

+

+ list(project, maxResults=None, pageToken=None, filter=None)

+

Lists all resource types for Deployment Manager.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ list(project, maxResults=None, pageToken=None, filter=None) +
Lists all resource types for Deployment Manager.
+
+Args:
+  project: string, The project ID for this request. (required)
+  maxResults: integer, Maximum count of results to be returned.
+  pageToken: string, Specifies a page token to use. Use this parameter if you want to list the next page of results. Set pageToken to the nextPageToken returned by a previous list request.
+  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: FIELD_NAME COMPARISON_STRING LITERAL_STRING.
+
+The FIELD_NAME is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The COMPARISON_STRING must be either eq (equals) or ne (not equals). The LITERAL_STRING is the string value to filter to. The literal value must be valid for the type of field (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
+
+For example, filter=name ne example-instance.
+
+Returns:
+  An object of the form:
+
+    { # A response that returns all Types supported by Deployment Manager
+    "nextPageToken": "A String", # A token used to continue a truncated list request.
+    "types": [ # [Output Only] A list of resource types supported by Deployment Manager.
+      { # A resource type supported by Deployment Manager.
+        "selfLink": "A String", # [Output Only] Self link for the type.
+        "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+        "insertTime": "A String", # [Output Only] Timestamp when the type was created, in RFC3339 text format.
+        "name": "A String", # Name of the type.
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.accountActiveAdSummaries.html b/docs/dyn/dfareporting_v2_2.accountActiveAdSummaries.html new file mode 100644 index 00000000000..cac7c815e38 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.accountActiveAdSummaries.html @@ -0,0 +1,101 @@ + + + +

DCM/DFA Reporting And Trafficking API . accountActiveAdSummaries

+

Instance Methods

+

+ get(profileId, summaryAccountId)

+

Gets the account's active ad summary by account ID.

+

Method Details

+
+ get(profileId, summaryAccountId) +
Gets the account's active ad summary by account ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  summaryAccountId: string, Account ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Gets a summary of active ads in an account.
+    "availableAds": "A String", # Ads that can be activated for the account.
+    "kind": "dfareporting#accountActiveAdSummary", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountActiveAdSummary".
+    "activeAdsLimitTier": "A String", # Maximum number of active ads allowed for the account.
+    "activeAds": "A String", # Ads that have been activated for the account
+    "accountId": "A String", # ID of the account.
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.accountPermissionGroups.html b/docs/dyn/dfareporting_v2_2.accountPermissionGroups.html new file mode 100644 index 00000000000..4bbbb882c8c --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.accountPermissionGroups.html @@ -0,0 +1,124 @@ + + + +

DCM/DFA Reporting And Trafficking API . accountPermissionGroups

+

Instance Methods

+

+ get(profileId, id)

+

Gets one account permission group by ID.

+

+ list(profileId)

+

Retrieves the list of account permission groups.

+

Method Details

+
+ get(profileId, id) +
Gets one account permission group by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Account permission group ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # AccountPermissionGroups contains a mapping of permission group IDs to names. A permission group is a grouping of account permissions.
+    "kind": "dfareporting#accountPermissionGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermissionGroup".
+    "id": "A String", # ID of this account permission group.
+    "name": "A String", # Name of this account permission group.
+  }
+
+ +
+ list(profileId) +
Retrieves the list of account permission groups.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+
+Returns:
+  An object of the form:
+
+    { # Account Permission Group List Response
+    "kind": "dfareporting#accountPermissionGroupsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermissionGroupsListResponse".
+    "accountPermissionGroups": [ # Account permission group collection.
+      { # AccountPermissionGroups contains a mapping of permission group IDs to names. A permission group is a grouping of account permissions.
+        "kind": "dfareporting#accountPermissionGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermissionGroup".
+        "id": "A String", # ID of this account permission group.
+        "name": "A String", # Name of this account permission group.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.accountPermissions.html b/docs/dyn/dfareporting_v2_2.accountPermissions.html new file mode 100644 index 00000000000..f31d6b5df97 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.accountPermissions.html @@ -0,0 +1,142 @@ + + + +

DCM/DFA Reporting And Trafficking API . accountPermissions

+

Instance Methods

+

+ get(profileId, id)

+

Gets one account permission by ID.

+

+ list(profileId)

+

Retrieves the list of account permissions.

+

Method Details

+
+ get(profileId, id) +
Gets one account permission by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Account permission ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # AccountPermissions contains information about a particular account permission. Some features of DCM require an account permission to be present in the account.
+    "kind": "dfareporting#accountPermission", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermission".
+    "name": "A String", # Name of this account permission.
+    "level": "A String", # Administrative level required to enable this account permission.
+    "permissionGroupId": "A String", # Permission group of this account permission.
+    "accountProfiles": [ # Account profiles associated with this account permission.
+        #
+        # Possible values are:
+        # - "ACCOUNT_PROFILE_BASIC"
+        # - "ACCOUNT_PROFILE_STANDARD"
+      "A String",
+    ],
+    "id": "A String", # ID of this account permission.
+  }
+
+ +
+ list(profileId) +
Retrieves the list of account permissions.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+
+Returns:
+  An object of the form:
+
+    { # Account Permission List Response
+    "accountPermissions": [ # Account permission collection.
+      { # AccountPermissions contains information about a particular account permission. Some features of DCM require an account permission to be present in the account.
+        "kind": "dfareporting#accountPermission", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermission".
+        "name": "A String", # Name of this account permission.
+        "level": "A String", # Administrative level required to enable this account permission.
+        "permissionGroupId": "A String", # Permission group of this account permission.
+        "accountProfiles": [ # Account profiles associated with this account permission.
+            #
+            # Possible values are:
+            # - "ACCOUNT_PROFILE_BASIC"
+            # - "ACCOUNT_PROFILE_STANDARD"
+          "A String",
+        ],
+        "id": "A String", # ID of this account permission.
+      },
+    ],
+    "kind": "dfareporting#accountPermissionsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermissionsListResponse".
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.accountUserProfiles.html b/docs/dyn/dfareporting_v2_2.accountUserProfiles.html new file mode 100644 index 00000000000..840481a5ca0 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.accountUserProfiles.html @@ -0,0 +1,677 @@ + + + +

DCM/DFA Reporting And Trafficking API . accountUserProfiles

+

Instance Methods

+

+ get(profileId, id)

+

Gets one account user profile by ID.

+

+ insert(profileId, body)

+

Inserts a new account user profile.

+

+ list(profileId, searchString=None, subaccountId=None, sortField=None, ids=None, maxResults=None, pageToken=None, sortOrder=None, userRoleId=None, active=None)

+

Retrieves a list of account user profiles, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, id, body)

+

Updates an existing account user profile. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing account user profile.

+

Method Details

+
+ get(profileId, id) +
Gets one account user profile by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, User profile ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # AccountUserProfiles contains properties of a DCM user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.
+      "kind": "dfareporting#accountUserProfile", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile".
+      "subaccountId": "A String", # Subaccount ID of the user profile. This is a read-only field that can be left blank.
+      "name": "A String", # Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: "&;"#%,".
+      "userRoleFilter": { # Object Filter. # Filter that describes which user roles are visible to the user profile.
+        "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+          "A String",
+        ],
+        "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+        "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+      },
+      "locale": "A String", # Locale of the user profile. This is a required field.
+          # Acceptable values are:
+          # - "cs" (Czech)
+          # - "de" (German)
+          # - "en" (English)
+          # - "en-GB" (English United Kingdom)
+          # - "es" (Spanish)
+          # - "fr" (French)
+          # - "it" (Italian)
+          # - "ja" (Japanese)
+          # - "ko" (Korean)
+          # - "pl" (Polish)
+          # - "pt-BR" (Portuguese Brazil)
+          # - "ru" (Russian)
+          # - "sv" (Swedish)
+          # - "tr" (Turkish)
+          # - "zh-CN" (Chinese Simplified)
+          # - "zh-TW" (Chinese Traditional)
+      "siteFilter": { # Object Filter. # Filter that describes which sites are visible to the user profile.
+        "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+          "A String",
+        ],
+        "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+        "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+      },
+      "comments": "A String", # Comments for this user profile.
+      "id": "A String", # ID of the user profile. This is a read-only, auto-generated field.
+      "advertiserFilter": { # Object Filter. # Filter that describes which advertisers are visible to the user profile.
+        "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+          "A String",
+        ],
+        "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+        "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+      },
+      "campaignFilter": { # Object Filter. # Filter that describes which campaigns are visible to the user profile.
+        "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+          "A String",
+        ],
+        "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+        "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+      },
+      "userRoleId": "A String", # User role ID of the user profile. This is a required field.
+      "userAccessType": "A String", # User type of the user profile. This is a read-only field that can be left blank.
+      "traffickerType": "A String", # Trafficker type of this user profile.
+      "active": True or False, # Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable.
+      "email": "A String", # Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion.
+      "accountId": "A String", # Account ID of the user profile. This is a read-only field that can be left blank.
+    }
+
+ +
+ insert(profileId, body) +
Inserts a new account user profile.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # AccountUserProfiles contains properties of a DCM user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.
+    "kind": "dfareporting#accountUserProfile", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile".
+    "subaccountId": "A String", # Subaccount ID of the user profile. This is a read-only field that can be left blank.
+    "name": "A String", # Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: "&;"#%,".
+    "userRoleFilter": { # Object Filter. # Filter that describes which user roles are visible to the user profile.
+      "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+        "A String",
+      ],
+      "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+      "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+    },
+    "locale": "A String", # Locale of the user profile. This is a required field.
+        # Acceptable values are:
+        # - "cs" (Czech)
+        # - "de" (German)
+        # - "en" (English)
+        # - "en-GB" (English United Kingdom)
+        # - "es" (Spanish)
+        # - "fr" (French)
+        # - "it" (Italian)
+        # - "ja" (Japanese)
+        # - "ko" (Korean)
+        # - "pl" (Polish)
+        # - "pt-BR" (Portuguese Brazil)
+        # - "ru" (Russian)
+        # - "sv" (Swedish)
+        # - "tr" (Turkish)
+        # - "zh-CN" (Chinese Simplified)
+        # - "zh-TW" (Chinese Traditional)
+    "siteFilter": { # Object Filter. # Filter that describes which sites are visible to the user profile.
+      "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+        "A String",
+      ],
+      "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+      "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+    },
+    "comments": "A String", # Comments for this user profile.
+    "id": "A String", # ID of the user profile. This is a read-only, auto-generated field.
+    "advertiserFilter": { # Object Filter. # Filter that describes which advertisers are visible to the user profile.
+      "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+        "A String",
+      ],
+      "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+      "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+    },
+    "campaignFilter": { # Object Filter. # Filter that describes which campaigns are visible to the user profile.
+      "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+        "A String",
+      ],
+      "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+      "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+    },
+    "userRoleId": "A String", # User role ID of the user profile. This is a required field.
+    "userAccessType": "A String", # User type of the user profile. This is a read-only field that can be left blank.
+    "traffickerType": "A String", # Trafficker type of this user profile.
+    "active": True or False, # Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable.
+    "email": "A String", # Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion.
+    "accountId": "A String", # Account ID of the user profile. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # AccountUserProfiles contains properties of a DCM user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.
+      "kind": "dfareporting#accountUserProfile", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile".
+      "subaccountId": "A String", # Subaccount ID of the user profile. This is a read-only field that can be left blank.
+      "name": "A String", # Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: "&;"#%,".
+      "userRoleFilter": { # Object Filter. # Filter that describes which user roles are visible to the user profile.
+        "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+          "A String",
+        ],
+        "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+        "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+      },
+      "locale": "A String", # Locale of the user profile. This is a required field.
+          # Acceptable values are:
+          # - "cs" (Czech)
+          # - "de" (German)
+          # - "en" (English)
+          # - "en-GB" (English United Kingdom)
+          # - "es" (Spanish)
+          # - "fr" (French)
+          # - "it" (Italian)
+          # - "ja" (Japanese)
+          # - "ko" (Korean)
+          # - "pl" (Polish)
+          # - "pt-BR" (Portuguese Brazil)
+          # - "ru" (Russian)
+          # - "sv" (Swedish)
+          # - "tr" (Turkish)
+          # - "zh-CN" (Chinese Simplified)
+          # - "zh-TW" (Chinese Traditional)
+      "siteFilter": { # Object Filter. # Filter that describes which sites are visible to the user profile.
+        "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+          "A String",
+        ],
+        "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+        "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+      },
+      "comments": "A String", # Comments for this user profile.
+      "id": "A String", # ID of the user profile. This is a read-only, auto-generated field.
+      "advertiserFilter": { # Object Filter. # Filter that describes which advertisers are visible to the user profile.
+        "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+          "A String",
+        ],
+        "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+        "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+      },
+      "campaignFilter": { # Object Filter. # Filter that describes which campaigns are visible to the user profile.
+        "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+          "A String",
+        ],
+        "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+        "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+      },
+      "userRoleId": "A String", # User role ID of the user profile. This is a required field.
+      "userAccessType": "A String", # User type of the user profile. This is a read-only field that can be left blank.
+      "traffickerType": "A String", # Trafficker type of this user profile.
+      "active": True or False, # Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable.
+      "email": "A String", # Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion.
+      "accountId": "A String", # Account ID of the user profile. This is a read-only field that can be left blank.
+    }
+
+ +
+ list(profileId, searchString=None, subaccountId=None, sortField=None, ids=None, maxResults=None, pageToken=None, sortOrder=None, userRoleId=None, active=None) +
Retrieves a list of account user profiles, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  searchString: string, Allows searching for objects by name, ID or email. Wildcards (*) are allowed. For example, "user profile*2015" will return objects with names like "user profile June 2015", "user profile April 2015", or simply "user profile 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "user profile" will match objects with name "my user profile", "user profile 2015", or simply "user profile".
+  subaccountId: string, Select only user profiles with the specified subaccount ID.
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  ids: string, Select only user profiles with these IDs. (repeated)
+  maxResults: integer, Maximum number of results to return.
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+  userRoleId: string, Select only user profiles with the specified user role ID.
+  active: boolean, Select only active user profiles.
+
+Returns:
+  An object of the form:
+
+    { # Account User Profile List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "accountUserProfiles": [ # Account user profile collection.
+      { # AccountUserProfiles contains properties of a DCM user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.
+          "kind": "dfareporting#accountUserProfile", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile".
+          "subaccountId": "A String", # Subaccount ID of the user profile. This is a read-only field that can be left blank.
+          "name": "A String", # Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: "&;"#%,".
+          "userRoleFilter": { # Object Filter. # Filter that describes which user roles are visible to the user profile.
+            "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+              "A String",
+            ],
+            "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+            "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+          },
+          "locale": "A String", # Locale of the user profile. This is a required field.
+              # Acceptable values are:
+              # - "cs" (Czech)
+              # - "de" (German)
+              # - "en" (English)
+              # - "en-GB" (English United Kingdom)
+              # - "es" (Spanish)
+              # - "fr" (French)
+              # - "it" (Italian)
+              # - "ja" (Japanese)
+              # - "ko" (Korean)
+              # - "pl" (Polish)
+              # - "pt-BR" (Portuguese Brazil)
+              # - "ru" (Russian)
+              # - "sv" (Swedish)
+              # - "tr" (Turkish)
+              # - "zh-CN" (Chinese Simplified)
+              # - "zh-TW" (Chinese Traditional)
+          "siteFilter": { # Object Filter. # Filter that describes which sites are visible to the user profile.
+            "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+              "A String",
+            ],
+            "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+            "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+          },
+          "comments": "A String", # Comments for this user profile.
+          "id": "A String", # ID of the user profile. This is a read-only, auto-generated field.
+          "advertiserFilter": { # Object Filter. # Filter that describes which advertisers are visible to the user profile.
+            "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+              "A String",
+            ],
+            "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+            "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+          },
+          "campaignFilter": { # Object Filter. # Filter that describes which campaigns are visible to the user profile.
+            "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+              "A String",
+            ],
+            "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+            "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+          },
+          "userRoleId": "A String", # User role ID of the user profile. This is a required field.
+          "userAccessType": "A String", # User type of the user profile. This is a read-only field that can be left blank.
+          "traffickerType": "A String", # Trafficker type of this user profile.
+          "active": True or False, # Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable.
+          "email": "A String", # Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion.
+          "accountId": "A String", # Account ID of the user profile. This is a read-only field that can be left blank.
+        },
+    ],
+    "kind": "dfareporting#accountUserProfilesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfilesListResponse".
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, id, body) +
Updates an existing account user profile. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, User profile ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # AccountUserProfiles contains properties of a DCM user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.
+    "kind": "dfareporting#accountUserProfile", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile".
+    "subaccountId": "A String", # Subaccount ID of the user profile. This is a read-only field that can be left blank.
+    "name": "A String", # Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: "&;"#%,".
+    "userRoleFilter": { # Object Filter. # Filter that describes which user roles are visible to the user profile.
+      "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+        "A String",
+      ],
+      "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+      "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+    },
+    "locale": "A String", # Locale of the user profile. This is a required field.
+        # Acceptable values are:
+        # - "cs" (Czech)
+        # - "de" (German)
+        # - "en" (English)
+        # - "en-GB" (English United Kingdom)
+        # - "es" (Spanish)
+        # - "fr" (French)
+        # - "it" (Italian)
+        # - "ja" (Japanese)
+        # - "ko" (Korean)
+        # - "pl" (Polish)
+        # - "pt-BR" (Portuguese Brazil)
+        # - "ru" (Russian)
+        # - "sv" (Swedish)
+        # - "tr" (Turkish)
+        # - "zh-CN" (Chinese Simplified)
+        # - "zh-TW" (Chinese Traditional)
+    "siteFilter": { # Object Filter. # Filter that describes which sites are visible to the user profile.
+      "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+        "A String",
+      ],
+      "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+      "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+    },
+    "comments": "A String", # Comments for this user profile.
+    "id": "A String", # ID of the user profile. This is a read-only, auto-generated field.
+    "advertiserFilter": { # Object Filter. # Filter that describes which advertisers are visible to the user profile.
+      "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+        "A String",
+      ],
+      "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+      "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+    },
+    "campaignFilter": { # Object Filter. # Filter that describes which campaigns are visible to the user profile.
+      "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+        "A String",
+      ],
+      "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+      "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+    },
+    "userRoleId": "A String", # User role ID of the user profile. This is a required field.
+    "userAccessType": "A String", # User type of the user profile. This is a read-only field that can be left blank.
+    "traffickerType": "A String", # Trafficker type of this user profile.
+    "active": True or False, # Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable.
+    "email": "A String", # Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion.
+    "accountId": "A String", # Account ID of the user profile. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # AccountUserProfiles contains properties of a DCM user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.
+      "kind": "dfareporting#accountUserProfile", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile".
+      "subaccountId": "A String", # Subaccount ID of the user profile. This is a read-only field that can be left blank.
+      "name": "A String", # Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: "&;"#%,".
+      "userRoleFilter": { # Object Filter. # Filter that describes which user roles are visible to the user profile.
+        "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+          "A String",
+        ],
+        "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+        "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+      },
+      "locale": "A String", # Locale of the user profile. This is a required field.
+          # Acceptable values are:
+          # - "cs" (Czech)
+          # - "de" (German)
+          # - "en" (English)
+          # - "en-GB" (English United Kingdom)
+          # - "es" (Spanish)
+          # - "fr" (French)
+          # - "it" (Italian)
+          # - "ja" (Japanese)
+          # - "ko" (Korean)
+          # - "pl" (Polish)
+          # - "pt-BR" (Portuguese Brazil)
+          # - "ru" (Russian)
+          # - "sv" (Swedish)
+          # - "tr" (Turkish)
+          # - "zh-CN" (Chinese Simplified)
+          # - "zh-TW" (Chinese Traditional)
+      "siteFilter": { # Object Filter. # Filter that describes which sites are visible to the user profile.
+        "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+          "A String",
+        ],
+        "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+        "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+      },
+      "comments": "A String", # Comments for this user profile.
+      "id": "A String", # ID of the user profile. This is a read-only, auto-generated field.
+      "advertiserFilter": { # Object Filter. # Filter that describes which advertisers are visible to the user profile.
+        "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+          "A String",
+        ],
+        "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+        "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+      },
+      "campaignFilter": { # Object Filter. # Filter that describes which campaigns are visible to the user profile.
+        "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+          "A String",
+        ],
+        "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+        "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+      },
+      "userRoleId": "A String", # User role ID of the user profile. This is a required field.
+      "userAccessType": "A String", # User type of the user profile. This is a read-only field that can be left blank.
+      "traffickerType": "A String", # Trafficker type of this user profile.
+      "active": True or False, # Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable.
+      "email": "A String", # Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion.
+      "accountId": "A String", # Account ID of the user profile. This is a read-only field that can be left blank.
+    }
+
+ +
+ update(profileId, body) +
Updates an existing account user profile.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # AccountUserProfiles contains properties of a DCM user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.
+    "kind": "dfareporting#accountUserProfile", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile".
+    "subaccountId": "A String", # Subaccount ID of the user profile. This is a read-only field that can be left blank.
+    "name": "A String", # Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: "&;"#%,".
+    "userRoleFilter": { # Object Filter. # Filter that describes which user roles are visible to the user profile.
+      "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+        "A String",
+      ],
+      "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+      "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+    },
+    "locale": "A String", # Locale of the user profile. This is a required field.
+        # Acceptable values are:
+        # - "cs" (Czech)
+        # - "de" (German)
+        # - "en" (English)
+        # - "en-GB" (English United Kingdom)
+        # - "es" (Spanish)
+        # - "fr" (French)
+        # - "it" (Italian)
+        # - "ja" (Japanese)
+        # - "ko" (Korean)
+        # - "pl" (Polish)
+        # - "pt-BR" (Portuguese Brazil)
+        # - "ru" (Russian)
+        # - "sv" (Swedish)
+        # - "tr" (Turkish)
+        # - "zh-CN" (Chinese Simplified)
+        # - "zh-TW" (Chinese Traditional)
+    "siteFilter": { # Object Filter. # Filter that describes which sites are visible to the user profile.
+      "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+        "A String",
+      ],
+      "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+      "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+    },
+    "comments": "A String", # Comments for this user profile.
+    "id": "A String", # ID of the user profile. This is a read-only, auto-generated field.
+    "advertiserFilter": { # Object Filter. # Filter that describes which advertisers are visible to the user profile.
+      "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+        "A String",
+      ],
+      "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+      "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+    },
+    "campaignFilter": { # Object Filter. # Filter that describes which campaigns are visible to the user profile.
+      "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+        "A String",
+      ],
+      "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+      "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+    },
+    "userRoleId": "A String", # User role ID of the user profile. This is a required field.
+    "userAccessType": "A String", # User type of the user profile. This is a read-only field that can be left blank.
+    "traffickerType": "A String", # Trafficker type of this user profile.
+    "active": True or False, # Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable.
+    "email": "A String", # Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion.
+    "accountId": "A String", # Account ID of the user profile. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # AccountUserProfiles contains properties of a DCM user profile. This resource is specifically for managing user profiles, whereas UserProfiles is for accessing the API.
+      "kind": "dfareporting#accountUserProfile", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountUserProfile".
+      "subaccountId": "A String", # Subaccount ID of the user profile. This is a read-only field that can be left blank.
+      "name": "A String", # Name of the user profile. This is a required field. Must be less than 64 characters long, must be globally unique, and cannot contain whitespace or any of the following characters: "&;"#%,".
+      "userRoleFilter": { # Object Filter. # Filter that describes which user roles are visible to the user profile.
+        "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+          "A String",
+        ],
+        "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+        "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+      },
+      "locale": "A String", # Locale of the user profile. This is a required field.
+          # Acceptable values are:
+          # - "cs" (Czech)
+          # - "de" (German)
+          # - "en" (English)
+          # - "en-GB" (English United Kingdom)
+          # - "es" (Spanish)
+          # - "fr" (French)
+          # - "it" (Italian)
+          # - "ja" (Japanese)
+          # - "ko" (Korean)
+          # - "pl" (Polish)
+          # - "pt-BR" (Portuguese Brazil)
+          # - "ru" (Russian)
+          # - "sv" (Swedish)
+          # - "tr" (Turkish)
+          # - "zh-CN" (Chinese Simplified)
+          # - "zh-TW" (Chinese Traditional)
+      "siteFilter": { # Object Filter. # Filter that describes which sites are visible to the user profile.
+        "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+          "A String",
+        ],
+        "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+        "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+      },
+      "comments": "A String", # Comments for this user profile.
+      "id": "A String", # ID of the user profile. This is a read-only, auto-generated field.
+      "advertiserFilter": { # Object Filter. # Filter that describes which advertisers are visible to the user profile.
+        "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+          "A String",
+        ],
+        "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+        "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+      },
+      "campaignFilter": { # Object Filter. # Filter that describes which campaigns are visible to the user profile.
+        "objectIds": [ # Applicable when status is ASSIGNED. The user has access to objects with these object IDs.
+          "A String",
+        ],
+        "status": "A String", # Status of the filter. NONE means the user has access to none of the objects. ALL means the user has access to all objects. ASSIGNED means the user has access to the objects with IDs in the objectIds list.
+        "kind": "dfareporting#objectFilter", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#objectFilter".
+      },
+      "userRoleId": "A String", # User role ID of the user profile. This is a required field.
+      "userAccessType": "A String", # User type of the user profile. This is a read-only field that can be left blank.
+      "traffickerType": "A String", # Trafficker type of this user profile.
+      "active": True or False, # Whether this user profile is active. This defaults to false, and must be set true on insert for the user profile to be usable.
+      "email": "A String", # Email of the user profile. The email addresss must be linked to a Google Account. This field is required on insertion and is read-only after insertion.
+      "accountId": "A String", # Account ID of the user profile. This is a read-only field that can be left blank.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.accounts.html b/docs/dyn/dfareporting_v2_2.accounts.html new file mode 100644 index 00000000000..7c3618396bb --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.accounts.html @@ -0,0 +1,790 @@ + + + +

DCM/DFA Reporting And Trafficking API . accounts

+

Instance Methods

+

+ get(profileId, id)

+

Gets one account by ID.

+

+ list(profileId, searchString=None, sortField=None, ids=None, maxResults=None, pageToken=None, sortOrder=None, active=None)

+

Retrieves the list of accounts, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, id, body)

+

Updates an existing account. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing account.

+

Method Details

+
+ get(profileId, id) +
Gets one account by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Account ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DCM account.
+      "kind": "dfareporting#account", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#account".
+      "countryId": "A String", # ID of the country associated with this account.
+      "availablePermissionIds": [ # User role permissions available to the user roles of this account.
+        "A String",
+      ],
+      "description": "A String", # Description of this account.
+      "maximumImageSize": "A String", # Maximum image size allowed for this account.
+      "currencyId": "A String", # ID of currency associated with this account. This is a required field.
+          # Acceptable values are:
+          # - "1" for USD
+          # - "2" for GBP
+          # - "3" for ESP
+          # - "4" for SEK
+          # - "5" for CAD
+          # - "6" for JPY
+          # - "7" for DEM
+          # - "8" for AUD
+          # - "9" for FRF
+          # - "10" for ITL
+          # - "11" for DKK
+          # - "12" for NOK
+          # - "13" for FIM
+          # - "14" for ZAR
+          # - "15" for IEP
+          # - "16" for NLG
+          # - "17" for EUR
+          # - "18" for KRW
+          # - "19" for TWD
+          # - "20" for SGD
+          # - "21" for CNY
+          # - "22" for HKD
+          # - "23" for NZD
+          # - "24" for MYR
+          # - "25" for BRL
+          # - "26" for PTE
+          # - "27" for MXP
+          # - "28" for CLP
+          # - "29" for TRY
+          # - "30" for ARS
+          # - "31" for PEN
+          # - "32" for ILS
+          # - "33" for CHF
+          # - "34" for VEF
+          # - "35" for COP
+          # - "36" for GTQ
+      "defaultCreativeSizeId": "A String", # Default placement dimensions for this account.
+      "accountPermissionIds": [ # Account permissions assigned to this account.
+        "A String",
+      ],
+      "comscoreVceEnabled": True or False, # Whether campaigns created in this account will be enabled for comScore vCE by default.
+      "nielsenOcrEnabled": True or False, # Whether campaigns created in this account will be enabled for Nielsen OCR reach ratings by default.
+      "accountProfile": "A String", # Profile for this account. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this account. This is a required field, and must be less than 128 characters long and be globally unique.
+      "locale": "A String", # Locale of this account.
+          # Acceptable values are:
+          # - "cs" (Czech)
+          # - "de" (German)
+          # - "en" (English)
+          # - "en-GB" (English United Kingdom)
+          # - "es" (Spanish)
+          # - "fr" (French)
+          # - "it" (Italian)
+          # - "ja" (Japanese)
+          # - "ko" (Korean)
+          # - "pl" (Polish)
+          # - "pt-BR" (Portuguese Brazil)
+          # - "ru" (Russian)
+          # - "sv" (Swedish)
+          # - "tr" (Turkish)
+          # - "zh-CN" (Chinese Simplified)
+          # - "zh-TW" (Chinese Traditional)
+      "teaserSizeLimit": "A String", # File size limit in kilobytes of Rich Media teaser creatives. Must be between 1 and 10240.
+      "reportsConfiguration": { # Reporting Configuration # Reporting configuration of this account.
+        "reportGenerationTimeZoneId": "A String", # Report generation time zone ID of this account. This is a required field that can only be changed by a superuser.
+            # Acceptable values are:
+            #
+            # - "1" for "America/New_York"
+            # - "2" for "Europe/London"
+            # - "3" for "Europe/Paris"
+            # - "4" for "Africa/Johannesburg"
+            # - "5" for "Asia/Jerusalem"
+            # - "6" for "Asia/Shanghai"
+            # - "7" for "Asia/Hong_Kong"
+            # - "8" for "Asia/Tokyo"
+            # - "9" for "Australia/Sydney"
+            # - "10" for "Asia/Dubai"
+            # - "11" for "America/Los_Angeles"
+            # - "12" for "Pacific/Auckland"
+            # - "13" for "America/Sao_Paulo"
+        "exposureToConversionEnabled": True or False, # Whether the exposure to conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.
+        "lookbackConfiguration": { # Lookback configuration settings. # Default lookback windows for new advertisers in this account.
+          "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+          "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        },
+      },
+      "active": True or False, # Whether this account is active.
+      "activeViewOptOut": True or False, # Whether to serve creatives with Active View tags. If disabled, viewability data will not be available for any impressions.
+      "id": "A String", # ID of this account. This is a read-only, auto-generated field.
+      "activeAdsLimitTier": "A String", # Maximum number of active ads allowed for this account.
+    }
+
+ +
+ list(profileId, searchString=None, sortField=None, ids=None, maxResults=None, pageToken=None, sortOrder=None, active=None) +
Retrieves the list of accounts, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  searchString: string, Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "account*2015" will return objects with names like "account June 2015", "account April 2015", or simply "account 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "account" will match objects with name "my account", "account 2015", or simply "account".
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  ids: string, Select only accounts with these IDs. (repeated)
+  maxResults: integer, Maximum number of results to return.
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+  active: boolean, Select only active accounts. Don't set this field to select both active and non-active accounts.
+
+Returns:
+  An object of the form:
+
+    { # Account List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#accountsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountsListResponse".
+    "accounts": [ # Account collection.
+      { # Contains properties of a DCM account.
+          "kind": "dfareporting#account", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#account".
+          "countryId": "A String", # ID of the country associated with this account.
+          "availablePermissionIds": [ # User role permissions available to the user roles of this account.
+            "A String",
+          ],
+          "description": "A String", # Description of this account.
+          "maximumImageSize": "A String", # Maximum image size allowed for this account.
+          "currencyId": "A String", # ID of currency associated with this account. This is a required field.
+              # Acceptable values are:
+              # - "1" for USD
+              # - "2" for GBP
+              # - "3" for ESP
+              # - "4" for SEK
+              # - "5" for CAD
+              # - "6" for JPY
+              # - "7" for DEM
+              # - "8" for AUD
+              # - "9" for FRF
+              # - "10" for ITL
+              # - "11" for DKK
+              # - "12" for NOK
+              # - "13" for FIM
+              # - "14" for ZAR
+              # - "15" for IEP
+              # - "16" for NLG
+              # - "17" for EUR
+              # - "18" for KRW
+              # - "19" for TWD
+              # - "20" for SGD
+              # - "21" for CNY
+              # - "22" for HKD
+              # - "23" for NZD
+              # - "24" for MYR
+              # - "25" for BRL
+              # - "26" for PTE
+              # - "27" for MXP
+              # - "28" for CLP
+              # - "29" for TRY
+              # - "30" for ARS
+              # - "31" for PEN
+              # - "32" for ILS
+              # - "33" for CHF
+              # - "34" for VEF
+              # - "35" for COP
+              # - "36" for GTQ
+          "defaultCreativeSizeId": "A String", # Default placement dimensions for this account.
+          "accountPermissionIds": [ # Account permissions assigned to this account.
+            "A String",
+          ],
+          "comscoreVceEnabled": True or False, # Whether campaigns created in this account will be enabled for comScore vCE by default.
+          "nielsenOcrEnabled": True or False, # Whether campaigns created in this account will be enabled for Nielsen OCR reach ratings by default.
+          "accountProfile": "A String", # Profile for this account. This is a read-only field that can be left blank.
+          "name": "A String", # Name of this account. This is a required field, and must be less than 128 characters long and be globally unique.
+          "locale": "A String", # Locale of this account.
+              # Acceptable values are:
+              # - "cs" (Czech)
+              # - "de" (German)
+              # - "en" (English)
+              # - "en-GB" (English United Kingdom)
+              # - "es" (Spanish)
+              # - "fr" (French)
+              # - "it" (Italian)
+              # - "ja" (Japanese)
+              # - "ko" (Korean)
+              # - "pl" (Polish)
+              # - "pt-BR" (Portuguese Brazil)
+              # - "ru" (Russian)
+              # - "sv" (Swedish)
+              # - "tr" (Turkish)
+              # - "zh-CN" (Chinese Simplified)
+              # - "zh-TW" (Chinese Traditional)
+          "teaserSizeLimit": "A String", # File size limit in kilobytes of Rich Media teaser creatives. Must be between 1 and 10240.
+          "reportsConfiguration": { # Reporting Configuration # Reporting configuration of this account.
+            "reportGenerationTimeZoneId": "A String", # Report generation time zone ID of this account. This is a required field that can only be changed by a superuser.
+                # Acceptable values are:
+                #
+                # - "1" for "America/New_York"
+                # - "2" for "Europe/London"
+                # - "3" for "Europe/Paris"
+                # - "4" for "Africa/Johannesburg"
+                # - "5" for "Asia/Jerusalem"
+                # - "6" for "Asia/Shanghai"
+                # - "7" for "Asia/Hong_Kong"
+                # - "8" for "Asia/Tokyo"
+                # - "9" for "Australia/Sydney"
+                # - "10" for "Asia/Dubai"
+                # - "11" for "America/Los_Angeles"
+                # - "12" for "Pacific/Auckland"
+                # - "13" for "America/Sao_Paulo"
+            "exposureToConversionEnabled": True or False, # Whether the exposure to conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.
+            "lookbackConfiguration": { # Lookback configuration settings. # Default lookback windows for new advertisers in this account.
+              "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+              "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+            },
+          },
+          "active": True or False, # Whether this account is active.
+          "activeViewOptOut": True or False, # Whether to serve creatives with Active View tags. If disabled, viewability data will not be available for any impressions.
+          "id": "A String", # ID of this account. This is a read-only, auto-generated field.
+          "activeAdsLimitTier": "A String", # Maximum number of active ads allowed for this account.
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, id, body) +
Updates an existing account. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Account ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a DCM account.
+    "kind": "dfareporting#account", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#account".
+    "countryId": "A String", # ID of the country associated with this account.
+    "availablePermissionIds": [ # User role permissions available to the user roles of this account.
+      "A String",
+    ],
+    "description": "A String", # Description of this account.
+    "maximumImageSize": "A String", # Maximum image size allowed for this account.
+    "currencyId": "A String", # ID of currency associated with this account. This is a required field.
+        # Acceptable values are:
+        # - "1" for USD
+        # - "2" for GBP
+        # - "3" for ESP
+        # - "4" for SEK
+        # - "5" for CAD
+        # - "6" for JPY
+        # - "7" for DEM
+        # - "8" for AUD
+        # - "9" for FRF
+        # - "10" for ITL
+        # - "11" for DKK
+        # - "12" for NOK
+        # - "13" for FIM
+        # - "14" for ZAR
+        # - "15" for IEP
+        # - "16" for NLG
+        # - "17" for EUR
+        # - "18" for KRW
+        # - "19" for TWD
+        # - "20" for SGD
+        # - "21" for CNY
+        # - "22" for HKD
+        # - "23" for NZD
+        # - "24" for MYR
+        # - "25" for BRL
+        # - "26" for PTE
+        # - "27" for MXP
+        # - "28" for CLP
+        # - "29" for TRY
+        # - "30" for ARS
+        # - "31" for PEN
+        # - "32" for ILS
+        # - "33" for CHF
+        # - "34" for VEF
+        # - "35" for COP
+        # - "36" for GTQ
+    "defaultCreativeSizeId": "A String", # Default placement dimensions for this account.
+    "accountPermissionIds": [ # Account permissions assigned to this account.
+      "A String",
+    ],
+    "comscoreVceEnabled": True or False, # Whether campaigns created in this account will be enabled for comScore vCE by default.
+    "nielsenOcrEnabled": True or False, # Whether campaigns created in this account will be enabled for Nielsen OCR reach ratings by default.
+    "accountProfile": "A String", # Profile for this account. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this account. This is a required field, and must be less than 128 characters long and be globally unique.
+    "locale": "A String", # Locale of this account.
+        # Acceptable values are:
+        # - "cs" (Czech)
+        # - "de" (German)
+        # - "en" (English)
+        # - "en-GB" (English United Kingdom)
+        # - "es" (Spanish)
+        # - "fr" (French)
+        # - "it" (Italian)
+        # - "ja" (Japanese)
+        # - "ko" (Korean)
+        # - "pl" (Polish)
+        # - "pt-BR" (Portuguese Brazil)
+        # - "ru" (Russian)
+        # - "sv" (Swedish)
+        # - "tr" (Turkish)
+        # - "zh-CN" (Chinese Simplified)
+        # - "zh-TW" (Chinese Traditional)
+    "teaserSizeLimit": "A String", # File size limit in kilobytes of Rich Media teaser creatives. Must be between 1 and 10240.
+    "reportsConfiguration": { # Reporting Configuration # Reporting configuration of this account.
+      "reportGenerationTimeZoneId": "A String", # Report generation time zone ID of this account. This is a required field that can only be changed by a superuser.
+          # Acceptable values are:
+          #
+          # - "1" for "America/New_York"
+          # - "2" for "Europe/London"
+          # - "3" for "Europe/Paris"
+          # - "4" for "Africa/Johannesburg"
+          # - "5" for "Asia/Jerusalem"
+          # - "6" for "Asia/Shanghai"
+          # - "7" for "Asia/Hong_Kong"
+          # - "8" for "Asia/Tokyo"
+          # - "9" for "Australia/Sydney"
+          # - "10" for "Asia/Dubai"
+          # - "11" for "America/Los_Angeles"
+          # - "12" for "Pacific/Auckland"
+          # - "13" for "America/Sao_Paulo"
+      "exposureToConversionEnabled": True or False, # Whether the exposure to conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.
+      "lookbackConfiguration": { # Lookback configuration settings. # Default lookback windows for new advertisers in this account.
+        "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      },
+    },
+    "active": True or False, # Whether this account is active.
+    "activeViewOptOut": True or False, # Whether to serve creatives with Active View tags. If disabled, viewability data will not be available for any impressions.
+    "id": "A String", # ID of this account. This is a read-only, auto-generated field.
+    "activeAdsLimitTier": "A String", # Maximum number of active ads allowed for this account.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DCM account.
+      "kind": "dfareporting#account", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#account".
+      "countryId": "A String", # ID of the country associated with this account.
+      "availablePermissionIds": [ # User role permissions available to the user roles of this account.
+        "A String",
+      ],
+      "description": "A String", # Description of this account.
+      "maximumImageSize": "A String", # Maximum image size allowed for this account.
+      "currencyId": "A String", # ID of currency associated with this account. This is a required field.
+          # Acceptable values are:
+          # - "1" for USD
+          # - "2" for GBP
+          # - "3" for ESP
+          # - "4" for SEK
+          # - "5" for CAD
+          # - "6" for JPY
+          # - "7" for DEM
+          # - "8" for AUD
+          # - "9" for FRF
+          # - "10" for ITL
+          # - "11" for DKK
+          # - "12" for NOK
+          # - "13" for FIM
+          # - "14" for ZAR
+          # - "15" for IEP
+          # - "16" for NLG
+          # - "17" for EUR
+          # - "18" for KRW
+          # - "19" for TWD
+          # - "20" for SGD
+          # - "21" for CNY
+          # - "22" for HKD
+          # - "23" for NZD
+          # - "24" for MYR
+          # - "25" for BRL
+          # - "26" for PTE
+          # - "27" for MXP
+          # - "28" for CLP
+          # - "29" for TRY
+          # - "30" for ARS
+          # - "31" for PEN
+          # - "32" for ILS
+          # - "33" for CHF
+          # - "34" for VEF
+          # - "35" for COP
+          # - "36" for GTQ
+      "defaultCreativeSizeId": "A String", # Default placement dimensions for this account.
+      "accountPermissionIds": [ # Account permissions assigned to this account.
+        "A String",
+      ],
+      "comscoreVceEnabled": True or False, # Whether campaigns created in this account will be enabled for comScore vCE by default.
+      "nielsenOcrEnabled": True or False, # Whether campaigns created in this account will be enabled for Nielsen OCR reach ratings by default.
+      "accountProfile": "A String", # Profile for this account. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this account. This is a required field, and must be less than 128 characters long and be globally unique.
+      "locale": "A String", # Locale of this account.
+          # Acceptable values are:
+          # - "cs" (Czech)
+          # - "de" (German)
+          # - "en" (English)
+          # - "en-GB" (English United Kingdom)
+          # - "es" (Spanish)
+          # - "fr" (French)
+          # - "it" (Italian)
+          # - "ja" (Japanese)
+          # - "ko" (Korean)
+          # - "pl" (Polish)
+          # - "pt-BR" (Portuguese Brazil)
+          # - "ru" (Russian)
+          # - "sv" (Swedish)
+          # - "tr" (Turkish)
+          # - "zh-CN" (Chinese Simplified)
+          # - "zh-TW" (Chinese Traditional)
+      "teaserSizeLimit": "A String", # File size limit in kilobytes of Rich Media teaser creatives. Must be between 1 and 10240.
+      "reportsConfiguration": { # Reporting Configuration # Reporting configuration of this account.
+        "reportGenerationTimeZoneId": "A String", # Report generation time zone ID of this account. This is a required field that can only be changed by a superuser.
+            # Acceptable values are:
+            #
+            # - "1" for "America/New_York"
+            # - "2" for "Europe/London"
+            # - "3" for "Europe/Paris"
+            # - "4" for "Africa/Johannesburg"
+            # - "5" for "Asia/Jerusalem"
+            # - "6" for "Asia/Shanghai"
+            # - "7" for "Asia/Hong_Kong"
+            # - "8" for "Asia/Tokyo"
+            # - "9" for "Australia/Sydney"
+            # - "10" for "Asia/Dubai"
+            # - "11" for "America/Los_Angeles"
+            # - "12" for "Pacific/Auckland"
+            # - "13" for "America/Sao_Paulo"
+        "exposureToConversionEnabled": True or False, # Whether the exposure to conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.
+        "lookbackConfiguration": { # Lookback configuration settings. # Default lookback windows for new advertisers in this account.
+          "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+          "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        },
+      },
+      "active": True or False, # Whether this account is active.
+      "activeViewOptOut": True or False, # Whether to serve creatives with Active View tags. If disabled, viewability data will not be available for any impressions.
+      "id": "A String", # ID of this account. This is a read-only, auto-generated field.
+      "activeAdsLimitTier": "A String", # Maximum number of active ads allowed for this account.
+    }
+
+ +
+ update(profileId, body) +
Updates an existing account.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a DCM account.
+    "kind": "dfareporting#account", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#account".
+    "countryId": "A String", # ID of the country associated with this account.
+    "availablePermissionIds": [ # User role permissions available to the user roles of this account.
+      "A String",
+    ],
+    "description": "A String", # Description of this account.
+    "maximumImageSize": "A String", # Maximum image size allowed for this account.
+    "currencyId": "A String", # ID of currency associated with this account. This is a required field.
+        # Acceptable values are:
+        # - "1" for USD
+        # - "2" for GBP
+        # - "3" for ESP
+        # - "4" for SEK
+        # - "5" for CAD
+        # - "6" for JPY
+        # - "7" for DEM
+        # - "8" for AUD
+        # - "9" for FRF
+        # - "10" for ITL
+        # - "11" for DKK
+        # - "12" for NOK
+        # - "13" for FIM
+        # - "14" for ZAR
+        # - "15" for IEP
+        # - "16" for NLG
+        # - "17" for EUR
+        # - "18" for KRW
+        # - "19" for TWD
+        # - "20" for SGD
+        # - "21" for CNY
+        # - "22" for HKD
+        # - "23" for NZD
+        # - "24" for MYR
+        # - "25" for BRL
+        # - "26" for PTE
+        # - "27" for MXP
+        # - "28" for CLP
+        # - "29" for TRY
+        # - "30" for ARS
+        # - "31" for PEN
+        # - "32" for ILS
+        # - "33" for CHF
+        # - "34" for VEF
+        # - "35" for COP
+        # - "36" for GTQ
+    "defaultCreativeSizeId": "A String", # Default placement dimensions for this account.
+    "accountPermissionIds": [ # Account permissions assigned to this account.
+      "A String",
+    ],
+    "comscoreVceEnabled": True or False, # Whether campaigns created in this account will be enabled for comScore vCE by default.
+    "nielsenOcrEnabled": True or False, # Whether campaigns created in this account will be enabled for Nielsen OCR reach ratings by default.
+    "accountProfile": "A String", # Profile for this account. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this account. This is a required field, and must be less than 128 characters long and be globally unique.
+    "locale": "A String", # Locale of this account.
+        # Acceptable values are:
+        # - "cs" (Czech)
+        # - "de" (German)
+        # - "en" (English)
+        # - "en-GB" (English United Kingdom)
+        # - "es" (Spanish)
+        # - "fr" (French)
+        # - "it" (Italian)
+        # - "ja" (Japanese)
+        # - "ko" (Korean)
+        # - "pl" (Polish)
+        # - "pt-BR" (Portuguese Brazil)
+        # - "ru" (Russian)
+        # - "sv" (Swedish)
+        # - "tr" (Turkish)
+        # - "zh-CN" (Chinese Simplified)
+        # - "zh-TW" (Chinese Traditional)
+    "teaserSizeLimit": "A String", # File size limit in kilobytes of Rich Media teaser creatives. Must be between 1 and 10240.
+    "reportsConfiguration": { # Reporting Configuration # Reporting configuration of this account.
+      "reportGenerationTimeZoneId": "A String", # Report generation time zone ID of this account. This is a required field that can only be changed by a superuser.
+          # Acceptable values are:
+          #
+          # - "1" for "America/New_York"
+          # - "2" for "Europe/London"
+          # - "3" for "Europe/Paris"
+          # - "4" for "Africa/Johannesburg"
+          # - "5" for "Asia/Jerusalem"
+          # - "6" for "Asia/Shanghai"
+          # - "7" for "Asia/Hong_Kong"
+          # - "8" for "Asia/Tokyo"
+          # - "9" for "Australia/Sydney"
+          # - "10" for "Asia/Dubai"
+          # - "11" for "America/Los_Angeles"
+          # - "12" for "Pacific/Auckland"
+          # - "13" for "America/Sao_Paulo"
+      "exposureToConversionEnabled": True or False, # Whether the exposure to conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.
+      "lookbackConfiguration": { # Lookback configuration settings. # Default lookback windows for new advertisers in this account.
+        "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      },
+    },
+    "active": True or False, # Whether this account is active.
+    "activeViewOptOut": True or False, # Whether to serve creatives with Active View tags. If disabled, viewability data will not be available for any impressions.
+    "id": "A String", # ID of this account. This is a read-only, auto-generated field.
+    "activeAdsLimitTier": "A String", # Maximum number of active ads allowed for this account.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DCM account.
+      "kind": "dfareporting#account", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#account".
+      "countryId": "A String", # ID of the country associated with this account.
+      "availablePermissionIds": [ # User role permissions available to the user roles of this account.
+        "A String",
+      ],
+      "description": "A String", # Description of this account.
+      "maximumImageSize": "A String", # Maximum image size allowed for this account.
+      "currencyId": "A String", # ID of currency associated with this account. This is a required field.
+          # Acceptable values are:
+          # - "1" for USD
+          # - "2" for GBP
+          # - "3" for ESP
+          # - "4" for SEK
+          # - "5" for CAD
+          # - "6" for JPY
+          # - "7" for DEM
+          # - "8" for AUD
+          # - "9" for FRF
+          # - "10" for ITL
+          # - "11" for DKK
+          # - "12" for NOK
+          # - "13" for FIM
+          # - "14" for ZAR
+          # - "15" for IEP
+          # - "16" for NLG
+          # - "17" for EUR
+          # - "18" for KRW
+          # - "19" for TWD
+          # - "20" for SGD
+          # - "21" for CNY
+          # - "22" for HKD
+          # - "23" for NZD
+          # - "24" for MYR
+          # - "25" for BRL
+          # - "26" for PTE
+          # - "27" for MXP
+          # - "28" for CLP
+          # - "29" for TRY
+          # - "30" for ARS
+          # - "31" for PEN
+          # - "32" for ILS
+          # - "33" for CHF
+          # - "34" for VEF
+          # - "35" for COP
+          # - "36" for GTQ
+      "defaultCreativeSizeId": "A String", # Default placement dimensions for this account.
+      "accountPermissionIds": [ # Account permissions assigned to this account.
+        "A String",
+      ],
+      "comscoreVceEnabled": True or False, # Whether campaigns created in this account will be enabled for comScore vCE by default.
+      "nielsenOcrEnabled": True or False, # Whether campaigns created in this account will be enabled for Nielsen OCR reach ratings by default.
+      "accountProfile": "A String", # Profile for this account. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this account. This is a required field, and must be less than 128 characters long and be globally unique.
+      "locale": "A String", # Locale of this account.
+          # Acceptable values are:
+          # - "cs" (Czech)
+          # - "de" (German)
+          # - "en" (English)
+          # - "en-GB" (English United Kingdom)
+          # - "es" (Spanish)
+          # - "fr" (French)
+          # - "it" (Italian)
+          # - "ja" (Japanese)
+          # - "ko" (Korean)
+          # - "pl" (Polish)
+          # - "pt-BR" (Portuguese Brazil)
+          # - "ru" (Russian)
+          # - "sv" (Swedish)
+          # - "tr" (Turkish)
+          # - "zh-CN" (Chinese Simplified)
+          # - "zh-TW" (Chinese Traditional)
+      "teaserSizeLimit": "A String", # File size limit in kilobytes of Rich Media teaser creatives. Must be between 1 and 10240.
+      "reportsConfiguration": { # Reporting Configuration # Reporting configuration of this account.
+        "reportGenerationTimeZoneId": "A String", # Report generation time zone ID of this account. This is a required field that can only be changed by a superuser.
+            # Acceptable values are:
+            #
+            # - "1" for "America/New_York"
+            # - "2" for "Europe/London"
+            # - "3" for "Europe/Paris"
+            # - "4" for "Africa/Johannesburg"
+            # - "5" for "Asia/Jerusalem"
+            # - "6" for "Asia/Shanghai"
+            # - "7" for "Asia/Hong_Kong"
+            # - "8" for "Asia/Tokyo"
+            # - "9" for "Australia/Sydney"
+            # - "10" for "Asia/Dubai"
+            # - "11" for "America/Los_Angeles"
+            # - "12" for "Pacific/Auckland"
+            # - "13" for "America/Sao_Paulo"
+        "exposureToConversionEnabled": True or False, # Whether the exposure to conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.
+        "lookbackConfiguration": { # Lookback configuration settings. # Default lookback windows for new advertisers in this account.
+          "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+          "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        },
+      },
+      "active": True or False, # Whether this account is active.
+      "activeViewOptOut": True or False, # Whether to serve creatives with Active View tags. If disabled, viewability data will not be available for any impressions.
+      "id": "A String", # ID of this account. This is a read-only, auto-generated field.
+      "activeAdsLimitTier": "A String", # Maximum number of active ads allowed for this account.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.ads.html b/docs/dyn/dfareporting_v2_2.ads.html new file mode 100644 index 00000000000..c115007a32d --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.ads.html @@ -0,0 +1,2832 @@ + + + +

DCM/DFA Reporting And Trafficking API . ads

+

Instance Methods

+

+ get(profileId, id)

+

Gets one ad by ID.

+

+ insert(profileId, body)

+

Inserts a new ad.

+

+ list(profileId, landingPageIds=None, overriddenEventTagId=None, campaignIds=None, sizeIds=None, archived=None, creativeOptimizationConfigurationIds=None, sslCompliant=None, pageToken=None, sortOrder=None, type=None, sslRequired=None, creativeIds=None, remarketingListIds=None, maxResults=None, creativeType=None, placementIds=None, active=None, compatibility=None, advertiserId=None, searchString=None, audienceSegmentIds=None, ids=None, sortField=None, dynamicClickTracker=None)

+

Retrieves a list of ads, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, id, body)

+

Updates an existing ad. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing ad.

+

Method Details

+
+ get(profileId, id) +
Gets one ad by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Ad ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DCM ad.
+      "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix properties for this ad. Applies to the URL in the ad or (if overriding ad properties) the URL in the creative.
+        "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
+        "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
+      },
+      "campaignId": "A String", # Campaign ID of this ad. This is a required field on insertion.
+      "advertiserId": "A String", # Advertiser ID of this ad. This is a required field on insertion.
+      "geoTargeting": { # Geographical Targeting. # Geographical targeting information for this ad.Applicable when type is AD_SERVING_STANDARD_AD.
+        "countries": [ # Countries to be targeted or excluded from targeting, depending on the setting of the excludeCountries field. For each country only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting or excluding a country, do not target regions, cities, metros, or postal codes in the same country.
+          { # Contains information about a country that can be targeted by ads.
+            "dartId": "A String", # DART ID of this country. This is the ID used for targeting and generating reports.
+            "sslEnabled": True or False, # Whether ad serving supports secure servers in this country.
+            "kind": "dfareporting#country", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#country".
+            "countryCode": "A String", # Country code.
+            "name": "A String", # Name of this country.
+          },
+        ],
+        "excludeCountries": True or False, # Whether or not to exclude the countries in the countries field from targeting. If false, the countries field refers to countries which will be targeted by the ad.
+        "postalCodes": [ # Postal codes to be targeted. For each postal code only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a postal code, do not target or exclude the country of the postal code.
+          { # Contains information about a postal code that can be targeted by ads.
+            "countryDartId": "A String", # DART ID of the country to which this postal code belongs.
+            "kind": "dfareporting#postalCode", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#postalCode".
+            "code": "A String", # Postal code. This is equivalent to the id field.
+            "id": "A String", # ID of this postal code.
+            "countryCode": "A String", # Country code of the country to which this postal code belongs.
+          },
+        ],
+        "regions": [ # Regions to be targeted. For each region only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a region, do not target or exclude the country of the region.
+          { # Contains information about a region that can be targeted by ads.
+            "kind": "dfareporting#region", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#region".
+            "countryDartId": "A String", # DART ID of the country to which this region belongs.
+            "name": "A String", # Name of this region.
+            "countryCode": "A String", # Country code of the country to which this region belongs.
+            "regionCode": "A String", # Region code.
+            "dartId": "A String", # DART ID of this region.
+          },
+        ],
+        "cities": [ # Cities to be targeted. For each city only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a city, do not target or exclude the country of the city, and do not target the metro or region of the city.
+          { # Contains information about a city that can be targeted by ads.
+            "kind": "dfareporting#city", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#city".
+            "countryDartId": "A String", # DART ID of the country to which this city belongs.
+            "name": "A String", # Name of this city.
+            "countryCode": "A String", # Country code of the country to which this city belongs.
+            "metroCode": "A String", # Metro region code of the metro region (DMA) to which this city belongs.
+            "regionCode": "A String", # Region code of the region to which this city belongs.
+            "metroDmaId": "A String", # ID of the metro region (DMA) to which this city belongs.
+            "dartId": "A String", # DART ID of this city. This is the ID used for targeting and generating reports.
+            "regionDartId": "A String", # DART ID of the region to which this city belongs.
+          },
+        ],
+        "metros": [ # Metros to be targeted. For each metro only dmaId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a metro, do not target or exclude the country of the metro.
+          { # Contains information about a metro region that can be targeted by ads.
+            "kind": "dfareporting#metro", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#metro".
+            "countryDartId": "A String", # DART ID of the country to which this metro region belongs.
+            "name": "A String", # Name of this metro region.
+            "countryCode": "A String", # Country code of the country to which this metro region belongs.
+            "metroCode": "A String", # Metro code of this metro region. This is equivalent to dma_id.
+            "dmaId": "A String", # DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code.
+            "dartId": "A String", # DART ID of this metro region.
+          },
+        ],
+      },
+      "creativeGroupAssignments": [ # Creative group assignments for this ad. Applicable when type is AD_SERVING_CLICK_TRACKER. Only one assignment per creative group number is allowed for a maximum of two assignments.
+        { # Creative Group Assignment.
+          "creativeGroupNumber": "A String", # Creative group number of the creative group assignment.
+          "creativeGroupId": "A String", # ID of the creative group to be assigned.
+        },
+      ],
+      "deliverySchedule": { # Delivery Schedule. # Delivery schedule information for this ad. Applicable when type is AD_SERVING_STANDARD_AD or AD_SERVING_TRACKING. This field along with subfields priority and impressionRatio are required on insertion when type is AD_SERVING_STANDARD_AD.
+        "priority": "A String", # Serving priority of an ad, with respect to other ads. The lower the priority number, the greater the priority with which it is served.
+        "hardCutoff": True or False, # Whether or not hard cutoff is enabled. If true, the ad will not serve after the end date and time. Otherwise the ad will continue to be served until it has reached its delivery goals.
+        "frequencyCap": { # Frequency Cap. # Limit on the number of times an individual user can be served the ad within a specified period of time.
+          "duration": "A String", # Duration of time, in seconds, for this frequency cap. The maximum duration is 90 days in seconds, or 7,776,000.
+          "impressions": "A String", # Number of times an individual user can be served the ad within the specified duration. The maximum allowed is 15.
+        },
+        "impressionRatio": "A String", # Impression ratio for this ad. This ratio determines how often each ad is served relative to the others. For example, if ad A has an impression ratio of 1 and ad B has an impression ratio of 3, then DCM will serve ad B three times as often as ad A. Must be between 1 and 10.
+      },
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "eventTagOverrides": [ # Event tag overrides for this ad.
+        { # Event tag override information.
+          "enabled": True or False, # Whether this override is enabled.
+          "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
+        },
+      ],
+      "id": "A String", # ID of this ad. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this ad. This is a read-only field that can be left blank.
+      "archived": True or False, # Whether this ad is archived.
+      "technologyTargeting": { # Technology Targeting. # Technology platform targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+        "platformTypes": [ # Platform types that this ad targets. For example, desktop, mobile, or tablet. For each platform type, only id is required, and the other fields are populated automatically when the ad is inserted or updated.
+          { # Contains information about a platform type that can be targeted by ads.
+            "kind": "dfareporting#platformType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#platformType".
+            "id": "A String", # ID of this platform type.
+            "name": "A String", # Name of this platform type.
+          },
+        ],
+        "operatingSystemVersions": [ # Operating system versions that this ad targets. To target all versions, use operatingSystems. For each operating system version, only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system version, do not set targeting for the corresponding operating system in operatingSystems.
+          { # Contains information about a particular version of an operating system that can be targeted by ads.
+            "majorVersion": "A String", # Major version (leftmost number) of this operating system version.
+            "kind": "dfareporting#operatingSystemVersion", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersion".
+            "name": "A String", # Name of this operating system version.
+            "id": "A String", # ID of this operating system version.
+            "operatingSystem": { # Contains information about an operating system that can be targeted by ads. # Operating system of this operating system version.
+              "mobile": True or False, # Whether this operating system is for mobile.
+              "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
+              "kind": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
+              "name": "A String", # Name of this operating system.
+              "desktop": True or False, # Whether this operating system is for desktop.
+            },
+            "minorVersion": "A String", # Minor version (number after the first dot) of this operating system version.
+          },
+        ],
+        "browsers": [ # Browsers that this ad targets. For each browser either set browserVersionId or dartId along with the version numbers. If both are specified, only browserVersionId will be used.The other fields are populated automatically when the ad is inserted or updated.
+          { # Contains information about a browser that can be targeted by ads.
+            "majorVersion": "A String", # Major version number (leftmost number) of this browser. For example, for Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.
+            "kind": "dfareporting#browser", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#browser".
+            "name": "A String", # Name of this browser.
+            "browserVersionId": "A String", # ID referring to this grouping of browser and version numbers. This is the ID used for targeting.
+            "dartId": "A String", # DART ID of this browser. This is the ID used when generating reports.
+            "minorVersion": "A String", # Minor version number (number after first dot on left) of this browser. For example, for Chrome 5.0.375.86 beta, this field should be set to 0. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.
+          },
+        ],
+        "operatingSystems": [ # Operating systems that this ad targets. To target specific versions, use operatingSystemVersions. For each operating system only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system, do not set targeting for operating system versions for the same operating system.
+          { # Contains information about an operating system that can be targeted by ads.
+            "mobile": True or False, # Whether this operating system is for mobile.
+            "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
+            "kind": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
+            "name": "A String", # Name of this operating system.
+            "desktop": True or False, # Whether this operating system is for desktop.
+          },
+        ],
+        "mobileCarriers": [ # Mobile carriers that this ad targets. For each mobile carrier only id is required, and the other fields are populated automatically when the ad is inserted or updated. If targeting a mobile carrier, do not set targeting for any zip codes.
+          { # Contains information about a mobile carrier that can be targeted by ads.
+            "kind": "dfareporting#mobileCarrier", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileCarrier".
+            "countryDartId": "A String", # DART ID of the country to which this mobile carrier belongs.
+            "id": "A String", # ID of this mobile carrier.
+            "countryCode": "A String", # Country code of the country to which this mobile carrier belongs.
+            "name": "A String", # Name of this mobile carrier.
+          },
+        ],
+        "connectionTypes": [ # Connection types that this ad targets. For each connection type only id is required.The other fields are populated automatically when the ad is inserted or updated.
+          { # Contains information about an internet connection type that can be targeted by ads. Clients can use the connection type to target mobile vs. broadband users.
+            "kind": "dfareporting#connectionType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#connectionType".
+            "id": "A String", # ID of this connection type.
+            "name": "A String", # Name of this connection type.
+          },
+        ],
+      },
+      "creativeRotation": { # Creative Rotation. # Creative rotation for this ad. Applicable when type is AD_SERVING_DEFAULT_AD, AD_SERVING_STANDARD_AD, or AD_SERVING_TRACKING. When type is AD_SERVING_DEFAULT_AD, this field should have exactly one creativeAssignment.
+        "creativeAssignments": [ # Creative assignments in this creative rotation.
+          { # Creative Assignment.
+            "weight": 42, # Weight of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_RANDOM.
+            "sequence": 42, # Sequence number of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_SEQUENTIAL.
+            "applyEventTags": True or False, # Whether applicable event tags should fire when this creative assignment is rendered. If this value is unset when the ad is inserted or updated, it will default to true for all creative types EXCEPT for INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO.
+            "richMediaExitOverrides": [ # Rich media exit overrides for this creative assignment.
+                # Applicable when the creative type is any of the following:
+                # - RICH_MEDIA_INPAGE
+                # - RICH_MEDIA_INPAGE_FLOATING
+                # - RICH_MEDIA_IM_EXPAND
+                # - RICH_MEDIA_EXPANDING
+                # - RICH_MEDIA_INTERSTITIAL_FLOAT
+                # - RICH_MEDIA_MOBILE_IN_APP
+                # - RICH_MEDIA_MULTI_FLOATING
+                # - RICH_MEDIA_PEEL_DOWN
+                # - ADVANCED_BANNER
+                # - VPAID_LINEAR
+                # - VPAID_NON_LINEAR
+              { # Rich Media Exit Override.
+                "customExitUrl": "A String", # Click-through URL to override the default exit URL. Applicable if the useCustomExitUrl field is set to true.
+                "useCustomExitUrl": True or False, # Whether to use the custom exit URL.
+                "exitId": "A String", # ID for the override to refer to a specific exit in the creative.
+              },
+            ],
+            "sslCompliant": True or False, # Whether the creative to be assigned is SSL-compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.
+            "creativeGroupAssignments": [ # Creative group assignments for this creative assignment. Only one assignment per creative group number is allowed for a maximum of two assignments.
+              { # Creative Group Assignment.
+                "creativeGroupNumber": "A String", # Creative group number of the creative group assignment.
+                "creativeGroupId": "A String", # ID of the creative group to be assigned.
+              },
+            ],
+            "companionCreativeOverrides": [ # Companion creative overrides for this creative assignment. Applicable to video ads.
+              { # Companion Click-through override.
+                "clickThroughUrl": { # Click-through URL # Click-through URL of this companion click-through override.
+                  "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+                      # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+                      # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+                      # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+                  "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+                  "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+                  "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+                },
+                "creativeId": "A String", # ID of the creative for this companion click-through override.
+              },
+            ],
+            "startTime": "A String", # Date and time that the assigned creative should start serving.
+            "clickThroughUrl": { # Click-through URL # Click-through URL of the creative assignment.
+              "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+                  # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+                  # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+                  # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+              "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+              "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+              "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+            },
+            "active": True or False, # Whether this creative assignment is active. When true, the creative will be included in the ad's rotation.
+            "creativeId": "A String", # ID of the creative to be assigned. This is a required field.
+            "endTime": "A String", # Date and time that the assigned creative should stop serving. Must be later than the start time.
+            "creativeIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the creative. This is a read-only, auto-generated field.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+          },
+        ],
+        "weightCalculationStrategy": "A String", # Strategy for calculating weights. Used with CREATIVE_ROTATION_TYPE_RANDOM.
+        "creativeOptimizationConfigurationId": "A String", # Creative optimization configuration that is used by this ad. It should refer to one of the existing optimization configurations in the ad's campaign. If it is unset or set to 0, then the campaign's default optimization configuration will be used for this ad.
+        "type": "A String", # Type of creative rotation. Can be used to specify whether to use sequential or random rotation.
+      },
+      "clickThroughUrl": { # Click-through URL # Click-through URL for this ad. This is a required field on insertion. Applicable when type is AD_SERVING_CLICK_TRACKER.
+        "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+            # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+            # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+            # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+        "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+        "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+        "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+      },
+      "comments": "A String", # Comments for this ad.
+      "remarketingListExpression": { # Remarketing List Targeting Expression. # Applicable when type is AD_SERVING_STANDARD_AD. Remarketing list targeting expression for this ad.
+        "expression": "A String", # Expression describing which lists are being targeted by the ad.
+      },
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this ad. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD.
+        "width": 42, # Width of this size.
+        "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+        "height": 42, # Height of this size.
+      },
+      "type": "A String", # Type of ad. This is a required field on insertion. Note that default ads (AD_SERVING_DEFAULT_AD) cannot be created directly (see Creative resource).
+      "sslRequired": True or False, # Whether this ad requires ssl. This is a read-only field that is auto-generated when the ad is inserted or updated.
+      "audienceSegmentId": "A String", # Audience segment ID that is being targeted for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+      "keyValueTargetingExpression": { # Key Value Targeting Expression. # Key-value targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+        "expression": "A String", # Keyword expression being targeted by the ad.
+      },
+      "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Default click-through event tag properties for this ad.
+        "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
+        "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
+      },
+      "createInfo": { # Modification timestamp. # Information about the creation of this ad.This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "startTime": "A String", # Date and time that this ad should start serving. If creating an ad, this field must be a time in the future. This is a required field on insertion.
+      "active": True or False, # Whether this ad is active.
+      "compatibility": "A String", # Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the VAST standard.
+      "kind": "dfareporting#ad", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#ad".
+      "subaccountId": "A String", # Subaccount ID of this ad. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this ad. This is a required field and must be less than 256 characters long.
+      "dayPartTargeting": { # Day Part Targeting. # Time and day targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+        "userLocalTime": True or False, # Whether or not to use the user's local time. If false, the America/New York time zone applies.
+        "hoursOfDay": [ # Hours of the day when the ad will serve. Must be an integer between 0 and 23 (inclusive), where 0 is midnight to 1 AM, and 23 is 11 PM to midnight. Can be specified with days of week, in which case the ad would serve during these hours on the specified days. For example, if Monday, Wednesday, Friday are the days of week specified and 9-10am, 3-5pm (hours 9, 15, and 16) is specified, the ad would serve Monday, Wednesdays, and Fridays at 9-10am and 3-5pm.
+          42,
+        ],
+        "daysOfWeek": [ # Days of the week when the ad will serve.
+            #
+            # Acceptable values are:
+            # - "SUNDAY"
+            # - "MONDAY"
+            # - "TUESDAY"
+            # - "WEDNESDAY"
+            # - "THURSDAY"
+            # - "FRIDAY"
+            # - "SATURDAY"
+          "A String",
+        ],
+      },
+      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this ad. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "sslCompliant": True or False, # Whether this ad is ssl compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.
+      "placementAssignments": [ # Placement assignments for this ad.
+        { # Placement Assignment.
+          "active": True or False, # Whether this placement assignment is active. When true, the placement will be included in the ad's rotation.
+          "placementIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "placementId": "A String", # ID of the placement to be assigned. This is a required field.
+          "sslRequired": True or False, # Whether the placement to be assigned requires SSL. This is a read-only field that is auto-generated when the ad is inserted or updated.
+        },
+      ],
+      "endTime": "A String", # Date and time that this ad should stop serving. Must be later than the start time. This is a required field on insertion.
+      "dynamicClickTracker": True or False, # Whether this ad is a dynamic click tracker. Applicable when type is AD_SERVING_CLICK_TRACKER. This is a required field on insert, and is read-only after insert.
+    }
+
+ +
+ insert(profileId, body) +
Inserts a new ad.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a DCM ad.
+    "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix properties for this ad. Applies to the URL in the ad or (if overriding ad properties) the URL in the creative.
+      "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
+      "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
+    },
+    "campaignId": "A String", # Campaign ID of this ad. This is a required field on insertion.
+    "advertiserId": "A String", # Advertiser ID of this ad. This is a required field on insertion.
+    "geoTargeting": { # Geographical Targeting. # Geographical targeting information for this ad.Applicable when type is AD_SERVING_STANDARD_AD.
+      "countries": [ # Countries to be targeted or excluded from targeting, depending on the setting of the excludeCountries field. For each country only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting or excluding a country, do not target regions, cities, metros, or postal codes in the same country.
+        { # Contains information about a country that can be targeted by ads.
+          "dartId": "A String", # DART ID of this country. This is the ID used for targeting and generating reports.
+          "sslEnabled": True or False, # Whether ad serving supports secure servers in this country.
+          "kind": "dfareporting#country", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#country".
+          "countryCode": "A String", # Country code.
+          "name": "A String", # Name of this country.
+        },
+      ],
+      "excludeCountries": True or False, # Whether or not to exclude the countries in the countries field from targeting. If false, the countries field refers to countries which will be targeted by the ad.
+      "postalCodes": [ # Postal codes to be targeted. For each postal code only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a postal code, do not target or exclude the country of the postal code.
+        { # Contains information about a postal code that can be targeted by ads.
+          "countryDartId": "A String", # DART ID of the country to which this postal code belongs.
+          "kind": "dfareporting#postalCode", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#postalCode".
+          "code": "A String", # Postal code. This is equivalent to the id field.
+          "id": "A String", # ID of this postal code.
+          "countryCode": "A String", # Country code of the country to which this postal code belongs.
+        },
+      ],
+      "regions": [ # Regions to be targeted. For each region only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a region, do not target or exclude the country of the region.
+        { # Contains information about a region that can be targeted by ads.
+          "kind": "dfareporting#region", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#region".
+          "countryDartId": "A String", # DART ID of the country to which this region belongs.
+          "name": "A String", # Name of this region.
+          "countryCode": "A String", # Country code of the country to which this region belongs.
+          "regionCode": "A String", # Region code.
+          "dartId": "A String", # DART ID of this region.
+        },
+      ],
+      "cities": [ # Cities to be targeted. For each city only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a city, do not target or exclude the country of the city, and do not target the metro or region of the city.
+        { # Contains information about a city that can be targeted by ads.
+          "kind": "dfareporting#city", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#city".
+          "countryDartId": "A String", # DART ID of the country to which this city belongs.
+          "name": "A String", # Name of this city.
+          "countryCode": "A String", # Country code of the country to which this city belongs.
+          "metroCode": "A String", # Metro region code of the metro region (DMA) to which this city belongs.
+          "regionCode": "A String", # Region code of the region to which this city belongs.
+          "metroDmaId": "A String", # ID of the metro region (DMA) to which this city belongs.
+          "dartId": "A String", # DART ID of this city. This is the ID used for targeting and generating reports.
+          "regionDartId": "A String", # DART ID of the region to which this city belongs.
+        },
+      ],
+      "metros": [ # Metros to be targeted. For each metro only dmaId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a metro, do not target or exclude the country of the metro.
+        { # Contains information about a metro region that can be targeted by ads.
+          "kind": "dfareporting#metro", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#metro".
+          "countryDartId": "A String", # DART ID of the country to which this metro region belongs.
+          "name": "A String", # Name of this metro region.
+          "countryCode": "A String", # Country code of the country to which this metro region belongs.
+          "metroCode": "A String", # Metro code of this metro region. This is equivalent to dma_id.
+          "dmaId": "A String", # DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code.
+          "dartId": "A String", # DART ID of this metro region.
+        },
+      ],
+    },
+    "creativeGroupAssignments": [ # Creative group assignments for this ad. Applicable when type is AD_SERVING_CLICK_TRACKER. Only one assignment per creative group number is allowed for a maximum of two assignments.
+      { # Creative Group Assignment.
+        "creativeGroupNumber": "A String", # Creative group number of the creative group assignment.
+        "creativeGroupId": "A String", # ID of the creative group to be assigned.
+      },
+    ],
+    "deliverySchedule": { # Delivery Schedule. # Delivery schedule information for this ad. Applicable when type is AD_SERVING_STANDARD_AD or AD_SERVING_TRACKING. This field along with subfields priority and impressionRatio are required on insertion when type is AD_SERVING_STANDARD_AD.
+      "priority": "A String", # Serving priority of an ad, with respect to other ads. The lower the priority number, the greater the priority with which it is served.
+      "hardCutoff": True or False, # Whether or not hard cutoff is enabled. If true, the ad will not serve after the end date and time. Otherwise the ad will continue to be served until it has reached its delivery goals.
+      "frequencyCap": { # Frequency Cap. # Limit on the number of times an individual user can be served the ad within a specified period of time.
+        "duration": "A String", # Duration of time, in seconds, for this frequency cap. The maximum duration is 90 days in seconds, or 7,776,000.
+        "impressions": "A String", # Number of times an individual user can be served the ad within the specified duration. The maximum allowed is 15.
+      },
+      "impressionRatio": "A String", # Impression ratio for this ad. This ratio determines how often each ad is served relative to the others. For example, if ad A has an impression ratio of 1 and ad B has an impression ratio of 3, then DCM will serve ad B three times as often as ad A. Must be between 1 and 10.
+    },
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "eventTagOverrides": [ # Event tag overrides for this ad.
+      { # Event tag override information.
+        "enabled": True or False, # Whether this override is enabled.
+        "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
+      },
+    ],
+    "id": "A String", # ID of this ad. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this ad. This is a read-only field that can be left blank.
+    "archived": True or False, # Whether this ad is archived.
+    "technologyTargeting": { # Technology Targeting. # Technology platform targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+      "platformTypes": [ # Platform types that this ad targets. For example, desktop, mobile, or tablet. For each platform type, only id is required, and the other fields are populated automatically when the ad is inserted or updated.
+        { # Contains information about a platform type that can be targeted by ads.
+          "kind": "dfareporting#platformType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#platformType".
+          "id": "A String", # ID of this platform type.
+          "name": "A String", # Name of this platform type.
+        },
+      ],
+      "operatingSystemVersions": [ # Operating system versions that this ad targets. To target all versions, use operatingSystems. For each operating system version, only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system version, do not set targeting for the corresponding operating system in operatingSystems.
+        { # Contains information about a particular version of an operating system that can be targeted by ads.
+          "majorVersion": "A String", # Major version (leftmost number) of this operating system version.
+          "kind": "dfareporting#operatingSystemVersion", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersion".
+          "name": "A String", # Name of this operating system version.
+          "id": "A String", # ID of this operating system version.
+          "operatingSystem": { # Contains information about an operating system that can be targeted by ads. # Operating system of this operating system version.
+            "mobile": True or False, # Whether this operating system is for mobile.
+            "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
+            "kind": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
+            "name": "A String", # Name of this operating system.
+            "desktop": True or False, # Whether this operating system is for desktop.
+          },
+          "minorVersion": "A String", # Minor version (number after the first dot) of this operating system version.
+        },
+      ],
+      "browsers": [ # Browsers that this ad targets. For each browser either set browserVersionId or dartId along with the version numbers. If both are specified, only browserVersionId will be used.The other fields are populated automatically when the ad is inserted or updated.
+        { # Contains information about a browser that can be targeted by ads.
+          "majorVersion": "A String", # Major version number (leftmost number) of this browser. For example, for Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.
+          "kind": "dfareporting#browser", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#browser".
+          "name": "A String", # Name of this browser.
+          "browserVersionId": "A String", # ID referring to this grouping of browser and version numbers. This is the ID used for targeting.
+          "dartId": "A String", # DART ID of this browser. This is the ID used when generating reports.
+          "minorVersion": "A String", # Minor version number (number after first dot on left) of this browser. For example, for Chrome 5.0.375.86 beta, this field should be set to 0. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.
+        },
+      ],
+      "operatingSystems": [ # Operating systems that this ad targets. To target specific versions, use operatingSystemVersions. For each operating system only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system, do not set targeting for operating system versions for the same operating system.
+        { # Contains information about an operating system that can be targeted by ads.
+          "mobile": True or False, # Whether this operating system is for mobile.
+          "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
+          "kind": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
+          "name": "A String", # Name of this operating system.
+          "desktop": True or False, # Whether this operating system is for desktop.
+        },
+      ],
+      "mobileCarriers": [ # Mobile carriers that this ad targets. For each mobile carrier only id is required, and the other fields are populated automatically when the ad is inserted or updated. If targeting a mobile carrier, do not set targeting for any zip codes.
+        { # Contains information about a mobile carrier that can be targeted by ads.
+          "kind": "dfareporting#mobileCarrier", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileCarrier".
+          "countryDartId": "A String", # DART ID of the country to which this mobile carrier belongs.
+          "id": "A String", # ID of this mobile carrier.
+          "countryCode": "A String", # Country code of the country to which this mobile carrier belongs.
+          "name": "A String", # Name of this mobile carrier.
+        },
+      ],
+      "connectionTypes": [ # Connection types that this ad targets. For each connection type only id is required.The other fields are populated automatically when the ad is inserted or updated.
+        { # Contains information about an internet connection type that can be targeted by ads. Clients can use the connection type to target mobile vs. broadband users.
+          "kind": "dfareporting#connectionType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#connectionType".
+          "id": "A String", # ID of this connection type.
+          "name": "A String", # Name of this connection type.
+        },
+      ],
+    },
+    "creativeRotation": { # Creative Rotation. # Creative rotation for this ad. Applicable when type is AD_SERVING_DEFAULT_AD, AD_SERVING_STANDARD_AD, or AD_SERVING_TRACKING. When type is AD_SERVING_DEFAULT_AD, this field should have exactly one creativeAssignment.
+      "creativeAssignments": [ # Creative assignments in this creative rotation.
+        { # Creative Assignment.
+          "weight": 42, # Weight of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_RANDOM.
+          "sequence": 42, # Sequence number of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_SEQUENTIAL.
+          "applyEventTags": True or False, # Whether applicable event tags should fire when this creative assignment is rendered. If this value is unset when the ad is inserted or updated, it will default to true for all creative types EXCEPT for INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO.
+          "richMediaExitOverrides": [ # Rich media exit overrides for this creative assignment.
+              # Applicable when the creative type is any of the following:
+              # - RICH_MEDIA_INPAGE
+              # - RICH_MEDIA_INPAGE_FLOATING
+              # - RICH_MEDIA_IM_EXPAND
+              # - RICH_MEDIA_EXPANDING
+              # - RICH_MEDIA_INTERSTITIAL_FLOAT
+              # - RICH_MEDIA_MOBILE_IN_APP
+              # - RICH_MEDIA_MULTI_FLOATING
+              # - RICH_MEDIA_PEEL_DOWN
+              # - ADVANCED_BANNER
+              # - VPAID_LINEAR
+              # - VPAID_NON_LINEAR
+            { # Rich Media Exit Override.
+              "customExitUrl": "A String", # Click-through URL to override the default exit URL. Applicable if the useCustomExitUrl field is set to true.
+              "useCustomExitUrl": True or False, # Whether to use the custom exit URL.
+              "exitId": "A String", # ID for the override to refer to a specific exit in the creative.
+            },
+          ],
+          "sslCompliant": True or False, # Whether the creative to be assigned is SSL-compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.
+          "creativeGroupAssignments": [ # Creative group assignments for this creative assignment. Only one assignment per creative group number is allowed for a maximum of two assignments.
+            { # Creative Group Assignment.
+              "creativeGroupNumber": "A String", # Creative group number of the creative group assignment.
+              "creativeGroupId": "A String", # ID of the creative group to be assigned.
+            },
+          ],
+          "companionCreativeOverrides": [ # Companion creative overrides for this creative assignment. Applicable to video ads.
+            { # Companion Click-through override.
+              "clickThroughUrl": { # Click-through URL # Click-through URL of this companion click-through override.
+                "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+                    # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+                    # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+                    # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+                "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+                "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+                "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+              },
+              "creativeId": "A String", # ID of the creative for this companion click-through override.
+            },
+          ],
+          "startTime": "A String", # Date and time that the assigned creative should start serving.
+          "clickThroughUrl": { # Click-through URL # Click-through URL of the creative assignment.
+            "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+                # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+                # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+                # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+            "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+            "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+            "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+          },
+          "active": True or False, # Whether this creative assignment is active. When true, the creative will be included in the ad's rotation.
+          "creativeId": "A String", # ID of the creative to be assigned. This is a required field.
+          "endTime": "A String", # Date and time that the assigned creative should stop serving. Must be later than the start time.
+          "creativeIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the creative. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        },
+      ],
+      "weightCalculationStrategy": "A String", # Strategy for calculating weights. Used with CREATIVE_ROTATION_TYPE_RANDOM.
+      "creativeOptimizationConfigurationId": "A String", # Creative optimization configuration that is used by this ad. It should refer to one of the existing optimization configurations in the ad's campaign. If it is unset or set to 0, then the campaign's default optimization configuration will be used for this ad.
+      "type": "A String", # Type of creative rotation. Can be used to specify whether to use sequential or random rotation.
+    },
+    "clickThroughUrl": { # Click-through URL # Click-through URL for this ad. This is a required field on insertion. Applicable when type is AD_SERVING_CLICK_TRACKER.
+      "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+          # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+          # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+          # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+      "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+      "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+      "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+    },
+    "comments": "A String", # Comments for this ad.
+    "remarketingListExpression": { # Remarketing List Targeting Expression. # Applicable when type is AD_SERVING_STANDARD_AD. Remarketing list targeting expression for this ad.
+      "expression": "A String", # Expression describing which lists are being targeted by the ad.
+    },
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this ad. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD.
+      "width": 42, # Width of this size.
+      "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+      "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+      "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+      "height": 42, # Height of this size.
+    },
+    "type": "A String", # Type of ad. This is a required field on insertion. Note that default ads (AD_SERVING_DEFAULT_AD) cannot be created directly (see Creative resource).
+    "sslRequired": True or False, # Whether this ad requires ssl. This is a read-only field that is auto-generated when the ad is inserted or updated.
+    "audienceSegmentId": "A String", # Audience segment ID that is being targeted for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+    "keyValueTargetingExpression": { # Key Value Targeting Expression. # Key-value targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+      "expression": "A String", # Keyword expression being targeted by the ad.
+    },
+    "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Default click-through event tag properties for this ad.
+      "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
+      "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
+    },
+    "createInfo": { # Modification timestamp. # Information about the creation of this ad.This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "startTime": "A String", # Date and time that this ad should start serving. If creating an ad, this field must be a time in the future. This is a required field on insertion.
+    "active": True or False, # Whether this ad is active.
+    "compatibility": "A String", # Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the VAST standard.
+    "kind": "dfareporting#ad", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#ad".
+    "subaccountId": "A String", # Subaccount ID of this ad. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this ad. This is a required field and must be less than 256 characters long.
+    "dayPartTargeting": { # Day Part Targeting. # Time and day targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+      "userLocalTime": True or False, # Whether or not to use the user's local time. If false, the America/New York time zone applies.
+      "hoursOfDay": [ # Hours of the day when the ad will serve. Must be an integer between 0 and 23 (inclusive), where 0 is midnight to 1 AM, and 23 is 11 PM to midnight. Can be specified with days of week, in which case the ad would serve during these hours on the specified days. For example, if Monday, Wednesday, Friday are the days of week specified and 9-10am, 3-5pm (hours 9, 15, and 16) is specified, the ad would serve Monday, Wednesdays, and Fridays at 9-10am and 3-5pm.
+        42,
+      ],
+      "daysOfWeek": [ # Days of the week when the ad will serve.
+          #
+          # Acceptable values are:
+          # - "SUNDAY"
+          # - "MONDAY"
+          # - "TUESDAY"
+          # - "WEDNESDAY"
+          # - "THURSDAY"
+          # - "FRIDAY"
+          # - "SATURDAY"
+        "A String",
+      ],
+    },
+    "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this ad. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "sslCompliant": True or False, # Whether this ad is ssl compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.
+    "placementAssignments": [ # Placement assignments for this ad.
+      { # Placement Assignment.
+        "active": True or False, # Whether this placement assignment is active. When true, the placement will be included in the ad's rotation.
+        "placementIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement. This is a read-only, auto-generated field.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+        "placementId": "A String", # ID of the placement to be assigned. This is a required field.
+        "sslRequired": True or False, # Whether the placement to be assigned requires SSL. This is a read-only field that is auto-generated when the ad is inserted or updated.
+      },
+    ],
+    "endTime": "A String", # Date and time that this ad should stop serving. Must be later than the start time. This is a required field on insertion.
+    "dynamicClickTracker": True or False, # Whether this ad is a dynamic click tracker. Applicable when type is AD_SERVING_CLICK_TRACKER. This is a required field on insert, and is read-only after insert.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DCM ad.
+      "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix properties for this ad. Applies to the URL in the ad or (if overriding ad properties) the URL in the creative.
+        "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
+        "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
+      },
+      "campaignId": "A String", # Campaign ID of this ad. This is a required field on insertion.
+      "advertiserId": "A String", # Advertiser ID of this ad. This is a required field on insertion.
+      "geoTargeting": { # Geographical Targeting. # Geographical targeting information for this ad.Applicable when type is AD_SERVING_STANDARD_AD.
+        "countries": [ # Countries to be targeted or excluded from targeting, depending on the setting of the excludeCountries field. For each country only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting or excluding a country, do not target regions, cities, metros, or postal codes in the same country.
+          { # Contains information about a country that can be targeted by ads.
+            "dartId": "A String", # DART ID of this country. This is the ID used for targeting and generating reports.
+            "sslEnabled": True or False, # Whether ad serving supports secure servers in this country.
+            "kind": "dfareporting#country", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#country".
+            "countryCode": "A String", # Country code.
+            "name": "A String", # Name of this country.
+          },
+        ],
+        "excludeCountries": True or False, # Whether or not to exclude the countries in the countries field from targeting. If false, the countries field refers to countries which will be targeted by the ad.
+        "postalCodes": [ # Postal codes to be targeted. For each postal code only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a postal code, do not target or exclude the country of the postal code.
+          { # Contains information about a postal code that can be targeted by ads.
+            "countryDartId": "A String", # DART ID of the country to which this postal code belongs.
+            "kind": "dfareporting#postalCode", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#postalCode".
+            "code": "A String", # Postal code. This is equivalent to the id field.
+            "id": "A String", # ID of this postal code.
+            "countryCode": "A String", # Country code of the country to which this postal code belongs.
+          },
+        ],
+        "regions": [ # Regions to be targeted. For each region only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a region, do not target or exclude the country of the region.
+          { # Contains information about a region that can be targeted by ads.
+            "kind": "dfareporting#region", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#region".
+            "countryDartId": "A String", # DART ID of the country to which this region belongs.
+            "name": "A String", # Name of this region.
+            "countryCode": "A String", # Country code of the country to which this region belongs.
+            "regionCode": "A String", # Region code.
+            "dartId": "A String", # DART ID of this region.
+          },
+        ],
+        "cities": [ # Cities to be targeted. For each city only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a city, do not target or exclude the country of the city, and do not target the metro or region of the city.
+          { # Contains information about a city that can be targeted by ads.
+            "kind": "dfareporting#city", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#city".
+            "countryDartId": "A String", # DART ID of the country to which this city belongs.
+            "name": "A String", # Name of this city.
+            "countryCode": "A String", # Country code of the country to which this city belongs.
+            "metroCode": "A String", # Metro region code of the metro region (DMA) to which this city belongs.
+            "regionCode": "A String", # Region code of the region to which this city belongs.
+            "metroDmaId": "A String", # ID of the metro region (DMA) to which this city belongs.
+            "dartId": "A String", # DART ID of this city. This is the ID used for targeting and generating reports.
+            "regionDartId": "A String", # DART ID of the region to which this city belongs.
+          },
+        ],
+        "metros": [ # Metros to be targeted. For each metro only dmaId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a metro, do not target or exclude the country of the metro.
+          { # Contains information about a metro region that can be targeted by ads.
+            "kind": "dfareporting#metro", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#metro".
+            "countryDartId": "A String", # DART ID of the country to which this metro region belongs.
+            "name": "A String", # Name of this metro region.
+            "countryCode": "A String", # Country code of the country to which this metro region belongs.
+            "metroCode": "A String", # Metro code of this metro region. This is equivalent to dma_id.
+            "dmaId": "A String", # DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code.
+            "dartId": "A String", # DART ID of this metro region.
+          },
+        ],
+      },
+      "creativeGroupAssignments": [ # Creative group assignments for this ad. Applicable when type is AD_SERVING_CLICK_TRACKER. Only one assignment per creative group number is allowed for a maximum of two assignments.
+        { # Creative Group Assignment.
+          "creativeGroupNumber": "A String", # Creative group number of the creative group assignment.
+          "creativeGroupId": "A String", # ID of the creative group to be assigned.
+        },
+      ],
+      "deliverySchedule": { # Delivery Schedule. # Delivery schedule information for this ad. Applicable when type is AD_SERVING_STANDARD_AD or AD_SERVING_TRACKING. This field along with subfields priority and impressionRatio are required on insertion when type is AD_SERVING_STANDARD_AD.
+        "priority": "A String", # Serving priority of an ad, with respect to other ads. The lower the priority number, the greater the priority with which it is served.
+        "hardCutoff": True or False, # Whether or not hard cutoff is enabled. If true, the ad will not serve after the end date and time. Otherwise the ad will continue to be served until it has reached its delivery goals.
+        "frequencyCap": { # Frequency Cap. # Limit on the number of times an individual user can be served the ad within a specified period of time.
+          "duration": "A String", # Duration of time, in seconds, for this frequency cap. The maximum duration is 90 days in seconds, or 7,776,000.
+          "impressions": "A String", # Number of times an individual user can be served the ad within the specified duration. The maximum allowed is 15.
+        },
+        "impressionRatio": "A String", # Impression ratio for this ad. This ratio determines how often each ad is served relative to the others. For example, if ad A has an impression ratio of 1 and ad B has an impression ratio of 3, then DCM will serve ad B three times as often as ad A. Must be between 1 and 10.
+      },
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "eventTagOverrides": [ # Event tag overrides for this ad.
+        { # Event tag override information.
+          "enabled": True or False, # Whether this override is enabled.
+          "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
+        },
+      ],
+      "id": "A String", # ID of this ad. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this ad. This is a read-only field that can be left blank.
+      "archived": True or False, # Whether this ad is archived.
+      "technologyTargeting": { # Technology Targeting. # Technology platform targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+        "platformTypes": [ # Platform types that this ad targets. For example, desktop, mobile, or tablet. For each platform type, only id is required, and the other fields are populated automatically when the ad is inserted or updated.
+          { # Contains information about a platform type that can be targeted by ads.
+            "kind": "dfareporting#platformType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#platformType".
+            "id": "A String", # ID of this platform type.
+            "name": "A String", # Name of this platform type.
+          },
+        ],
+        "operatingSystemVersions": [ # Operating system versions that this ad targets. To target all versions, use operatingSystems. For each operating system version, only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system version, do not set targeting for the corresponding operating system in operatingSystems.
+          { # Contains information about a particular version of an operating system that can be targeted by ads.
+            "majorVersion": "A String", # Major version (leftmost number) of this operating system version.
+            "kind": "dfareporting#operatingSystemVersion", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersion".
+            "name": "A String", # Name of this operating system version.
+            "id": "A String", # ID of this operating system version.
+            "operatingSystem": { # Contains information about an operating system that can be targeted by ads. # Operating system of this operating system version.
+              "mobile": True or False, # Whether this operating system is for mobile.
+              "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
+              "kind": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
+              "name": "A String", # Name of this operating system.
+              "desktop": True or False, # Whether this operating system is for desktop.
+            },
+            "minorVersion": "A String", # Minor version (number after the first dot) of this operating system version.
+          },
+        ],
+        "browsers": [ # Browsers that this ad targets. For each browser either set browserVersionId or dartId along with the version numbers. If both are specified, only browserVersionId will be used.The other fields are populated automatically when the ad is inserted or updated.
+          { # Contains information about a browser that can be targeted by ads.
+            "majorVersion": "A String", # Major version number (leftmost number) of this browser. For example, for Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.
+            "kind": "dfareporting#browser", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#browser".
+            "name": "A String", # Name of this browser.
+            "browserVersionId": "A String", # ID referring to this grouping of browser and version numbers. This is the ID used for targeting.
+            "dartId": "A String", # DART ID of this browser. This is the ID used when generating reports.
+            "minorVersion": "A String", # Minor version number (number after first dot on left) of this browser. For example, for Chrome 5.0.375.86 beta, this field should be set to 0. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.
+          },
+        ],
+        "operatingSystems": [ # Operating systems that this ad targets. To target specific versions, use operatingSystemVersions. For each operating system only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system, do not set targeting for operating system versions for the same operating system.
+          { # Contains information about an operating system that can be targeted by ads.
+            "mobile": True or False, # Whether this operating system is for mobile.
+            "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
+            "kind": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
+            "name": "A String", # Name of this operating system.
+            "desktop": True or False, # Whether this operating system is for desktop.
+          },
+        ],
+        "mobileCarriers": [ # Mobile carriers that this ad targets. For each mobile carrier only id is required, and the other fields are populated automatically when the ad is inserted or updated. If targeting a mobile carrier, do not set targeting for any zip codes.
+          { # Contains information about a mobile carrier that can be targeted by ads.
+            "kind": "dfareporting#mobileCarrier", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileCarrier".
+            "countryDartId": "A String", # DART ID of the country to which this mobile carrier belongs.
+            "id": "A String", # ID of this mobile carrier.
+            "countryCode": "A String", # Country code of the country to which this mobile carrier belongs.
+            "name": "A String", # Name of this mobile carrier.
+          },
+        ],
+        "connectionTypes": [ # Connection types that this ad targets. For each connection type only id is required.The other fields are populated automatically when the ad is inserted or updated.
+          { # Contains information about an internet connection type that can be targeted by ads. Clients can use the connection type to target mobile vs. broadband users.
+            "kind": "dfareporting#connectionType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#connectionType".
+            "id": "A String", # ID of this connection type.
+            "name": "A String", # Name of this connection type.
+          },
+        ],
+      },
+      "creativeRotation": { # Creative Rotation. # Creative rotation for this ad. Applicable when type is AD_SERVING_DEFAULT_AD, AD_SERVING_STANDARD_AD, or AD_SERVING_TRACKING. When type is AD_SERVING_DEFAULT_AD, this field should have exactly one creativeAssignment.
+        "creativeAssignments": [ # Creative assignments in this creative rotation.
+          { # Creative Assignment.
+            "weight": 42, # Weight of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_RANDOM.
+            "sequence": 42, # Sequence number of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_SEQUENTIAL.
+            "applyEventTags": True or False, # Whether applicable event tags should fire when this creative assignment is rendered. If this value is unset when the ad is inserted or updated, it will default to true for all creative types EXCEPT for INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO.
+            "richMediaExitOverrides": [ # Rich media exit overrides for this creative assignment.
+                # Applicable when the creative type is any of the following:
+                # - RICH_MEDIA_INPAGE
+                # - RICH_MEDIA_INPAGE_FLOATING
+                # - RICH_MEDIA_IM_EXPAND
+                # - RICH_MEDIA_EXPANDING
+                # - RICH_MEDIA_INTERSTITIAL_FLOAT
+                # - RICH_MEDIA_MOBILE_IN_APP
+                # - RICH_MEDIA_MULTI_FLOATING
+                # - RICH_MEDIA_PEEL_DOWN
+                # - ADVANCED_BANNER
+                # - VPAID_LINEAR
+                # - VPAID_NON_LINEAR
+              { # Rich Media Exit Override.
+                "customExitUrl": "A String", # Click-through URL to override the default exit URL. Applicable if the useCustomExitUrl field is set to true.
+                "useCustomExitUrl": True or False, # Whether to use the custom exit URL.
+                "exitId": "A String", # ID for the override to refer to a specific exit in the creative.
+              },
+            ],
+            "sslCompliant": True or False, # Whether the creative to be assigned is SSL-compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.
+            "creativeGroupAssignments": [ # Creative group assignments for this creative assignment. Only one assignment per creative group number is allowed for a maximum of two assignments.
+              { # Creative Group Assignment.
+                "creativeGroupNumber": "A String", # Creative group number of the creative group assignment.
+                "creativeGroupId": "A String", # ID of the creative group to be assigned.
+              },
+            ],
+            "companionCreativeOverrides": [ # Companion creative overrides for this creative assignment. Applicable to video ads.
+              { # Companion Click-through override.
+                "clickThroughUrl": { # Click-through URL # Click-through URL of this companion click-through override.
+                  "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+                      # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+                      # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+                      # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+                  "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+                  "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+                  "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+                },
+                "creativeId": "A String", # ID of the creative for this companion click-through override.
+              },
+            ],
+            "startTime": "A String", # Date and time that the assigned creative should start serving.
+            "clickThroughUrl": { # Click-through URL # Click-through URL of the creative assignment.
+              "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+                  # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+                  # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+                  # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+              "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+              "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+              "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+            },
+            "active": True or False, # Whether this creative assignment is active. When true, the creative will be included in the ad's rotation.
+            "creativeId": "A String", # ID of the creative to be assigned. This is a required field.
+            "endTime": "A String", # Date and time that the assigned creative should stop serving. Must be later than the start time.
+            "creativeIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the creative. This is a read-only, auto-generated field.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+          },
+        ],
+        "weightCalculationStrategy": "A String", # Strategy for calculating weights. Used with CREATIVE_ROTATION_TYPE_RANDOM.
+        "creativeOptimizationConfigurationId": "A String", # Creative optimization configuration that is used by this ad. It should refer to one of the existing optimization configurations in the ad's campaign. If it is unset or set to 0, then the campaign's default optimization configuration will be used for this ad.
+        "type": "A String", # Type of creative rotation. Can be used to specify whether to use sequential or random rotation.
+      },
+      "clickThroughUrl": { # Click-through URL # Click-through URL for this ad. This is a required field on insertion. Applicable when type is AD_SERVING_CLICK_TRACKER.
+        "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+            # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+            # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+            # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+        "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+        "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+        "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+      },
+      "comments": "A String", # Comments for this ad.
+      "remarketingListExpression": { # Remarketing List Targeting Expression. # Applicable when type is AD_SERVING_STANDARD_AD. Remarketing list targeting expression for this ad.
+        "expression": "A String", # Expression describing which lists are being targeted by the ad.
+      },
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this ad. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD.
+        "width": 42, # Width of this size.
+        "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+        "height": 42, # Height of this size.
+      },
+      "type": "A String", # Type of ad. This is a required field on insertion. Note that default ads (AD_SERVING_DEFAULT_AD) cannot be created directly (see Creative resource).
+      "sslRequired": True or False, # Whether this ad requires ssl. This is a read-only field that is auto-generated when the ad is inserted or updated.
+      "audienceSegmentId": "A String", # Audience segment ID that is being targeted for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+      "keyValueTargetingExpression": { # Key Value Targeting Expression. # Key-value targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+        "expression": "A String", # Keyword expression being targeted by the ad.
+      },
+      "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Default click-through event tag properties for this ad.
+        "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
+        "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
+      },
+      "createInfo": { # Modification timestamp. # Information about the creation of this ad.This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "startTime": "A String", # Date and time that this ad should start serving. If creating an ad, this field must be a time in the future. This is a required field on insertion.
+      "active": True or False, # Whether this ad is active.
+      "compatibility": "A String", # Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the VAST standard.
+      "kind": "dfareporting#ad", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#ad".
+      "subaccountId": "A String", # Subaccount ID of this ad. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this ad. This is a required field and must be less than 256 characters long.
+      "dayPartTargeting": { # Day Part Targeting. # Time and day targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+        "userLocalTime": True or False, # Whether or not to use the user's local time. If false, the America/New York time zone applies.
+        "hoursOfDay": [ # Hours of the day when the ad will serve. Must be an integer between 0 and 23 (inclusive), where 0 is midnight to 1 AM, and 23 is 11 PM to midnight. Can be specified with days of week, in which case the ad would serve during these hours on the specified days. For example, if Monday, Wednesday, Friday are the days of week specified and 9-10am, 3-5pm (hours 9, 15, and 16) is specified, the ad would serve Monday, Wednesdays, and Fridays at 9-10am and 3-5pm.
+          42,
+        ],
+        "daysOfWeek": [ # Days of the week when the ad will serve.
+            #
+            # Acceptable values are:
+            # - "SUNDAY"
+            # - "MONDAY"
+            # - "TUESDAY"
+            # - "WEDNESDAY"
+            # - "THURSDAY"
+            # - "FRIDAY"
+            # - "SATURDAY"
+          "A String",
+        ],
+      },
+      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this ad. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "sslCompliant": True or False, # Whether this ad is ssl compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.
+      "placementAssignments": [ # Placement assignments for this ad.
+        { # Placement Assignment.
+          "active": True or False, # Whether this placement assignment is active. When true, the placement will be included in the ad's rotation.
+          "placementIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "placementId": "A String", # ID of the placement to be assigned. This is a required field.
+          "sslRequired": True or False, # Whether the placement to be assigned requires SSL. This is a read-only field that is auto-generated when the ad is inserted or updated.
+        },
+      ],
+      "endTime": "A String", # Date and time that this ad should stop serving. Must be later than the start time. This is a required field on insertion.
+      "dynamicClickTracker": True or False, # Whether this ad is a dynamic click tracker. Applicable when type is AD_SERVING_CLICK_TRACKER. This is a required field on insert, and is read-only after insert.
+    }
+
+ +
+ list(profileId, landingPageIds=None, overriddenEventTagId=None, campaignIds=None, sizeIds=None, archived=None, creativeOptimizationConfigurationIds=None, sslCompliant=None, pageToken=None, sortOrder=None, type=None, sslRequired=None, creativeIds=None, remarketingListIds=None, maxResults=None, creativeType=None, placementIds=None, active=None, compatibility=None, advertiserId=None, searchString=None, audienceSegmentIds=None, ids=None, sortField=None, dynamicClickTracker=None) +
Retrieves a list of ads, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  landingPageIds: string, Select only ads with these landing page IDs. (repeated)
+  overriddenEventTagId: string, Select only ads with this event tag override ID.
+  campaignIds: string, Select only ads with these campaign IDs. (repeated)
+  sizeIds: string, Select only ads with these size IDs. (repeated)
+  archived: boolean, Select only archived ads.
+  creativeOptimizationConfigurationIds: string, Select only ads with these creative optimization configuration IDs. (repeated)
+  sslCompliant: boolean, Select only ads that are SSL-compliant.
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+  type: string, Select only ads with these types. (repeated)
+    Allowed values
+      AD_SERVING_CLICK_TRACKER - 
+      AD_SERVING_DEFAULT_AD - 
+      AD_SERVING_STANDARD_AD - 
+      AD_SERVING_TRACKING - 
+  sslRequired: boolean, Select only ads that require SSL.
+  creativeIds: string, Select only ads with these creative IDs assigned. (repeated)
+  remarketingListIds: string, Select only ads whose list targeting expression use these remarketing list IDs. (repeated)
+  maxResults: integer, Maximum number of results to return.
+  creativeType: string, Select only ads with the specified creativeType.
+    Allowed values
+      BRAND_SAFE_DEFAULT_INSTREAM_VIDEO - 
+      CUSTOM_INPAGE - 
+      CUSTOM_INTERSTITIAL - 
+      ENHANCED_BANNER - 
+      ENHANCED_IMAGE - 
+      FLASH_INPAGE - 
+      HTML5_BANNER - 
+      IMAGE - 
+      INSTREAM_VIDEO - 
+      INTERNAL_REDIRECT - 
+      INTERSTITIAL_INTERNAL_REDIRECT - 
+      REDIRECT - 
+      RICH_MEDIA_EXPANDING - 
+      RICH_MEDIA_IM_EXPAND - 
+      RICH_MEDIA_INPAGE - 
+      RICH_MEDIA_INPAGE_FLOATING - 
+      RICH_MEDIA_INTERSTITIAL_FLOAT - 
+      RICH_MEDIA_MOBILE_IN_APP - 
+      RICH_MEDIA_MULTI_FLOATING - 
+      RICH_MEDIA_PEEL_DOWN - 
+      TRACKING_TEXT - 
+      VAST_REDIRECT - 
+      VPAID_LINEAR - 
+      VPAID_NON_LINEAR - 
+  placementIds: string, Select only ads with these placement IDs assigned. (repeated)
+  active: boolean, Select only active ads.
+  compatibility: string, Select default ads with the specified compatibility. Applicable when type is AD_SERVING_DEFAULT_AD. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the VAST standard.
+    Allowed values
+      APP - 
+      APP_INTERSTITIAL - 
+      IN_STREAM_VIDEO - 
+      WEB - 
+      WEB_INTERSTITIAL - 
+  advertiserId: string, Select only ads with this advertiser ID.
+  searchString: string, Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "ad*2015" will return objects with names like "ad June 2015", "ad April 2015", or simply "ad 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "ad" will match objects with name "my ad", "ad 2015", or simply "ad".
+  audienceSegmentIds: string, Select only ads with these audience segment IDs. (repeated)
+  ids: string, Select only ads with these IDs. (repeated)
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  dynamicClickTracker: boolean, Select only dynamic click trackers. Applicable when type is AD_SERVING_CLICK_TRACKER. If true, select dynamic click trackers. If false, select static click trackers. Leave unset to select both.
+
+Returns:
+  An object of the form:
+
+    { # Ad List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#adsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#adsListResponse".
+    "ads": [ # Ad collection.
+      { # Contains properties of a DCM ad.
+          "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix properties for this ad. Applies to the URL in the ad or (if overriding ad properties) the URL in the creative.
+            "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
+            "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
+          },
+          "campaignId": "A String", # Campaign ID of this ad. This is a required field on insertion.
+          "advertiserId": "A String", # Advertiser ID of this ad. This is a required field on insertion.
+          "geoTargeting": { # Geographical Targeting. # Geographical targeting information for this ad.Applicable when type is AD_SERVING_STANDARD_AD.
+            "countries": [ # Countries to be targeted or excluded from targeting, depending on the setting of the excludeCountries field. For each country only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting or excluding a country, do not target regions, cities, metros, or postal codes in the same country.
+              { # Contains information about a country that can be targeted by ads.
+                "dartId": "A String", # DART ID of this country. This is the ID used for targeting and generating reports.
+                "sslEnabled": True or False, # Whether ad serving supports secure servers in this country.
+                "kind": "dfareporting#country", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#country".
+                "countryCode": "A String", # Country code.
+                "name": "A String", # Name of this country.
+              },
+            ],
+            "excludeCountries": True or False, # Whether or not to exclude the countries in the countries field from targeting. If false, the countries field refers to countries which will be targeted by the ad.
+            "postalCodes": [ # Postal codes to be targeted. For each postal code only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a postal code, do not target or exclude the country of the postal code.
+              { # Contains information about a postal code that can be targeted by ads.
+                "countryDartId": "A String", # DART ID of the country to which this postal code belongs.
+                "kind": "dfareporting#postalCode", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#postalCode".
+                "code": "A String", # Postal code. This is equivalent to the id field.
+                "id": "A String", # ID of this postal code.
+                "countryCode": "A String", # Country code of the country to which this postal code belongs.
+              },
+            ],
+            "regions": [ # Regions to be targeted. For each region only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a region, do not target or exclude the country of the region.
+              { # Contains information about a region that can be targeted by ads.
+                "kind": "dfareporting#region", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#region".
+                "countryDartId": "A String", # DART ID of the country to which this region belongs.
+                "name": "A String", # Name of this region.
+                "countryCode": "A String", # Country code of the country to which this region belongs.
+                "regionCode": "A String", # Region code.
+                "dartId": "A String", # DART ID of this region.
+              },
+            ],
+            "cities": [ # Cities to be targeted. For each city only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a city, do not target or exclude the country of the city, and do not target the metro or region of the city.
+              { # Contains information about a city that can be targeted by ads.
+                "kind": "dfareporting#city", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#city".
+                "countryDartId": "A String", # DART ID of the country to which this city belongs.
+                "name": "A String", # Name of this city.
+                "countryCode": "A String", # Country code of the country to which this city belongs.
+                "metroCode": "A String", # Metro region code of the metro region (DMA) to which this city belongs.
+                "regionCode": "A String", # Region code of the region to which this city belongs.
+                "metroDmaId": "A String", # ID of the metro region (DMA) to which this city belongs.
+                "dartId": "A String", # DART ID of this city. This is the ID used for targeting and generating reports.
+                "regionDartId": "A String", # DART ID of the region to which this city belongs.
+              },
+            ],
+            "metros": [ # Metros to be targeted. For each metro only dmaId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a metro, do not target or exclude the country of the metro.
+              { # Contains information about a metro region that can be targeted by ads.
+                "kind": "dfareporting#metro", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#metro".
+                "countryDartId": "A String", # DART ID of the country to which this metro region belongs.
+                "name": "A String", # Name of this metro region.
+                "countryCode": "A String", # Country code of the country to which this metro region belongs.
+                "metroCode": "A String", # Metro code of this metro region. This is equivalent to dma_id.
+                "dmaId": "A String", # DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code.
+                "dartId": "A String", # DART ID of this metro region.
+              },
+            ],
+          },
+          "creativeGroupAssignments": [ # Creative group assignments for this ad. Applicable when type is AD_SERVING_CLICK_TRACKER. Only one assignment per creative group number is allowed for a maximum of two assignments.
+            { # Creative Group Assignment.
+              "creativeGroupNumber": "A String", # Creative group number of the creative group assignment.
+              "creativeGroupId": "A String", # ID of the creative group to be assigned.
+            },
+          ],
+          "deliverySchedule": { # Delivery Schedule. # Delivery schedule information for this ad. Applicable when type is AD_SERVING_STANDARD_AD or AD_SERVING_TRACKING. This field along with subfields priority and impressionRatio are required on insertion when type is AD_SERVING_STANDARD_AD.
+            "priority": "A String", # Serving priority of an ad, with respect to other ads. The lower the priority number, the greater the priority with which it is served.
+            "hardCutoff": True or False, # Whether or not hard cutoff is enabled. If true, the ad will not serve after the end date and time. Otherwise the ad will continue to be served until it has reached its delivery goals.
+            "frequencyCap": { # Frequency Cap. # Limit on the number of times an individual user can be served the ad within a specified period of time.
+              "duration": "A String", # Duration of time, in seconds, for this frequency cap. The maximum duration is 90 days in seconds, or 7,776,000.
+              "impressions": "A String", # Number of times an individual user can be served the ad within the specified duration. The maximum allowed is 15.
+            },
+            "impressionRatio": "A String", # Impression ratio for this ad. This ratio determines how often each ad is served relative to the others. For example, if ad A has an impression ratio of 1 and ad B has an impression ratio of 3, then DCM will serve ad B three times as often as ad A. Must be between 1 and 10.
+          },
+          "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "eventTagOverrides": [ # Event tag overrides for this ad.
+            { # Event tag override information.
+              "enabled": True or False, # Whether this override is enabled.
+              "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
+            },
+          ],
+          "id": "A String", # ID of this ad. This is a read-only, auto-generated field.
+          "accountId": "A String", # Account ID of this ad. This is a read-only field that can be left blank.
+          "archived": True or False, # Whether this ad is archived.
+          "technologyTargeting": { # Technology Targeting. # Technology platform targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+            "platformTypes": [ # Platform types that this ad targets. For example, desktop, mobile, or tablet. For each platform type, only id is required, and the other fields are populated automatically when the ad is inserted or updated.
+              { # Contains information about a platform type that can be targeted by ads.
+                "kind": "dfareporting#platformType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#platformType".
+                "id": "A String", # ID of this platform type.
+                "name": "A String", # Name of this platform type.
+              },
+            ],
+            "operatingSystemVersions": [ # Operating system versions that this ad targets. To target all versions, use operatingSystems. For each operating system version, only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system version, do not set targeting for the corresponding operating system in operatingSystems.
+              { # Contains information about a particular version of an operating system that can be targeted by ads.
+                "majorVersion": "A String", # Major version (leftmost number) of this operating system version.
+                "kind": "dfareporting#operatingSystemVersion", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersion".
+                "name": "A String", # Name of this operating system version.
+                "id": "A String", # ID of this operating system version.
+                "operatingSystem": { # Contains information about an operating system that can be targeted by ads. # Operating system of this operating system version.
+                  "mobile": True or False, # Whether this operating system is for mobile.
+                  "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
+                  "kind": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
+                  "name": "A String", # Name of this operating system.
+                  "desktop": True or False, # Whether this operating system is for desktop.
+                },
+                "minorVersion": "A String", # Minor version (number after the first dot) of this operating system version.
+              },
+            ],
+            "browsers": [ # Browsers that this ad targets. For each browser either set browserVersionId or dartId along with the version numbers. If both are specified, only browserVersionId will be used.The other fields are populated automatically when the ad is inserted or updated.
+              { # Contains information about a browser that can be targeted by ads.
+                "majorVersion": "A String", # Major version number (leftmost number) of this browser. For example, for Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.
+                "kind": "dfareporting#browser", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#browser".
+                "name": "A String", # Name of this browser.
+                "browserVersionId": "A String", # ID referring to this grouping of browser and version numbers. This is the ID used for targeting.
+                "dartId": "A String", # DART ID of this browser. This is the ID used when generating reports.
+                "minorVersion": "A String", # Minor version number (number after first dot on left) of this browser. For example, for Chrome 5.0.375.86 beta, this field should be set to 0. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.
+              },
+            ],
+            "operatingSystems": [ # Operating systems that this ad targets. To target specific versions, use operatingSystemVersions. For each operating system only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system, do not set targeting for operating system versions for the same operating system.
+              { # Contains information about an operating system that can be targeted by ads.
+                "mobile": True or False, # Whether this operating system is for mobile.
+                "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
+                "kind": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
+                "name": "A String", # Name of this operating system.
+                "desktop": True or False, # Whether this operating system is for desktop.
+              },
+            ],
+            "mobileCarriers": [ # Mobile carriers that this ad targets. For each mobile carrier only id is required, and the other fields are populated automatically when the ad is inserted or updated. If targeting a mobile carrier, do not set targeting for any zip codes.
+              { # Contains information about a mobile carrier that can be targeted by ads.
+                "kind": "dfareporting#mobileCarrier", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileCarrier".
+                "countryDartId": "A String", # DART ID of the country to which this mobile carrier belongs.
+                "id": "A String", # ID of this mobile carrier.
+                "countryCode": "A String", # Country code of the country to which this mobile carrier belongs.
+                "name": "A String", # Name of this mobile carrier.
+              },
+            ],
+            "connectionTypes": [ # Connection types that this ad targets. For each connection type only id is required.The other fields are populated automatically when the ad is inserted or updated.
+              { # Contains information about an internet connection type that can be targeted by ads. Clients can use the connection type to target mobile vs. broadband users.
+                "kind": "dfareporting#connectionType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#connectionType".
+                "id": "A String", # ID of this connection type.
+                "name": "A String", # Name of this connection type.
+              },
+            ],
+          },
+          "creativeRotation": { # Creative Rotation. # Creative rotation for this ad. Applicable when type is AD_SERVING_DEFAULT_AD, AD_SERVING_STANDARD_AD, or AD_SERVING_TRACKING. When type is AD_SERVING_DEFAULT_AD, this field should have exactly one creativeAssignment.
+            "creativeAssignments": [ # Creative assignments in this creative rotation.
+              { # Creative Assignment.
+                "weight": 42, # Weight of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_RANDOM.
+                "sequence": 42, # Sequence number of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_SEQUENTIAL.
+                "applyEventTags": True or False, # Whether applicable event tags should fire when this creative assignment is rendered. If this value is unset when the ad is inserted or updated, it will default to true for all creative types EXCEPT for INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO.
+                "richMediaExitOverrides": [ # Rich media exit overrides for this creative assignment.
+                    # Applicable when the creative type is any of the following:
+                    # - RICH_MEDIA_INPAGE
+                    # - RICH_MEDIA_INPAGE_FLOATING
+                    # - RICH_MEDIA_IM_EXPAND
+                    # - RICH_MEDIA_EXPANDING
+                    # - RICH_MEDIA_INTERSTITIAL_FLOAT
+                    # - RICH_MEDIA_MOBILE_IN_APP
+                    # - RICH_MEDIA_MULTI_FLOATING
+                    # - RICH_MEDIA_PEEL_DOWN
+                    # - ADVANCED_BANNER
+                    # - VPAID_LINEAR
+                    # - VPAID_NON_LINEAR
+                  { # Rich Media Exit Override.
+                    "customExitUrl": "A String", # Click-through URL to override the default exit URL. Applicable if the useCustomExitUrl field is set to true.
+                    "useCustomExitUrl": True or False, # Whether to use the custom exit URL.
+                    "exitId": "A String", # ID for the override to refer to a specific exit in the creative.
+                  },
+                ],
+                "sslCompliant": True or False, # Whether the creative to be assigned is SSL-compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.
+                "creativeGroupAssignments": [ # Creative group assignments for this creative assignment. Only one assignment per creative group number is allowed for a maximum of two assignments.
+                  { # Creative Group Assignment.
+                    "creativeGroupNumber": "A String", # Creative group number of the creative group assignment.
+                    "creativeGroupId": "A String", # ID of the creative group to be assigned.
+                  },
+                ],
+                "companionCreativeOverrides": [ # Companion creative overrides for this creative assignment. Applicable to video ads.
+                  { # Companion Click-through override.
+                    "clickThroughUrl": { # Click-through URL # Click-through URL of this companion click-through override.
+                      "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+                          # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+                          # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+                          # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+                      "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+                      "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+                      "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+                    },
+                    "creativeId": "A String", # ID of the creative for this companion click-through override.
+                  },
+                ],
+                "startTime": "A String", # Date and time that the assigned creative should start serving.
+                "clickThroughUrl": { # Click-through URL # Click-through URL of the creative assignment.
+                  "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+                      # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+                      # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+                      # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+                  "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+                  "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+                  "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+                },
+                "active": True or False, # Whether this creative assignment is active. When true, the creative will be included in the ad's rotation.
+                "creativeId": "A String", # ID of the creative to be assigned. This is a required field.
+                "endTime": "A String", # Date and time that the assigned creative should stop serving. Must be later than the start time.
+                "creativeIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the creative. This is a read-only, auto-generated field.
+                  "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+                  "value": "A String", # The value of the dimension.
+                  "dimensionName": "A String", # The name of the dimension.
+                  "etag": "A String", # The eTag of this response for caching purposes.
+                  "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+                  "id": "A String", # The ID associated with the value if available.
+                },
+              },
+            ],
+            "weightCalculationStrategy": "A String", # Strategy for calculating weights. Used with CREATIVE_ROTATION_TYPE_RANDOM.
+            "creativeOptimizationConfigurationId": "A String", # Creative optimization configuration that is used by this ad. It should refer to one of the existing optimization configurations in the ad's campaign. If it is unset or set to 0, then the campaign's default optimization configuration will be used for this ad.
+            "type": "A String", # Type of creative rotation. Can be used to specify whether to use sequential or random rotation.
+          },
+          "clickThroughUrl": { # Click-through URL # Click-through URL for this ad. This is a required field on insertion. Applicable when type is AD_SERVING_CLICK_TRACKER.
+            "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+                # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+                # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+                # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+            "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+            "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+            "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+          },
+          "comments": "A String", # Comments for this ad.
+          "remarketingListExpression": { # Remarketing List Targeting Expression. # Applicable when type is AD_SERVING_STANDARD_AD. Remarketing list targeting expression for this ad.
+            "expression": "A String", # Expression describing which lists are being targeted by the ad.
+          },
+          "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this ad. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD.
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+          "type": "A String", # Type of ad. This is a required field on insertion. Note that default ads (AD_SERVING_DEFAULT_AD) cannot be created directly (see Creative resource).
+          "sslRequired": True or False, # Whether this ad requires ssl. This is a read-only field that is auto-generated when the ad is inserted or updated.
+          "audienceSegmentId": "A String", # Audience segment ID that is being targeted for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+          "keyValueTargetingExpression": { # Key Value Targeting Expression. # Key-value targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+            "expression": "A String", # Keyword expression being targeted by the ad.
+          },
+          "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Default click-through event tag properties for this ad.
+            "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
+            "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
+          },
+          "createInfo": { # Modification timestamp. # Information about the creation of this ad.This is a read-only field.
+            "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+          },
+          "startTime": "A String", # Date and time that this ad should start serving. If creating an ad, this field must be a time in the future. This is a required field on insertion.
+          "active": True or False, # Whether this ad is active.
+          "compatibility": "A String", # Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the VAST standard.
+          "kind": "dfareporting#ad", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#ad".
+          "subaccountId": "A String", # Subaccount ID of this ad. This is a read-only field that can be left blank.
+          "name": "A String", # Name of this ad. This is a required field and must be less than 256 characters long.
+          "dayPartTargeting": { # Day Part Targeting. # Time and day targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+            "userLocalTime": True or False, # Whether or not to use the user's local time. If false, the America/New York time zone applies.
+            "hoursOfDay": [ # Hours of the day when the ad will serve. Must be an integer between 0 and 23 (inclusive), where 0 is midnight to 1 AM, and 23 is 11 PM to midnight. Can be specified with days of week, in which case the ad would serve during these hours on the specified days. For example, if Monday, Wednesday, Friday are the days of week specified and 9-10am, 3-5pm (hours 9, 15, and 16) is specified, the ad would serve Monday, Wednesdays, and Fridays at 9-10am and 3-5pm.
+              42,
+            ],
+            "daysOfWeek": [ # Days of the week when the ad will serve.
+                #
+                # Acceptable values are:
+                # - "SUNDAY"
+                # - "MONDAY"
+                # - "TUESDAY"
+                # - "WEDNESDAY"
+                # - "THURSDAY"
+                # - "FRIDAY"
+                # - "SATURDAY"
+              "A String",
+            ],
+          },
+          "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this ad. This is a read-only field.
+            "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+          },
+          "sslCompliant": True or False, # Whether this ad is ssl compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.
+          "placementAssignments": [ # Placement assignments for this ad.
+            { # Placement Assignment.
+              "active": True or False, # Whether this placement assignment is active. When true, the placement will be included in the ad's rotation.
+              "placementIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement. This is a read-only, auto-generated field.
+                "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+                "value": "A String", # The value of the dimension.
+                "dimensionName": "A String", # The name of the dimension.
+                "etag": "A String", # The eTag of this response for caching purposes.
+                "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+                "id": "A String", # The ID associated with the value if available.
+              },
+              "placementId": "A String", # ID of the placement to be assigned. This is a required field.
+              "sslRequired": True or False, # Whether the placement to be assigned requires SSL. This is a read-only field that is auto-generated when the ad is inserted or updated.
+            },
+          ],
+          "endTime": "A String", # Date and time that this ad should stop serving. Must be later than the start time. This is a required field on insertion.
+          "dynamicClickTracker": True or False, # Whether this ad is a dynamic click tracker. Applicable when type is AD_SERVING_CLICK_TRACKER. This is a required field on insert, and is read-only after insert.
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, id, body) +
Updates an existing ad. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Ad ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a DCM ad.
+    "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix properties for this ad. Applies to the URL in the ad or (if overriding ad properties) the URL in the creative.
+      "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
+      "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
+    },
+    "campaignId": "A String", # Campaign ID of this ad. This is a required field on insertion.
+    "advertiserId": "A String", # Advertiser ID of this ad. This is a required field on insertion.
+    "geoTargeting": { # Geographical Targeting. # Geographical targeting information for this ad.Applicable when type is AD_SERVING_STANDARD_AD.
+      "countries": [ # Countries to be targeted or excluded from targeting, depending on the setting of the excludeCountries field. For each country only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting or excluding a country, do not target regions, cities, metros, or postal codes in the same country.
+        { # Contains information about a country that can be targeted by ads.
+          "dartId": "A String", # DART ID of this country. This is the ID used for targeting and generating reports.
+          "sslEnabled": True or False, # Whether ad serving supports secure servers in this country.
+          "kind": "dfareporting#country", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#country".
+          "countryCode": "A String", # Country code.
+          "name": "A String", # Name of this country.
+        },
+      ],
+      "excludeCountries": True or False, # Whether or not to exclude the countries in the countries field from targeting. If false, the countries field refers to countries which will be targeted by the ad.
+      "postalCodes": [ # Postal codes to be targeted. For each postal code only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a postal code, do not target or exclude the country of the postal code.
+        { # Contains information about a postal code that can be targeted by ads.
+          "countryDartId": "A String", # DART ID of the country to which this postal code belongs.
+          "kind": "dfareporting#postalCode", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#postalCode".
+          "code": "A String", # Postal code. This is equivalent to the id field.
+          "id": "A String", # ID of this postal code.
+          "countryCode": "A String", # Country code of the country to which this postal code belongs.
+        },
+      ],
+      "regions": [ # Regions to be targeted. For each region only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a region, do not target or exclude the country of the region.
+        { # Contains information about a region that can be targeted by ads.
+          "kind": "dfareporting#region", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#region".
+          "countryDartId": "A String", # DART ID of the country to which this region belongs.
+          "name": "A String", # Name of this region.
+          "countryCode": "A String", # Country code of the country to which this region belongs.
+          "regionCode": "A String", # Region code.
+          "dartId": "A String", # DART ID of this region.
+        },
+      ],
+      "cities": [ # Cities to be targeted. For each city only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a city, do not target or exclude the country of the city, and do not target the metro or region of the city.
+        { # Contains information about a city that can be targeted by ads.
+          "kind": "dfareporting#city", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#city".
+          "countryDartId": "A String", # DART ID of the country to which this city belongs.
+          "name": "A String", # Name of this city.
+          "countryCode": "A String", # Country code of the country to which this city belongs.
+          "metroCode": "A String", # Metro region code of the metro region (DMA) to which this city belongs.
+          "regionCode": "A String", # Region code of the region to which this city belongs.
+          "metroDmaId": "A String", # ID of the metro region (DMA) to which this city belongs.
+          "dartId": "A String", # DART ID of this city. This is the ID used for targeting and generating reports.
+          "regionDartId": "A String", # DART ID of the region to which this city belongs.
+        },
+      ],
+      "metros": [ # Metros to be targeted. For each metro only dmaId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a metro, do not target or exclude the country of the metro.
+        { # Contains information about a metro region that can be targeted by ads.
+          "kind": "dfareporting#metro", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#metro".
+          "countryDartId": "A String", # DART ID of the country to which this metro region belongs.
+          "name": "A String", # Name of this metro region.
+          "countryCode": "A String", # Country code of the country to which this metro region belongs.
+          "metroCode": "A String", # Metro code of this metro region. This is equivalent to dma_id.
+          "dmaId": "A String", # DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code.
+          "dartId": "A String", # DART ID of this metro region.
+        },
+      ],
+    },
+    "creativeGroupAssignments": [ # Creative group assignments for this ad. Applicable when type is AD_SERVING_CLICK_TRACKER. Only one assignment per creative group number is allowed for a maximum of two assignments.
+      { # Creative Group Assignment.
+        "creativeGroupNumber": "A String", # Creative group number of the creative group assignment.
+        "creativeGroupId": "A String", # ID of the creative group to be assigned.
+      },
+    ],
+    "deliverySchedule": { # Delivery Schedule. # Delivery schedule information for this ad. Applicable when type is AD_SERVING_STANDARD_AD or AD_SERVING_TRACKING. This field along with subfields priority and impressionRatio are required on insertion when type is AD_SERVING_STANDARD_AD.
+      "priority": "A String", # Serving priority of an ad, with respect to other ads. The lower the priority number, the greater the priority with which it is served.
+      "hardCutoff": True or False, # Whether or not hard cutoff is enabled. If true, the ad will not serve after the end date and time. Otherwise the ad will continue to be served until it has reached its delivery goals.
+      "frequencyCap": { # Frequency Cap. # Limit on the number of times an individual user can be served the ad within a specified period of time.
+        "duration": "A String", # Duration of time, in seconds, for this frequency cap. The maximum duration is 90 days in seconds, or 7,776,000.
+        "impressions": "A String", # Number of times an individual user can be served the ad within the specified duration. The maximum allowed is 15.
+      },
+      "impressionRatio": "A String", # Impression ratio for this ad. This ratio determines how often each ad is served relative to the others. For example, if ad A has an impression ratio of 1 and ad B has an impression ratio of 3, then DCM will serve ad B three times as often as ad A. Must be between 1 and 10.
+    },
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "eventTagOverrides": [ # Event tag overrides for this ad.
+      { # Event tag override information.
+        "enabled": True or False, # Whether this override is enabled.
+        "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
+      },
+    ],
+    "id": "A String", # ID of this ad. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this ad. This is a read-only field that can be left blank.
+    "archived": True or False, # Whether this ad is archived.
+    "technologyTargeting": { # Technology Targeting. # Technology platform targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+      "platformTypes": [ # Platform types that this ad targets. For example, desktop, mobile, or tablet. For each platform type, only id is required, and the other fields are populated automatically when the ad is inserted or updated.
+        { # Contains information about a platform type that can be targeted by ads.
+          "kind": "dfareporting#platformType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#platformType".
+          "id": "A String", # ID of this platform type.
+          "name": "A String", # Name of this platform type.
+        },
+      ],
+      "operatingSystemVersions": [ # Operating system versions that this ad targets. To target all versions, use operatingSystems. For each operating system version, only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system version, do not set targeting for the corresponding operating system in operatingSystems.
+        { # Contains information about a particular version of an operating system that can be targeted by ads.
+          "majorVersion": "A String", # Major version (leftmost number) of this operating system version.
+          "kind": "dfareporting#operatingSystemVersion", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersion".
+          "name": "A String", # Name of this operating system version.
+          "id": "A String", # ID of this operating system version.
+          "operatingSystem": { # Contains information about an operating system that can be targeted by ads. # Operating system of this operating system version.
+            "mobile": True or False, # Whether this operating system is for mobile.
+            "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
+            "kind": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
+            "name": "A String", # Name of this operating system.
+            "desktop": True or False, # Whether this operating system is for desktop.
+          },
+          "minorVersion": "A String", # Minor version (number after the first dot) of this operating system version.
+        },
+      ],
+      "browsers": [ # Browsers that this ad targets. For each browser either set browserVersionId or dartId along with the version numbers. If both are specified, only browserVersionId will be used.The other fields are populated automatically when the ad is inserted or updated.
+        { # Contains information about a browser that can be targeted by ads.
+          "majorVersion": "A String", # Major version number (leftmost number) of this browser. For example, for Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.
+          "kind": "dfareporting#browser", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#browser".
+          "name": "A String", # Name of this browser.
+          "browserVersionId": "A String", # ID referring to this grouping of browser and version numbers. This is the ID used for targeting.
+          "dartId": "A String", # DART ID of this browser. This is the ID used when generating reports.
+          "minorVersion": "A String", # Minor version number (number after first dot on left) of this browser. For example, for Chrome 5.0.375.86 beta, this field should be set to 0. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.
+        },
+      ],
+      "operatingSystems": [ # Operating systems that this ad targets. To target specific versions, use operatingSystemVersions. For each operating system only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system, do not set targeting for operating system versions for the same operating system.
+        { # Contains information about an operating system that can be targeted by ads.
+          "mobile": True or False, # Whether this operating system is for mobile.
+          "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
+          "kind": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
+          "name": "A String", # Name of this operating system.
+          "desktop": True or False, # Whether this operating system is for desktop.
+        },
+      ],
+      "mobileCarriers": [ # Mobile carriers that this ad targets. For each mobile carrier only id is required, and the other fields are populated automatically when the ad is inserted or updated. If targeting a mobile carrier, do not set targeting for any zip codes.
+        { # Contains information about a mobile carrier that can be targeted by ads.
+          "kind": "dfareporting#mobileCarrier", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileCarrier".
+          "countryDartId": "A String", # DART ID of the country to which this mobile carrier belongs.
+          "id": "A String", # ID of this mobile carrier.
+          "countryCode": "A String", # Country code of the country to which this mobile carrier belongs.
+          "name": "A String", # Name of this mobile carrier.
+        },
+      ],
+      "connectionTypes": [ # Connection types that this ad targets. For each connection type only id is required.The other fields are populated automatically when the ad is inserted or updated.
+        { # Contains information about an internet connection type that can be targeted by ads. Clients can use the connection type to target mobile vs. broadband users.
+          "kind": "dfareporting#connectionType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#connectionType".
+          "id": "A String", # ID of this connection type.
+          "name": "A String", # Name of this connection type.
+        },
+      ],
+    },
+    "creativeRotation": { # Creative Rotation. # Creative rotation for this ad. Applicable when type is AD_SERVING_DEFAULT_AD, AD_SERVING_STANDARD_AD, or AD_SERVING_TRACKING. When type is AD_SERVING_DEFAULT_AD, this field should have exactly one creativeAssignment.
+      "creativeAssignments": [ # Creative assignments in this creative rotation.
+        { # Creative Assignment.
+          "weight": 42, # Weight of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_RANDOM.
+          "sequence": 42, # Sequence number of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_SEQUENTIAL.
+          "applyEventTags": True or False, # Whether applicable event tags should fire when this creative assignment is rendered. If this value is unset when the ad is inserted or updated, it will default to true for all creative types EXCEPT for INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO.
+          "richMediaExitOverrides": [ # Rich media exit overrides for this creative assignment.
+              # Applicable when the creative type is any of the following:
+              # - RICH_MEDIA_INPAGE
+              # - RICH_MEDIA_INPAGE_FLOATING
+              # - RICH_MEDIA_IM_EXPAND
+              # - RICH_MEDIA_EXPANDING
+              # - RICH_MEDIA_INTERSTITIAL_FLOAT
+              # - RICH_MEDIA_MOBILE_IN_APP
+              # - RICH_MEDIA_MULTI_FLOATING
+              # - RICH_MEDIA_PEEL_DOWN
+              # - ADVANCED_BANNER
+              # - VPAID_LINEAR
+              # - VPAID_NON_LINEAR
+            { # Rich Media Exit Override.
+              "customExitUrl": "A String", # Click-through URL to override the default exit URL. Applicable if the useCustomExitUrl field is set to true.
+              "useCustomExitUrl": True or False, # Whether to use the custom exit URL.
+              "exitId": "A String", # ID for the override to refer to a specific exit in the creative.
+            },
+          ],
+          "sslCompliant": True or False, # Whether the creative to be assigned is SSL-compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.
+          "creativeGroupAssignments": [ # Creative group assignments for this creative assignment. Only one assignment per creative group number is allowed for a maximum of two assignments.
+            { # Creative Group Assignment.
+              "creativeGroupNumber": "A String", # Creative group number of the creative group assignment.
+              "creativeGroupId": "A String", # ID of the creative group to be assigned.
+            },
+          ],
+          "companionCreativeOverrides": [ # Companion creative overrides for this creative assignment. Applicable to video ads.
+            { # Companion Click-through override.
+              "clickThroughUrl": { # Click-through URL # Click-through URL of this companion click-through override.
+                "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+                    # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+                    # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+                    # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+                "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+                "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+                "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+              },
+              "creativeId": "A String", # ID of the creative for this companion click-through override.
+            },
+          ],
+          "startTime": "A String", # Date and time that the assigned creative should start serving.
+          "clickThroughUrl": { # Click-through URL # Click-through URL of the creative assignment.
+            "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+                # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+                # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+                # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+            "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+            "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+            "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+          },
+          "active": True or False, # Whether this creative assignment is active. When true, the creative will be included in the ad's rotation.
+          "creativeId": "A String", # ID of the creative to be assigned. This is a required field.
+          "endTime": "A String", # Date and time that the assigned creative should stop serving. Must be later than the start time.
+          "creativeIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the creative. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        },
+      ],
+      "weightCalculationStrategy": "A String", # Strategy for calculating weights. Used with CREATIVE_ROTATION_TYPE_RANDOM.
+      "creativeOptimizationConfigurationId": "A String", # Creative optimization configuration that is used by this ad. It should refer to one of the existing optimization configurations in the ad's campaign. If it is unset or set to 0, then the campaign's default optimization configuration will be used for this ad.
+      "type": "A String", # Type of creative rotation. Can be used to specify whether to use sequential or random rotation.
+    },
+    "clickThroughUrl": { # Click-through URL # Click-through URL for this ad. This is a required field on insertion. Applicable when type is AD_SERVING_CLICK_TRACKER.
+      "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+          # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+          # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+          # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+      "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+      "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+      "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+    },
+    "comments": "A String", # Comments for this ad.
+    "remarketingListExpression": { # Remarketing List Targeting Expression. # Applicable when type is AD_SERVING_STANDARD_AD. Remarketing list targeting expression for this ad.
+      "expression": "A String", # Expression describing which lists are being targeted by the ad.
+    },
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this ad. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD.
+      "width": 42, # Width of this size.
+      "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+      "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+      "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+      "height": 42, # Height of this size.
+    },
+    "type": "A String", # Type of ad. This is a required field on insertion. Note that default ads (AD_SERVING_DEFAULT_AD) cannot be created directly (see Creative resource).
+    "sslRequired": True or False, # Whether this ad requires ssl. This is a read-only field that is auto-generated when the ad is inserted or updated.
+    "audienceSegmentId": "A String", # Audience segment ID that is being targeted for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+    "keyValueTargetingExpression": { # Key Value Targeting Expression. # Key-value targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+      "expression": "A String", # Keyword expression being targeted by the ad.
+    },
+    "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Default click-through event tag properties for this ad.
+      "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
+      "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
+    },
+    "createInfo": { # Modification timestamp. # Information about the creation of this ad.This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "startTime": "A String", # Date and time that this ad should start serving. If creating an ad, this field must be a time in the future. This is a required field on insertion.
+    "active": True or False, # Whether this ad is active.
+    "compatibility": "A String", # Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the VAST standard.
+    "kind": "dfareporting#ad", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#ad".
+    "subaccountId": "A String", # Subaccount ID of this ad. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this ad. This is a required field and must be less than 256 characters long.
+    "dayPartTargeting": { # Day Part Targeting. # Time and day targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+      "userLocalTime": True or False, # Whether or not to use the user's local time. If false, the America/New York time zone applies.
+      "hoursOfDay": [ # Hours of the day when the ad will serve. Must be an integer between 0 and 23 (inclusive), where 0 is midnight to 1 AM, and 23 is 11 PM to midnight. Can be specified with days of week, in which case the ad would serve during these hours on the specified days. For example, if Monday, Wednesday, Friday are the days of week specified and 9-10am, 3-5pm (hours 9, 15, and 16) is specified, the ad would serve Monday, Wednesdays, and Fridays at 9-10am and 3-5pm.
+        42,
+      ],
+      "daysOfWeek": [ # Days of the week when the ad will serve.
+          #
+          # Acceptable values are:
+          # - "SUNDAY"
+          # - "MONDAY"
+          # - "TUESDAY"
+          # - "WEDNESDAY"
+          # - "THURSDAY"
+          # - "FRIDAY"
+          # - "SATURDAY"
+        "A String",
+      ],
+    },
+    "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this ad. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "sslCompliant": True or False, # Whether this ad is ssl compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.
+    "placementAssignments": [ # Placement assignments for this ad.
+      { # Placement Assignment.
+        "active": True or False, # Whether this placement assignment is active. When true, the placement will be included in the ad's rotation.
+        "placementIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement. This is a read-only, auto-generated field.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+        "placementId": "A String", # ID of the placement to be assigned. This is a required field.
+        "sslRequired": True or False, # Whether the placement to be assigned requires SSL. This is a read-only field that is auto-generated when the ad is inserted or updated.
+      },
+    ],
+    "endTime": "A String", # Date and time that this ad should stop serving. Must be later than the start time. This is a required field on insertion.
+    "dynamicClickTracker": True or False, # Whether this ad is a dynamic click tracker. Applicable when type is AD_SERVING_CLICK_TRACKER. This is a required field on insert, and is read-only after insert.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DCM ad.
+      "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix properties for this ad. Applies to the URL in the ad or (if overriding ad properties) the URL in the creative.
+        "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
+        "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
+      },
+      "campaignId": "A String", # Campaign ID of this ad. This is a required field on insertion.
+      "advertiserId": "A String", # Advertiser ID of this ad. This is a required field on insertion.
+      "geoTargeting": { # Geographical Targeting. # Geographical targeting information for this ad.Applicable when type is AD_SERVING_STANDARD_AD.
+        "countries": [ # Countries to be targeted or excluded from targeting, depending on the setting of the excludeCountries field. For each country only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting or excluding a country, do not target regions, cities, metros, or postal codes in the same country.
+          { # Contains information about a country that can be targeted by ads.
+            "dartId": "A String", # DART ID of this country. This is the ID used for targeting and generating reports.
+            "sslEnabled": True or False, # Whether ad serving supports secure servers in this country.
+            "kind": "dfareporting#country", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#country".
+            "countryCode": "A String", # Country code.
+            "name": "A String", # Name of this country.
+          },
+        ],
+        "excludeCountries": True or False, # Whether or not to exclude the countries in the countries field from targeting. If false, the countries field refers to countries which will be targeted by the ad.
+        "postalCodes": [ # Postal codes to be targeted. For each postal code only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a postal code, do not target or exclude the country of the postal code.
+          { # Contains information about a postal code that can be targeted by ads.
+            "countryDartId": "A String", # DART ID of the country to which this postal code belongs.
+            "kind": "dfareporting#postalCode", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#postalCode".
+            "code": "A String", # Postal code. This is equivalent to the id field.
+            "id": "A String", # ID of this postal code.
+            "countryCode": "A String", # Country code of the country to which this postal code belongs.
+          },
+        ],
+        "regions": [ # Regions to be targeted. For each region only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a region, do not target or exclude the country of the region.
+          { # Contains information about a region that can be targeted by ads.
+            "kind": "dfareporting#region", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#region".
+            "countryDartId": "A String", # DART ID of the country to which this region belongs.
+            "name": "A String", # Name of this region.
+            "countryCode": "A String", # Country code of the country to which this region belongs.
+            "regionCode": "A String", # Region code.
+            "dartId": "A String", # DART ID of this region.
+          },
+        ],
+        "cities": [ # Cities to be targeted. For each city only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a city, do not target or exclude the country of the city, and do not target the metro or region of the city.
+          { # Contains information about a city that can be targeted by ads.
+            "kind": "dfareporting#city", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#city".
+            "countryDartId": "A String", # DART ID of the country to which this city belongs.
+            "name": "A String", # Name of this city.
+            "countryCode": "A String", # Country code of the country to which this city belongs.
+            "metroCode": "A String", # Metro region code of the metro region (DMA) to which this city belongs.
+            "regionCode": "A String", # Region code of the region to which this city belongs.
+            "metroDmaId": "A String", # ID of the metro region (DMA) to which this city belongs.
+            "dartId": "A String", # DART ID of this city. This is the ID used for targeting and generating reports.
+            "regionDartId": "A String", # DART ID of the region to which this city belongs.
+          },
+        ],
+        "metros": [ # Metros to be targeted. For each metro only dmaId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a metro, do not target or exclude the country of the metro.
+          { # Contains information about a metro region that can be targeted by ads.
+            "kind": "dfareporting#metro", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#metro".
+            "countryDartId": "A String", # DART ID of the country to which this metro region belongs.
+            "name": "A String", # Name of this metro region.
+            "countryCode": "A String", # Country code of the country to which this metro region belongs.
+            "metroCode": "A String", # Metro code of this metro region. This is equivalent to dma_id.
+            "dmaId": "A String", # DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code.
+            "dartId": "A String", # DART ID of this metro region.
+          },
+        ],
+      },
+      "creativeGroupAssignments": [ # Creative group assignments for this ad. Applicable when type is AD_SERVING_CLICK_TRACKER. Only one assignment per creative group number is allowed for a maximum of two assignments.
+        { # Creative Group Assignment.
+          "creativeGroupNumber": "A String", # Creative group number of the creative group assignment.
+          "creativeGroupId": "A String", # ID of the creative group to be assigned.
+        },
+      ],
+      "deliverySchedule": { # Delivery Schedule. # Delivery schedule information for this ad. Applicable when type is AD_SERVING_STANDARD_AD or AD_SERVING_TRACKING. This field along with subfields priority and impressionRatio are required on insertion when type is AD_SERVING_STANDARD_AD.
+        "priority": "A String", # Serving priority of an ad, with respect to other ads. The lower the priority number, the greater the priority with which it is served.
+        "hardCutoff": True or False, # Whether or not hard cutoff is enabled. If true, the ad will not serve after the end date and time. Otherwise the ad will continue to be served until it has reached its delivery goals.
+        "frequencyCap": { # Frequency Cap. # Limit on the number of times an individual user can be served the ad within a specified period of time.
+          "duration": "A String", # Duration of time, in seconds, for this frequency cap. The maximum duration is 90 days in seconds, or 7,776,000.
+          "impressions": "A String", # Number of times an individual user can be served the ad within the specified duration. The maximum allowed is 15.
+        },
+        "impressionRatio": "A String", # Impression ratio for this ad. This ratio determines how often each ad is served relative to the others. For example, if ad A has an impression ratio of 1 and ad B has an impression ratio of 3, then DCM will serve ad B three times as often as ad A. Must be between 1 and 10.
+      },
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "eventTagOverrides": [ # Event tag overrides for this ad.
+        { # Event tag override information.
+          "enabled": True or False, # Whether this override is enabled.
+          "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
+        },
+      ],
+      "id": "A String", # ID of this ad. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this ad. This is a read-only field that can be left blank.
+      "archived": True or False, # Whether this ad is archived.
+      "technologyTargeting": { # Technology Targeting. # Technology platform targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+        "platformTypes": [ # Platform types that this ad targets. For example, desktop, mobile, or tablet. For each platform type, only id is required, and the other fields are populated automatically when the ad is inserted or updated.
+          { # Contains information about a platform type that can be targeted by ads.
+            "kind": "dfareporting#platformType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#platformType".
+            "id": "A String", # ID of this platform type.
+            "name": "A String", # Name of this platform type.
+          },
+        ],
+        "operatingSystemVersions": [ # Operating system versions that this ad targets. To target all versions, use operatingSystems. For each operating system version, only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system version, do not set targeting for the corresponding operating system in operatingSystems.
+          { # Contains information about a particular version of an operating system that can be targeted by ads.
+            "majorVersion": "A String", # Major version (leftmost number) of this operating system version.
+            "kind": "dfareporting#operatingSystemVersion", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersion".
+            "name": "A String", # Name of this operating system version.
+            "id": "A String", # ID of this operating system version.
+            "operatingSystem": { # Contains information about an operating system that can be targeted by ads. # Operating system of this operating system version.
+              "mobile": True or False, # Whether this operating system is for mobile.
+              "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
+              "kind": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
+              "name": "A String", # Name of this operating system.
+              "desktop": True or False, # Whether this operating system is for desktop.
+            },
+            "minorVersion": "A String", # Minor version (number after the first dot) of this operating system version.
+          },
+        ],
+        "browsers": [ # Browsers that this ad targets. For each browser either set browserVersionId or dartId along with the version numbers. If both are specified, only browserVersionId will be used.The other fields are populated automatically when the ad is inserted or updated.
+          { # Contains information about a browser that can be targeted by ads.
+            "majorVersion": "A String", # Major version number (leftmost number) of this browser. For example, for Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.
+            "kind": "dfareporting#browser", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#browser".
+            "name": "A String", # Name of this browser.
+            "browserVersionId": "A String", # ID referring to this grouping of browser and version numbers. This is the ID used for targeting.
+            "dartId": "A String", # DART ID of this browser. This is the ID used when generating reports.
+            "minorVersion": "A String", # Minor version number (number after first dot on left) of this browser. For example, for Chrome 5.0.375.86 beta, this field should be set to 0. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.
+          },
+        ],
+        "operatingSystems": [ # Operating systems that this ad targets. To target specific versions, use operatingSystemVersions. For each operating system only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system, do not set targeting for operating system versions for the same operating system.
+          { # Contains information about an operating system that can be targeted by ads.
+            "mobile": True or False, # Whether this operating system is for mobile.
+            "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
+            "kind": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
+            "name": "A String", # Name of this operating system.
+            "desktop": True or False, # Whether this operating system is for desktop.
+          },
+        ],
+        "mobileCarriers": [ # Mobile carriers that this ad targets. For each mobile carrier only id is required, and the other fields are populated automatically when the ad is inserted or updated. If targeting a mobile carrier, do not set targeting for any zip codes.
+          { # Contains information about a mobile carrier that can be targeted by ads.
+            "kind": "dfareporting#mobileCarrier", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileCarrier".
+            "countryDartId": "A String", # DART ID of the country to which this mobile carrier belongs.
+            "id": "A String", # ID of this mobile carrier.
+            "countryCode": "A String", # Country code of the country to which this mobile carrier belongs.
+            "name": "A String", # Name of this mobile carrier.
+          },
+        ],
+        "connectionTypes": [ # Connection types that this ad targets. For each connection type only id is required.The other fields are populated automatically when the ad is inserted or updated.
+          { # Contains information about an internet connection type that can be targeted by ads. Clients can use the connection type to target mobile vs. broadband users.
+            "kind": "dfareporting#connectionType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#connectionType".
+            "id": "A String", # ID of this connection type.
+            "name": "A String", # Name of this connection type.
+          },
+        ],
+      },
+      "creativeRotation": { # Creative Rotation. # Creative rotation for this ad. Applicable when type is AD_SERVING_DEFAULT_AD, AD_SERVING_STANDARD_AD, or AD_SERVING_TRACKING. When type is AD_SERVING_DEFAULT_AD, this field should have exactly one creativeAssignment.
+        "creativeAssignments": [ # Creative assignments in this creative rotation.
+          { # Creative Assignment.
+            "weight": 42, # Weight of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_RANDOM.
+            "sequence": 42, # Sequence number of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_SEQUENTIAL.
+            "applyEventTags": True or False, # Whether applicable event tags should fire when this creative assignment is rendered. If this value is unset when the ad is inserted or updated, it will default to true for all creative types EXCEPT for INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO.
+            "richMediaExitOverrides": [ # Rich media exit overrides for this creative assignment.
+                # Applicable when the creative type is any of the following:
+                # - RICH_MEDIA_INPAGE
+                # - RICH_MEDIA_INPAGE_FLOATING
+                # - RICH_MEDIA_IM_EXPAND
+                # - RICH_MEDIA_EXPANDING
+                # - RICH_MEDIA_INTERSTITIAL_FLOAT
+                # - RICH_MEDIA_MOBILE_IN_APP
+                # - RICH_MEDIA_MULTI_FLOATING
+                # - RICH_MEDIA_PEEL_DOWN
+                # - ADVANCED_BANNER
+                # - VPAID_LINEAR
+                # - VPAID_NON_LINEAR
+              { # Rich Media Exit Override.
+                "customExitUrl": "A String", # Click-through URL to override the default exit URL. Applicable if the useCustomExitUrl field is set to true.
+                "useCustomExitUrl": True or False, # Whether to use the custom exit URL.
+                "exitId": "A String", # ID for the override to refer to a specific exit in the creative.
+              },
+            ],
+            "sslCompliant": True or False, # Whether the creative to be assigned is SSL-compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.
+            "creativeGroupAssignments": [ # Creative group assignments for this creative assignment. Only one assignment per creative group number is allowed for a maximum of two assignments.
+              { # Creative Group Assignment.
+                "creativeGroupNumber": "A String", # Creative group number of the creative group assignment.
+                "creativeGroupId": "A String", # ID of the creative group to be assigned.
+              },
+            ],
+            "companionCreativeOverrides": [ # Companion creative overrides for this creative assignment. Applicable to video ads.
+              { # Companion Click-through override.
+                "clickThroughUrl": { # Click-through URL # Click-through URL of this companion click-through override.
+                  "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+                      # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+                      # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+                      # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+                  "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+                  "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+                  "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+                },
+                "creativeId": "A String", # ID of the creative for this companion click-through override.
+              },
+            ],
+            "startTime": "A String", # Date and time that the assigned creative should start serving.
+            "clickThroughUrl": { # Click-through URL # Click-through URL of the creative assignment.
+              "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+                  # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+                  # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+                  # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+              "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+              "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+              "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+            },
+            "active": True or False, # Whether this creative assignment is active. When true, the creative will be included in the ad's rotation.
+            "creativeId": "A String", # ID of the creative to be assigned. This is a required field.
+            "endTime": "A String", # Date and time that the assigned creative should stop serving. Must be later than the start time.
+            "creativeIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the creative. This is a read-only, auto-generated field.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+          },
+        ],
+        "weightCalculationStrategy": "A String", # Strategy for calculating weights. Used with CREATIVE_ROTATION_TYPE_RANDOM.
+        "creativeOptimizationConfigurationId": "A String", # Creative optimization configuration that is used by this ad. It should refer to one of the existing optimization configurations in the ad's campaign. If it is unset or set to 0, then the campaign's default optimization configuration will be used for this ad.
+        "type": "A String", # Type of creative rotation. Can be used to specify whether to use sequential or random rotation.
+      },
+      "clickThroughUrl": { # Click-through URL # Click-through URL for this ad. This is a required field on insertion. Applicable when type is AD_SERVING_CLICK_TRACKER.
+        "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+            # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+            # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+            # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+        "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+        "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+        "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+      },
+      "comments": "A String", # Comments for this ad.
+      "remarketingListExpression": { # Remarketing List Targeting Expression. # Applicable when type is AD_SERVING_STANDARD_AD. Remarketing list targeting expression for this ad.
+        "expression": "A String", # Expression describing which lists are being targeted by the ad.
+      },
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this ad. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD.
+        "width": 42, # Width of this size.
+        "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+        "height": 42, # Height of this size.
+      },
+      "type": "A String", # Type of ad. This is a required field on insertion. Note that default ads (AD_SERVING_DEFAULT_AD) cannot be created directly (see Creative resource).
+      "sslRequired": True or False, # Whether this ad requires ssl. This is a read-only field that is auto-generated when the ad is inserted or updated.
+      "audienceSegmentId": "A String", # Audience segment ID that is being targeted for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+      "keyValueTargetingExpression": { # Key Value Targeting Expression. # Key-value targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+        "expression": "A String", # Keyword expression being targeted by the ad.
+      },
+      "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Default click-through event tag properties for this ad.
+        "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
+        "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
+      },
+      "createInfo": { # Modification timestamp. # Information about the creation of this ad.This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "startTime": "A String", # Date and time that this ad should start serving. If creating an ad, this field must be a time in the future. This is a required field on insertion.
+      "active": True or False, # Whether this ad is active.
+      "compatibility": "A String", # Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the VAST standard.
+      "kind": "dfareporting#ad", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#ad".
+      "subaccountId": "A String", # Subaccount ID of this ad. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this ad. This is a required field and must be less than 256 characters long.
+      "dayPartTargeting": { # Day Part Targeting. # Time and day targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+        "userLocalTime": True or False, # Whether or not to use the user's local time. If false, the America/New York time zone applies.
+        "hoursOfDay": [ # Hours of the day when the ad will serve. Must be an integer between 0 and 23 (inclusive), where 0 is midnight to 1 AM, and 23 is 11 PM to midnight. Can be specified with days of week, in which case the ad would serve during these hours on the specified days. For example, if Monday, Wednesday, Friday are the days of week specified and 9-10am, 3-5pm (hours 9, 15, and 16) is specified, the ad would serve Monday, Wednesdays, and Fridays at 9-10am and 3-5pm.
+          42,
+        ],
+        "daysOfWeek": [ # Days of the week when the ad will serve.
+            #
+            # Acceptable values are:
+            # - "SUNDAY"
+            # - "MONDAY"
+            # - "TUESDAY"
+            # - "WEDNESDAY"
+            # - "THURSDAY"
+            # - "FRIDAY"
+            # - "SATURDAY"
+          "A String",
+        ],
+      },
+      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this ad. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "sslCompliant": True or False, # Whether this ad is ssl compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.
+      "placementAssignments": [ # Placement assignments for this ad.
+        { # Placement Assignment.
+          "active": True or False, # Whether this placement assignment is active. When true, the placement will be included in the ad's rotation.
+          "placementIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "placementId": "A String", # ID of the placement to be assigned. This is a required field.
+          "sslRequired": True or False, # Whether the placement to be assigned requires SSL. This is a read-only field that is auto-generated when the ad is inserted or updated.
+        },
+      ],
+      "endTime": "A String", # Date and time that this ad should stop serving. Must be later than the start time. This is a required field on insertion.
+      "dynamicClickTracker": True or False, # Whether this ad is a dynamic click tracker. Applicable when type is AD_SERVING_CLICK_TRACKER. This is a required field on insert, and is read-only after insert.
+    }
+
+ +
+ update(profileId, body) +
Updates an existing ad.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a DCM ad.
+    "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix properties for this ad. Applies to the URL in the ad or (if overriding ad properties) the URL in the creative.
+      "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
+      "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
+    },
+    "campaignId": "A String", # Campaign ID of this ad. This is a required field on insertion.
+    "advertiserId": "A String", # Advertiser ID of this ad. This is a required field on insertion.
+    "geoTargeting": { # Geographical Targeting. # Geographical targeting information for this ad.Applicable when type is AD_SERVING_STANDARD_AD.
+      "countries": [ # Countries to be targeted or excluded from targeting, depending on the setting of the excludeCountries field. For each country only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting or excluding a country, do not target regions, cities, metros, or postal codes in the same country.
+        { # Contains information about a country that can be targeted by ads.
+          "dartId": "A String", # DART ID of this country. This is the ID used for targeting and generating reports.
+          "sslEnabled": True or False, # Whether ad serving supports secure servers in this country.
+          "kind": "dfareporting#country", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#country".
+          "countryCode": "A String", # Country code.
+          "name": "A String", # Name of this country.
+        },
+      ],
+      "excludeCountries": True or False, # Whether or not to exclude the countries in the countries field from targeting. If false, the countries field refers to countries which will be targeted by the ad.
+      "postalCodes": [ # Postal codes to be targeted. For each postal code only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a postal code, do not target or exclude the country of the postal code.
+        { # Contains information about a postal code that can be targeted by ads.
+          "countryDartId": "A String", # DART ID of the country to which this postal code belongs.
+          "kind": "dfareporting#postalCode", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#postalCode".
+          "code": "A String", # Postal code. This is equivalent to the id field.
+          "id": "A String", # ID of this postal code.
+          "countryCode": "A String", # Country code of the country to which this postal code belongs.
+        },
+      ],
+      "regions": [ # Regions to be targeted. For each region only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a region, do not target or exclude the country of the region.
+        { # Contains information about a region that can be targeted by ads.
+          "kind": "dfareporting#region", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#region".
+          "countryDartId": "A String", # DART ID of the country to which this region belongs.
+          "name": "A String", # Name of this region.
+          "countryCode": "A String", # Country code of the country to which this region belongs.
+          "regionCode": "A String", # Region code.
+          "dartId": "A String", # DART ID of this region.
+        },
+      ],
+      "cities": [ # Cities to be targeted. For each city only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a city, do not target or exclude the country of the city, and do not target the metro or region of the city.
+        { # Contains information about a city that can be targeted by ads.
+          "kind": "dfareporting#city", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#city".
+          "countryDartId": "A String", # DART ID of the country to which this city belongs.
+          "name": "A String", # Name of this city.
+          "countryCode": "A String", # Country code of the country to which this city belongs.
+          "metroCode": "A String", # Metro region code of the metro region (DMA) to which this city belongs.
+          "regionCode": "A String", # Region code of the region to which this city belongs.
+          "metroDmaId": "A String", # ID of the metro region (DMA) to which this city belongs.
+          "dartId": "A String", # DART ID of this city. This is the ID used for targeting and generating reports.
+          "regionDartId": "A String", # DART ID of the region to which this city belongs.
+        },
+      ],
+      "metros": [ # Metros to be targeted. For each metro only dmaId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a metro, do not target or exclude the country of the metro.
+        { # Contains information about a metro region that can be targeted by ads.
+          "kind": "dfareporting#metro", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#metro".
+          "countryDartId": "A String", # DART ID of the country to which this metro region belongs.
+          "name": "A String", # Name of this metro region.
+          "countryCode": "A String", # Country code of the country to which this metro region belongs.
+          "metroCode": "A String", # Metro code of this metro region. This is equivalent to dma_id.
+          "dmaId": "A String", # DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code.
+          "dartId": "A String", # DART ID of this metro region.
+        },
+      ],
+    },
+    "creativeGroupAssignments": [ # Creative group assignments for this ad. Applicable when type is AD_SERVING_CLICK_TRACKER. Only one assignment per creative group number is allowed for a maximum of two assignments.
+      { # Creative Group Assignment.
+        "creativeGroupNumber": "A String", # Creative group number of the creative group assignment.
+        "creativeGroupId": "A String", # ID of the creative group to be assigned.
+      },
+    ],
+    "deliverySchedule": { # Delivery Schedule. # Delivery schedule information for this ad. Applicable when type is AD_SERVING_STANDARD_AD or AD_SERVING_TRACKING. This field along with subfields priority and impressionRatio are required on insertion when type is AD_SERVING_STANDARD_AD.
+      "priority": "A String", # Serving priority of an ad, with respect to other ads. The lower the priority number, the greater the priority with which it is served.
+      "hardCutoff": True or False, # Whether or not hard cutoff is enabled. If true, the ad will not serve after the end date and time. Otherwise the ad will continue to be served until it has reached its delivery goals.
+      "frequencyCap": { # Frequency Cap. # Limit on the number of times an individual user can be served the ad within a specified period of time.
+        "duration": "A String", # Duration of time, in seconds, for this frequency cap. The maximum duration is 90 days in seconds, or 7,776,000.
+        "impressions": "A String", # Number of times an individual user can be served the ad within the specified duration. The maximum allowed is 15.
+      },
+      "impressionRatio": "A String", # Impression ratio for this ad. This ratio determines how often each ad is served relative to the others. For example, if ad A has an impression ratio of 1 and ad B has an impression ratio of 3, then DCM will serve ad B three times as often as ad A. Must be between 1 and 10.
+    },
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "eventTagOverrides": [ # Event tag overrides for this ad.
+      { # Event tag override information.
+        "enabled": True or False, # Whether this override is enabled.
+        "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
+      },
+    ],
+    "id": "A String", # ID of this ad. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this ad. This is a read-only field that can be left blank.
+    "archived": True or False, # Whether this ad is archived.
+    "technologyTargeting": { # Technology Targeting. # Technology platform targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+      "platformTypes": [ # Platform types that this ad targets. For example, desktop, mobile, or tablet. For each platform type, only id is required, and the other fields are populated automatically when the ad is inserted or updated.
+        { # Contains information about a platform type that can be targeted by ads.
+          "kind": "dfareporting#platformType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#platformType".
+          "id": "A String", # ID of this platform type.
+          "name": "A String", # Name of this platform type.
+        },
+      ],
+      "operatingSystemVersions": [ # Operating system versions that this ad targets. To target all versions, use operatingSystems. For each operating system version, only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system version, do not set targeting for the corresponding operating system in operatingSystems.
+        { # Contains information about a particular version of an operating system that can be targeted by ads.
+          "majorVersion": "A String", # Major version (leftmost number) of this operating system version.
+          "kind": "dfareporting#operatingSystemVersion", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersion".
+          "name": "A String", # Name of this operating system version.
+          "id": "A String", # ID of this operating system version.
+          "operatingSystem": { # Contains information about an operating system that can be targeted by ads. # Operating system of this operating system version.
+            "mobile": True or False, # Whether this operating system is for mobile.
+            "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
+            "kind": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
+            "name": "A String", # Name of this operating system.
+            "desktop": True or False, # Whether this operating system is for desktop.
+          },
+          "minorVersion": "A String", # Minor version (number after the first dot) of this operating system version.
+        },
+      ],
+      "browsers": [ # Browsers that this ad targets. For each browser either set browserVersionId or dartId along with the version numbers. If both are specified, only browserVersionId will be used.The other fields are populated automatically when the ad is inserted or updated.
+        { # Contains information about a browser that can be targeted by ads.
+          "majorVersion": "A String", # Major version number (leftmost number) of this browser. For example, for Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.
+          "kind": "dfareporting#browser", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#browser".
+          "name": "A String", # Name of this browser.
+          "browserVersionId": "A String", # ID referring to this grouping of browser and version numbers. This is the ID used for targeting.
+          "dartId": "A String", # DART ID of this browser. This is the ID used when generating reports.
+          "minorVersion": "A String", # Minor version number (number after first dot on left) of this browser. For example, for Chrome 5.0.375.86 beta, this field should be set to 0. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.
+        },
+      ],
+      "operatingSystems": [ # Operating systems that this ad targets. To target specific versions, use operatingSystemVersions. For each operating system only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system, do not set targeting for operating system versions for the same operating system.
+        { # Contains information about an operating system that can be targeted by ads.
+          "mobile": True or False, # Whether this operating system is for mobile.
+          "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
+          "kind": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
+          "name": "A String", # Name of this operating system.
+          "desktop": True or False, # Whether this operating system is for desktop.
+        },
+      ],
+      "mobileCarriers": [ # Mobile carriers that this ad targets. For each mobile carrier only id is required, and the other fields are populated automatically when the ad is inserted or updated. If targeting a mobile carrier, do not set targeting for any zip codes.
+        { # Contains information about a mobile carrier that can be targeted by ads.
+          "kind": "dfareporting#mobileCarrier", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileCarrier".
+          "countryDartId": "A String", # DART ID of the country to which this mobile carrier belongs.
+          "id": "A String", # ID of this mobile carrier.
+          "countryCode": "A String", # Country code of the country to which this mobile carrier belongs.
+          "name": "A String", # Name of this mobile carrier.
+        },
+      ],
+      "connectionTypes": [ # Connection types that this ad targets. For each connection type only id is required.The other fields are populated automatically when the ad is inserted or updated.
+        { # Contains information about an internet connection type that can be targeted by ads. Clients can use the connection type to target mobile vs. broadband users.
+          "kind": "dfareporting#connectionType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#connectionType".
+          "id": "A String", # ID of this connection type.
+          "name": "A String", # Name of this connection type.
+        },
+      ],
+    },
+    "creativeRotation": { # Creative Rotation. # Creative rotation for this ad. Applicable when type is AD_SERVING_DEFAULT_AD, AD_SERVING_STANDARD_AD, or AD_SERVING_TRACKING. When type is AD_SERVING_DEFAULT_AD, this field should have exactly one creativeAssignment.
+      "creativeAssignments": [ # Creative assignments in this creative rotation.
+        { # Creative Assignment.
+          "weight": 42, # Weight of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_RANDOM.
+          "sequence": 42, # Sequence number of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_SEQUENTIAL.
+          "applyEventTags": True or False, # Whether applicable event tags should fire when this creative assignment is rendered. If this value is unset when the ad is inserted or updated, it will default to true for all creative types EXCEPT for INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO.
+          "richMediaExitOverrides": [ # Rich media exit overrides for this creative assignment.
+              # Applicable when the creative type is any of the following:
+              # - RICH_MEDIA_INPAGE
+              # - RICH_MEDIA_INPAGE_FLOATING
+              # - RICH_MEDIA_IM_EXPAND
+              # - RICH_MEDIA_EXPANDING
+              # - RICH_MEDIA_INTERSTITIAL_FLOAT
+              # - RICH_MEDIA_MOBILE_IN_APP
+              # - RICH_MEDIA_MULTI_FLOATING
+              # - RICH_MEDIA_PEEL_DOWN
+              # - ADVANCED_BANNER
+              # - VPAID_LINEAR
+              # - VPAID_NON_LINEAR
+            { # Rich Media Exit Override.
+              "customExitUrl": "A String", # Click-through URL to override the default exit URL. Applicable if the useCustomExitUrl field is set to true.
+              "useCustomExitUrl": True or False, # Whether to use the custom exit URL.
+              "exitId": "A String", # ID for the override to refer to a specific exit in the creative.
+            },
+          ],
+          "sslCompliant": True or False, # Whether the creative to be assigned is SSL-compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.
+          "creativeGroupAssignments": [ # Creative group assignments for this creative assignment. Only one assignment per creative group number is allowed for a maximum of two assignments.
+            { # Creative Group Assignment.
+              "creativeGroupNumber": "A String", # Creative group number of the creative group assignment.
+              "creativeGroupId": "A String", # ID of the creative group to be assigned.
+            },
+          ],
+          "companionCreativeOverrides": [ # Companion creative overrides for this creative assignment. Applicable to video ads.
+            { # Companion Click-through override.
+              "clickThroughUrl": { # Click-through URL # Click-through URL of this companion click-through override.
+                "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+                    # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+                    # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+                    # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+                "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+                "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+                "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+              },
+              "creativeId": "A String", # ID of the creative for this companion click-through override.
+            },
+          ],
+          "startTime": "A String", # Date and time that the assigned creative should start serving.
+          "clickThroughUrl": { # Click-through URL # Click-through URL of the creative assignment.
+            "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+                # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+                # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+                # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+            "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+            "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+            "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+          },
+          "active": True or False, # Whether this creative assignment is active. When true, the creative will be included in the ad's rotation.
+          "creativeId": "A String", # ID of the creative to be assigned. This is a required field.
+          "endTime": "A String", # Date and time that the assigned creative should stop serving. Must be later than the start time.
+          "creativeIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the creative. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        },
+      ],
+      "weightCalculationStrategy": "A String", # Strategy for calculating weights. Used with CREATIVE_ROTATION_TYPE_RANDOM.
+      "creativeOptimizationConfigurationId": "A String", # Creative optimization configuration that is used by this ad. It should refer to one of the existing optimization configurations in the ad's campaign. If it is unset or set to 0, then the campaign's default optimization configuration will be used for this ad.
+      "type": "A String", # Type of creative rotation. Can be used to specify whether to use sequential or random rotation.
+    },
+    "clickThroughUrl": { # Click-through URL # Click-through URL for this ad. This is a required field on insertion. Applicable when type is AD_SERVING_CLICK_TRACKER.
+      "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+          # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+          # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+          # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+      "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+      "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+      "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+    },
+    "comments": "A String", # Comments for this ad.
+    "remarketingListExpression": { # Remarketing List Targeting Expression. # Applicable when type is AD_SERVING_STANDARD_AD. Remarketing list targeting expression for this ad.
+      "expression": "A String", # Expression describing which lists are being targeted by the ad.
+    },
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this ad. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD.
+      "width": 42, # Width of this size.
+      "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+      "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+      "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+      "height": 42, # Height of this size.
+    },
+    "type": "A String", # Type of ad. This is a required field on insertion. Note that default ads (AD_SERVING_DEFAULT_AD) cannot be created directly (see Creative resource).
+    "sslRequired": True or False, # Whether this ad requires ssl. This is a read-only field that is auto-generated when the ad is inserted or updated.
+    "audienceSegmentId": "A String", # Audience segment ID that is being targeted for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+    "keyValueTargetingExpression": { # Key Value Targeting Expression. # Key-value targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+      "expression": "A String", # Keyword expression being targeted by the ad.
+    },
+    "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Default click-through event tag properties for this ad.
+      "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
+      "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
+    },
+    "createInfo": { # Modification timestamp. # Information about the creation of this ad.This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "startTime": "A String", # Date and time that this ad should start serving. If creating an ad, this field must be a time in the future. This is a required field on insertion.
+    "active": True or False, # Whether this ad is active.
+    "compatibility": "A String", # Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the VAST standard.
+    "kind": "dfareporting#ad", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#ad".
+    "subaccountId": "A String", # Subaccount ID of this ad. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this ad. This is a required field and must be less than 256 characters long.
+    "dayPartTargeting": { # Day Part Targeting. # Time and day targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+      "userLocalTime": True or False, # Whether or not to use the user's local time. If false, the America/New York time zone applies.
+      "hoursOfDay": [ # Hours of the day when the ad will serve. Must be an integer between 0 and 23 (inclusive), where 0 is midnight to 1 AM, and 23 is 11 PM to midnight. Can be specified with days of week, in which case the ad would serve during these hours on the specified days. For example, if Monday, Wednesday, Friday are the days of week specified and 9-10am, 3-5pm (hours 9, 15, and 16) is specified, the ad would serve Monday, Wednesdays, and Fridays at 9-10am and 3-5pm.
+        42,
+      ],
+      "daysOfWeek": [ # Days of the week when the ad will serve.
+          #
+          # Acceptable values are:
+          # - "SUNDAY"
+          # - "MONDAY"
+          # - "TUESDAY"
+          # - "WEDNESDAY"
+          # - "THURSDAY"
+          # - "FRIDAY"
+          # - "SATURDAY"
+        "A String",
+      ],
+    },
+    "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this ad. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "sslCompliant": True or False, # Whether this ad is ssl compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.
+    "placementAssignments": [ # Placement assignments for this ad.
+      { # Placement Assignment.
+        "active": True or False, # Whether this placement assignment is active. When true, the placement will be included in the ad's rotation.
+        "placementIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement. This is a read-only, auto-generated field.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+        "placementId": "A String", # ID of the placement to be assigned. This is a required field.
+        "sslRequired": True or False, # Whether the placement to be assigned requires SSL. This is a read-only field that is auto-generated when the ad is inserted or updated.
+      },
+    ],
+    "endTime": "A String", # Date and time that this ad should stop serving. Must be later than the start time. This is a required field on insertion.
+    "dynamicClickTracker": True or False, # Whether this ad is a dynamic click tracker. Applicable when type is AD_SERVING_CLICK_TRACKER. This is a required field on insert, and is read-only after insert.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DCM ad.
+      "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix properties for this ad. Applies to the URL in the ad or (if overriding ad properties) the URL in the creative.
+        "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
+        "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
+      },
+      "campaignId": "A String", # Campaign ID of this ad. This is a required field on insertion.
+      "advertiserId": "A String", # Advertiser ID of this ad. This is a required field on insertion.
+      "geoTargeting": { # Geographical Targeting. # Geographical targeting information for this ad.Applicable when type is AD_SERVING_STANDARD_AD.
+        "countries": [ # Countries to be targeted or excluded from targeting, depending on the setting of the excludeCountries field. For each country only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting or excluding a country, do not target regions, cities, metros, or postal codes in the same country.
+          { # Contains information about a country that can be targeted by ads.
+            "dartId": "A String", # DART ID of this country. This is the ID used for targeting and generating reports.
+            "sslEnabled": True or False, # Whether ad serving supports secure servers in this country.
+            "kind": "dfareporting#country", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#country".
+            "countryCode": "A String", # Country code.
+            "name": "A String", # Name of this country.
+          },
+        ],
+        "excludeCountries": True or False, # Whether or not to exclude the countries in the countries field from targeting. If false, the countries field refers to countries which will be targeted by the ad.
+        "postalCodes": [ # Postal codes to be targeted. For each postal code only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a postal code, do not target or exclude the country of the postal code.
+          { # Contains information about a postal code that can be targeted by ads.
+            "countryDartId": "A String", # DART ID of the country to which this postal code belongs.
+            "kind": "dfareporting#postalCode", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#postalCode".
+            "code": "A String", # Postal code. This is equivalent to the id field.
+            "id": "A String", # ID of this postal code.
+            "countryCode": "A String", # Country code of the country to which this postal code belongs.
+          },
+        ],
+        "regions": [ # Regions to be targeted. For each region only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a region, do not target or exclude the country of the region.
+          { # Contains information about a region that can be targeted by ads.
+            "kind": "dfareporting#region", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#region".
+            "countryDartId": "A String", # DART ID of the country to which this region belongs.
+            "name": "A String", # Name of this region.
+            "countryCode": "A String", # Country code of the country to which this region belongs.
+            "regionCode": "A String", # Region code.
+            "dartId": "A String", # DART ID of this region.
+          },
+        ],
+        "cities": [ # Cities to be targeted. For each city only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a city, do not target or exclude the country of the city, and do not target the metro or region of the city.
+          { # Contains information about a city that can be targeted by ads.
+            "kind": "dfareporting#city", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#city".
+            "countryDartId": "A String", # DART ID of the country to which this city belongs.
+            "name": "A String", # Name of this city.
+            "countryCode": "A String", # Country code of the country to which this city belongs.
+            "metroCode": "A String", # Metro region code of the metro region (DMA) to which this city belongs.
+            "regionCode": "A String", # Region code of the region to which this city belongs.
+            "metroDmaId": "A String", # ID of the metro region (DMA) to which this city belongs.
+            "dartId": "A String", # DART ID of this city. This is the ID used for targeting and generating reports.
+            "regionDartId": "A String", # DART ID of the region to which this city belongs.
+          },
+        ],
+        "metros": [ # Metros to be targeted. For each metro only dmaId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a metro, do not target or exclude the country of the metro.
+          { # Contains information about a metro region that can be targeted by ads.
+            "kind": "dfareporting#metro", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#metro".
+            "countryDartId": "A String", # DART ID of the country to which this metro region belongs.
+            "name": "A String", # Name of this metro region.
+            "countryCode": "A String", # Country code of the country to which this metro region belongs.
+            "metroCode": "A String", # Metro code of this metro region. This is equivalent to dma_id.
+            "dmaId": "A String", # DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code.
+            "dartId": "A String", # DART ID of this metro region.
+          },
+        ],
+      },
+      "creativeGroupAssignments": [ # Creative group assignments for this ad. Applicable when type is AD_SERVING_CLICK_TRACKER. Only one assignment per creative group number is allowed for a maximum of two assignments.
+        { # Creative Group Assignment.
+          "creativeGroupNumber": "A String", # Creative group number of the creative group assignment.
+          "creativeGroupId": "A String", # ID of the creative group to be assigned.
+        },
+      ],
+      "deliverySchedule": { # Delivery Schedule. # Delivery schedule information for this ad. Applicable when type is AD_SERVING_STANDARD_AD or AD_SERVING_TRACKING. This field along with subfields priority and impressionRatio are required on insertion when type is AD_SERVING_STANDARD_AD.
+        "priority": "A String", # Serving priority of an ad, with respect to other ads. The lower the priority number, the greater the priority with which it is served.
+        "hardCutoff": True or False, # Whether or not hard cutoff is enabled. If true, the ad will not serve after the end date and time. Otherwise the ad will continue to be served until it has reached its delivery goals.
+        "frequencyCap": { # Frequency Cap. # Limit on the number of times an individual user can be served the ad within a specified period of time.
+          "duration": "A String", # Duration of time, in seconds, for this frequency cap. The maximum duration is 90 days in seconds, or 7,776,000.
+          "impressions": "A String", # Number of times an individual user can be served the ad within the specified duration. The maximum allowed is 15.
+        },
+        "impressionRatio": "A String", # Impression ratio for this ad. This ratio determines how often each ad is served relative to the others. For example, if ad A has an impression ratio of 1 and ad B has an impression ratio of 3, then DCM will serve ad B three times as often as ad A. Must be between 1 and 10.
+      },
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "eventTagOverrides": [ # Event tag overrides for this ad.
+        { # Event tag override information.
+          "enabled": True or False, # Whether this override is enabled.
+          "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
+        },
+      ],
+      "id": "A String", # ID of this ad. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this ad. This is a read-only field that can be left blank.
+      "archived": True or False, # Whether this ad is archived.
+      "technologyTargeting": { # Technology Targeting. # Technology platform targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+        "platformTypes": [ # Platform types that this ad targets. For example, desktop, mobile, or tablet. For each platform type, only id is required, and the other fields are populated automatically when the ad is inserted or updated.
+          { # Contains information about a platform type that can be targeted by ads.
+            "kind": "dfareporting#platformType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#platformType".
+            "id": "A String", # ID of this platform type.
+            "name": "A String", # Name of this platform type.
+          },
+        ],
+        "operatingSystemVersions": [ # Operating system versions that this ad targets. To target all versions, use operatingSystems. For each operating system version, only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system version, do not set targeting for the corresponding operating system in operatingSystems.
+          { # Contains information about a particular version of an operating system that can be targeted by ads.
+            "majorVersion": "A String", # Major version (leftmost number) of this operating system version.
+            "kind": "dfareporting#operatingSystemVersion", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersion".
+            "name": "A String", # Name of this operating system version.
+            "id": "A String", # ID of this operating system version.
+            "operatingSystem": { # Contains information about an operating system that can be targeted by ads. # Operating system of this operating system version.
+              "mobile": True or False, # Whether this operating system is for mobile.
+              "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
+              "kind": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
+              "name": "A String", # Name of this operating system.
+              "desktop": True or False, # Whether this operating system is for desktop.
+            },
+            "minorVersion": "A String", # Minor version (number after the first dot) of this operating system version.
+          },
+        ],
+        "browsers": [ # Browsers that this ad targets. For each browser either set browserVersionId or dartId along with the version numbers. If both are specified, only browserVersionId will be used.The other fields are populated automatically when the ad is inserted or updated.
+          { # Contains information about a browser that can be targeted by ads.
+            "majorVersion": "A String", # Major version number (leftmost number) of this browser. For example, for Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.
+            "kind": "dfareporting#browser", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#browser".
+            "name": "A String", # Name of this browser.
+            "browserVersionId": "A String", # ID referring to this grouping of browser and version numbers. This is the ID used for targeting.
+            "dartId": "A String", # DART ID of this browser. This is the ID used when generating reports.
+            "minorVersion": "A String", # Minor version number (number after first dot on left) of this browser. For example, for Chrome 5.0.375.86 beta, this field should be set to 0. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.
+          },
+        ],
+        "operatingSystems": [ # Operating systems that this ad targets. To target specific versions, use operatingSystemVersions. For each operating system only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting an operating system, do not set targeting for operating system versions for the same operating system.
+          { # Contains information about an operating system that can be targeted by ads.
+            "mobile": True or False, # Whether this operating system is for mobile.
+            "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
+            "kind": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
+            "name": "A String", # Name of this operating system.
+            "desktop": True or False, # Whether this operating system is for desktop.
+          },
+        ],
+        "mobileCarriers": [ # Mobile carriers that this ad targets. For each mobile carrier only id is required, and the other fields are populated automatically when the ad is inserted or updated. If targeting a mobile carrier, do not set targeting for any zip codes.
+          { # Contains information about a mobile carrier that can be targeted by ads.
+            "kind": "dfareporting#mobileCarrier", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileCarrier".
+            "countryDartId": "A String", # DART ID of the country to which this mobile carrier belongs.
+            "id": "A String", # ID of this mobile carrier.
+            "countryCode": "A String", # Country code of the country to which this mobile carrier belongs.
+            "name": "A String", # Name of this mobile carrier.
+          },
+        ],
+        "connectionTypes": [ # Connection types that this ad targets. For each connection type only id is required.The other fields are populated automatically when the ad is inserted or updated.
+          { # Contains information about an internet connection type that can be targeted by ads. Clients can use the connection type to target mobile vs. broadband users.
+            "kind": "dfareporting#connectionType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#connectionType".
+            "id": "A String", # ID of this connection type.
+            "name": "A String", # Name of this connection type.
+          },
+        ],
+      },
+      "creativeRotation": { # Creative Rotation. # Creative rotation for this ad. Applicable when type is AD_SERVING_DEFAULT_AD, AD_SERVING_STANDARD_AD, or AD_SERVING_TRACKING. When type is AD_SERVING_DEFAULT_AD, this field should have exactly one creativeAssignment.
+        "creativeAssignments": [ # Creative assignments in this creative rotation.
+          { # Creative Assignment.
+            "weight": 42, # Weight of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_RANDOM.
+            "sequence": 42, # Sequence number of the creative assignment, applicable when the rotation type is CREATIVE_ROTATION_TYPE_SEQUENTIAL.
+            "applyEventTags": True or False, # Whether applicable event tags should fire when this creative assignment is rendered. If this value is unset when the ad is inserted or updated, it will default to true for all creative types EXCEPT for INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO.
+            "richMediaExitOverrides": [ # Rich media exit overrides for this creative assignment.
+                # Applicable when the creative type is any of the following:
+                # - RICH_MEDIA_INPAGE
+                # - RICH_MEDIA_INPAGE_FLOATING
+                # - RICH_MEDIA_IM_EXPAND
+                # - RICH_MEDIA_EXPANDING
+                # - RICH_MEDIA_INTERSTITIAL_FLOAT
+                # - RICH_MEDIA_MOBILE_IN_APP
+                # - RICH_MEDIA_MULTI_FLOATING
+                # - RICH_MEDIA_PEEL_DOWN
+                # - ADVANCED_BANNER
+                # - VPAID_LINEAR
+                # - VPAID_NON_LINEAR
+              { # Rich Media Exit Override.
+                "customExitUrl": "A String", # Click-through URL to override the default exit URL. Applicable if the useCustomExitUrl field is set to true.
+                "useCustomExitUrl": True or False, # Whether to use the custom exit URL.
+                "exitId": "A String", # ID for the override to refer to a specific exit in the creative.
+              },
+            ],
+            "sslCompliant": True or False, # Whether the creative to be assigned is SSL-compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.
+            "creativeGroupAssignments": [ # Creative group assignments for this creative assignment. Only one assignment per creative group number is allowed for a maximum of two assignments.
+              { # Creative Group Assignment.
+                "creativeGroupNumber": "A String", # Creative group number of the creative group assignment.
+                "creativeGroupId": "A String", # ID of the creative group to be assigned.
+              },
+            ],
+            "companionCreativeOverrides": [ # Companion creative overrides for this creative assignment. Applicable to video ads.
+              { # Companion Click-through override.
+                "clickThroughUrl": { # Click-through URL # Click-through URL of this companion click-through override.
+                  "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+                      # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+                      # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+                      # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+                  "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+                  "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+                  "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+                },
+                "creativeId": "A String", # ID of the creative for this companion click-through override.
+              },
+            ],
+            "startTime": "A String", # Date and time that the assigned creative should start serving.
+            "clickThroughUrl": { # Click-through URL # Click-through URL of the creative assignment.
+              "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+                  # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+                  # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+                  # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+              "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+              "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+              "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+            },
+            "active": True or False, # Whether this creative assignment is active. When true, the creative will be included in the ad's rotation.
+            "creativeId": "A String", # ID of the creative to be assigned. This is a required field.
+            "endTime": "A String", # Date and time that the assigned creative should stop serving. Must be later than the start time.
+            "creativeIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the creative. This is a read-only, auto-generated field.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+          },
+        ],
+        "weightCalculationStrategy": "A String", # Strategy for calculating weights. Used with CREATIVE_ROTATION_TYPE_RANDOM.
+        "creativeOptimizationConfigurationId": "A String", # Creative optimization configuration that is used by this ad. It should refer to one of the existing optimization configurations in the ad's campaign. If it is unset or set to 0, then the campaign's default optimization configuration will be used for this ad.
+        "type": "A String", # Type of creative rotation. Can be used to specify whether to use sequential or random rotation.
+      },
+      "clickThroughUrl": { # Click-through URL # Click-through URL for this ad. This is a required field on insertion. Applicable when type is AD_SERVING_CLICK_TRACKER.
+        "computedClickThroughUrl": "A String", # Read-only convenience field representing the actual URL that will be used for this click-through. The URL is computed as follows:
+            # - If defaultLandingPage is enabled then the campaign's default landing page URL is assigned to this field.
+            # - If defaultLandingPage is not enabled and a landingPageId is specified then that landing page's URL is assigned to this field.
+            # - If neither of the above cases apply, then the customClickThroughUrl is assigned to this field.
+        "customClickThroughUrl": "A String", # Custom click-through URL. Applicable if the defaultLandingPage field is set to false and the landingPageId field is left unset.
+        "landingPageId": "A String", # ID of the landing page for the click-through URL. Applicable if the defaultLandingPage field is set to false.
+        "defaultLandingPage": True or False, # Whether the campaign default landing page is used.
+      },
+      "comments": "A String", # Comments for this ad.
+      "remarketingListExpression": { # Remarketing List Targeting Expression. # Applicable when type is AD_SERVING_STANDARD_AD. Remarketing list targeting expression for this ad.
+        "expression": "A String", # Expression describing which lists are being targeted by the ad.
+      },
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this ad. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of this ad. Applicable when type is AD_SERVING_DEFAULT_AD.
+        "width": 42, # Width of this size.
+        "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+        "height": 42, # Height of this size.
+      },
+      "type": "A String", # Type of ad. This is a required field on insertion. Note that default ads (AD_SERVING_DEFAULT_AD) cannot be created directly (see Creative resource).
+      "sslRequired": True or False, # Whether this ad requires ssl. This is a read-only field that is auto-generated when the ad is inserted or updated.
+      "audienceSegmentId": "A String", # Audience segment ID that is being targeted for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+      "keyValueTargetingExpression": { # Key Value Targeting Expression. # Key-value targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+        "expression": "A String", # Keyword expression being targeted by the ad.
+      },
+      "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Default click-through event tag properties for this ad.
+        "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
+        "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
+      },
+      "createInfo": { # Modification timestamp. # Information about the creation of this ad.This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "startTime": "A String", # Date and time that this ad should start serving. If creating an ad, this field must be a time in the future. This is a required field on insertion.
+      "active": True or False, # Whether this ad is active.
+      "compatibility": "A String", # Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the VAST standard.
+      "kind": "dfareporting#ad", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#ad".
+      "subaccountId": "A String", # Subaccount ID of this ad. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this ad. This is a required field and must be less than 256 characters long.
+      "dayPartTargeting": { # Day Part Targeting. # Time and day targeting information for this ad. Applicable when type is AD_SERVING_STANDARD_AD.
+        "userLocalTime": True or False, # Whether or not to use the user's local time. If false, the America/New York time zone applies.
+        "hoursOfDay": [ # Hours of the day when the ad will serve. Must be an integer between 0 and 23 (inclusive), where 0 is midnight to 1 AM, and 23 is 11 PM to midnight. Can be specified with days of week, in which case the ad would serve during these hours on the specified days. For example, if Monday, Wednesday, Friday are the days of week specified and 9-10am, 3-5pm (hours 9, 15, and 16) is specified, the ad would serve Monday, Wednesdays, and Fridays at 9-10am and 3-5pm.
+          42,
+        ],
+        "daysOfWeek": [ # Days of the week when the ad will serve.
+            #
+            # Acceptable values are:
+            # - "SUNDAY"
+            # - "MONDAY"
+            # - "TUESDAY"
+            # - "WEDNESDAY"
+            # - "THURSDAY"
+            # - "FRIDAY"
+            # - "SATURDAY"
+          "A String",
+        ],
+      },
+      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this ad. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "sslCompliant": True or False, # Whether this ad is ssl compliant. This is a read-only field that is auto-generated when the ad is inserted or updated.
+      "placementAssignments": [ # Placement assignments for this ad.
+        { # Placement Assignment.
+          "active": True or False, # Whether this placement assignment is active. When true, the placement will be included in the ad's rotation.
+          "placementIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "placementId": "A String", # ID of the placement to be assigned. This is a required field.
+          "sslRequired": True or False, # Whether the placement to be assigned requires SSL. This is a read-only field that is auto-generated when the ad is inserted or updated.
+        },
+      ],
+      "endTime": "A String", # Date and time that this ad should stop serving. Must be later than the start time. This is a required field on insertion.
+      "dynamicClickTracker": True or False, # Whether this ad is a dynamic click tracker. Applicable when type is AD_SERVING_CLICK_TRACKER. This is a required field on insert, and is read-only after insert.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.advertiserGroups.html b/docs/dyn/dfareporting_v2_2.advertiserGroups.html new file mode 100644 index 00000000000..ee867526b7f --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.advertiserGroups.html @@ -0,0 +1,263 @@ + + + +

DCM/DFA Reporting And Trafficking API . advertiserGroups

+

Instance Methods

+

+ delete(profileId, id)

+

Deletes an existing advertiser group.

+

+ get(profileId, id)

+

Gets one advertiser group by ID.

+

+ insert(profileId, body)

+

Inserts a new advertiser group.

+

+ list(profileId, searchString=None, pageToken=None, sortField=None, ids=None, maxResults=None, sortOrder=None)

+

Retrieves a list of advertiser groups, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, id, body)

+

Updates an existing advertiser group. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing advertiser group.

+

Method Details

+
+ delete(profileId, id) +
Deletes an existing advertiser group.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Advertiser group ID. (required)
+
+
+ +
+ get(profileId, id) +
Gets one advertiser group by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Advertiser group ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Groups advertisers together so that reports can be generated for the entire group at once.
+      "kind": "dfareporting#advertiserGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiserGroup".
+      "id": "A String", # ID of this advertiser group. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.
+      "accountId": "A String", # Account ID of this advertiser group. This is a read-only field that can be left blank.
+    }
+
+ +
+ insert(profileId, body) +
Inserts a new advertiser group.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Groups advertisers together so that reports can be generated for the entire group at once.
+    "kind": "dfareporting#advertiserGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiserGroup".
+    "id": "A String", # ID of this advertiser group. This is a read-only, auto-generated field.
+    "name": "A String", # Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.
+    "accountId": "A String", # Account ID of this advertiser group. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Groups advertisers together so that reports can be generated for the entire group at once.
+      "kind": "dfareporting#advertiserGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiserGroup".
+      "id": "A String", # ID of this advertiser group. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.
+      "accountId": "A String", # Account ID of this advertiser group. This is a read-only field that can be left blank.
+    }
+
+ +
+ list(profileId, searchString=None, pageToken=None, sortField=None, ids=None, maxResults=None, sortOrder=None) +
Retrieves a list of advertiser groups, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  searchString: string, Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "advertiser*2015" will return objects with names like "advertiser group June 2015", "advertiser group April 2015", or simply "advertiser group 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "advertisergroup" will match objects with name "my advertisergroup", "advertisergroup 2015", or simply "advertisergroup".
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  ids: string, Select only advertiser groups with these IDs. (repeated)
+  maxResults: integer, Maximum number of results to return.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+
+Returns:
+  An object of the form:
+
+    { # Advertiser Group List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#advertiserGroupsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiserGroupsListResponse".
+    "advertiserGroups": [ # Advertiser group collection.
+      { # Groups advertisers together so that reports can be generated for the entire group at once.
+          "kind": "dfareporting#advertiserGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiserGroup".
+          "id": "A String", # ID of this advertiser group. This is a read-only, auto-generated field.
+          "name": "A String", # Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.
+          "accountId": "A String", # Account ID of this advertiser group. This is a read-only field that can be left blank.
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, id, body) +
Updates an existing advertiser group. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Advertiser group ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Groups advertisers together so that reports can be generated for the entire group at once.
+    "kind": "dfareporting#advertiserGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiserGroup".
+    "id": "A String", # ID of this advertiser group. This is a read-only, auto-generated field.
+    "name": "A String", # Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.
+    "accountId": "A String", # Account ID of this advertiser group. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Groups advertisers together so that reports can be generated for the entire group at once.
+      "kind": "dfareporting#advertiserGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiserGroup".
+      "id": "A String", # ID of this advertiser group. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.
+      "accountId": "A String", # Account ID of this advertiser group. This is a read-only field that can be left blank.
+    }
+
+ +
+ update(profileId, body) +
Updates an existing advertiser group.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Groups advertisers together so that reports can be generated for the entire group at once.
+    "kind": "dfareporting#advertiserGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiserGroup".
+    "id": "A String", # ID of this advertiser group. This is a read-only, auto-generated field.
+    "name": "A String", # Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.
+    "accountId": "A String", # Account ID of this advertiser group. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Groups advertisers together so that reports can be generated for the entire group at once.
+      "kind": "dfareporting#advertiserGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiserGroup".
+      "id": "A String", # ID of this advertiser group. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this advertiser group. This is a required field and must be less than 256 characters long and unique among advertiser groups of the same account.
+      "accountId": "A String", # Account ID of this advertiser group. This is a read-only field that can be left blank.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.advertisers.html b/docs/dyn/dfareporting_v2_2.advertisers.html new file mode 100644 index 00000000000..4408df964f2 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.advertisers.html @@ -0,0 +1,475 @@ + + + +

DCM/DFA Reporting And Trafficking API . advertisers

+

Instance Methods

+

+ get(profileId, id)

+

Gets one advertiser by ID.

+

+ insert(profileId, body)

+

Inserts a new advertiser.

+

+ list(profileId, includeAdvertisersWithoutGroupsOnly=None, onlyParent=None, pageToken=None, sortOrder=None, status=None, maxResults=None, advertiserGroupIds=None, searchString=None, subaccountId=None, ids=None, floodlightConfigurationIds=None, sortField=None)

+

Retrieves a list of advertisers, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, id, body)

+

Updates an existing advertiser. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing advertiser.

+

Method Details

+
+ get(profileId, id) +
Gets one advertiser by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Advertiser ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DCM advertiser.
+      "status": "A String", # Status of this advertiser.
+      "kind": "dfareporting#advertiser", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiser".
+      "subaccountId": "A String", # Subaccount ID of this advertiser.This is a read-only field that can be left blank.
+      "name": "A String", # Name of this advertiser. This is a required field and must be less than 256 characters long and unique among advertisers of the same account.
+      "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply by default to the landing pages of this advertiser's campaigns.
+      "originalFloodlightConfigurationId": "A String", # Original floodlight configuration before any sharing occurred. Set the floodlightConfigurationId of this advertiser to originalFloodlightConfigurationId to unshare the advertiser's current floodlight configuration. You cannot unshare an advertiser's floodlight configuration if the shared configuration has activities associated with any campaign or placement.
+      "clickThroughUrlSuffix": "A String", # Suffix added to click-through URL of ad creative associations under this advertiser. Must be less than 129 characters long.
+      "floodlightConfigurationId": "A String", # Floodlight configuration ID of this advertiser. The floodlight configuration ID will be created automatically, so on insert this field should be left blank. This field can be set to another advertiser's floodlight configuration ID in order to share that advertiser's floodlight configuration with this advertiser, so long as:
+          # - This advertiser's original floodlight configuration is not already associated with floodlight activities or floodlight activity groups.
+          # - This advertiser's original floodlight configuration is not already shared with another advertiser.
+      "suspended": True or False, # Suspension status of this advertiser.
+      "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "advertiserGroupId": "A String", # ID of the advertiser group this advertiser belongs to. You can group advertisers for reporting purposes, allowing you to see aggregated information for all advertisers in each group.
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "defaultEmail": "A String", # Default email address used in sender field for tag emails.
+      "id": "A String", # ID of this advertiser. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this advertiser.This is a read-only field that can be left blank.
+    }
+
+ +
+ insert(profileId, body) +
Inserts a new advertiser.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a DCM advertiser.
+    "status": "A String", # Status of this advertiser.
+    "kind": "dfareporting#advertiser", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiser".
+    "subaccountId": "A String", # Subaccount ID of this advertiser.This is a read-only field that can be left blank.
+    "name": "A String", # Name of this advertiser. This is a required field and must be less than 256 characters long and unique among advertisers of the same account.
+    "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply by default to the landing pages of this advertiser's campaigns.
+    "originalFloodlightConfigurationId": "A String", # Original floodlight configuration before any sharing occurred. Set the floodlightConfigurationId of this advertiser to originalFloodlightConfigurationId to unshare the advertiser's current floodlight configuration. You cannot unshare an advertiser's floodlight configuration if the shared configuration has activities associated with any campaign or placement.
+    "clickThroughUrlSuffix": "A String", # Suffix added to click-through URL of ad creative associations under this advertiser. Must be less than 129 characters long.
+    "floodlightConfigurationId": "A String", # Floodlight configuration ID of this advertiser. The floodlight configuration ID will be created automatically, so on insert this field should be left blank. This field can be set to another advertiser's floodlight configuration ID in order to share that advertiser's floodlight configuration with this advertiser, so long as:
+        # - This advertiser's original floodlight configuration is not already associated with floodlight activities or floodlight activity groups.
+        # - This advertiser's original floodlight configuration is not already shared with another advertiser.
+    "suspended": True or False, # Suspension status of this advertiser.
+    "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "advertiserGroupId": "A String", # ID of the advertiser group this advertiser belongs to. You can group advertisers for reporting purposes, allowing you to see aggregated information for all advertisers in each group.
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "defaultEmail": "A String", # Default email address used in sender field for tag emails.
+    "id": "A String", # ID of this advertiser. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this advertiser.This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DCM advertiser.
+      "status": "A String", # Status of this advertiser.
+      "kind": "dfareporting#advertiser", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiser".
+      "subaccountId": "A String", # Subaccount ID of this advertiser.This is a read-only field that can be left blank.
+      "name": "A String", # Name of this advertiser. This is a required field and must be less than 256 characters long and unique among advertisers of the same account.
+      "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply by default to the landing pages of this advertiser's campaigns.
+      "originalFloodlightConfigurationId": "A String", # Original floodlight configuration before any sharing occurred. Set the floodlightConfigurationId of this advertiser to originalFloodlightConfigurationId to unshare the advertiser's current floodlight configuration. You cannot unshare an advertiser's floodlight configuration if the shared configuration has activities associated with any campaign or placement.
+      "clickThroughUrlSuffix": "A String", # Suffix added to click-through URL of ad creative associations under this advertiser. Must be less than 129 characters long.
+      "floodlightConfigurationId": "A String", # Floodlight configuration ID of this advertiser. The floodlight configuration ID will be created automatically, so on insert this field should be left blank. This field can be set to another advertiser's floodlight configuration ID in order to share that advertiser's floodlight configuration with this advertiser, so long as:
+          # - This advertiser's original floodlight configuration is not already associated with floodlight activities or floodlight activity groups.
+          # - This advertiser's original floodlight configuration is not already shared with another advertiser.
+      "suspended": True or False, # Suspension status of this advertiser.
+      "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "advertiserGroupId": "A String", # ID of the advertiser group this advertiser belongs to. You can group advertisers for reporting purposes, allowing you to see aggregated information for all advertisers in each group.
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "defaultEmail": "A String", # Default email address used in sender field for tag emails.
+      "id": "A String", # ID of this advertiser. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this advertiser.This is a read-only field that can be left blank.
+    }
+
+ +
+ list(profileId, includeAdvertisersWithoutGroupsOnly=None, onlyParent=None, pageToken=None, sortOrder=None, status=None, maxResults=None, advertiserGroupIds=None, searchString=None, subaccountId=None, ids=None, floodlightConfigurationIds=None, sortField=None) +
Retrieves a list of advertisers, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  includeAdvertisersWithoutGroupsOnly: boolean, Select only advertisers which do not belong to any advertiser group.
+  onlyParent: boolean, Select only advertisers which use another advertiser's floodlight configuration.
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+  status: string, Select only advertisers with the specified status.
+    Allowed values
+      APPROVED - 
+      ON_HOLD - 
+  maxResults: integer, Maximum number of results to return.
+  advertiserGroupIds: string, Select only advertisers with these advertiser group IDs. (repeated)
+  searchString: string, Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "advertiser*2015" will return objects with names like "advertiser June 2015", "advertiser April 2015", or simply "advertiser 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "advertiser" will match objects with name "my advertiser", "advertiser 2015", or simply "advertiser".
+  subaccountId: string, Select only advertisers with these subaccount IDs.
+  ids: string, Select only advertisers with these IDs. (repeated)
+  floodlightConfigurationIds: string, Select only advertisers with these floodlight configuration IDs. (repeated)
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+
+Returns:
+  An object of the form:
+
+    { # Advertiser List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "advertisers": [ # Advertiser collection.
+      { # Contains properties of a DCM advertiser.
+          "status": "A String", # Status of this advertiser.
+          "kind": "dfareporting#advertiser", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiser".
+          "subaccountId": "A String", # Subaccount ID of this advertiser.This is a read-only field that can be left blank.
+          "name": "A String", # Name of this advertiser. This is a required field and must be less than 256 characters long and unique among advertisers of the same account.
+          "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply by default to the landing pages of this advertiser's campaigns.
+          "originalFloodlightConfigurationId": "A String", # Original floodlight configuration before any sharing occurred. Set the floodlightConfigurationId of this advertiser to originalFloodlightConfigurationId to unshare the advertiser's current floodlight configuration. You cannot unshare an advertiser's floodlight configuration if the shared configuration has activities associated with any campaign or placement.
+          "clickThroughUrlSuffix": "A String", # Suffix added to click-through URL of ad creative associations under this advertiser. Must be less than 129 characters long.
+          "floodlightConfigurationId": "A String", # Floodlight configuration ID of this advertiser. The floodlight configuration ID will be created automatically, so on insert this field should be left blank. This field can be set to another advertiser's floodlight configuration ID in order to share that advertiser's floodlight configuration with this advertiser, so long as:
+              # - This advertiser's original floodlight configuration is not already associated with floodlight activities or floodlight activity groups.
+              # - This advertiser's original floodlight configuration is not already shared with another advertiser.
+          "suspended": True or False, # Suspension status of this advertiser.
+          "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "advertiserGroupId": "A String", # ID of the advertiser group this advertiser belongs to. You can group advertisers for reporting purposes, allowing you to see aggregated information for all advertisers in each group.
+          "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this advertiser. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "defaultEmail": "A String", # Default email address used in sender field for tag emails.
+          "id": "A String", # ID of this advertiser. This is a read-only, auto-generated field.
+          "accountId": "A String", # Account ID of this advertiser.This is a read-only field that can be left blank.
+        },
+    ],
+    "kind": "dfareporting#advertisersListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertisersListResponse".
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, id, body) +
Updates an existing advertiser. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Advertiser ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a DCM advertiser.
+    "status": "A String", # Status of this advertiser.
+    "kind": "dfareporting#advertiser", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiser".
+    "subaccountId": "A String", # Subaccount ID of this advertiser.This is a read-only field that can be left blank.
+    "name": "A String", # Name of this advertiser. This is a required field and must be less than 256 characters long and unique among advertisers of the same account.
+    "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply by default to the landing pages of this advertiser's campaigns.
+    "originalFloodlightConfigurationId": "A String", # Original floodlight configuration before any sharing occurred. Set the floodlightConfigurationId of this advertiser to originalFloodlightConfigurationId to unshare the advertiser's current floodlight configuration. You cannot unshare an advertiser's floodlight configuration if the shared configuration has activities associated with any campaign or placement.
+    "clickThroughUrlSuffix": "A String", # Suffix added to click-through URL of ad creative associations under this advertiser. Must be less than 129 characters long.
+    "floodlightConfigurationId": "A String", # Floodlight configuration ID of this advertiser. The floodlight configuration ID will be created automatically, so on insert this field should be left blank. This field can be set to another advertiser's floodlight configuration ID in order to share that advertiser's floodlight configuration with this advertiser, so long as:
+        # - This advertiser's original floodlight configuration is not already associated with floodlight activities or floodlight activity groups.
+        # - This advertiser's original floodlight configuration is not already shared with another advertiser.
+    "suspended": True or False, # Suspension status of this advertiser.
+    "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "advertiserGroupId": "A String", # ID of the advertiser group this advertiser belongs to. You can group advertisers for reporting purposes, allowing you to see aggregated information for all advertisers in each group.
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "defaultEmail": "A String", # Default email address used in sender field for tag emails.
+    "id": "A String", # ID of this advertiser. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this advertiser.This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DCM advertiser.
+      "status": "A String", # Status of this advertiser.
+      "kind": "dfareporting#advertiser", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiser".
+      "subaccountId": "A String", # Subaccount ID of this advertiser.This is a read-only field that can be left blank.
+      "name": "A String", # Name of this advertiser. This is a required field and must be less than 256 characters long and unique among advertisers of the same account.
+      "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply by default to the landing pages of this advertiser's campaigns.
+      "originalFloodlightConfigurationId": "A String", # Original floodlight configuration before any sharing occurred. Set the floodlightConfigurationId of this advertiser to originalFloodlightConfigurationId to unshare the advertiser's current floodlight configuration. You cannot unshare an advertiser's floodlight configuration if the shared configuration has activities associated with any campaign or placement.
+      "clickThroughUrlSuffix": "A String", # Suffix added to click-through URL of ad creative associations under this advertiser. Must be less than 129 characters long.
+      "floodlightConfigurationId": "A String", # Floodlight configuration ID of this advertiser. The floodlight configuration ID will be created automatically, so on insert this field should be left blank. This field can be set to another advertiser's floodlight configuration ID in order to share that advertiser's floodlight configuration with this advertiser, so long as:
+          # - This advertiser's original floodlight configuration is not already associated with floodlight activities or floodlight activity groups.
+          # - This advertiser's original floodlight configuration is not already shared with another advertiser.
+      "suspended": True or False, # Suspension status of this advertiser.
+      "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "advertiserGroupId": "A String", # ID of the advertiser group this advertiser belongs to. You can group advertisers for reporting purposes, allowing you to see aggregated information for all advertisers in each group.
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "defaultEmail": "A String", # Default email address used in sender field for tag emails.
+      "id": "A String", # ID of this advertiser. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this advertiser.This is a read-only field that can be left blank.
+    }
+
+ +
+ update(profileId, body) +
Updates an existing advertiser.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a DCM advertiser.
+    "status": "A String", # Status of this advertiser.
+    "kind": "dfareporting#advertiser", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiser".
+    "subaccountId": "A String", # Subaccount ID of this advertiser.This is a read-only field that can be left blank.
+    "name": "A String", # Name of this advertiser. This is a required field and must be less than 256 characters long and unique among advertisers of the same account.
+    "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply by default to the landing pages of this advertiser's campaigns.
+    "originalFloodlightConfigurationId": "A String", # Original floodlight configuration before any sharing occurred. Set the floodlightConfigurationId of this advertiser to originalFloodlightConfigurationId to unshare the advertiser's current floodlight configuration. You cannot unshare an advertiser's floodlight configuration if the shared configuration has activities associated with any campaign or placement.
+    "clickThroughUrlSuffix": "A String", # Suffix added to click-through URL of ad creative associations under this advertiser. Must be less than 129 characters long.
+    "floodlightConfigurationId": "A String", # Floodlight configuration ID of this advertiser. The floodlight configuration ID will be created automatically, so on insert this field should be left blank. This field can be set to another advertiser's floodlight configuration ID in order to share that advertiser's floodlight configuration with this advertiser, so long as:
+        # - This advertiser's original floodlight configuration is not already associated with floodlight activities or floodlight activity groups.
+        # - This advertiser's original floodlight configuration is not already shared with another advertiser.
+    "suspended": True or False, # Suspension status of this advertiser.
+    "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "advertiserGroupId": "A String", # ID of the advertiser group this advertiser belongs to. You can group advertisers for reporting purposes, allowing you to see aggregated information for all advertisers in each group.
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "defaultEmail": "A String", # Default email address used in sender field for tag emails.
+    "id": "A String", # ID of this advertiser. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this advertiser.This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DCM advertiser.
+      "status": "A String", # Status of this advertiser.
+      "kind": "dfareporting#advertiser", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#advertiser".
+      "subaccountId": "A String", # Subaccount ID of this advertiser.This is a read-only field that can be left blank.
+      "name": "A String", # Name of this advertiser. This is a required field and must be less than 256 characters long and unique among advertisers of the same account.
+      "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply by default to the landing pages of this advertiser's campaigns.
+      "originalFloodlightConfigurationId": "A String", # Original floodlight configuration before any sharing occurred. Set the floodlightConfigurationId of this advertiser to originalFloodlightConfigurationId to unshare the advertiser's current floodlight configuration. You cannot unshare an advertiser's floodlight configuration if the shared configuration has activities associated with any campaign or placement.
+      "clickThroughUrlSuffix": "A String", # Suffix added to click-through URL of ad creative associations under this advertiser. Must be less than 129 characters long.
+      "floodlightConfigurationId": "A String", # Floodlight configuration ID of this advertiser. The floodlight configuration ID will be created automatically, so on insert this field should be left blank. This field can be set to another advertiser's floodlight configuration ID in order to share that advertiser's floodlight configuration with this advertiser, so long as:
+          # - This advertiser's original floodlight configuration is not already associated with floodlight activities or floodlight activity groups.
+          # - This advertiser's original floodlight configuration is not already shared with another advertiser.
+      "suspended": True or False, # Suspension status of this advertiser.
+      "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "advertiserGroupId": "A String", # ID of the advertiser group this advertiser belongs to. You can group advertisers for reporting purposes, allowing you to see aggregated information for all advertisers in each group.
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "defaultEmail": "A String", # Default email address used in sender field for tag emails.
+      "id": "A String", # ID of this advertiser. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this advertiser.This is a read-only field that can be left blank.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.browsers.html b/docs/dyn/dfareporting_v2_2.browsers.html new file mode 100644 index 00000000000..159b05672c0 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.browsers.html @@ -0,0 +1,106 @@ + + + +

DCM/DFA Reporting And Trafficking API . browsers

+

Instance Methods

+

+ list(profileId)

+

Retrieves a list of browsers.

+

Method Details

+
+ list(profileId) +
Retrieves a list of browsers.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+
+Returns:
+  An object of the form:
+
+    { # Browser List Response
+    "kind": "dfareporting#browsersListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#browsersListResponse".
+    "browsers": [ # Browser collection.
+      { # Contains information about a browser that can be targeted by ads.
+        "majorVersion": "A String", # Major version number (leftmost number) of this browser. For example, for Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.
+        "kind": "dfareporting#browser", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#browser".
+        "name": "A String", # Name of this browser.
+        "browserVersionId": "A String", # ID referring to this grouping of browser and version numbers. This is the ID used for targeting.
+        "dartId": "A String", # DART ID of this browser. This is the ID used when generating reports.
+        "minorVersion": "A String", # Minor version number (number after first dot on left) of this browser. For example, for Chrome 5.0.375.86 beta, this field should be set to 0. An asterisk (*) may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can't tell which version it is.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.campaignCreativeAssociations.html b/docs/dyn/dfareporting_v2_2.campaignCreativeAssociations.html new file mode 100644 index 00000000000..35b2faa748c --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.campaignCreativeAssociations.html @@ -0,0 +1,155 @@ + + + +

DCM/DFA Reporting And Trafficking API . campaignCreativeAssociations

+

Instance Methods

+

+ insert(profileId, campaignId, body)

+

Associates a creative with the specified campaign. This method creates a default ad with dimensions matching the creative in the campaign if such a default ad does not exist already.

+

+ list(profileId, campaignId, maxResults=None, pageToken=None, sortOrder=None)

+

Retrieves the list of creative IDs associated with the specified campaign.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ insert(profileId, campaignId, body) +
Associates a creative with the specified campaign. This method creates a default ad with dimensions matching the creative in the campaign if such a default ad does not exist already.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  campaignId: string, Campaign ID in this association. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Identifies a creative which has been associated with a given campaign.
+    "creativeId": "A String", # ID of the creative associated with the campaign. This is a required field.
+    "kind": "dfareporting#campaignCreativeAssociation", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaignCreativeAssociation".
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Identifies a creative which has been associated with a given campaign.
+      "creativeId": "A String", # ID of the creative associated with the campaign. This is a required field.
+      "kind": "dfareporting#campaignCreativeAssociation", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaignCreativeAssociation".
+    }
+
+ +
+ list(profileId, campaignId, maxResults=None, pageToken=None, sortOrder=None) +
Retrieves the list of creative IDs associated with the specified campaign.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  campaignId: string, Campaign ID in this association. (required)
+  maxResults: integer, Maximum number of results to return.
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+
+Returns:
+  An object of the form:
+
+    { # Campaign Creative Association List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "campaignCreativeAssociations": [ # Campaign creative association collection
+      { # Identifies a creative which has been associated with a given campaign.
+          "creativeId": "A String", # ID of the creative associated with the campaign. This is a required field.
+          "kind": "dfareporting#campaignCreativeAssociation", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaignCreativeAssociation".
+        },
+    ],
+    "kind": "dfareporting#campaignCreativeAssociationsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaignCreativeAssociationsListResponse".
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.campaigns.html b/docs/dyn/dfareporting_v2_2.campaigns.html new file mode 100644 index 00000000000..159fafaf10d --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.campaigns.html @@ -0,0 +1,1139 @@ + + + +

DCM/DFA Reporting And Trafficking API . campaigns

+

Instance Methods

+

+ get(profileId, id)

+

Gets one campaign by ID.

+

+ insert(profileId, defaultLandingPageName, defaultLandingPageUrl, body)

+

Inserts a new campaign.

+

+ list(profileId, overriddenEventTagId=None, archived=None, advertiserIds=None, pageToken=None, sortOrder=None, maxResults=None, excludedIds=None, advertiserGroupIds=None, searchString=None, subaccountId=None, ids=None, sortField=None, atLeastOneOptimizationActivity=None)

+

Retrieves a list of campaigns, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, id, body)

+

Updates an existing campaign. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing campaign.

+

Method Details

+
+ get(profileId, id) +
Gets one campaign by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Campaign ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DCM campaign.
+      "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long.
+      "startDate": "A String", # Date on which the campaign starts running. The start date can be any date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This is a required field.
+      "endDate": "A String", # Date on which the campaign will stop running. On insert, the end date must be today or a future date. The end date must be later than or be the same as the start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective campaign run date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This is a required field.
+      "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
+        "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
+        "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
+      },
+      "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags.
+        { # Event tag override information.
+          "enabled": True or False, # Whether this override is enabled.
+          "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
+        },
+      ],
+      "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign.
+        "optimizationActivitys": [ # List of optimization activities associated with this configuration.
+          { # Creative optimization activity.
+            "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
+            "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+            "weight": 42, # Weight associated with this optimization. Must be greater than 1. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities.
+          },
+        ],
+        "optimizationModel": "A String", # Optimization model for this configuration.
+        "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
+        "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
+      },
+      "id": "A String", # ID of this campaign. This is a read-only auto-generated field.
+      "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank.
+      "traffickerEmails": [ # Campaign trafficker contact emails.
+        "A String",
+      ],
+      "archived": True or False, # Whether this campaign has been archived.
+      "externalId": "A String", # External ID for this campaign.
+      "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser.
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "billingInvoiceCode": "A String", # Billing invoice code included in the DCM client billing invoices associated with the campaign.
+      "comscoreVceEnabled": True or False, # Whether comScore vCE reports are enabled for this campaign.
+      "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign.
+        "A String",
+      ],
+      "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign.
+        { # Creative optimization settings.
+          "optimizationActivitys": [ # List of optimization activities associated with this configuration.
+            { # Creative optimization activity.
+              "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
+              "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
+                "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+                "value": "A String", # The value of the dimension.
+                "dimensionName": "A String", # The name of the dimension.
+                "etag": "A String", # The eTag of this response for caching purposes.
+                "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+                "id": "A String", # The ID associated with the value if available.
+              },
+              "weight": 42, # Weight associated with this optimization. Must be greater than 1. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities.
+            },
+          ],
+          "optimizationModel": "A String", # Optimization model for this configuration.
+          "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
+          "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
+        },
+      ],
+      "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign.
+        "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
+        "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
+      },
+      "kind": "dfareporting#campaign", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign".
+      "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser.
+      "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for the campaign.
+        "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      },
+      "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign.
+      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
+        { # Audience Segment Group.
+          "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
+            { # Audience Segment.
+              "allocation": 42, # Weight allocated to this segment. Must be between 1 and 1000. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group.
+              "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field.
+              "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long.
+            },
+          ],
+          "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field.
+          "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long.
+        },
+      ],
+    }
+
+ +
+ insert(profileId, defaultLandingPageName, defaultLandingPageUrl, body) +
Inserts a new campaign.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  defaultLandingPageName: string, Default landing page name for this new campaign. Must be less than 256 characters long. (required)
+  defaultLandingPageUrl: string, Default landing page URL for this new campaign. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a DCM campaign.
+    "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long.
+    "startDate": "A String", # Date on which the campaign starts running. The start date can be any date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This is a required field.
+    "endDate": "A String", # Date on which the campaign will stop running. On insert, the end date must be today or a future date. The end date must be later than or be the same as the start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective campaign run date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This is a required field.
+    "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
+      "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
+      "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
+    },
+    "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags.
+      { # Event tag override information.
+        "enabled": True or False, # Whether this override is enabled.
+        "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
+      },
+    ],
+    "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign.
+      "optimizationActivitys": [ # List of optimization activities associated with this configuration.
+        { # Creative optimization activity.
+          "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
+          "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "weight": 42, # Weight associated with this optimization. Must be greater than 1. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities.
+        },
+      ],
+      "optimizationModel": "A String", # Optimization model for this configuration.
+      "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
+      "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
+    },
+    "id": "A String", # ID of this campaign. This is a read-only auto-generated field.
+    "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank.
+    "traffickerEmails": [ # Campaign trafficker contact emails.
+      "A String",
+    ],
+    "archived": True or False, # Whether this campaign has been archived.
+    "externalId": "A String", # External ID for this campaign.
+    "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser.
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "billingInvoiceCode": "A String", # Billing invoice code included in the DCM client billing invoices associated with the campaign.
+    "comscoreVceEnabled": True or False, # Whether comScore vCE reports are enabled for this campaign.
+    "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign.
+      "A String",
+    ],
+    "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign.
+      { # Creative optimization settings.
+        "optimizationActivitys": [ # List of optimization activities associated with this configuration.
+          { # Creative optimization activity.
+            "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
+            "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+            "weight": 42, # Weight associated with this optimization. Must be greater than 1. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities.
+          },
+        ],
+        "optimizationModel": "A String", # Optimization model for this configuration.
+        "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
+        "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
+      },
+    ],
+    "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign.
+      "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
+      "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
+    },
+    "kind": "dfareporting#campaign", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign".
+    "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser.
+    "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for the campaign.
+      "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+    },
+    "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign.
+    "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
+      { # Audience Segment Group.
+        "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
+          { # Audience Segment.
+            "allocation": 42, # Weight allocated to this segment. Must be between 1 and 1000. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group.
+            "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field.
+            "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long.
+          },
+        ],
+        "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field.
+        "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long.
+      },
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DCM campaign.
+      "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long.
+      "startDate": "A String", # Date on which the campaign starts running. The start date can be any date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This is a required field.
+      "endDate": "A String", # Date on which the campaign will stop running. On insert, the end date must be today or a future date. The end date must be later than or be the same as the start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective campaign run date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This is a required field.
+      "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
+        "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
+        "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
+      },
+      "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags.
+        { # Event tag override information.
+          "enabled": True or False, # Whether this override is enabled.
+          "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
+        },
+      ],
+      "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign.
+        "optimizationActivitys": [ # List of optimization activities associated with this configuration.
+          { # Creative optimization activity.
+            "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
+            "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+            "weight": 42, # Weight associated with this optimization. Must be greater than 1. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities.
+          },
+        ],
+        "optimizationModel": "A String", # Optimization model for this configuration.
+        "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
+        "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
+      },
+      "id": "A String", # ID of this campaign. This is a read-only auto-generated field.
+      "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank.
+      "traffickerEmails": [ # Campaign trafficker contact emails.
+        "A String",
+      ],
+      "archived": True or False, # Whether this campaign has been archived.
+      "externalId": "A String", # External ID for this campaign.
+      "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser.
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "billingInvoiceCode": "A String", # Billing invoice code included in the DCM client billing invoices associated with the campaign.
+      "comscoreVceEnabled": True or False, # Whether comScore vCE reports are enabled for this campaign.
+      "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign.
+        "A String",
+      ],
+      "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign.
+        { # Creative optimization settings.
+          "optimizationActivitys": [ # List of optimization activities associated with this configuration.
+            { # Creative optimization activity.
+              "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
+              "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
+                "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+                "value": "A String", # The value of the dimension.
+                "dimensionName": "A String", # The name of the dimension.
+                "etag": "A String", # The eTag of this response for caching purposes.
+                "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+                "id": "A String", # The ID associated with the value if available.
+              },
+              "weight": 42, # Weight associated with this optimization. Must be greater than 1. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities.
+            },
+          ],
+          "optimizationModel": "A String", # Optimization model for this configuration.
+          "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
+          "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
+        },
+      ],
+      "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign.
+        "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
+        "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
+      },
+      "kind": "dfareporting#campaign", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign".
+      "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser.
+      "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for the campaign.
+        "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      },
+      "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign.
+      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
+        { # Audience Segment Group.
+          "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
+            { # Audience Segment.
+              "allocation": 42, # Weight allocated to this segment. Must be between 1 and 1000. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group.
+              "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field.
+              "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long.
+            },
+          ],
+          "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field.
+          "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long.
+        },
+      ],
+    }
+
+ +
+ list(profileId, overriddenEventTagId=None, archived=None, advertiserIds=None, pageToken=None, sortOrder=None, maxResults=None, excludedIds=None, advertiserGroupIds=None, searchString=None, subaccountId=None, ids=None, sortField=None, atLeastOneOptimizationActivity=None) +
Retrieves a list of campaigns, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  overriddenEventTagId: string, Select only campaigns that have overridden this event tag ID.
+  archived: boolean, Select only archived campaigns. Don't set this field to select both archived and non-archived campaigns.
+  advertiserIds: string, Select only campaigns that belong to these advertisers. (repeated)
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+  maxResults: integer, Maximum number of results to return.
+  excludedIds: string, Exclude campaigns with these IDs. (repeated)
+  advertiserGroupIds: string, Select only campaigns whose advertisers belong to these advertiser groups. (repeated)
+  searchString: string, Allows searching for campaigns by name or ID. Wildcards (*) are allowed. For example, "campaign*2015" will return campaigns with names like "campaign June 2015", "campaign April 2015", or simply "campaign 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "campaign" will match campaigns with name "my campaign", "campaign 2015", or simply "campaign".
+  subaccountId: string, Select only campaigns that belong to this subaccount.
+  ids: string, Select only campaigns with these IDs. (repeated)
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  atLeastOneOptimizationActivity: boolean, Select only campaigns that have at least one optimization activity.
+
+Returns:
+  An object of the form:
+
+    { # Campaign List Response
+    "campaigns": [ # Campaign collection.
+      { # Contains properties of a DCM campaign.
+          "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long.
+          "startDate": "A String", # Date on which the campaign starts running. The start date can be any date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This is a required field.
+          "endDate": "A String", # Date on which the campaign will stop running. On insert, the end date must be today or a future date. The end date must be later than or be the same as the start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective campaign run date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This is a required field.
+          "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
+            "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
+            "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
+          },
+          "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field.
+          "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags.
+            { # Event tag override information.
+              "enabled": True or False, # Whether this override is enabled.
+              "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
+            },
+          ],
+          "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign.
+            "optimizationActivitys": [ # List of optimization activities associated with this configuration.
+              { # Creative optimization activity.
+                "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
+                "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
+                  "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+                  "value": "A String", # The value of the dimension.
+                  "dimensionName": "A String", # The name of the dimension.
+                  "etag": "A String", # The eTag of this response for caching purposes.
+                  "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+                  "id": "A String", # The ID associated with the value if available.
+                },
+                "weight": 42, # Weight associated with this optimization. Must be greater than 1. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities.
+              },
+            ],
+            "optimizationModel": "A String", # Optimization model for this configuration.
+            "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
+            "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
+          },
+          "id": "A String", # ID of this campaign. This is a read-only auto-generated field.
+          "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank.
+          "traffickerEmails": [ # Campaign trafficker contact emails.
+            "A String",
+          ],
+          "archived": True or False, # Whether this campaign has been archived.
+          "externalId": "A String", # External ID for this campaign.
+          "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser.
+          "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "billingInvoiceCode": "A String", # Billing invoice code included in the DCM client billing invoices associated with the campaign.
+          "comscoreVceEnabled": True or False, # Whether comScore vCE reports are enabled for this campaign.
+          "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign.
+            "A String",
+          ],
+          "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign.
+            { # Creative optimization settings.
+              "optimizationActivitys": [ # List of optimization activities associated with this configuration.
+                { # Creative optimization activity.
+                  "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
+                  "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
+                    "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+                    "value": "A String", # The value of the dimension.
+                    "dimensionName": "A String", # The name of the dimension.
+                    "etag": "A String", # The eTag of this response for caching purposes.
+                    "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+                    "id": "A String", # The ID associated with the value if available.
+                  },
+                  "weight": 42, # Weight associated with this optimization. Must be greater than 1. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities.
+                },
+              ],
+              "optimizationModel": "A String", # Optimization model for this configuration.
+              "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
+              "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
+            },
+          ],
+          "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
+            "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+          },
+          "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign.
+            "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
+            "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
+          },
+          "kind": "dfareporting#campaign", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign".
+          "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank.
+          "name": "A String", # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser.
+          "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for the campaign.
+            "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+            "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+          },
+          "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign.
+          "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
+            "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+          },
+          "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
+            { # Audience Segment Group.
+              "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
+                { # Audience Segment.
+                  "allocation": 42, # Weight allocated to this segment. Must be between 1 and 1000. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group.
+                  "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field.
+                  "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long.
+                },
+              ],
+              "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field.
+              "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long.
+            },
+          ],
+        },
+    ],
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#campaignsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaignsListResponse".
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, id, body) +
Updates an existing campaign. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Campaign ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a DCM campaign.
+    "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long.
+    "startDate": "A String", # Date on which the campaign starts running. The start date can be any date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This is a required field.
+    "endDate": "A String", # Date on which the campaign will stop running. On insert, the end date must be today or a future date. The end date must be later than or be the same as the start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective campaign run date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This is a required field.
+    "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
+      "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
+      "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
+    },
+    "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags.
+      { # Event tag override information.
+        "enabled": True or False, # Whether this override is enabled.
+        "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
+      },
+    ],
+    "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign.
+      "optimizationActivitys": [ # List of optimization activities associated with this configuration.
+        { # Creative optimization activity.
+          "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
+          "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "weight": 42, # Weight associated with this optimization. Must be greater than 1. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities.
+        },
+      ],
+      "optimizationModel": "A String", # Optimization model for this configuration.
+      "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
+      "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
+    },
+    "id": "A String", # ID of this campaign. This is a read-only auto-generated field.
+    "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank.
+    "traffickerEmails": [ # Campaign trafficker contact emails.
+      "A String",
+    ],
+    "archived": True or False, # Whether this campaign has been archived.
+    "externalId": "A String", # External ID for this campaign.
+    "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser.
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "billingInvoiceCode": "A String", # Billing invoice code included in the DCM client billing invoices associated with the campaign.
+    "comscoreVceEnabled": True or False, # Whether comScore vCE reports are enabled for this campaign.
+    "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign.
+      "A String",
+    ],
+    "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign.
+      { # Creative optimization settings.
+        "optimizationActivitys": [ # List of optimization activities associated with this configuration.
+          { # Creative optimization activity.
+            "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
+            "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+            "weight": 42, # Weight associated with this optimization. Must be greater than 1. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities.
+          },
+        ],
+        "optimizationModel": "A String", # Optimization model for this configuration.
+        "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
+        "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
+      },
+    ],
+    "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign.
+      "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
+      "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
+    },
+    "kind": "dfareporting#campaign", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign".
+    "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser.
+    "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for the campaign.
+      "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+    },
+    "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign.
+    "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
+      { # Audience Segment Group.
+        "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
+          { # Audience Segment.
+            "allocation": 42, # Weight allocated to this segment. Must be between 1 and 1000. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group.
+            "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field.
+            "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long.
+          },
+        ],
+        "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field.
+        "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long.
+      },
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DCM campaign.
+      "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long.
+      "startDate": "A String", # Date on which the campaign starts running. The start date can be any date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This is a required field.
+      "endDate": "A String", # Date on which the campaign will stop running. On insert, the end date must be today or a future date. The end date must be later than or be the same as the start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective campaign run date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This is a required field.
+      "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
+        "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
+        "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
+      },
+      "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags.
+        { # Event tag override information.
+          "enabled": True or False, # Whether this override is enabled.
+          "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
+        },
+      ],
+      "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign.
+        "optimizationActivitys": [ # List of optimization activities associated with this configuration.
+          { # Creative optimization activity.
+            "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
+            "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+            "weight": 42, # Weight associated with this optimization. Must be greater than 1. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities.
+          },
+        ],
+        "optimizationModel": "A String", # Optimization model for this configuration.
+        "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
+        "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
+      },
+      "id": "A String", # ID of this campaign. This is a read-only auto-generated field.
+      "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank.
+      "traffickerEmails": [ # Campaign trafficker contact emails.
+        "A String",
+      ],
+      "archived": True or False, # Whether this campaign has been archived.
+      "externalId": "A String", # External ID for this campaign.
+      "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser.
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "billingInvoiceCode": "A String", # Billing invoice code included in the DCM client billing invoices associated with the campaign.
+      "comscoreVceEnabled": True or False, # Whether comScore vCE reports are enabled for this campaign.
+      "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign.
+        "A String",
+      ],
+      "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign.
+        { # Creative optimization settings.
+          "optimizationActivitys": [ # List of optimization activities associated with this configuration.
+            { # Creative optimization activity.
+              "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
+              "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
+                "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+                "value": "A String", # The value of the dimension.
+                "dimensionName": "A String", # The name of the dimension.
+                "etag": "A String", # The eTag of this response for caching purposes.
+                "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+                "id": "A String", # The ID associated with the value if available.
+              },
+              "weight": 42, # Weight associated with this optimization. Must be greater than 1. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities.
+            },
+          ],
+          "optimizationModel": "A String", # Optimization model for this configuration.
+          "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
+          "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
+        },
+      ],
+      "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign.
+        "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
+        "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
+      },
+      "kind": "dfareporting#campaign", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign".
+      "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser.
+      "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for the campaign.
+        "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      },
+      "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign.
+      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
+        { # Audience Segment Group.
+          "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
+            { # Audience Segment.
+              "allocation": 42, # Weight allocated to this segment. Must be between 1 and 1000. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group.
+              "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field.
+              "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long.
+            },
+          ],
+          "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field.
+          "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long.
+        },
+      ],
+    }
+
+ +
+ update(profileId, body) +
Updates an existing campaign.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a DCM campaign.
+    "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long.
+    "startDate": "A String", # Date on which the campaign starts running. The start date can be any date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This is a required field.
+    "endDate": "A String", # Date on which the campaign will stop running. On insert, the end date must be today or a future date. The end date must be later than or be the same as the start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective campaign run date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This is a required field.
+    "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
+      "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
+      "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
+    },
+    "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags.
+      { # Event tag override information.
+        "enabled": True or False, # Whether this override is enabled.
+        "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
+      },
+    ],
+    "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign.
+      "optimizationActivitys": [ # List of optimization activities associated with this configuration.
+        { # Creative optimization activity.
+          "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
+          "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "weight": 42, # Weight associated with this optimization. Must be greater than 1. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities.
+        },
+      ],
+      "optimizationModel": "A String", # Optimization model for this configuration.
+      "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
+      "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
+    },
+    "id": "A String", # ID of this campaign. This is a read-only auto-generated field.
+    "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank.
+    "traffickerEmails": [ # Campaign trafficker contact emails.
+      "A String",
+    ],
+    "archived": True or False, # Whether this campaign has been archived.
+    "externalId": "A String", # External ID for this campaign.
+    "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser.
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "billingInvoiceCode": "A String", # Billing invoice code included in the DCM client billing invoices associated with the campaign.
+    "comscoreVceEnabled": True or False, # Whether comScore vCE reports are enabled for this campaign.
+    "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign.
+      "A String",
+    ],
+    "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign.
+      { # Creative optimization settings.
+        "optimizationActivitys": [ # List of optimization activities associated with this configuration.
+          { # Creative optimization activity.
+            "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
+            "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+            "weight": 42, # Weight associated with this optimization. Must be greater than 1. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities.
+          },
+        ],
+        "optimizationModel": "A String", # Optimization model for this configuration.
+        "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
+        "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
+      },
+    ],
+    "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign.
+      "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
+      "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
+    },
+    "kind": "dfareporting#campaign", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign".
+    "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser.
+    "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for the campaign.
+      "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+    },
+    "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign.
+    "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
+      { # Audience Segment Group.
+        "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
+          { # Audience Segment.
+            "allocation": 42, # Weight allocated to this segment. Must be between 1 and 1000. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group.
+            "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field.
+            "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long.
+          },
+        ],
+        "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field.
+        "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long.
+      },
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DCM campaign.
+      "comment": "A String", # Arbitrary comments about this campaign. Must be less than 256 characters long.
+      "startDate": "A String", # Date on which the campaign starts running. The start date can be any date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This is a required field.
+      "endDate": "A String", # Date on which the campaign will stop running. On insert, the end date must be today or a future date. The end date must be later than or be the same as the start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective campaign run date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This is a required field.
+      "clickThroughUrlSuffixProperties": { # Click Through URL Suffix settings. # Click-through URL suffix override properties for this campaign.
+        "clickThroughUrlSuffix": "A String", # Click-through URL suffix to apply to all ads in this entity's scope. Must be less than 128 characters long.
+        "overrideInheritedSuffix": True or False, # Whether this entity should override the inherited click-through URL suffix with its own defined value.
+      },
+      "advertiserId": "A String", # Advertiser ID of this campaign. This is a required field.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the advertiser ID of this campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "eventTagOverrides": [ # Overrides that can be used to activate or deactivate advertiser event tags.
+        { # Event tag override information.
+          "enabled": True or False, # Whether this override is enabled.
+          "id": "A String", # ID of this event tag override. This is a read-only, auto-generated field.
+        },
+      ],
+      "creativeOptimizationConfiguration": { # Creative optimization settings. # Creative optimization configuration for the campaign.
+        "optimizationActivitys": [ # List of optimization activities associated with this configuration.
+          { # Creative optimization activity.
+            "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
+            "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+            "weight": 42, # Weight associated with this optimization. Must be greater than 1. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities.
+          },
+        ],
+        "optimizationModel": "A String", # Optimization model for this configuration.
+        "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
+        "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
+      },
+      "id": "A String", # ID of this campaign. This is a read-only auto-generated field.
+      "accountId": "A String", # Account ID of this campaign. This is a read-only field that can be left blank.
+      "traffickerEmails": [ # Campaign trafficker contact emails.
+        "A String",
+      ],
+      "archived": True or False, # Whether this campaign has been archived.
+      "externalId": "A String", # External ID for this campaign.
+      "advertiserGroupId": "A String", # Advertiser group ID of the associated advertiser.
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "billingInvoiceCode": "A String", # Billing invoice code included in the DCM client billing invoices associated with the campaign.
+      "comscoreVceEnabled": True or False, # Whether comScore vCE reports are enabled for this campaign.
+      "creativeGroupIds": [ # List of creative group IDs that are assigned to the campaign.
+        "A String",
+      ],
+      "additionalCreativeOptimizationConfigurations": [ # Additional creative optimization configurations for the campaign.
+        { # Creative optimization settings.
+          "optimizationActivitys": [ # List of optimization activities associated with this configuration.
+            { # Creative optimization activity.
+              "floodlightActivityId": "A String", # Floodlight activity ID of this optimization activity. This is a required field.
+              "floodlightActivityIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight activity. This is a read-only, auto-generated field.
+                "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+                "value": "A String", # The value of the dimension.
+                "dimensionName": "A String", # The name of the dimension.
+                "etag": "A String", # The eTag of this response for caching purposes.
+                "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+                "id": "A String", # The ID associated with the value if available.
+              },
+              "weight": 42, # Weight associated with this optimization. Must be greater than 1. The weight assigned will be understood in proportion to the weights assigned to the other optimization activities.
+            },
+          ],
+          "optimizationModel": "A String", # Optimization model for this configuration.
+          "id": "A String", # ID of this creative optimization config. This field is auto-generated when the campaign is inserted or updated. It can be null for existing campaigns.
+          "name": "A String", # Name of this creative optimization config. This is a required field and must be less than 129 characters long.
+        },
+      ],
+      "createInfo": { # Modification timestamp. # Information about the creation of this campaign. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "defaultClickThroughEventTagProperties": { # Properties of inheriting and overriding the default click-through event tag. A campaign may override the event tag defined at the advertiser level, and an ad may also override the campaign's setting further. # Click-through event tag ID override properties for this campaign.
+        "overrideInheritedEventTag": True or False, # Whether this entity should override the inherited default click-through event tag with its own defined value.
+        "defaultClickThroughEventTagId": "A String", # ID of the click-through event tag to apply to all ads in this entity's scope.
+      },
+      "kind": "dfareporting#campaign", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#campaign".
+      "subaccountId": "A String", # Subaccount ID of this campaign. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this campaign. This is a required field and must be less than 256 characters long and unique among campaigns of the same advertiser.
+      "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for the campaign.
+        "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      },
+      "nielsenOcrEnabled": True or False, # Whether Nielsen reports are enabled for this campaign.
+      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this campaign. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "audienceSegmentGroups": [ # Audience segment groups assigned to this campaign. Cannot have more than 300 segment groups.
+        { # Audience Segment Group.
+          "audienceSegments": [ # Audience segments assigned to this group. The number of segments must be between 2 and 100.
+            { # Audience Segment.
+              "allocation": 42, # Weight allocated to this segment. Must be between 1 and 1000. The weight assigned will be understood in proportion to the weights assigned to other segments in the same segment group.
+              "id": "A String", # ID of this audience segment. This is a read-only, auto-generated field.
+              "name": "A String", # Name of this audience segment. This is a required field and must be less than 65 characters long.
+            },
+          ],
+          "id": "A String", # ID of this audience segment group. This is a read-only, auto-generated field.
+          "name": "A String", # Name of this audience segment group. This is a required field and must be less than 65 characters long.
+        },
+      ],
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.changeLogs.html b/docs/dyn/dfareporting_v2_2.changeLogs.html new file mode 100644 index 00000000000..9f5f0456c8d --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.changeLogs.html @@ -0,0 +1,229 @@ + + + +

DCM/DFA Reporting And Trafficking API . changeLogs

+

Instance Methods

+

+ get(profileId, id)

+

Gets one change log by ID.

+

+ list(profileId, objectType=None, maxChangeTime=None, pageToken=None, maxResults=None, action=None, minChangeTime=None, searchString=None, userProfileIds=None, ids=None, objectIds=None)

+

Retrieves a list of change logs.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ get(profileId, id) +
Gets one change log by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Change log ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Describes a change that a user has made to a resource.
+    "changeTime": "A String", # Time when the object was modified.
+    "kind": "dfareporting#changeLog", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#changeLog".
+    "subaccountId": "A String", # Subaccount ID of the modified object.
+    "userProfileId": "A String", # ID of the user who modified the object.
+    "objectId": "A String", # ID of the object of this change log. The object could be a campaign, placement, ad, or other type.
+    "newValue": "A String", # New value of the object field.
+    "userProfileName": "A String", # User profile name of the user who modified the object.
+    "fieldName": "A String", # Field name of the object which changed.
+    "oldValue": "A String", # Old value of the object field.
+    "action": "A String", # Action which caused the change.
+    "transactionId": "A String", # Transaction ID of this change log. When a single API call results in many changes, each change will have a separate ID in the change log but will share the same transactionId.
+    "objectType": "A String", # Object type of the change log.
+    "id": "A String", # ID of this change log.
+    "accountId": "A String", # Account ID of the modified object.
+  }
+
+ +
+ list(profileId, objectType=None, maxChangeTime=None, pageToken=None, maxResults=None, action=None, minChangeTime=None, searchString=None, userProfileIds=None, ids=None, objectIds=None) +
Retrieves a list of change logs.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  objectType: string, Select only change logs with the specified object type.
+    Allowed values
+      OBJECT_ACCOUNT - 
+      OBJECT_ACCOUNT_BILLING_FEATURE - 
+      OBJECT_AD - 
+      OBJECT_ADVERTISER - 
+      OBJECT_ADVERTISER_GROUP - 
+      OBJECT_BILLING_ACCOUNT_GROUP - 
+      OBJECT_BILLING_FEATURE - 
+      OBJECT_BILLING_MINIMUM_FEE - 
+      OBJECT_BILLING_PROFILE - 
+      OBJECT_CAMPAIGN - 
+      OBJECT_CONTENT_CATEGORY - 
+      OBJECT_CREATIVE - 
+      OBJECT_CREATIVE_ASSET - 
+      OBJECT_CREATIVE_BUNDLE - 
+      OBJECT_CREATIVE_FIELD - 
+      OBJECT_CREATIVE_GROUP - 
+      OBJECT_DFA_SITE - 
+      OBJECT_EVENT_TAG - 
+      OBJECT_FLOODLIGHT_ACTIVITY_GROUP - 
+      OBJECT_FLOODLIGHT_ACTVITY - 
+      OBJECT_FLOODLIGHT_CONFIGURATION - 
+      OBJECT_INSTREAM_CREATIVE - 
+      OBJECT_LANDING_PAGE - 
+      OBJECT_MEDIA_ORDER - 
+      OBJECT_PLACEMENT - 
+      OBJECT_PLACEMENT_STRATEGY - 
+      OBJECT_PROVIDED_LIST_CLIENT - 
+      OBJECT_RATE_CARD - 
+      OBJECT_REMARKETING_LIST - 
+      OBJECT_RICHMEDIA_CREATIVE - 
+      OBJECT_SD_SITE - 
+      OBJECT_SIZE - 
+      OBJECT_SUBACCOUNT - 
+      OBJECT_USER_PROFILE - 
+      OBJECT_USER_PROFILE_FILTER - 
+      OBJECT_USER_ROLE - 
+  maxChangeTime: string, Select only change logs whose change time is before the specified maxChangeTime.The time should be formatted as an RFC3339 date/time string. For example, for 10:54 PM on July 18th, 2015, in the America/New York time zone, the format is "2015-07-18T22:54:00-04:00". In other words, the year, month, day, the letter T, the hour (24-hour clock system), minute, second, and then the time zone offset.
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  maxResults: integer, Maximum number of results to return.
+  action: string, Select only change logs with the specified action.
+    Allowed values
+      ACTION_ADD - 
+      ACTION_ASSIGN - 
+      ACTION_ASSOCIATE - 
+      ACTION_CREATE - 
+      ACTION_DELETE - 
+      ACTION_DISABLE - 
+      ACTION_EMAIL_TAGS - 
+      ACTION_ENABLE - 
+      ACTION_LINK - 
+      ACTION_MARK_AS_DEFAULT - 
+      ACTION_PUSH - 
+      ACTION_REMOVE - 
+      ACTION_SEND - 
+      ACTION_SHARE - 
+      ACTION_UNASSIGN - 
+      ACTION_UNLINK - 
+      ACTION_UPDATE - 
+  minChangeTime: string, Select only change logs whose change time is before the specified minChangeTime.The time should be formatted as an RFC3339 date/time string. For example, for 10:54 PM on July 18th, 2015, in the America/New York time zone, the format is "2015-07-18T22:54:00-04:00". In other words, the year, month, day, the letter T, the hour (24-hour clock system), minute, second, and then the time zone offset.
+  searchString: string, Select only change logs whose object ID, user name, old or new values match the search string.
+  userProfileIds: string, Select only change logs with these user profile IDs. (repeated)
+  ids: string, Select only change logs with these IDs. (repeated)
+  objectIds: string, Select only change logs with these object IDs. (repeated)
+
+Returns:
+  An object of the form:
+
+    { # Change Log List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#changeLogsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#changeLogsListResponse".
+    "changeLogs": [ # Change log collection.
+      { # Describes a change that a user has made to a resource.
+        "changeTime": "A String", # Time when the object was modified.
+        "kind": "dfareporting#changeLog", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#changeLog".
+        "subaccountId": "A String", # Subaccount ID of the modified object.
+        "userProfileId": "A String", # ID of the user who modified the object.
+        "objectId": "A String", # ID of the object of this change log. The object could be a campaign, placement, ad, or other type.
+        "newValue": "A String", # New value of the object field.
+        "userProfileName": "A String", # User profile name of the user who modified the object.
+        "fieldName": "A String", # Field name of the object which changed.
+        "oldValue": "A String", # Old value of the object field.
+        "action": "A String", # Action which caused the change.
+        "transactionId": "A String", # Transaction ID of this change log. When a single API call results in many changes, each change will have a separate ID in the change log but will share the same transactionId.
+        "objectType": "A String", # Object type of the change log.
+        "id": "A String", # ID of this change log.
+        "accountId": "A String", # Account ID of the modified object.
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.cities.html b/docs/dyn/dfareporting_v2_2.cities.html new file mode 100644 index 00000000000..d0b51f9712d --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.cities.html @@ -0,0 +1,113 @@ + + + +

DCM/DFA Reporting And Trafficking API . cities

+

Instance Methods

+

+ list(profileId, dartIds=None, namePrefix=None, regionDartIds=None, countryDartIds=None)

+

Retrieves a list of cities, possibly filtered.

+

Method Details

+
+ list(profileId, dartIds=None, namePrefix=None, regionDartIds=None, countryDartIds=None) +
Retrieves a list of cities, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  dartIds: string, Select only cities with these DART IDs. (repeated)
+  namePrefix: string, Select only cities with names starting with this prefix.
+  regionDartIds: string, Select only cities from these regions. (repeated)
+  countryDartIds: string, Select only cities from these countries. (repeated)
+
+Returns:
+  An object of the form:
+
+    { # City List Response
+    "kind": "dfareporting#citiesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#citiesListResponse".
+    "cities": [ # City collection.
+      { # Contains information about a city that can be targeted by ads.
+        "kind": "dfareporting#city", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#city".
+        "countryDartId": "A String", # DART ID of the country to which this city belongs.
+        "name": "A String", # Name of this city.
+        "countryCode": "A String", # Country code of the country to which this city belongs.
+        "metroCode": "A String", # Metro region code of the metro region (DMA) to which this city belongs.
+        "regionCode": "A String", # Region code of the region to which this city belongs.
+        "metroDmaId": "A String", # ID of the metro region (DMA) to which this city belongs.
+        "dartId": "A String", # DART ID of this city. This is the ID used for targeting and generating reports.
+        "regionDartId": "A String", # DART ID of the region to which this city belongs.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.connectionTypes.html b/docs/dyn/dfareporting_v2_2.connectionTypes.html new file mode 100644 index 00000000000..8dff271188c --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.connectionTypes.html @@ -0,0 +1,124 @@ + + + +

DCM/DFA Reporting And Trafficking API . connectionTypes

+

Instance Methods

+

+ get(profileId, id)

+

Gets one connection type by ID.

+

+ list(profileId)

+

Retrieves a list of connection types.

+

Method Details

+
+ get(profileId, id) +
Gets one connection type by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Connection type ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains information about an internet connection type that can be targeted by ads. Clients can use the connection type to target mobile vs. broadband users.
+    "kind": "dfareporting#connectionType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#connectionType".
+    "id": "A String", # ID of this connection type.
+    "name": "A String", # Name of this connection type.
+  }
+
+ +
+ list(profileId) +
Retrieves a list of connection types.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+
+Returns:
+  An object of the form:
+
+    { # Connection Type List Response
+    "kind": "dfareporting#connectionTypesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#connectionTypesListResponse".
+    "connectionTypes": [ # Collection of connection types such as broadband and mobile.
+      { # Contains information about an internet connection type that can be targeted by ads. Clients can use the connection type to target mobile vs. broadband users.
+        "kind": "dfareporting#connectionType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#connectionType".
+        "id": "A String", # ID of this connection type.
+        "name": "A String", # Name of this connection type.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.contentCategories.html b/docs/dyn/dfareporting_v2_2.contentCategories.html new file mode 100644 index 00000000000..0af3e92c3dc --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.contentCategories.html @@ -0,0 +1,263 @@ + + + +

DCM/DFA Reporting And Trafficking API . contentCategories

+

Instance Methods

+

+ delete(profileId, id)

+

Deletes an existing content category.

+

+ get(profileId, id)

+

Gets one content category by ID.

+

+ insert(profileId, body)

+

Inserts a new content category.

+

+ list(profileId, searchString=None, pageToken=None, sortField=None, ids=None, maxResults=None, sortOrder=None)

+

Retrieves a list of content categories, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, id, body)

+

Updates an existing content category. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing content category.

+

Method Details

+
+ delete(profileId, id) +
Deletes an existing content category.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Content category ID. (required)
+
+
+ +
+ get(profileId, id) +
Gets one content category by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Content category ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Organizes placements according to the contents of their associated webpages.
+      "kind": "dfareporting#contentCategory", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#contentCategory".
+      "id": "A String", # ID of this content category. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this content category. This is a required field and must be less than 256 characters long and unique among content categories of the same account.
+      "accountId": "A String", # Account ID of this content category. This is a read-only field that can be left blank.
+    }
+
+ +
+ insert(profileId, body) +
Inserts a new content category.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Organizes placements according to the contents of their associated webpages.
+    "kind": "dfareporting#contentCategory", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#contentCategory".
+    "id": "A String", # ID of this content category. This is a read-only, auto-generated field.
+    "name": "A String", # Name of this content category. This is a required field and must be less than 256 characters long and unique among content categories of the same account.
+    "accountId": "A String", # Account ID of this content category. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Organizes placements according to the contents of their associated webpages.
+      "kind": "dfareporting#contentCategory", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#contentCategory".
+      "id": "A String", # ID of this content category. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this content category. This is a required field and must be less than 256 characters long and unique among content categories of the same account.
+      "accountId": "A String", # Account ID of this content category. This is a read-only field that can be left blank.
+    }
+
+ +
+ list(profileId, searchString=None, pageToken=None, sortField=None, ids=None, maxResults=None, sortOrder=None) +
Retrieves a list of content categories, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  searchString: string, Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "contentcategory*2015" will return objects with names like "contentcategory June 2015", "contentcategory April 2015", or simply "contentcategory 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "contentcategory" will match objects with name "my contentcategory", "contentcategory 2015", or simply "contentcategory".
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  ids: string, Select only content categories with these IDs. (repeated)
+  maxResults: integer, Maximum number of results to return.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+
+Returns:
+  An object of the form:
+
+    { # Content Category List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#contentCategoriesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#contentCategoriesListResponse".
+    "contentCategories": [ # Content category collection.
+      { # Organizes placements according to the contents of their associated webpages.
+          "kind": "dfareporting#contentCategory", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#contentCategory".
+          "id": "A String", # ID of this content category. This is a read-only, auto-generated field.
+          "name": "A String", # Name of this content category. This is a required field and must be less than 256 characters long and unique among content categories of the same account.
+          "accountId": "A String", # Account ID of this content category. This is a read-only field that can be left blank.
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, id, body) +
Updates an existing content category. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Content category ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Organizes placements according to the contents of their associated webpages.
+    "kind": "dfareporting#contentCategory", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#contentCategory".
+    "id": "A String", # ID of this content category. This is a read-only, auto-generated field.
+    "name": "A String", # Name of this content category. This is a required field and must be less than 256 characters long and unique among content categories of the same account.
+    "accountId": "A String", # Account ID of this content category. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Organizes placements according to the contents of their associated webpages.
+      "kind": "dfareporting#contentCategory", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#contentCategory".
+      "id": "A String", # ID of this content category. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this content category. This is a required field and must be less than 256 characters long and unique among content categories of the same account.
+      "accountId": "A String", # Account ID of this content category. This is a read-only field that can be left blank.
+    }
+
+ +
+ update(profileId, body) +
Updates an existing content category.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Organizes placements according to the contents of their associated webpages.
+    "kind": "dfareporting#contentCategory", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#contentCategory".
+    "id": "A String", # ID of this content category. This is a read-only, auto-generated field.
+    "name": "A String", # Name of this content category. This is a required field and must be less than 256 characters long and unique among content categories of the same account.
+    "accountId": "A String", # Account ID of this content category. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Organizes placements according to the contents of their associated webpages.
+      "kind": "dfareporting#contentCategory", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#contentCategory".
+      "id": "A String", # ID of this content category. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this content category. This is a required field and must be less than 256 characters long and unique among content categories of the same account.
+      "accountId": "A String", # Account ID of this content category. This is a read-only field that can be left blank.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.countries.html b/docs/dyn/dfareporting_v2_2.countries.html new file mode 100644 index 00000000000..e14c18a3c6c --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.countries.html @@ -0,0 +1,128 @@ + + + +

DCM/DFA Reporting And Trafficking API . countries

+

Instance Methods

+

+ get(profileId, dartId)

+

Gets one country by ID.

+

+ list(profileId)

+

Retrieves a list of countries.

+

Method Details

+
+ get(profileId, dartId) +
Gets one country by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  dartId: string, Country DART ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains information about a country that can be targeted by ads.
+    "dartId": "A String", # DART ID of this country. This is the ID used for targeting and generating reports.
+    "sslEnabled": True or False, # Whether ad serving supports secure servers in this country.
+    "kind": "dfareporting#country", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#country".
+    "countryCode": "A String", # Country code.
+    "name": "A String", # Name of this country.
+  }
+
+ +
+ list(profileId) +
Retrieves a list of countries.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+
+Returns:
+  An object of the form:
+
+    { # Country List Response
+    "kind": "dfareporting#countriesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#countriesListResponse".
+    "countries": [ # Country collection.
+      { # Contains information about a country that can be targeted by ads.
+        "dartId": "A String", # DART ID of this country. This is the ID used for targeting and generating reports.
+        "sslEnabled": True or False, # Whether ad serving supports secure servers in this country.
+        "kind": "dfareporting#country", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#country".
+        "countryCode": "A String", # Country code.
+        "name": "A String", # Name of this country.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.creativeAssets.html b/docs/dyn/dfareporting_v2_2.creativeAssets.html new file mode 100644 index 00000000000..1b37ef859b6 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.creativeAssets.html @@ -0,0 +1,185 @@ + + + +

DCM/DFA Reporting And Trafficking API . creativeAssets

+

Instance Methods

+

+ insert(profileId, advertiserId, body=None, media_body=None)

+

Inserts a new creative asset.

+

Method Details

+
+ insert(profileId, advertiserId, body=None, media_body=None) +
Inserts a new creative asset.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  advertiserId: string, Advertiser ID of this creative. This is a required field. (required)
+  body: object, The request body.
+    The object takes the form of:
+
+{ # CreativeAssets contains properties of a creative asset file which will be uploaded or has already been uploaded. Refer to the creative sample code for how to upload assets and insert a creative.
+    "warnedValidationRules": [ # Rules validated during code generation that generated a warning. This is a read-only, auto-generated field.
+        # 
+        # Possible values are:
+        # - "CLICK_TAG_NON_TOP_LEVEL"
+        # - "CLICK_TAG_MISSING"
+        # - "CLICK_TAG_MORE_THAN_ONE"
+        # - "CLICK_TAG_INVALID"
+        # - "ORPHANED_ASSET"
+        # - "PRIMARY_HTML_MISSING"
+        # - "EXTERNAL_FILE_REFERENCED"
+        # - "MRAID_REFERENCED"
+        # - "ADMOB_REFERENCED"
+        # - "FILE_TYPE_INVALID"
+        # - "ZIP_INVALID"
+        # - "LINKED_FILE_NOT_FOUND"
+        # - "MAX_FLASH_VERSION_11"
+        # - "NOT_SSL_COMPLIANT"
+        # - "FILE_DETAIL_EMPTY"
+        # - "ASSET_INVALID"
+        # - "GWD_PROPERTIES_INVALID"
+        # - "ENABLER_UNSUPPORTED_METHOD_DCM"
+        # - "ASSET_FORMAT_UNSUPPORTED_DCM"
+        # - "COMPONENT_UNSUPPORTED_DCM"
+        # - "HTML5_FEATURE_UNSUPPORTED' "
+      "A String",
+    ],
+    "clickTags": [ # List of detected click tags for assets. This is a read-only auto-generated field.
+      { # Creative Click Tag.
+        "eventName": "A String", # Advertiser event name associated with the click tag. This field is used by ENHANCED_BANNER, ENHANCED_IMAGE, and HTML5_BANNER creatives.
+        "name": "A String", # Parameter name for the specified click tag. For ENHANCED_IMAGE creative assets, this field must match the value of the creative asset's creativeAssetId.name field.
+        "value": "A String", # Parameter value for the specified click tag. This field contains a click-through url.
+      },
+    ],
+    "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field.
+      "A String",
+    ],
+    "kind": "dfareporting#creativeAssetMetadata", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeAssetMetadata".
+    "assetIdentifier": { # Creative Asset ID. # ID of the creative asset. This is a required field.
+      "type": "A String", # Type of asset to upload. This is a required field. IMAGE is solely used for IMAGE creatives. Other image assets should use HTML_IMAGE.
+      "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed.
+    },
+  }
+
+  media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
+
+Returns:
+  An object of the form:
+
+    { # CreativeAssets contains properties of a creative asset file which will be uploaded or has already been uploaded. Refer to the creative sample code for how to upload assets and insert a creative.
+      "warnedValidationRules": [ # Rules validated during code generation that generated a warning. This is a read-only, auto-generated field.
+          #
+          # Possible values are:
+          # - "CLICK_TAG_NON_TOP_LEVEL"
+          # - "CLICK_TAG_MISSING"
+          # - "CLICK_TAG_MORE_THAN_ONE"
+          # - "CLICK_TAG_INVALID"
+          # - "ORPHANED_ASSET"
+          # - "PRIMARY_HTML_MISSING"
+          # - "EXTERNAL_FILE_REFERENCED"
+          # - "MRAID_REFERENCED"
+          # - "ADMOB_REFERENCED"
+          # - "FILE_TYPE_INVALID"
+          # - "ZIP_INVALID"
+          # - "LINKED_FILE_NOT_FOUND"
+          # - "MAX_FLASH_VERSION_11"
+          # - "NOT_SSL_COMPLIANT"
+          # - "FILE_DETAIL_EMPTY"
+          # - "ASSET_INVALID"
+          # - "GWD_PROPERTIES_INVALID"
+          # - "ENABLER_UNSUPPORTED_METHOD_DCM"
+          # - "ASSET_FORMAT_UNSUPPORTED_DCM"
+          # - "COMPONENT_UNSUPPORTED_DCM"
+          # - "HTML5_FEATURE_UNSUPPORTED' "
+        "A String",
+      ],
+      "clickTags": [ # List of detected click tags for assets. This is a read-only auto-generated field.
+        { # Creative Click Tag.
+          "eventName": "A String", # Advertiser event name associated with the click tag. This field is used by ENHANCED_BANNER, ENHANCED_IMAGE, and HTML5_BANNER creatives.
+          "name": "A String", # Parameter name for the specified click tag. For ENHANCED_IMAGE creative assets, this field must match the value of the creative asset's creativeAssetId.name field.
+          "value": "A String", # Parameter value for the specified click tag. This field contains a click-through url.
+        },
+      ],
+      "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field.
+        "A String",
+      ],
+      "kind": "dfareporting#creativeAssetMetadata", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeAssetMetadata".
+      "assetIdentifier": { # Creative Asset ID. # ID of the creative asset. This is a required field.
+        "type": "A String", # Type of asset to upload. This is a required field. IMAGE is solely used for IMAGE creatives. Other image assets should use HTML_IMAGE.
+        "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed.
+      },
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.creativeFieldValues.html b/docs/dyn/dfareporting_v2_2.creativeFieldValues.html new file mode 100644 index 00000000000..bcc446582ea --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.creativeFieldValues.html @@ -0,0 +1,261 @@ + + + +

DCM/DFA Reporting And Trafficking API . creativeFieldValues

+

Instance Methods

+

+ delete(profileId, creativeFieldId, id)

+

Deletes an existing creative field value.

+

+ get(profileId, creativeFieldId, id)

+

Gets one creative field value by ID.

+

+ insert(profileId, creativeFieldId, body)

+

Inserts a new creative field value.

+

+ list(profileId, creativeFieldId, searchString=None, sortField=None, ids=None, maxResults=None, pageToken=None, sortOrder=None)

+

Retrieves a list of creative field values, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, creativeFieldId, id, body)

+

Updates an existing creative field value. This method supports patch semantics.

+

+ update(profileId, creativeFieldId, body)

+

Updates an existing creative field value.

+

Method Details

+
+ delete(profileId, creativeFieldId, id) +
Deletes an existing creative field value.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  creativeFieldId: string, Creative field ID for this creative field value. (required)
+  id: string, Creative Field Value ID (required)
+
+
+ +
+ get(profileId, creativeFieldId, id) +
Gets one creative field value by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  creativeFieldId: string, Creative field ID for this creative field value. (required)
+  id: string, Creative Field Value ID (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a creative field value.
+      "kind": "dfareporting#creativeFieldValue", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeFieldValue".
+      "id": "A String", # ID of this creative field value. This is a read-only, auto-generated field.
+      "value": "A String", # Value of this creative field value. It needs to be less than 256 characters in length and unique per creative field.
+    }
+
+ +
+ insert(profileId, creativeFieldId, body) +
Inserts a new creative field value.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  creativeFieldId: string, Creative field ID for this creative field value. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a creative field value.
+    "kind": "dfareporting#creativeFieldValue", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeFieldValue".
+    "id": "A String", # ID of this creative field value. This is a read-only, auto-generated field.
+    "value": "A String", # Value of this creative field value. It needs to be less than 256 characters in length and unique per creative field.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a creative field value.
+      "kind": "dfareporting#creativeFieldValue", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeFieldValue".
+      "id": "A String", # ID of this creative field value. This is a read-only, auto-generated field.
+      "value": "A String", # Value of this creative field value. It needs to be less than 256 characters in length and unique per creative field.
+    }
+
+ +
+ list(profileId, creativeFieldId, searchString=None, sortField=None, ids=None, maxResults=None, pageToken=None, sortOrder=None) +
Retrieves a list of creative field values, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  creativeFieldId: string, Creative field ID for this creative field value. (required)
+  searchString: string, Allows searching for creative field values by their values. Wildcards (e.g. *) are not allowed.
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      VALUE - 
+  ids: string, Select only creative field values with these IDs. (repeated)
+  maxResults: integer, Maximum number of results to return.
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+
+Returns:
+  An object of the form:
+
+    { # Creative Field Value List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#creativeFieldValuesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeFieldValuesListResponse".
+    "creativeFieldValues": [ # Creative field value collection.
+      { # Contains properties of a creative field value.
+          "kind": "dfareporting#creativeFieldValue", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeFieldValue".
+          "id": "A String", # ID of this creative field value. This is a read-only, auto-generated field.
+          "value": "A String", # Value of this creative field value. It needs to be less than 256 characters in length and unique per creative field.
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, creativeFieldId, id, body) +
Updates an existing creative field value. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  creativeFieldId: string, Creative field ID for this creative field value. (required)
+  id: string, Creative Field Value ID (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a creative field value.
+    "kind": "dfareporting#creativeFieldValue", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeFieldValue".
+    "id": "A String", # ID of this creative field value. This is a read-only, auto-generated field.
+    "value": "A String", # Value of this creative field value. It needs to be less than 256 characters in length and unique per creative field.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a creative field value.
+      "kind": "dfareporting#creativeFieldValue", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeFieldValue".
+      "id": "A String", # ID of this creative field value. This is a read-only, auto-generated field.
+      "value": "A String", # Value of this creative field value. It needs to be less than 256 characters in length and unique per creative field.
+    }
+
+ +
+ update(profileId, creativeFieldId, body) +
Updates an existing creative field value.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  creativeFieldId: string, Creative field ID for this creative field value. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a creative field value.
+    "kind": "dfareporting#creativeFieldValue", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeFieldValue".
+    "id": "A String", # ID of this creative field value. This is a read-only, auto-generated field.
+    "value": "A String", # Value of this creative field value. It needs to be less than 256 characters in length and unique per creative field.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a creative field value.
+      "kind": "dfareporting#creativeFieldValue", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeFieldValue".
+      "id": "A String", # ID of this creative field value. This is a read-only, auto-generated field.
+      "value": "A String", # Value of this creative field value. It needs to be less than 256 characters in length and unique per creative field.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.creativeFields.html b/docs/dyn/dfareporting_v2_2.creativeFields.html new file mode 100644 index 00000000000..b2ffd72ce64 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.creativeFields.html @@ -0,0 +1,344 @@ + + + +

DCM/DFA Reporting And Trafficking API . creativeFields

+

Instance Methods

+

+ delete(profileId, id)

+

Deletes an existing creative field.

+

+ get(profileId, id)

+

Gets one creative field by ID.

+

+ insert(profileId, body)

+

Inserts a new creative field.

+

+ list(profileId, searchString=None, pageToken=None, sortField=None, advertiserIds=None, ids=None, maxResults=None, sortOrder=None)

+

Retrieves a list of creative fields, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, id, body)

+

Updates an existing creative field. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing creative field.

+

Method Details

+
+ delete(profileId, id) +
Deletes an existing creative field.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Creative Field ID (required)
+
+
+ +
+ get(profileId, id) +
Gets one creative field by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Creative Field ID (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a creative field.
+      "kind": "dfareporting#creativeField", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeField".
+      "subaccountId": "A String", # Subaccount ID of this creative field. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this creative field. This is a required field and must be less than 256 characters long and unique among creative fields of the same advertiser.
+      "advertiserId": "A String", # Advertiser ID of this creative field. This is a required field on insertion.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # ID of this creative field. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this creative field. This is a read-only field that can be left blank.
+    }
+
+ +
+ insert(profileId, body) +
Inserts a new creative field.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a creative field.
+    "kind": "dfareporting#creativeField", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeField".
+    "subaccountId": "A String", # Subaccount ID of this creative field. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this creative field. This is a required field and must be less than 256 characters long and unique among creative fields of the same advertiser.
+    "advertiserId": "A String", # Advertiser ID of this creative field. This is a required field on insertion.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "id": "A String", # ID of this creative field. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this creative field. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a creative field.
+      "kind": "dfareporting#creativeField", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeField".
+      "subaccountId": "A String", # Subaccount ID of this creative field. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this creative field. This is a required field and must be less than 256 characters long and unique among creative fields of the same advertiser.
+      "advertiserId": "A String", # Advertiser ID of this creative field. This is a required field on insertion.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # ID of this creative field. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this creative field. This is a read-only field that can be left blank.
+    }
+
+ +
+ list(profileId, searchString=None, pageToken=None, sortField=None, advertiserIds=None, ids=None, maxResults=None, sortOrder=None) +
Retrieves a list of creative fields, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  searchString: string, Allows searching for creative fields by name or ID. Wildcards (*) are allowed. For example, "creativefield*2015" will return creative fields with names like "creativefield June 2015", "creativefield April 2015", or simply "creativefield 2015". Most of the searches also add wild-cards implicitly at the start and the end of the search string. For example, a search string of "creativefield" will match creative fields with the name "my creativefield", "creativefield 2015", or simply "creativefield".
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  advertiserIds: string, Select only creative fields that belong to these advertisers. (repeated)
+  ids: string, Select only creative fields with these IDs. (repeated)
+  maxResults: integer, Maximum number of results to return.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+
+Returns:
+  An object of the form:
+
+    { # Creative Field List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "creativeFields": [ # Creative field collection.
+      { # Contains properties of a creative field.
+          "kind": "dfareporting#creativeField", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeField".
+          "subaccountId": "A String", # Subaccount ID of this creative field. This is a read-only field that can be left blank.
+          "name": "A String", # Name of this creative field. This is a required field and must be less than 256 characters long and unique among creative fields of the same advertiser.
+          "advertiserId": "A String", # Advertiser ID of this creative field. This is a required field on insertion.
+          "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "id": "A String", # ID of this creative field. This is a read-only, auto-generated field.
+          "accountId": "A String", # Account ID of this creative field. This is a read-only field that can be left blank.
+        },
+    ],
+    "kind": "dfareporting#creativeFieldsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeFieldsListResponse".
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, id, body) +
Updates an existing creative field. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Creative Field ID (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a creative field.
+    "kind": "dfareporting#creativeField", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeField".
+    "subaccountId": "A String", # Subaccount ID of this creative field. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this creative field. This is a required field and must be less than 256 characters long and unique among creative fields of the same advertiser.
+    "advertiserId": "A String", # Advertiser ID of this creative field. This is a required field on insertion.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "id": "A String", # ID of this creative field. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this creative field. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a creative field.
+      "kind": "dfareporting#creativeField", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeField".
+      "subaccountId": "A String", # Subaccount ID of this creative field. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this creative field. This is a required field and must be less than 256 characters long and unique among creative fields of the same advertiser.
+      "advertiserId": "A String", # Advertiser ID of this creative field. This is a required field on insertion.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # ID of this creative field. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this creative field. This is a read-only field that can be left blank.
+    }
+
+ +
+ update(profileId, body) +
Updates an existing creative field.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a creative field.
+    "kind": "dfareporting#creativeField", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeField".
+    "subaccountId": "A String", # Subaccount ID of this creative field. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this creative field. This is a required field and must be less than 256 characters long and unique among creative fields of the same advertiser.
+    "advertiserId": "A String", # Advertiser ID of this creative field. This is a required field on insertion.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "id": "A String", # ID of this creative field. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this creative field. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a creative field.
+      "kind": "dfareporting#creativeField", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeField".
+      "subaccountId": "A String", # Subaccount ID of this creative field. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this creative field. This is a required field and must be less than 256 characters long and unique among creative fields of the same advertiser.
+      "advertiserId": "A String", # Advertiser ID of this creative field. This is a required field on insertion.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # ID of this creative field. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this creative field. This is a read-only field that can be left blank.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.creativeGroups.html b/docs/dyn/dfareporting_v2_2.creativeGroups.html new file mode 100644 index 00000000000..13760b8ba61 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.creativeGroups.html @@ -0,0 +1,364 @@ + + + +

DCM/DFA Reporting And Trafficking API . creativeGroups

+

Instance Methods

+

+ get(profileId, id)

+

Gets one creative group by ID.

+

+ insert(profileId, body)

+

Inserts a new creative group.

+

+ list(profileId, searchString=None, pageToken=None, sortField=None, advertiserIds=None, groupNumber=None, maxResults=None, ids=None, sortOrder=None)

+

Retrieves a list of creative groups, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, id, body)

+

Updates an existing creative group. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing creative group.

+

Method Details

+
+ get(profileId, id) +
Gets one creative group by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Creative group ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a creative group.
+      "kind": "dfareporting#creativeGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeGroup".
+      "subaccountId": "A String", # Subaccount ID of this creative group. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this creative group. This is a required field and must be less than 256 characters long and unique among creative groups of the same advertiser.
+      "groupNumber": 42, # Subgroup of the creative group. Assign your creative groups to one of the following subgroups in order to filter or manage them more easily. This field is required on insertion and is read-only after insertion.
+          # Acceptable values are:
+          # - 1
+          # - 2
+      "advertiserId": "A String", # Advertiser ID of this creative group. This is a required field on insertion.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # ID of this creative group. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this creative group. This is a read-only field that can be left blank.
+    }
+
+ +
+ insert(profileId, body) +
Inserts a new creative group.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a creative group.
+    "kind": "dfareporting#creativeGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeGroup".
+    "subaccountId": "A String", # Subaccount ID of this creative group. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this creative group. This is a required field and must be less than 256 characters long and unique among creative groups of the same advertiser.
+    "groupNumber": 42, # Subgroup of the creative group. Assign your creative groups to one of the following subgroups in order to filter or manage them more easily. This field is required on insertion and is read-only after insertion.
+        # Acceptable values are:
+        # - 1
+        # - 2
+    "advertiserId": "A String", # Advertiser ID of this creative group. This is a required field on insertion.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "id": "A String", # ID of this creative group. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this creative group. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a creative group.
+      "kind": "dfareporting#creativeGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeGroup".
+      "subaccountId": "A String", # Subaccount ID of this creative group. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this creative group. This is a required field and must be less than 256 characters long and unique among creative groups of the same advertiser.
+      "groupNumber": 42, # Subgroup of the creative group. Assign your creative groups to one of the following subgroups in order to filter or manage them more easily. This field is required on insertion and is read-only after insertion.
+          # Acceptable values are:
+          # - 1
+          # - 2
+      "advertiserId": "A String", # Advertiser ID of this creative group. This is a required field on insertion.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # ID of this creative group. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this creative group. This is a read-only field that can be left blank.
+    }
+
+ +
+ list(profileId, searchString=None, pageToken=None, sortField=None, advertiserIds=None, groupNumber=None, maxResults=None, ids=None, sortOrder=None) +
Retrieves a list of creative groups, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  searchString: string, Allows searching for creative groups by name or ID. Wildcards (*) are allowed. For example, "creativegroup*2015" will return creative groups with names like "creativegroup June 2015", "creativegroup April 2015", or simply "creativegroup 2015". Most of the searches also add wild-cards implicitly at the start and the end of the search string. For example, a search string of "creativegroup" will match creative groups with the name "my creativegroup", "creativegroup 2015", or simply "creativegroup".
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  advertiserIds: string, Select only creative groups that belong to these advertisers. (repeated)
+  groupNumber: integer, Select only creative groups that belong to this subgroup.
+  maxResults: integer, Maximum number of results to return.
+  ids: string, Select only creative groups with these IDs. (repeated)
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+
+Returns:
+  An object of the form:
+
+    { # Creative Group List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "creativeGroups": [ # Creative group collection.
+      { # Contains properties of a creative group.
+          "kind": "dfareporting#creativeGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeGroup".
+          "subaccountId": "A String", # Subaccount ID of this creative group. This is a read-only field that can be left blank.
+          "name": "A String", # Name of this creative group. This is a required field and must be less than 256 characters long and unique among creative groups of the same advertiser.
+          "groupNumber": 42, # Subgroup of the creative group. Assign your creative groups to one of the following subgroups in order to filter or manage them more easily. This field is required on insertion and is read-only after insertion.
+              # Acceptable values are:
+              # - 1
+              # - 2
+          "advertiserId": "A String", # Advertiser ID of this creative group. This is a required field on insertion.
+          "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "id": "A String", # ID of this creative group. This is a read-only, auto-generated field.
+          "accountId": "A String", # Account ID of this creative group. This is a read-only field that can be left blank.
+        },
+    ],
+    "kind": "dfareporting#creativeGroupsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeGroupsListResponse".
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, id, body) +
Updates an existing creative group. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Creative group ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a creative group.
+    "kind": "dfareporting#creativeGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeGroup".
+    "subaccountId": "A String", # Subaccount ID of this creative group. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this creative group. This is a required field and must be less than 256 characters long and unique among creative groups of the same advertiser.
+    "groupNumber": 42, # Subgroup of the creative group. Assign your creative groups to one of the following subgroups in order to filter or manage them more easily. This field is required on insertion and is read-only after insertion.
+        # Acceptable values are:
+        # - 1
+        # - 2
+    "advertiserId": "A String", # Advertiser ID of this creative group. This is a required field on insertion.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "id": "A String", # ID of this creative group. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this creative group. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a creative group.
+      "kind": "dfareporting#creativeGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeGroup".
+      "subaccountId": "A String", # Subaccount ID of this creative group. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this creative group. This is a required field and must be less than 256 characters long and unique among creative groups of the same advertiser.
+      "groupNumber": 42, # Subgroup of the creative group. Assign your creative groups to one of the following subgroups in order to filter or manage them more easily. This field is required on insertion and is read-only after insertion.
+          # Acceptable values are:
+          # - 1
+          # - 2
+      "advertiserId": "A String", # Advertiser ID of this creative group. This is a required field on insertion.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # ID of this creative group. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this creative group. This is a read-only field that can be left blank.
+    }
+
+ +
+ update(profileId, body) +
Updates an existing creative group.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a creative group.
+    "kind": "dfareporting#creativeGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeGroup".
+    "subaccountId": "A String", # Subaccount ID of this creative group. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this creative group. This is a required field and must be less than 256 characters long and unique among creative groups of the same advertiser.
+    "groupNumber": 42, # Subgroup of the creative group. Assign your creative groups to one of the following subgroups in order to filter or manage them more easily. This field is required on insertion and is read-only after insertion.
+        # Acceptable values are:
+        # - 1
+        # - 2
+    "advertiserId": "A String", # Advertiser ID of this creative group. This is a required field on insertion.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "id": "A String", # ID of this creative group. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this creative group. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a creative group.
+      "kind": "dfareporting#creativeGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativeGroup".
+      "subaccountId": "A String", # Subaccount ID of this creative group. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this creative group. This is a required field and must be less than 256 characters long and unique among creative groups of the same advertiser.
+      "groupNumber": 42, # Subgroup of the creative group. Assign your creative groups to one of the following subgroups in order to filter or manage them more easily. This field is required on insertion and is read-only after insertion.
+          # Acceptable values are:
+          # - 1
+          # - 2
+      "advertiserId": "A String", # Advertiser ID of this creative group. This is a required field on insertion.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # ID of this creative group. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this creative group. This is a read-only field that can be left blank.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.creatives.html b/docs/dyn/dfareporting_v2_2.creatives.html new file mode 100644 index 00000000000..68289d64654 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.creatives.html @@ -0,0 +1,2853 @@ + + + +

DCM/DFA Reporting And Trafficking API . creatives

+

Instance Methods

+

+ get(profileId, id)

+

Gets one creative by ID.

+

+ insert(profileId, body)

+

Inserts a new creative.

+

+ list(profileId, campaignId=None, advertiserId=None, sizeIds=None, archived=None, pageToken=None, sortOrder=None, renderingIds=None, maxResults=None, active=None, companionCreativeIds=None, types=None, searchString=None, ids=None, studioCreativeId=None, sortField=None, creativeFieldIds=None)

+

Retrieves a list of creatives, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, id, body)

+

Updates an existing creative. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing creative.

+

Method Details

+
+ get(profileId, id) +
Gets one creative by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Creative ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a Creative.
+      "artworkType": "A String", # Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "latestTraffickedCreativeId": "A String", # Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "videoDescription": "A String", # Description of the video ad. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+      "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types.
+      "requiredFlashPluginVersion": "A String", # The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA
+      "timerCustomEvents": [ # List of timer events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+        { # Creative Custom Event.
+          "targetType": "A String", # Target type used by the event.
+          "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+          "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+          "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+            "showStatusBar": True or False, # Whether to display the browser status bar.
+            "showScrollBar": True or False, # Whether to display the browser scroll bar.
+            "showAddressBar": True or False, # Whether to display the browser address bar.
+            "showMenuBar": True or False, # Whether to display the browser menu bar.
+            "title": "A String", # Title of popup window.
+            "showToolBar": True or False, # Whether to display the browser tool bar.
+            "positionType": "A String", # Popup window position either centered or at specific coordinate.
+            "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+              "top": 42, # Offset distance from top side of an asset or a window.
+              "left": 42, # Offset distance from left side of an asset or a window.
+            },
+            "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+              "width": 42, # Width of this size.
+              "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+              "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+              "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+              "height": 42, # Height of this size.
+            },
+          },
+          "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+          "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+          "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventName": "A String", # User-entered name for the event.
+        },
+      ],
+      "renderingIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "fsCommand": { # FsCommand. # OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE.
+        "windowHeight": 42, # Height of the window.
+        "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.
+        "windowWidth": 42, # Width of the window.
+        "positionOption": "A String", # Position in the browser where the window will open.
+        "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.
+      },
+      "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types.
+      "accountId": "A String", # Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.
+      "studioTraffickedCreativeId": "A String", # Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "archived": True or False, # Whether the creative is archived. Applicable to all creative types.
+      "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA.
+      "thirdPartyUrls": [ # Third-party URLs for tracking in-stream video creative events. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        { # Third-party Tracking URL.
+          "url": "A String", # URL for the specified third-party URL type.
+          "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video creatives.
+        },
+      ],
+      "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by DoubleClick Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, ENHANCED_BANNER, all RICH_MEDIA, and all VPAID.
+      "exitCustomEvents": [ # List of exit events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+        { # Creative Custom Event.
+          "targetType": "A String", # Target type used by the event.
+          "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+          "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+          "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+            "showStatusBar": True or False, # Whether to display the browser status bar.
+            "showScrollBar": True or False, # Whether to display the browser scroll bar.
+            "showAddressBar": True or False, # Whether to display the browser address bar.
+            "showMenuBar": True or False, # Whether to display the browser menu bar.
+            "title": "A String", # Title of popup window.
+            "showToolBar": True or False, # Whether to display the browser tool bar.
+            "positionType": "A String", # Popup window position either centered or at specific coordinate.
+            "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+              "top": 42, # Offset distance from top side of an asset or a window.
+              "left": 42, # Offset distance from left side of an asset or a window.
+            },
+            "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+              "width": 42, # Width of this size.
+              "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+              "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+              "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+              "height": 42, # Height of this size.
+            },
+          },
+          "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+          "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+          "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventName": "A String", # User-entered name for the event.
+        },
+      ],
+      "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types.
+      "counterCustomEvents": [ # List of counter events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+        { # Creative Custom Event.
+          "targetType": "A String", # Target type used by the event.
+          "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+          "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+          "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+            "showStatusBar": True or False, # Whether to display the browser status bar.
+            "showScrollBar": True or False, # Whether to display the browser scroll bar.
+            "showAddressBar": True or False, # Whether to display the browser address bar.
+            "showMenuBar": True or False, # Whether to display the browser menu bar.
+            "title": "A String", # Title of popup window.
+            "showToolBar": True or False, # Whether to display the browser tool bar.
+            "positionType": "A String", # Popup window position either centered or at specific coordinate.
+            "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+              "top": 42, # Offset distance from top side of an asset or a window.
+              "left": 42, # Offset distance from left side of an asset or a window.
+            },
+            "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+              "width": 42, # Width of this size.
+              "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+              "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+              "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+              "height": 42, # Height of this size.
+            },
+          },
+          "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+          "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+          "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventName": "A String", # User-entered name for the event.
+        },
+      ],
+      "backupImageReportingLabel": "A String", # Reporting label used for HTML5 banner backup image. Applicable to the following creative types: ENHANCED_BANNER.
+      "version": 42, # The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types.
+      "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types.
+        { # Creative Field Assignment.
+          "creativeFieldId": "A String", # ID of the creative field.
+          "creativeFieldValueId": "A String", # ID of the creative field value.
+        },
+      ],
+      "backgroundColor": "A String", # The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE.
+      "customKeyValues": [ # Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+        "A String",
+      ],
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is false. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA.
+      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE and FLASH_INPAGE creatives, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA.
+        "width": 42, # Width of this size.
+        "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+        "height": 42, # Height of this size.
+      },
+      "type": "A String", # Type of this creative.This is a required field. Applicable to all creative types.
+      "totalFileSize": "A String", # Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA
+      "studioAdvertiserId": "A String", # Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT
+        { # Creative Asset.
+          "mimeType": "A String", # Detected MIME type for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+          "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+          "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN.
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+          "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, ENHANCED_BANNER, all RICH_MEDIA, and all VPAID.
+          "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.
+          "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA.
+          "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: ENHANCED_BANNER and HTML5_BANNER.
+            "A String",
+          ],
+          "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_VIDEO and VPAID_LINEAR.
+          "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA.
+          "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+          "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_MULTI_FLOATING.
+          "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE creatives, if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA.
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+          "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+          "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA.
+          "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+          "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+          "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+          "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field.
+              # PRIMARY applies to ENHANCED_BANNER, FLASH_INPAGE, HTML5_BANNER, IMAGE, IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives.
+              # BACKUP_IMAGE applies to ENHANCED_BANNER, FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives.
+              # ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives.
+              # OTHER refers to assets from sources other than DCM, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives.
+              # PARENT_VIDEO refers to videos uploaded by the user in DCM and is applicable to INSTREAM_VIDEO and VPAID_LINEAR creatives.
+              # TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR creatives.
+              # ALTERNATE_VIDEO refers to the DCM representation of child asset videos from Studio, and is applicable to VPAID_LINEAR creatives. These cannot be added or removed within DCM.
+              # For VPAID_LINEAR creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR creative.
+          "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+          "bitRate": 42, # Detected bit-rate for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_INPAGE, and RICH_MEDIA_INPAGE_FLOATING.
+          "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA.
+          "videoDuration": 3.14, # Detected video duration for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+          "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+          "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN.
+            "top": 42, # Offset distance from top side of an asset or a window.
+            "left": 42, # Offset distance from left side of an asset or a window.
+          },
+          "active": True or False, # Whether the video asset is active. This is a read-only field for VPAID_NON_LINEAR assets. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "originalBackup": True or False, # Whether the backup asset is original or changed by the user in DCM. Applicable to the following creative types: all RICH_MEDIA.
+          "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA.
+          "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "zIndex": 42, # zIndex value of an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY.
+          "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID.
+          "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA.
+            "targetType": "A String", # Target type used by the event.
+            "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+            "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+            "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+              "showStatusBar": True or False, # Whether to display the browser status bar.
+              "showScrollBar": True or False, # Whether to display the browser scroll bar.
+              "showAddressBar": True or False, # Whether to display the browser address bar.
+              "showMenuBar": True or False, # Whether to display the browser menu bar.
+              "title": "A String", # Title of popup window.
+              "showToolBar": True or False, # Whether to display the browser tool bar.
+              "positionType": "A String", # Popup window position either centered or at specific coordinate.
+              "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+                "top": 42, # Offset distance from top side of an asset or a window.
+                "left": 42, # Offset distance from left side of an asset or a window.
+              },
+              "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+                "width": 42, # Width of this size.
+                "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+                "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+                "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+                "height": 42, # Height of this size.
+              },
+            },
+            "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+            "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+            "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+            "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+            "advertiserCustomEventName": "A String", # User-entered name for the event.
+          },
+          "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE and ENHANCED_BANNER.
+          "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Must be between 0 and 9.99. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.
+          "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+            "type": "A String", # Type of asset to upload. This is a required field. IMAGE is solely used for IMAGE creatives. Other image assets should use HTML_IMAGE.
+            "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed.
+          },
+          "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets.
+          "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+          "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA.
+            "top": 42, # Offset distance from top side of an asset or a window.
+            "left": 42, # Offset distance from left side of an asset or a window.
+          },
+          "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA.
+        },
+      ],
+      "redirectUrl": "A String", # URL of hosted image or another ad tag. This is a required field when applicable. Applicable to the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT
+      "videoDuration": 3.14, # Creative video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, all RICH_MEDIA, and all VPAID.
+      "htmlCodeLocked": True or False, # Whether HTML code is DCM-generated or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER.
+      "convertFlashToHtml5": True or False, # Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative types: ENHANCED_BANNER and FLASH_INPAGE.
+      "clickTags": [ # Click tags of the creative. For ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For ENHANCED_IMAGE creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER.
+        { # Creative Click Tag.
+          "eventName": "A String", # Advertiser event name associated with the click tag. This field is used by ENHANCED_BANNER, ENHANCED_IMAGE, and HTML5_BANNER creatives.
+          "name": "A String", # Parameter name for the specified click tag. For ENHANCED_IMAGE creative assets, this field must match the value of the creative asset's creativeAssetId.name field.
+          "value": "A String", # Parameter value for the specified click tag. This field contains a click-through url.
+        },
+      ],
+      "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+      "active": True or False, # Whether the creative is active. Applicable to all creative types.
+      "compatibility": [ # Compatibilities associated with this creative. This is a read-only field. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. Applicable to all creative types.
+          #
+          # Acceptable values are:
+          # - "APP"
+          # - "APP_INTERSTITIAL"
+          # - "IN_STREAM_VIDEO"
+          # - "WEB"
+          # - "WEB_INTERSTITIAL"
+        "A String",
+      ],
+      "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID.
+      "adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+        "A String",
+      ],
+      "kind": "dfareporting#creative", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative".
+      "subaccountId": "A String", # Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.
+      "name": "A String", # Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types.
+      "sslOverride": True or False, # Whether creative should be treated as SSL compliant even if the system scan shows it's not.
+      "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "backupImageClickThroughUrl": "A String", # Click-through URL for backup image. Applicable to the following creative types: ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER.
+      "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types.
+      "studioCreativeId": "A String", # Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+      "allowScriptAccess": True or False, # Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE.
+      "companionCreatives": [ # List of companion creatives assigned to an in-Stream videocreative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "A String",
+      ],
+      "auto_advance_images": True or False, # Whether images are automatically advanced for enhanced image creatives. Applicable to the following creative types: ENHANCED_IMAGE.
+      "backupImageFeatures": [ # List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by DCM for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: ENHANCED_BANNER and HTML5_BANNER.
+        "A String",
+      ],
+      "backupImageTargetWindow": { # Target Window. # Target window for backup image. Applicable to the following creative types: ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER.
+        "customHtml": "A String", # User-entered value.
+        "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed.
+      },
+      "skippable": True or False, # Whether the user can choose to skip the creative. Applicable to the following creative types: INSTREAM_VIDEO.
+    }
+
+ +
+ insert(profileId, body) +
Inserts a new creative.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a Creative.
+    "artworkType": "A String", # Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "latestTraffickedCreativeId": "A String", # Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "videoDescription": "A String", # Description of the video ad. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+    "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types.
+    "requiredFlashPluginVersion": "A String", # The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA
+    "timerCustomEvents": [ # List of timer events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      { # Creative Custom Event.
+        "targetType": "A String", # Target type used by the event.
+        "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+        "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+        "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+          "showStatusBar": True or False, # Whether to display the browser status bar.
+          "showScrollBar": True or False, # Whether to display the browser scroll bar.
+          "showAddressBar": True or False, # Whether to display the browser address bar.
+          "showMenuBar": True or False, # Whether to display the browser menu bar.
+          "title": "A String", # Title of popup window.
+          "showToolBar": True or False, # Whether to display the browser tool bar.
+          "positionType": "A String", # Popup window position either centered or at specific coordinate.
+          "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+            "top": 42, # Offset distance from top side of an asset or a window.
+            "left": 42, # Offset distance from left side of an asset or a window.
+          },
+          "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+        },
+        "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+        "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+        "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+        "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+        "advertiserCustomEventName": "A String", # User-entered name for the event.
+      },
+    ],
+    "renderingIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "fsCommand": { # FsCommand. # OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE.
+      "windowHeight": 42, # Height of the window.
+      "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.
+      "windowWidth": 42, # Width of the window.
+      "positionOption": "A String", # Position in the browser where the window will open.
+      "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.
+    },
+    "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types.
+    "accountId": "A String", # Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.
+    "studioTraffickedCreativeId": "A String", # Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "archived": True or False, # Whether the creative is archived. Applicable to all creative types.
+    "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA.
+    "thirdPartyUrls": [ # Third-party URLs for tracking in-stream video creative events. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+      { # Third-party Tracking URL.
+        "url": "A String", # URL for the specified third-party URL type.
+        "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video creatives.
+      },
+    ],
+    "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by DoubleClick Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, ENHANCED_BANNER, all RICH_MEDIA, and all VPAID.
+    "exitCustomEvents": [ # List of exit events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      { # Creative Custom Event.
+        "targetType": "A String", # Target type used by the event.
+        "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+        "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+        "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+          "showStatusBar": True or False, # Whether to display the browser status bar.
+          "showScrollBar": True or False, # Whether to display the browser scroll bar.
+          "showAddressBar": True or False, # Whether to display the browser address bar.
+          "showMenuBar": True or False, # Whether to display the browser menu bar.
+          "title": "A String", # Title of popup window.
+          "showToolBar": True or False, # Whether to display the browser tool bar.
+          "positionType": "A String", # Popup window position either centered or at specific coordinate.
+          "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+            "top": 42, # Offset distance from top side of an asset or a window.
+            "left": 42, # Offset distance from left side of an asset or a window.
+          },
+          "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+        },
+        "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+        "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+        "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+        "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+        "advertiserCustomEventName": "A String", # User-entered name for the event.
+      },
+    ],
+    "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types.
+    "counterCustomEvents": [ # List of counter events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      { # Creative Custom Event.
+        "targetType": "A String", # Target type used by the event.
+        "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+        "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+        "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+          "showStatusBar": True or False, # Whether to display the browser status bar.
+          "showScrollBar": True or False, # Whether to display the browser scroll bar.
+          "showAddressBar": True or False, # Whether to display the browser address bar.
+          "showMenuBar": True or False, # Whether to display the browser menu bar.
+          "title": "A String", # Title of popup window.
+          "showToolBar": True or False, # Whether to display the browser tool bar.
+          "positionType": "A String", # Popup window position either centered or at specific coordinate.
+          "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+            "top": 42, # Offset distance from top side of an asset or a window.
+            "left": 42, # Offset distance from left side of an asset or a window.
+          },
+          "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+        },
+        "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+        "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+        "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+        "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+        "advertiserCustomEventName": "A String", # User-entered name for the event.
+      },
+    ],
+    "backupImageReportingLabel": "A String", # Reporting label used for HTML5 banner backup image. Applicable to the following creative types: ENHANCED_BANNER.
+    "version": 42, # The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types.
+    "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types.
+      { # Creative Field Assignment.
+        "creativeFieldId": "A String", # ID of the creative field.
+        "creativeFieldValueId": "A String", # ID of the creative field value.
+      },
+    ],
+    "backgroundColor": "A String", # The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE.
+    "customKeyValues": [ # Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "A String",
+    ],
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is false. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA.
+    "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE and FLASH_INPAGE creatives, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA.
+      "width": 42, # Width of this size.
+      "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+      "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+      "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+      "height": 42, # Height of this size.
+    },
+    "type": "A String", # Type of this creative.This is a required field. Applicable to all creative types.
+    "totalFileSize": "A String", # Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA
+    "studioAdvertiserId": "A String", # Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT
+      { # Creative Asset.
+        "mimeType": "A String", # Detected MIME type for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+        "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+        "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN.
+          "width": 42, # Width of this size.
+          "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+          "height": 42, # Height of this size.
+        },
+        "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, ENHANCED_BANNER, all RICH_MEDIA, and all VPAID.
+        "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.
+        "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA.
+        "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: ENHANCED_BANNER and HTML5_BANNER.
+          "A String",
+        ],
+        "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_VIDEO and VPAID_LINEAR.
+        "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA.
+        "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+        "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_MULTI_FLOATING.
+        "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE creatives, if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA.
+          "width": 42, # Width of this size.
+          "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+          "height": 42, # Height of this size.
+        },
+        "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+        "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA.
+        "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+        "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "width": 42, # Width of this size.
+          "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+          "height": 42, # Height of this size.
+        },
+        "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+        "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field.
+            # PRIMARY applies to ENHANCED_BANNER, FLASH_INPAGE, HTML5_BANNER, IMAGE, IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives.
+            # BACKUP_IMAGE applies to ENHANCED_BANNER, FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives.
+            # ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives.
+            # OTHER refers to assets from sources other than DCM, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives.
+            # PARENT_VIDEO refers to videos uploaded by the user in DCM and is applicable to INSTREAM_VIDEO and VPAID_LINEAR creatives.
+            # TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR creatives.
+            # ALTERNATE_VIDEO refers to the DCM representation of child asset videos from Studio, and is applicable to VPAID_LINEAR creatives. These cannot be added or removed within DCM.
+            # For VPAID_LINEAR creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR creative.
+        "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+        "bitRate": 42, # Detected bit-rate for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_INPAGE, and RICH_MEDIA_INPAGE_FLOATING.
+        "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA.
+        "videoDuration": 3.14, # Detected video duration for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+        "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+        "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN.
+          "top": 42, # Offset distance from top side of an asset or a window.
+          "left": 42, # Offset distance from left side of an asset or a window.
+        },
+        "active": True or False, # Whether the video asset is active. This is a read-only field for VPAID_NON_LINEAR assets. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "originalBackup": True or False, # Whether the backup asset is original or changed by the user in DCM. Applicable to the following creative types: all RICH_MEDIA.
+        "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA.
+        "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "zIndex": 42, # zIndex value of an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY.
+        "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID.
+        "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA.
+          "targetType": "A String", # Target type used by the event.
+          "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+          "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+          "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+            "showStatusBar": True or False, # Whether to display the browser status bar.
+            "showScrollBar": True or False, # Whether to display the browser scroll bar.
+            "showAddressBar": True or False, # Whether to display the browser address bar.
+            "showMenuBar": True or False, # Whether to display the browser menu bar.
+            "title": "A String", # Title of popup window.
+            "showToolBar": True or False, # Whether to display the browser tool bar.
+            "positionType": "A String", # Popup window position either centered or at specific coordinate.
+            "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+              "top": 42, # Offset distance from top side of an asset or a window.
+              "left": 42, # Offset distance from left side of an asset or a window.
+            },
+            "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+              "width": 42, # Width of this size.
+              "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+              "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+              "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+              "height": 42, # Height of this size.
+            },
+          },
+          "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+          "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+          "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventName": "A String", # User-entered name for the event.
+        },
+        "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE and ENHANCED_BANNER.
+        "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Must be between 0 and 9.99. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.
+        "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+          "type": "A String", # Type of asset to upload. This is a required field. IMAGE is solely used for IMAGE creatives. Other image assets should use HTML_IMAGE.
+          "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed.
+        },
+        "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets.
+        "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+        "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA.
+          "top": 42, # Offset distance from top side of an asset or a window.
+          "left": 42, # Offset distance from left side of an asset or a window.
+        },
+        "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA.
+      },
+    ],
+    "redirectUrl": "A String", # URL of hosted image or another ad tag. This is a required field when applicable. Applicable to the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT
+    "videoDuration": 3.14, # Creative video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, all RICH_MEDIA, and all VPAID.
+    "htmlCodeLocked": True or False, # Whether HTML code is DCM-generated or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER.
+    "convertFlashToHtml5": True or False, # Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative types: ENHANCED_BANNER and FLASH_INPAGE.
+    "clickTags": [ # Click tags of the creative. For ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For ENHANCED_IMAGE creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER.
+      { # Creative Click Tag.
+        "eventName": "A String", # Advertiser event name associated with the click tag. This field is used by ENHANCED_BANNER, ENHANCED_IMAGE, and HTML5_BANNER creatives.
+        "name": "A String", # Parameter name for the specified click tag. For ENHANCED_IMAGE creative assets, this field must match the value of the creative asset's creativeAssetId.name field.
+        "value": "A String", # Parameter value for the specified click tag. This field contains a click-through url.
+      },
+    ],
+    "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+    "active": True or False, # Whether the creative is active. Applicable to all creative types.
+    "compatibility": [ # Compatibilities associated with this creative. This is a read-only field. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. Applicable to all creative types.
+        # 
+        # Acceptable values are:
+        # - "APP"
+        # - "APP_INTERSTITIAL"
+        # - "IN_STREAM_VIDEO"
+        # - "WEB"
+        # - "WEB_INTERSTITIAL"
+      "A String",
+    ],
+    "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID.
+    "adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "A String",
+    ],
+    "kind": "dfareporting#creative", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative".
+    "subaccountId": "A String", # Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.
+    "name": "A String", # Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types.
+    "sslOverride": True or False, # Whether creative should be treated as SSL compliant even if the system scan shows it's not.
+    "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "backupImageClickThroughUrl": "A String", # Click-through URL for backup image. Applicable to the following creative types: ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER.
+    "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types.
+    "studioCreativeId": "A String", # Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+    "allowScriptAccess": True or False, # Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE.
+    "companionCreatives": [ # List of companion creatives assigned to an in-Stream videocreative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+      "A String",
+    ],
+    "auto_advance_images": True or False, # Whether images are automatically advanced for enhanced image creatives. Applicable to the following creative types: ENHANCED_IMAGE.
+    "backupImageFeatures": [ # List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by DCM for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: ENHANCED_BANNER and HTML5_BANNER.
+      "A String",
+    ],
+    "backupImageTargetWindow": { # Target Window. # Target window for backup image. Applicable to the following creative types: ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER.
+      "customHtml": "A String", # User-entered value.
+      "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed.
+    },
+    "skippable": True or False, # Whether the user can choose to skip the creative. Applicable to the following creative types: INSTREAM_VIDEO.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a Creative.
+      "artworkType": "A String", # Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "latestTraffickedCreativeId": "A String", # Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "videoDescription": "A String", # Description of the video ad. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+      "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types.
+      "requiredFlashPluginVersion": "A String", # The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA
+      "timerCustomEvents": [ # List of timer events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+        { # Creative Custom Event.
+          "targetType": "A String", # Target type used by the event.
+          "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+          "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+          "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+            "showStatusBar": True or False, # Whether to display the browser status bar.
+            "showScrollBar": True or False, # Whether to display the browser scroll bar.
+            "showAddressBar": True or False, # Whether to display the browser address bar.
+            "showMenuBar": True or False, # Whether to display the browser menu bar.
+            "title": "A String", # Title of popup window.
+            "showToolBar": True or False, # Whether to display the browser tool bar.
+            "positionType": "A String", # Popup window position either centered or at specific coordinate.
+            "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+              "top": 42, # Offset distance from top side of an asset or a window.
+              "left": 42, # Offset distance from left side of an asset or a window.
+            },
+            "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+              "width": 42, # Width of this size.
+              "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+              "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+              "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+              "height": 42, # Height of this size.
+            },
+          },
+          "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+          "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+          "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventName": "A String", # User-entered name for the event.
+        },
+      ],
+      "renderingIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "fsCommand": { # FsCommand. # OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE.
+        "windowHeight": 42, # Height of the window.
+        "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.
+        "windowWidth": 42, # Width of the window.
+        "positionOption": "A String", # Position in the browser where the window will open.
+        "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.
+      },
+      "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types.
+      "accountId": "A String", # Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.
+      "studioTraffickedCreativeId": "A String", # Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "archived": True or False, # Whether the creative is archived. Applicable to all creative types.
+      "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA.
+      "thirdPartyUrls": [ # Third-party URLs for tracking in-stream video creative events. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        { # Third-party Tracking URL.
+          "url": "A String", # URL for the specified third-party URL type.
+          "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video creatives.
+        },
+      ],
+      "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by DoubleClick Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, ENHANCED_BANNER, all RICH_MEDIA, and all VPAID.
+      "exitCustomEvents": [ # List of exit events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+        { # Creative Custom Event.
+          "targetType": "A String", # Target type used by the event.
+          "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+          "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+          "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+            "showStatusBar": True or False, # Whether to display the browser status bar.
+            "showScrollBar": True or False, # Whether to display the browser scroll bar.
+            "showAddressBar": True or False, # Whether to display the browser address bar.
+            "showMenuBar": True or False, # Whether to display the browser menu bar.
+            "title": "A String", # Title of popup window.
+            "showToolBar": True or False, # Whether to display the browser tool bar.
+            "positionType": "A String", # Popup window position either centered or at specific coordinate.
+            "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+              "top": 42, # Offset distance from top side of an asset or a window.
+              "left": 42, # Offset distance from left side of an asset or a window.
+            },
+            "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+              "width": 42, # Width of this size.
+              "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+              "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+              "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+              "height": 42, # Height of this size.
+            },
+          },
+          "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+          "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+          "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventName": "A String", # User-entered name for the event.
+        },
+      ],
+      "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types.
+      "counterCustomEvents": [ # List of counter events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+        { # Creative Custom Event.
+          "targetType": "A String", # Target type used by the event.
+          "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+          "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+          "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+            "showStatusBar": True or False, # Whether to display the browser status bar.
+            "showScrollBar": True or False, # Whether to display the browser scroll bar.
+            "showAddressBar": True or False, # Whether to display the browser address bar.
+            "showMenuBar": True or False, # Whether to display the browser menu bar.
+            "title": "A String", # Title of popup window.
+            "showToolBar": True or False, # Whether to display the browser tool bar.
+            "positionType": "A String", # Popup window position either centered or at specific coordinate.
+            "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+              "top": 42, # Offset distance from top side of an asset or a window.
+              "left": 42, # Offset distance from left side of an asset or a window.
+            },
+            "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+              "width": 42, # Width of this size.
+              "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+              "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+              "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+              "height": 42, # Height of this size.
+            },
+          },
+          "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+          "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+          "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventName": "A String", # User-entered name for the event.
+        },
+      ],
+      "backupImageReportingLabel": "A String", # Reporting label used for HTML5 banner backup image. Applicable to the following creative types: ENHANCED_BANNER.
+      "version": 42, # The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types.
+      "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types.
+        { # Creative Field Assignment.
+          "creativeFieldId": "A String", # ID of the creative field.
+          "creativeFieldValueId": "A String", # ID of the creative field value.
+        },
+      ],
+      "backgroundColor": "A String", # The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE.
+      "customKeyValues": [ # Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+        "A String",
+      ],
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is false. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA.
+      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE and FLASH_INPAGE creatives, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA.
+        "width": 42, # Width of this size.
+        "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+        "height": 42, # Height of this size.
+      },
+      "type": "A String", # Type of this creative.This is a required field. Applicable to all creative types.
+      "totalFileSize": "A String", # Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA
+      "studioAdvertiserId": "A String", # Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT
+        { # Creative Asset.
+          "mimeType": "A String", # Detected MIME type for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+          "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+          "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN.
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+          "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, ENHANCED_BANNER, all RICH_MEDIA, and all VPAID.
+          "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.
+          "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA.
+          "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: ENHANCED_BANNER and HTML5_BANNER.
+            "A String",
+          ],
+          "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_VIDEO and VPAID_LINEAR.
+          "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA.
+          "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+          "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_MULTI_FLOATING.
+          "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE creatives, if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA.
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+          "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+          "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA.
+          "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+          "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+          "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+          "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field.
+              # PRIMARY applies to ENHANCED_BANNER, FLASH_INPAGE, HTML5_BANNER, IMAGE, IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives.
+              # BACKUP_IMAGE applies to ENHANCED_BANNER, FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives.
+              # ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives.
+              # OTHER refers to assets from sources other than DCM, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives.
+              # PARENT_VIDEO refers to videos uploaded by the user in DCM and is applicable to INSTREAM_VIDEO and VPAID_LINEAR creatives.
+              # TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR creatives.
+              # ALTERNATE_VIDEO refers to the DCM representation of child asset videos from Studio, and is applicable to VPAID_LINEAR creatives. These cannot be added or removed within DCM.
+              # For VPAID_LINEAR creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR creative.
+          "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+          "bitRate": 42, # Detected bit-rate for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_INPAGE, and RICH_MEDIA_INPAGE_FLOATING.
+          "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA.
+          "videoDuration": 3.14, # Detected video duration for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+          "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+          "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN.
+            "top": 42, # Offset distance from top side of an asset or a window.
+            "left": 42, # Offset distance from left side of an asset or a window.
+          },
+          "active": True or False, # Whether the video asset is active. This is a read-only field for VPAID_NON_LINEAR assets. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "originalBackup": True or False, # Whether the backup asset is original or changed by the user in DCM. Applicable to the following creative types: all RICH_MEDIA.
+          "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA.
+          "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "zIndex": 42, # zIndex value of an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY.
+          "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID.
+          "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA.
+            "targetType": "A String", # Target type used by the event.
+            "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+            "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+            "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+              "showStatusBar": True or False, # Whether to display the browser status bar.
+              "showScrollBar": True or False, # Whether to display the browser scroll bar.
+              "showAddressBar": True or False, # Whether to display the browser address bar.
+              "showMenuBar": True or False, # Whether to display the browser menu bar.
+              "title": "A String", # Title of popup window.
+              "showToolBar": True or False, # Whether to display the browser tool bar.
+              "positionType": "A String", # Popup window position either centered or at specific coordinate.
+              "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+                "top": 42, # Offset distance from top side of an asset or a window.
+                "left": 42, # Offset distance from left side of an asset or a window.
+              },
+              "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+                "width": 42, # Width of this size.
+                "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+                "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+                "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+                "height": 42, # Height of this size.
+              },
+            },
+            "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+            "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+            "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+            "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+            "advertiserCustomEventName": "A String", # User-entered name for the event.
+          },
+          "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE and ENHANCED_BANNER.
+          "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Must be between 0 and 9.99. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.
+          "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+            "type": "A String", # Type of asset to upload. This is a required field. IMAGE is solely used for IMAGE creatives. Other image assets should use HTML_IMAGE.
+            "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed.
+          },
+          "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets.
+          "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+          "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA.
+            "top": 42, # Offset distance from top side of an asset or a window.
+            "left": 42, # Offset distance from left side of an asset or a window.
+          },
+          "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA.
+        },
+      ],
+      "redirectUrl": "A String", # URL of hosted image or another ad tag. This is a required field when applicable. Applicable to the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT
+      "videoDuration": 3.14, # Creative video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, all RICH_MEDIA, and all VPAID.
+      "htmlCodeLocked": True or False, # Whether HTML code is DCM-generated or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER.
+      "convertFlashToHtml5": True or False, # Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative types: ENHANCED_BANNER and FLASH_INPAGE.
+      "clickTags": [ # Click tags of the creative. For ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For ENHANCED_IMAGE creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER.
+        { # Creative Click Tag.
+          "eventName": "A String", # Advertiser event name associated with the click tag. This field is used by ENHANCED_BANNER, ENHANCED_IMAGE, and HTML5_BANNER creatives.
+          "name": "A String", # Parameter name for the specified click tag. For ENHANCED_IMAGE creative assets, this field must match the value of the creative asset's creativeAssetId.name field.
+          "value": "A String", # Parameter value for the specified click tag. This field contains a click-through url.
+        },
+      ],
+      "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+      "active": True or False, # Whether the creative is active. Applicable to all creative types.
+      "compatibility": [ # Compatibilities associated with this creative. This is a read-only field. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. Applicable to all creative types.
+          #
+          # Acceptable values are:
+          # - "APP"
+          # - "APP_INTERSTITIAL"
+          # - "IN_STREAM_VIDEO"
+          # - "WEB"
+          # - "WEB_INTERSTITIAL"
+        "A String",
+      ],
+      "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID.
+      "adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+        "A String",
+      ],
+      "kind": "dfareporting#creative", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative".
+      "subaccountId": "A String", # Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.
+      "name": "A String", # Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types.
+      "sslOverride": True or False, # Whether creative should be treated as SSL compliant even if the system scan shows it's not.
+      "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "backupImageClickThroughUrl": "A String", # Click-through URL for backup image. Applicable to the following creative types: ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER.
+      "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types.
+      "studioCreativeId": "A String", # Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+      "allowScriptAccess": True or False, # Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE.
+      "companionCreatives": [ # List of companion creatives assigned to an in-Stream videocreative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "A String",
+      ],
+      "auto_advance_images": True or False, # Whether images are automatically advanced for enhanced image creatives. Applicable to the following creative types: ENHANCED_IMAGE.
+      "backupImageFeatures": [ # List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by DCM for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: ENHANCED_BANNER and HTML5_BANNER.
+        "A String",
+      ],
+      "backupImageTargetWindow": { # Target Window. # Target window for backup image. Applicable to the following creative types: ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER.
+        "customHtml": "A String", # User-entered value.
+        "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed.
+      },
+      "skippable": True or False, # Whether the user can choose to skip the creative. Applicable to the following creative types: INSTREAM_VIDEO.
+    }
+
+ +
+ list(profileId, campaignId=None, advertiserId=None, sizeIds=None, archived=None, pageToken=None, sortOrder=None, renderingIds=None, maxResults=None, active=None, companionCreativeIds=None, types=None, searchString=None, ids=None, studioCreativeId=None, sortField=None, creativeFieldIds=None) +
Retrieves a list of creatives, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  campaignId: string, Select only creatives with this campaign ID.
+  advertiserId: string, Select only creatives with this advertiser ID.
+  sizeIds: string, Select only creatives with these size IDs. (repeated)
+  archived: boolean, Select only archived creatives. Leave blank to select archived and unarchived creatives.
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+  renderingIds: string, Select only creatives with these rendering IDs. (repeated)
+  maxResults: integer, Maximum number of results to return.
+  active: boolean, Select only active creatives. Leave blank to select active and inactive creatives.
+  companionCreativeIds: string, Select only in-stream video creatives with these companion IDs. (repeated)
+  types: string, Select only creatives with these creative types. (repeated)
+    Allowed values
+      BRAND_SAFE_DEFAULT_INSTREAM_VIDEO - 
+      CUSTOM_INPAGE - 
+      CUSTOM_INTERSTITIAL - 
+      ENHANCED_BANNER - 
+      ENHANCED_IMAGE - 
+      FLASH_INPAGE - 
+      HTML5_BANNER - 
+      IMAGE - 
+      INSTREAM_VIDEO - 
+      INTERNAL_REDIRECT - 
+      INTERSTITIAL_INTERNAL_REDIRECT - 
+      REDIRECT - 
+      RICH_MEDIA_EXPANDING - 
+      RICH_MEDIA_IM_EXPAND - 
+      RICH_MEDIA_INPAGE - 
+      RICH_MEDIA_INPAGE_FLOATING - 
+      RICH_MEDIA_INTERSTITIAL_FLOAT - 
+      RICH_MEDIA_MOBILE_IN_APP - 
+      RICH_MEDIA_MULTI_FLOATING - 
+      RICH_MEDIA_PEEL_DOWN - 
+      TRACKING_TEXT - 
+      VAST_REDIRECT - 
+      VPAID_LINEAR - 
+      VPAID_NON_LINEAR - 
+  searchString: string, Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "creative*2015" will return objects with names like "creative June 2015", "creative April 2015", or simply "creative 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "creative" will match objects with name "my creative", "creative 2015", or simply "creative".
+  ids: string, Select only creatives with these IDs. (repeated)
+  studioCreativeId: string, Select only creatives corresponding to this Studio creative ID.
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  creativeFieldIds: string, Select only creatives with these creative field IDs. (repeated)
+
+Returns:
+  An object of the form:
+
+    { # Creative List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#creativesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creativesListResponse".
+    "creatives": [ # Creative collection.
+      { # Contains properties of a Creative.
+          "artworkType": "A String", # Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+          "latestTraffickedCreativeId": "A String", # Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+          "videoDescription": "A String", # Description of the video ad. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types.
+          "requiredFlashPluginVersion": "A String", # The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+          "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA
+          "timerCustomEvents": [ # List of timer events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+            { # Creative Custom Event.
+              "targetType": "A String", # Target type used by the event.
+              "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+              "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+              "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+                "showStatusBar": True or False, # Whether to display the browser status bar.
+                "showScrollBar": True or False, # Whether to display the browser scroll bar.
+                "showAddressBar": True or False, # Whether to display the browser address bar.
+                "showMenuBar": True or False, # Whether to display the browser menu bar.
+                "title": "A String", # Title of popup window.
+                "showToolBar": True or False, # Whether to display the browser tool bar.
+                "positionType": "A String", # Popup window position either centered or at specific coordinate.
+                "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+                  "top": 42, # Offset distance from top side of an asset or a window.
+                  "left": 42, # Offset distance from left side of an asset or a window.
+                },
+                "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+                  "width": 42, # Width of this size.
+                  "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+                  "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+                  "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+                  "height": 42, # Height of this size.
+                },
+              },
+              "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+              "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+              "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+              "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+              "advertiserCustomEventName": "A String", # User-entered name for the event.
+            },
+          ],
+          "renderingIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "fsCommand": { # FsCommand. # OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE.
+            "windowHeight": 42, # Height of the window.
+            "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.
+            "windowWidth": 42, # Width of the window.
+            "positionOption": "A String", # Position in the browser where the window will open.
+            "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.
+          },
+          "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types.
+          "accountId": "A String", # Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.
+          "studioTraffickedCreativeId": "A String", # Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+          "archived": True or False, # Whether the creative is archived. Applicable to all creative types.
+          "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA.
+          "thirdPartyUrls": [ # Third-party URLs for tracking in-stream video creative events. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+            { # Third-party Tracking URL.
+              "url": "A String", # URL for the specified third-party URL type.
+              "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video creatives.
+            },
+          ],
+          "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by DoubleClick Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, ENHANCED_BANNER, all RICH_MEDIA, and all VPAID.
+          "exitCustomEvents": [ # List of exit events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+            { # Creative Custom Event.
+              "targetType": "A String", # Target type used by the event.
+              "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+              "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+              "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+                "showStatusBar": True or False, # Whether to display the browser status bar.
+                "showScrollBar": True or False, # Whether to display the browser scroll bar.
+                "showAddressBar": True or False, # Whether to display the browser address bar.
+                "showMenuBar": True or False, # Whether to display the browser menu bar.
+                "title": "A String", # Title of popup window.
+                "showToolBar": True or False, # Whether to display the browser tool bar.
+                "positionType": "A String", # Popup window position either centered or at specific coordinate.
+                "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+                  "top": 42, # Offset distance from top side of an asset or a window.
+                  "left": 42, # Offset distance from left side of an asset or a window.
+                },
+                "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+                  "width": 42, # Width of this size.
+                  "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+                  "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+                  "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+                  "height": 42, # Height of this size.
+                },
+              },
+              "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+              "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+              "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+              "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+              "advertiserCustomEventName": "A String", # User-entered name for the event.
+            },
+          ],
+          "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types.
+          "counterCustomEvents": [ # List of counter events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+            { # Creative Custom Event.
+              "targetType": "A String", # Target type used by the event.
+              "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+              "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+              "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+                "showStatusBar": True or False, # Whether to display the browser status bar.
+                "showScrollBar": True or False, # Whether to display the browser scroll bar.
+                "showAddressBar": True or False, # Whether to display the browser address bar.
+                "showMenuBar": True or False, # Whether to display the browser menu bar.
+                "title": "A String", # Title of popup window.
+                "showToolBar": True or False, # Whether to display the browser tool bar.
+                "positionType": "A String", # Popup window position either centered or at specific coordinate.
+                "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+                  "top": 42, # Offset distance from top side of an asset or a window.
+                  "left": 42, # Offset distance from left side of an asset or a window.
+                },
+                "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+                  "width": 42, # Width of this size.
+                  "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+                  "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+                  "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+                  "height": 42, # Height of this size.
+                },
+              },
+              "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+              "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+              "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+              "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+              "advertiserCustomEventName": "A String", # User-entered name for the event.
+            },
+          ],
+          "backupImageReportingLabel": "A String", # Reporting label used for HTML5 banner backup image. Applicable to the following creative types: ENHANCED_BANNER.
+          "version": 42, # The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types.
+          "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types.
+            { # Creative Field Assignment.
+              "creativeFieldId": "A String", # ID of the creative field.
+              "creativeFieldValueId": "A String", # ID of the creative field value.
+            },
+          ],
+          "backgroundColor": "A String", # The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE.
+          "customKeyValues": [ # Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+            "A String",
+          ],
+          "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is false. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA.
+          "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE and FLASH_INPAGE creatives, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA.
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+          "type": "A String", # Type of this creative.This is a required field. Applicable to all creative types.
+          "totalFileSize": "A String", # Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+          "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA
+          "studioAdvertiserId": "A String", # Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+          "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT
+            { # Creative Asset.
+              "mimeType": "A String", # Detected MIME type for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+              "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+              "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+              "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN.
+                "width": 42, # Width of this size.
+                "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+                "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+                "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+                "height": 42, # Height of this size.
+              },
+              "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, ENHANCED_BANNER, all RICH_MEDIA, and all VPAID.
+              "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.
+              "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA.
+              "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: ENHANCED_BANNER and HTML5_BANNER.
+                "A String",
+              ],
+              "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_VIDEO and VPAID_LINEAR.
+              "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA.
+              "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+              "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_MULTI_FLOATING.
+              "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE creatives, if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA.
+                "width": 42, # Width of this size.
+                "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+                "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+                "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+                "height": 42, # Height of this size.
+              },
+              "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+              "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA.
+              "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+              "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+                "width": 42, # Width of this size.
+                "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+                "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+                "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+                "height": 42, # Height of this size.
+              },
+              "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+              "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field.
+                  # PRIMARY applies to ENHANCED_BANNER, FLASH_INPAGE, HTML5_BANNER, IMAGE, IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives.
+                  # BACKUP_IMAGE applies to ENHANCED_BANNER, FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives.
+                  # ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives.
+                  # OTHER refers to assets from sources other than DCM, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives.
+                  # PARENT_VIDEO refers to videos uploaded by the user in DCM and is applicable to INSTREAM_VIDEO and VPAID_LINEAR creatives.
+                  # TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR creatives.
+                  # ALTERNATE_VIDEO refers to the DCM representation of child asset videos from Studio, and is applicable to VPAID_LINEAR creatives. These cannot be added or removed within DCM.
+                  # For VPAID_LINEAR creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR creative.
+              "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+              "bitRate": 42, # Detected bit-rate for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+              "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_INPAGE, and RICH_MEDIA_INPAGE_FLOATING.
+              "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+              "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA.
+              "videoDuration": 3.14, # Detected video duration for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+              "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+              "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+              "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN.
+                "top": 42, # Offset distance from top side of an asset or a window.
+                "left": 42, # Offset distance from left side of an asset or a window.
+              },
+              "active": True or False, # Whether the video asset is active. This is a read-only field for VPAID_NON_LINEAR assets. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+              "originalBackup": True or False, # Whether the backup asset is original or changed by the user in DCM. Applicable to the following creative types: all RICH_MEDIA.
+              "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA.
+              "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+              "zIndex": 42, # zIndex value of an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY.
+              "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID.
+              "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA.
+                "targetType": "A String", # Target type used by the event.
+                "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+                "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+                "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+                  "showStatusBar": True or False, # Whether to display the browser status bar.
+                  "showScrollBar": True or False, # Whether to display the browser scroll bar.
+                  "showAddressBar": True or False, # Whether to display the browser address bar.
+                  "showMenuBar": True or False, # Whether to display the browser menu bar.
+                  "title": "A String", # Title of popup window.
+                  "showToolBar": True or False, # Whether to display the browser tool bar.
+                  "positionType": "A String", # Popup window position either centered or at specific coordinate.
+                  "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+                    "top": 42, # Offset distance from top side of an asset or a window.
+                    "left": 42, # Offset distance from left side of an asset or a window.
+                  },
+                  "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+                    "width": 42, # Width of this size.
+                    "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+                    "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+                    "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+                    "height": 42, # Height of this size.
+                  },
+                },
+                "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+                "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+                "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+                "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+                "advertiserCustomEventName": "A String", # User-entered name for the event.
+              },
+              "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE and ENHANCED_BANNER.
+              "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Must be between 0 and 9.99. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.
+              "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+                "type": "A String", # Type of asset to upload. This is a required field. IMAGE is solely used for IMAGE creatives. Other image assets should use HTML_IMAGE.
+                "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed.
+              },
+              "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets.
+              "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+              "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA.
+                "top": 42, # Offset distance from top side of an asset or a window.
+                "left": 42, # Offset distance from left side of an asset or a window.
+              },
+              "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA.
+            },
+          ],
+          "redirectUrl": "A String", # URL of hosted image or another ad tag. This is a required field when applicable. Applicable to the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT
+          "videoDuration": 3.14, # Creative video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, all RICH_MEDIA, and all VPAID.
+          "htmlCodeLocked": True or False, # Whether HTML code is DCM-generated or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER.
+          "convertFlashToHtml5": True or False, # Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative types: ENHANCED_BANNER and FLASH_INPAGE.
+          "clickTags": [ # Click tags of the creative. For ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For ENHANCED_IMAGE creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER.
+            { # Creative Click Tag.
+              "eventName": "A String", # Advertiser event name associated with the click tag. This field is used by ENHANCED_BANNER, ENHANCED_IMAGE, and HTML5_BANNER creatives.
+              "name": "A String", # Parameter name for the specified click tag. For ENHANCED_IMAGE creative assets, this field must match the value of the creative asset's creativeAssetId.name field.
+              "value": "A String", # Parameter value for the specified click tag. This field contains a click-through url.
+            },
+          ],
+          "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "active": True or False, # Whether the creative is active. Applicable to all creative types.
+          "compatibility": [ # Compatibilities associated with this creative. This is a read-only field. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. Applicable to all creative types.
+              #
+              # Acceptable values are:
+              # - "APP"
+              # - "APP_INTERSTITIAL"
+              # - "IN_STREAM_VIDEO"
+              # - "WEB"
+              # - "WEB_INTERSTITIAL"
+            "A String",
+          ],
+          "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID.
+          "adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+            "A String",
+          ],
+          "kind": "dfareporting#creative", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative".
+          "subaccountId": "A String", # Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.
+          "name": "A String", # Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types.
+          "sslOverride": True or False, # Whether creative should be treated as SSL compliant even if the system scan shows it's not.
+          "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types.
+            "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+          },
+          "backupImageClickThroughUrl": "A String", # Click-through URL for backup image. Applicable to the following creative types: ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER.
+          "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types.
+          "studioCreativeId": "A String", # Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+          "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+          "allowScriptAccess": True or False, # Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE.
+          "companionCreatives": [ # List of companion creatives assigned to an in-Stream videocreative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+            "A String",
+          ],
+          "auto_advance_images": True or False, # Whether images are automatically advanced for enhanced image creatives. Applicable to the following creative types: ENHANCED_IMAGE.
+          "backupImageFeatures": [ # List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by DCM for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: ENHANCED_BANNER and HTML5_BANNER.
+            "A String",
+          ],
+          "backupImageTargetWindow": { # Target Window. # Target window for backup image. Applicable to the following creative types: ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER.
+            "customHtml": "A String", # User-entered value.
+            "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed.
+          },
+          "skippable": True or False, # Whether the user can choose to skip the creative. Applicable to the following creative types: INSTREAM_VIDEO.
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, id, body) +
Updates an existing creative. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Creative ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a Creative.
+    "artworkType": "A String", # Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "latestTraffickedCreativeId": "A String", # Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "videoDescription": "A String", # Description of the video ad. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+    "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types.
+    "requiredFlashPluginVersion": "A String", # The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA
+    "timerCustomEvents": [ # List of timer events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      { # Creative Custom Event.
+        "targetType": "A String", # Target type used by the event.
+        "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+        "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+        "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+          "showStatusBar": True or False, # Whether to display the browser status bar.
+          "showScrollBar": True or False, # Whether to display the browser scroll bar.
+          "showAddressBar": True or False, # Whether to display the browser address bar.
+          "showMenuBar": True or False, # Whether to display the browser menu bar.
+          "title": "A String", # Title of popup window.
+          "showToolBar": True or False, # Whether to display the browser tool bar.
+          "positionType": "A String", # Popup window position either centered or at specific coordinate.
+          "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+            "top": 42, # Offset distance from top side of an asset or a window.
+            "left": 42, # Offset distance from left side of an asset or a window.
+          },
+          "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+        },
+        "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+        "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+        "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+        "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+        "advertiserCustomEventName": "A String", # User-entered name for the event.
+      },
+    ],
+    "renderingIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "fsCommand": { # FsCommand. # OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE.
+      "windowHeight": 42, # Height of the window.
+      "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.
+      "windowWidth": 42, # Width of the window.
+      "positionOption": "A String", # Position in the browser where the window will open.
+      "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.
+    },
+    "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types.
+    "accountId": "A String", # Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.
+    "studioTraffickedCreativeId": "A String", # Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "archived": True or False, # Whether the creative is archived. Applicable to all creative types.
+    "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA.
+    "thirdPartyUrls": [ # Third-party URLs for tracking in-stream video creative events. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+      { # Third-party Tracking URL.
+        "url": "A String", # URL for the specified third-party URL type.
+        "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video creatives.
+      },
+    ],
+    "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by DoubleClick Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, ENHANCED_BANNER, all RICH_MEDIA, and all VPAID.
+    "exitCustomEvents": [ # List of exit events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      { # Creative Custom Event.
+        "targetType": "A String", # Target type used by the event.
+        "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+        "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+        "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+          "showStatusBar": True or False, # Whether to display the browser status bar.
+          "showScrollBar": True or False, # Whether to display the browser scroll bar.
+          "showAddressBar": True or False, # Whether to display the browser address bar.
+          "showMenuBar": True or False, # Whether to display the browser menu bar.
+          "title": "A String", # Title of popup window.
+          "showToolBar": True or False, # Whether to display the browser tool bar.
+          "positionType": "A String", # Popup window position either centered or at specific coordinate.
+          "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+            "top": 42, # Offset distance from top side of an asset or a window.
+            "left": 42, # Offset distance from left side of an asset or a window.
+          },
+          "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+        },
+        "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+        "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+        "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+        "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+        "advertiserCustomEventName": "A String", # User-entered name for the event.
+      },
+    ],
+    "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types.
+    "counterCustomEvents": [ # List of counter events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      { # Creative Custom Event.
+        "targetType": "A String", # Target type used by the event.
+        "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+        "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+        "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+          "showStatusBar": True or False, # Whether to display the browser status bar.
+          "showScrollBar": True or False, # Whether to display the browser scroll bar.
+          "showAddressBar": True or False, # Whether to display the browser address bar.
+          "showMenuBar": True or False, # Whether to display the browser menu bar.
+          "title": "A String", # Title of popup window.
+          "showToolBar": True or False, # Whether to display the browser tool bar.
+          "positionType": "A String", # Popup window position either centered or at specific coordinate.
+          "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+            "top": 42, # Offset distance from top side of an asset or a window.
+            "left": 42, # Offset distance from left side of an asset or a window.
+          },
+          "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+        },
+        "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+        "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+        "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+        "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+        "advertiserCustomEventName": "A String", # User-entered name for the event.
+      },
+    ],
+    "backupImageReportingLabel": "A String", # Reporting label used for HTML5 banner backup image. Applicable to the following creative types: ENHANCED_BANNER.
+    "version": 42, # The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types.
+    "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types.
+      { # Creative Field Assignment.
+        "creativeFieldId": "A String", # ID of the creative field.
+        "creativeFieldValueId": "A String", # ID of the creative field value.
+      },
+    ],
+    "backgroundColor": "A String", # The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE.
+    "customKeyValues": [ # Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "A String",
+    ],
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is false. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA.
+    "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE and FLASH_INPAGE creatives, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA.
+      "width": 42, # Width of this size.
+      "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+      "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+      "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+      "height": 42, # Height of this size.
+    },
+    "type": "A String", # Type of this creative.This is a required field. Applicable to all creative types.
+    "totalFileSize": "A String", # Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA
+    "studioAdvertiserId": "A String", # Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT
+      { # Creative Asset.
+        "mimeType": "A String", # Detected MIME type for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+        "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+        "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN.
+          "width": 42, # Width of this size.
+          "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+          "height": 42, # Height of this size.
+        },
+        "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, ENHANCED_BANNER, all RICH_MEDIA, and all VPAID.
+        "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.
+        "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA.
+        "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: ENHANCED_BANNER and HTML5_BANNER.
+          "A String",
+        ],
+        "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_VIDEO and VPAID_LINEAR.
+        "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA.
+        "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+        "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_MULTI_FLOATING.
+        "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE creatives, if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA.
+          "width": 42, # Width of this size.
+          "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+          "height": 42, # Height of this size.
+        },
+        "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+        "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA.
+        "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+        "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "width": 42, # Width of this size.
+          "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+          "height": 42, # Height of this size.
+        },
+        "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+        "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field.
+            # PRIMARY applies to ENHANCED_BANNER, FLASH_INPAGE, HTML5_BANNER, IMAGE, IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives.
+            # BACKUP_IMAGE applies to ENHANCED_BANNER, FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives.
+            # ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives.
+            # OTHER refers to assets from sources other than DCM, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives.
+            # PARENT_VIDEO refers to videos uploaded by the user in DCM and is applicable to INSTREAM_VIDEO and VPAID_LINEAR creatives.
+            # TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR creatives.
+            # ALTERNATE_VIDEO refers to the DCM representation of child asset videos from Studio, and is applicable to VPAID_LINEAR creatives. These cannot be added or removed within DCM.
+            # For VPAID_LINEAR creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR creative.
+        "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+        "bitRate": 42, # Detected bit-rate for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_INPAGE, and RICH_MEDIA_INPAGE_FLOATING.
+        "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA.
+        "videoDuration": 3.14, # Detected video duration for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+        "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+        "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN.
+          "top": 42, # Offset distance from top side of an asset or a window.
+          "left": 42, # Offset distance from left side of an asset or a window.
+        },
+        "active": True or False, # Whether the video asset is active. This is a read-only field for VPAID_NON_LINEAR assets. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "originalBackup": True or False, # Whether the backup asset is original or changed by the user in DCM. Applicable to the following creative types: all RICH_MEDIA.
+        "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA.
+        "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "zIndex": 42, # zIndex value of an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY.
+        "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID.
+        "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA.
+          "targetType": "A String", # Target type used by the event.
+          "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+          "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+          "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+            "showStatusBar": True or False, # Whether to display the browser status bar.
+            "showScrollBar": True or False, # Whether to display the browser scroll bar.
+            "showAddressBar": True or False, # Whether to display the browser address bar.
+            "showMenuBar": True or False, # Whether to display the browser menu bar.
+            "title": "A String", # Title of popup window.
+            "showToolBar": True or False, # Whether to display the browser tool bar.
+            "positionType": "A String", # Popup window position either centered or at specific coordinate.
+            "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+              "top": 42, # Offset distance from top side of an asset or a window.
+              "left": 42, # Offset distance from left side of an asset or a window.
+            },
+            "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+              "width": 42, # Width of this size.
+              "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+              "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+              "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+              "height": 42, # Height of this size.
+            },
+          },
+          "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+          "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+          "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventName": "A String", # User-entered name for the event.
+        },
+        "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE and ENHANCED_BANNER.
+        "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Must be between 0 and 9.99. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.
+        "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+          "type": "A String", # Type of asset to upload. This is a required field. IMAGE is solely used for IMAGE creatives. Other image assets should use HTML_IMAGE.
+          "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed.
+        },
+        "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets.
+        "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+        "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA.
+          "top": 42, # Offset distance from top side of an asset or a window.
+          "left": 42, # Offset distance from left side of an asset or a window.
+        },
+        "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA.
+      },
+    ],
+    "redirectUrl": "A String", # URL of hosted image or another ad tag. This is a required field when applicable. Applicable to the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT
+    "videoDuration": 3.14, # Creative video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, all RICH_MEDIA, and all VPAID.
+    "htmlCodeLocked": True or False, # Whether HTML code is DCM-generated or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER.
+    "convertFlashToHtml5": True or False, # Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative types: ENHANCED_BANNER and FLASH_INPAGE.
+    "clickTags": [ # Click tags of the creative. For ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For ENHANCED_IMAGE creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER.
+      { # Creative Click Tag.
+        "eventName": "A String", # Advertiser event name associated with the click tag. This field is used by ENHANCED_BANNER, ENHANCED_IMAGE, and HTML5_BANNER creatives.
+        "name": "A String", # Parameter name for the specified click tag. For ENHANCED_IMAGE creative assets, this field must match the value of the creative asset's creativeAssetId.name field.
+        "value": "A String", # Parameter value for the specified click tag. This field contains a click-through url.
+      },
+    ],
+    "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+    "active": True or False, # Whether the creative is active. Applicable to all creative types.
+    "compatibility": [ # Compatibilities associated with this creative. This is a read-only field. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. Applicable to all creative types.
+        # 
+        # Acceptable values are:
+        # - "APP"
+        # - "APP_INTERSTITIAL"
+        # - "IN_STREAM_VIDEO"
+        # - "WEB"
+        # - "WEB_INTERSTITIAL"
+      "A String",
+    ],
+    "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID.
+    "adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "A String",
+    ],
+    "kind": "dfareporting#creative", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative".
+    "subaccountId": "A String", # Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.
+    "name": "A String", # Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types.
+    "sslOverride": True or False, # Whether creative should be treated as SSL compliant even if the system scan shows it's not.
+    "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "backupImageClickThroughUrl": "A String", # Click-through URL for backup image. Applicable to the following creative types: ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER.
+    "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types.
+    "studioCreativeId": "A String", # Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+    "allowScriptAccess": True or False, # Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE.
+    "companionCreatives": [ # List of companion creatives assigned to an in-Stream videocreative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+      "A String",
+    ],
+    "auto_advance_images": True or False, # Whether images are automatically advanced for enhanced image creatives. Applicable to the following creative types: ENHANCED_IMAGE.
+    "backupImageFeatures": [ # List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by DCM for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: ENHANCED_BANNER and HTML5_BANNER.
+      "A String",
+    ],
+    "backupImageTargetWindow": { # Target Window. # Target window for backup image. Applicable to the following creative types: ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER.
+      "customHtml": "A String", # User-entered value.
+      "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed.
+    },
+    "skippable": True or False, # Whether the user can choose to skip the creative. Applicable to the following creative types: INSTREAM_VIDEO.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a Creative.
+      "artworkType": "A String", # Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "latestTraffickedCreativeId": "A String", # Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "videoDescription": "A String", # Description of the video ad. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+      "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types.
+      "requiredFlashPluginVersion": "A String", # The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA
+      "timerCustomEvents": [ # List of timer events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+        { # Creative Custom Event.
+          "targetType": "A String", # Target type used by the event.
+          "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+          "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+          "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+            "showStatusBar": True or False, # Whether to display the browser status bar.
+            "showScrollBar": True or False, # Whether to display the browser scroll bar.
+            "showAddressBar": True or False, # Whether to display the browser address bar.
+            "showMenuBar": True or False, # Whether to display the browser menu bar.
+            "title": "A String", # Title of popup window.
+            "showToolBar": True or False, # Whether to display the browser tool bar.
+            "positionType": "A String", # Popup window position either centered or at specific coordinate.
+            "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+              "top": 42, # Offset distance from top side of an asset or a window.
+              "left": 42, # Offset distance from left side of an asset or a window.
+            },
+            "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+              "width": 42, # Width of this size.
+              "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+              "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+              "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+              "height": 42, # Height of this size.
+            },
+          },
+          "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+          "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+          "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventName": "A String", # User-entered name for the event.
+        },
+      ],
+      "renderingIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "fsCommand": { # FsCommand. # OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE.
+        "windowHeight": 42, # Height of the window.
+        "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.
+        "windowWidth": 42, # Width of the window.
+        "positionOption": "A String", # Position in the browser where the window will open.
+        "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.
+      },
+      "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types.
+      "accountId": "A String", # Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.
+      "studioTraffickedCreativeId": "A String", # Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "archived": True or False, # Whether the creative is archived. Applicable to all creative types.
+      "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA.
+      "thirdPartyUrls": [ # Third-party URLs for tracking in-stream video creative events. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        { # Third-party Tracking URL.
+          "url": "A String", # URL for the specified third-party URL type.
+          "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video creatives.
+        },
+      ],
+      "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by DoubleClick Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, ENHANCED_BANNER, all RICH_MEDIA, and all VPAID.
+      "exitCustomEvents": [ # List of exit events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+        { # Creative Custom Event.
+          "targetType": "A String", # Target type used by the event.
+          "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+          "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+          "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+            "showStatusBar": True or False, # Whether to display the browser status bar.
+            "showScrollBar": True or False, # Whether to display the browser scroll bar.
+            "showAddressBar": True or False, # Whether to display the browser address bar.
+            "showMenuBar": True or False, # Whether to display the browser menu bar.
+            "title": "A String", # Title of popup window.
+            "showToolBar": True or False, # Whether to display the browser tool bar.
+            "positionType": "A String", # Popup window position either centered or at specific coordinate.
+            "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+              "top": 42, # Offset distance from top side of an asset or a window.
+              "left": 42, # Offset distance from left side of an asset or a window.
+            },
+            "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+              "width": 42, # Width of this size.
+              "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+              "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+              "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+              "height": 42, # Height of this size.
+            },
+          },
+          "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+          "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+          "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventName": "A String", # User-entered name for the event.
+        },
+      ],
+      "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types.
+      "counterCustomEvents": [ # List of counter events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+        { # Creative Custom Event.
+          "targetType": "A String", # Target type used by the event.
+          "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+          "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+          "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+            "showStatusBar": True or False, # Whether to display the browser status bar.
+            "showScrollBar": True or False, # Whether to display the browser scroll bar.
+            "showAddressBar": True or False, # Whether to display the browser address bar.
+            "showMenuBar": True or False, # Whether to display the browser menu bar.
+            "title": "A String", # Title of popup window.
+            "showToolBar": True or False, # Whether to display the browser tool bar.
+            "positionType": "A String", # Popup window position either centered or at specific coordinate.
+            "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+              "top": 42, # Offset distance from top side of an asset or a window.
+              "left": 42, # Offset distance from left side of an asset or a window.
+            },
+            "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+              "width": 42, # Width of this size.
+              "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+              "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+              "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+              "height": 42, # Height of this size.
+            },
+          },
+          "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+          "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+          "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventName": "A String", # User-entered name for the event.
+        },
+      ],
+      "backupImageReportingLabel": "A String", # Reporting label used for HTML5 banner backup image. Applicable to the following creative types: ENHANCED_BANNER.
+      "version": 42, # The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types.
+      "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types.
+        { # Creative Field Assignment.
+          "creativeFieldId": "A String", # ID of the creative field.
+          "creativeFieldValueId": "A String", # ID of the creative field value.
+        },
+      ],
+      "backgroundColor": "A String", # The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE.
+      "customKeyValues": [ # Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+        "A String",
+      ],
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is false. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA.
+      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE and FLASH_INPAGE creatives, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA.
+        "width": 42, # Width of this size.
+        "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+        "height": 42, # Height of this size.
+      },
+      "type": "A String", # Type of this creative.This is a required field. Applicable to all creative types.
+      "totalFileSize": "A String", # Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA
+      "studioAdvertiserId": "A String", # Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT
+        { # Creative Asset.
+          "mimeType": "A String", # Detected MIME type for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+          "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+          "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN.
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+          "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, ENHANCED_BANNER, all RICH_MEDIA, and all VPAID.
+          "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.
+          "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA.
+          "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: ENHANCED_BANNER and HTML5_BANNER.
+            "A String",
+          ],
+          "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_VIDEO and VPAID_LINEAR.
+          "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA.
+          "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+          "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_MULTI_FLOATING.
+          "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE creatives, if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA.
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+          "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+          "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA.
+          "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+          "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+          "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+          "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field.
+              # PRIMARY applies to ENHANCED_BANNER, FLASH_INPAGE, HTML5_BANNER, IMAGE, IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives.
+              # BACKUP_IMAGE applies to ENHANCED_BANNER, FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives.
+              # ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives.
+              # OTHER refers to assets from sources other than DCM, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives.
+              # PARENT_VIDEO refers to videos uploaded by the user in DCM and is applicable to INSTREAM_VIDEO and VPAID_LINEAR creatives.
+              # TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR creatives.
+              # ALTERNATE_VIDEO refers to the DCM representation of child asset videos from Studio, and is applicable to VPAID_LINEAR creatives. These cannot be added or removed within DCM.
+              # For VPAID_LINEAR creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR creative.
+          "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+          "bitRate": 42, # Detected bit-rate for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_INPAGE, and RICH_MEDIA_INPAGE_FLOATING.
+          "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA.
+          "videoDuration": 3.14, # Detected video duration for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+          "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+          "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN.
+            "top": 42, # Offset distance from top side of an asset or a window.
+            "left": 42, # Offset distance from left side of an asset or a window.
+          },
+          "active": True or False, # Whether the video asset is active. This is a read-only field for VPAID_NON_LINEAR assets. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "originalBackup": True or False, # Whether the backup asset is original or changed by the user in DCM. Applicable to the following creative types: all RICH_MEDIA.
+          "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA.
+          "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "zIndex": 42, # zIndex value of an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY.
+          "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID.
+          "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA.
+            "targetType": "A String", # Target type used by the event.
+            "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+            "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+            "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+              "showStatusBar": True or False, # Whether to display the browser status bar.
+              "showScrollBar": True or False, # Whether to display the browser scroll bar.
+              "showAddressBar": True or False, # Whether to display the browser address bar.
+              "showMenuBar": True or False, # Whether to display the browser menu bar.
+              "title": "A String", # Title of popup window.
+              "showToolBar": True or False, # Whether to display the browser tool bar.
+              "positionType": "A String", # Popup window position either centered or at specific coordinate.
+              "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+                "top": 42, # Offset distance from top side of an asset or a window.
+                "left": 42, # Offset distance from left side of an asset or a window.
+              },
+              "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+                "width": 42, # Width of this size.
+                "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+                "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+                "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+                "height": 42, # Height of this size.
+              },
+            },
+            "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+            "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+            "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+            "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+            "advertiserCustomEventName": "A String", # User-entered name for the event.
+          },
+          "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE and ENHANCED_BANNER.
+          "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Must be between 0 and 9.99. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.
+          "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+            "type": "A String", # Type of asset to upload. This is a required field. IMAGE is solely used for IMAGE creatives. Other image assets should use HTML_IMAGE.
+            "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed.
+          },
+          "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets.
+          "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+          "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA.
+            "top": 42, # Offset distance from top side of an asset or a window.
+            "left": 42, # Offset distance from left side of an asset or a window.
+          },
+          "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA.
+        },
+      ],
+      "redirectUrl": "A String", # URL of hosted image or another ad tag. This is a required field when applicable. Applicable to the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT
+      "videoDuration": 3.14, # Creative video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, all RICH_MEDIA, and all VPAID.
+      "htmlCodeLocked": True or False, # Whether HTML code is DCM-generated or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER.
+      "convertFlashToHtml5": True or False, # Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative types: ENHANCED_BANNER and FLASH_INPAGE.
+      "clickTags": [ # Click tags of the creative. For ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For ENHANCED_IMAGE creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER.
+        { # Creative Click Tag.
+          "eventName": "A String", # Advertiser event name associated with the click tag. This field is used by ENHANCED_BANNER, ENHANCED_IMAGE, and HTML5_BANNER creatives.
+          "name": "A String", # Parameter name for the specified click tag. For ENHANCED_IMAGE creative assets, this field must match the value of the creative asset's creativeAssetId.name field.
+          "value": "A String", # Parameter value for the specified click tag. This field contains a click-through url.
+        },
+      ],
+      "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+      "active": True or False, # Whether the creative is active. Applicable to all creative types.
+      "compatibility": [ # Compatibilities associated with this creative. This is a read-only field. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. Applicable to all creative types.
+          #
+          # Acceptable values are:
+          # - "APP"
+          # - "APP_INTERSTITIAL"
+          # - "IN_STREAM_VIDEO"
+          # - "WEB"
+          # - "WEB_INTERSTITIAL"
+        "A String",
+      ],
+      "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID.
+      "adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+        "A String",
+      ],
+      "kind": "dfareporting#creative", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative".
+      "subaccountId": "A String", # Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.
+      "name": "A String", # Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types.
+      "sslOverride": True or False, # Whether creative should be treated as SSL compliant even if the system scan shows it's not.
+      "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "backupImageClickThroughUrl": "A String", # Click-through URL for backup image. Applicable to the following creative types: ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER.
+      "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types.
+      "studioCreativeId": "A String", # Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+      "allowScriptAccess": True or False, # Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE.
+      "companionCreatives": [ # List of companion creatives assigned to an in-Stream videocreative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "A String",
+      ],
+      "auto_advance_images": True or False, # Whether images are automatically advanced for enhanced image creatives. Applicable to the following creative types: ENHANCED_IMAGE.
+      "backupImageFeatures": [ # List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by DCM for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: ENHANCED_BANNER and HTML5_BANNER.
+        "A String",
+      ],
+      "backupImageTargetWindow": { # Target Window. # Target window for backup image. Applicable to the following creative types: ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER.
+        "customHtml": "A String", # User-entered value.
+        "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed.
+      },
+      "skippable": True or False, # Whether the user can choose to skip the creative. Applicable to the following creative types: INSTREAM_VIDEO.
+    }
+
+ +
+ update(profileId, body) +
Updates an existing creative.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a Creative.
+    "artworkType": "A String", # Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "latestTraffickedCreativeId": "A String", # Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "videoDescription": "A String", # Description of the video ad. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+    "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types.
+    "requiredFlashPluginVersion": "A String", # The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA
+    "timerCustomEvents": [ # List of timer events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      { # Creative Custom Event.
+        "targetType": "A String", # Target type used by the event.
+        "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+        "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+        "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+          "showStatusBar": True or False, # Whether to display the browser status bar.
+          "showScrollBar": True or False, # Whether to display the browser scroll bar.
+          "showAddressBar": True or False, # Whether to display the browser address bar.
+          "showMenuBar": True or False, # Whether to display the browser menu bar.
+          "title": "A String", # Title of popup window.
+          "showToolBar": True or False, # Whether to display the browser tool bar.
+          "positionType": "A String", # Popup window position either centered or at specific coordinate.
+          "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+            "top": 42, # Offset distance from top side of an asset or a window.
+            "left": 42, # Offset distance from left side of an asset or a window.
+          },
+          "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+        },
+        "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+        "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+        "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+        "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+        "advertiserCustomEventName": "A String", # User-entered name for the event.
+      },
+    ],
+    "renderingIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "fsCommand": { # FsCommand. # OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE.
+      "windowHeight": 42, # Height of the window.
+      "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.
+      "windowWidth": 42, # Width of the window.
+      "positionOption": "A String", # Position in the browser where the window will open.
+      "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.
+    },
+    "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types.
+    "accountId": "A String", # Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.
+    "studioTraffickedCreativeId": "A String", # Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "archived": True or False, # Whether the creative is archived. Applicable to all creative types.
+    "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA.
+    "thirdPartyUrls": [ # Third-party URLs for tracking in-stream video creative events. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+      { # Third-party Tracking URL.
+        "url": "A String", # URL for the specified third-party URL type.
+        "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video creatives.
+      },
+    ],
+    "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by DoubleClick Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, ENHANCED_BANNER, all RICH_MEDIA, and all VPAID.
+    "exitCustomEvents": [ # List of exit events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      { # Creative Custom Event.
+        "targetType": "A String", # Target type used by the event.
+        "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+        "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+        "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+          "showStatusBar": True or False, # Whether to display the browser status bar.
+          "showScrollBar": True or False, # Whether to display the browser scroll bar.
+          "showAddressBar": True or False, # Whether to display the browser address bar.
+          "showMenuBar": True or False, # Whether to display the browser menu bar.
+          "title": "A String", # Title of popup window.
+          "showToolBar": True or False, # Whether to display the browser tool bar.
+          "positionType": "A String", # Popup window position either centered or at specific coordinate.
+          "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+            "top": 42, # Offset distance from top side of an asset or a window.
+            "left": 42, # Offset distance from left side of an asset or a window.
+          },
+          "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+        },
+        "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+        "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+        "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+        "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+        "advertiserCustomEventName": "A String", # User-entered name for the event.
+      },
+    ],
+    "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types.
+    "counterCustomEvents": [ # List of counter events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      { # Creative Custom Event.
+        "targetType": "A String", # Target type used by the event.
+        "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+        "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+        "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+          "showStatusBar": True or False, # Whether to display the browser status bar.
+          "showScrollBar": True or False, # Whether to display the browser scroll bar.
+          "showAddressBar": True or False, # Whether to display the browser address bar.
+          "showMenuBar": True or False, # Whether to display the browser menu bar.
+          "title": "A String", # Title of popup window.
+          "showToolBar": True or False, # Whether to display the browser tool bar.
+          "positionType": "A String", # Popup window position either centered or at specific coordinate.
+          "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+            "top": 42, # Offset distance from top side of an asset or a window.
+            "left": 42, # Offset distance from left side of an asset or a window.
+          },
+          "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+        },
+        "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+        "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+        "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+        "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+        "advertiserCustomEventName": "A String", # User-entered name for the event.
+      },
+    ],
+    "backupImageReportingLabel": "A String", # Reporting label used for HTML5 banner backup image. Applicable to the following creative types: ENHANCED_BANNER.
+    "version": 42, # The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types.
+    "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types.
+      { # Creative Field Assignment.
+        "creativeFieldId": "A String", # ID of the creative field.
+        "creativeFieldValueId": "A String", # ID of the creative field value.
+      },
+    ],
+    "backgroundColor": "A String", # The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE.
+    "customKeyValues": [ # Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "A String",
+    ],
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is false. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA.
+    "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE and FLASH_INPAGE creatives, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA.
+      "width": 42, # Width of this size.
+      "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+      "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+      "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+      "height": 42, # Height of this size.
+    },
+    "type": "A String", # Type of this creative.This is a required field. Applicable to all creative types.
+    "totalFileSize": "A String", # Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA
+    "studioAdvertiserId": "A String", # Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT
+      { # Creative Asset.
+        "mimeType": "A String", # Detected MIME type for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+        "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+        "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN.
+          "width": 42, # Width of this size.
+          "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+          "height": 42, # Height of this size.
+        },
+        "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, ENHANCED_BANNER, all RICH_MEDIA, and all VPAID.
+        "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.
+        "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA.
+        "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: ENHANCED_BANNER and HTML5_BANNER.
+          "A String",
+        ],
+        "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_VIDEO and VPAID_LINEAR.
+        "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA.
+        "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+        "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_MULTI_FLOATING.
+        "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE creatives, if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA.
+          "width": 42, # Width of this size.
+          "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+          "height": 42, # Height of this size.
+        },
+        "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+        "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA.
+        "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+        "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "width": 42, # Width of this size.
+          "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+          "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+          "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+          "height": 42, # Height of this size.
+        },
+        "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+        "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field.
+            # PRIMARY applies to ENHANCED_BANNER, FLASH_INPAGE, HTML5_BANNER, IMAGE, IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives.
+            # BACKUP_IMAGE applies to ENHANCED_BANNER, FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives.
+            # ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives.
+            # OTHER refers to assets from sources other than DCM, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives.
+            # PARENT_VIDEO refers to videos uploaded by the user in DCM and is applicable to INSTREAM_VIDEO and VPAID_LINEAR creatives.
+            # TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR creatives.
+            # ALTERNATE_VIDEO refers to the DCM representation of child asset videos from Studio, and is applicable to VPAID_LINEAR creatives. These cannot be added or removed within DCM.
+            # For VPAID_LINEAR creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR creative.
+        "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+        "bitRate": 42, # Detected bit-rate for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_INPAGE, and RICH_MEDIA_INPAGE_FLOATING.
+        "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA.
+        "videoDuration": 3.14, # Detected video duration for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+        "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+        "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN.
+          "top": 42, # Offset distance from top side of an asset or a window.
+          "left": 42, # Offset distance from left side of an asset or a window.
+        },
+        "active": True or False, # Whether the video asset is active. This is a read-only field for VPAID_NON_LINEAR assets. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "originalBackup": True or False, # Whether the backup asset is original or changed by the user in DCM. Applicable to the following creative types: all RICH_MEDIA.
+        "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA.
+        "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "zIndex": 42, # zIndex value of an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY.
+        "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID.
+        "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA.
+          "targetType": "A String", # Target type used by the event.
+          "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+          "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+          "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+            "showStatusBar": True or False, # Whether to display the browser status bar.
+            "showScrollBar": True or False, # Whether to display the browser scroll bar.
+            "showAddressBar": True or False, # Whether to display the browser address bar.
+            "showMenuBar": True or False, # Whether to display the browser menu bar.
+            "title": "A String", # Title of popup window.
+            "showToolBar": True or False, # Whether to display the browser tool bar.
+            "positionType": "A String", # Popup window position either centered or at specific coordinate.
+            "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+              "top": 42, # Offset distance from top side of an asset or a window.
+              "left": 42, # Offset distance from left side of an asset or a window.
+            },
+            "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+              "width": 42, # Width of this size.
+              "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+              "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+              "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+              "height": 42, # Height of this size.
+            },
+          },
+          "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+          "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+          "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventName": "A String", # User-entered name for the event.
+        },
+        "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE and ENHANCED_BANNER.
+        "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Must be between 0 and 9.99. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.
+        "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+          "type": "A String", # Type of asset to upload. This is a required field. IMAGE is solely used for IMAGE creatives. Other image assets should use HTML_IMAGE.
+          "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed.
+        },
+        "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets.
+        "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+        "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA.
+          "top": 42, # Offset distance from top side of an asset or a window.
+          "left": 42, # Offset distance from left side of an asset or a window.
+        },
+        "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA.
+      },
+    ],
+    "redirectUrl": "A String", # URL of hosted image or another ad tag. This is a required field when applicable. Applicable to the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT
+    "videoDuration": 3.14, # Creative video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, all RICH_MEDIA, and all VPAID.
+    "htmlCodeLocked": True or False, # Whether HTML code is DCM-generated or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER.
+    "convertFlashToHtml5": True or False, # Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative types: ENHANCED_BANNER and FLASH_INPAGE.
+    "clickTags": [ # Click tags of the creative. For ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For ENHANCED_IMAGE creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER.
+      { # Creative Click Tag.
+        "eventName": "A String", # Advertiser event name associated with the click tag. This field is used by ENHANCED_BANNER, ENHANCED_IMAGE, and HTML5_BANNER creatives.
+        "name": "A String", # Parameter name for the specified click tag. For ENHANCED_IMAGE creative assets, this field must match the value of the creative asset's creativeAssetId.name field.
+        "value": "A String", # Parameter value for the specified click tag. This field contains a click-through url.
+      },
+    ],
+    "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+    "active": True or False, # Whether the creative is active. Applicable to all creative types.
+    "compatibility": [ # Compatibilities associated with this creative. This is a read-only field. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. Applicable to all creative types.
+        # 
+        # Acceptable values are:
+        # - "APP"
+        # - "APP_INTERSTITIAL"
+        # - "IN_STREAM_VIDEO"
+        # - "WEB"
+        # - "WEB_INTERSTITIAL"
+      "A String",
+    ],
+    "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID.
+    "adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "A String",
+    ],
+    "kind": "dfareporting#creative", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative".
+    "subaccountId": "A String", # Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.
+    "name": "A String", # Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types.
+    "sslOverride": True or False, # Whether creative should be treated as SSL compliant even if the system scan shows it's not.
+    "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "backupImageClickThroughUrl": "A String", # Click-through URL for backup image. Applicable to the following creative types: ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER.
+    "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types.
+    "studioCreativeId": "A String", # Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+    "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+    "allowScriptAccess": True or False, # Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE.
+    "companionCreatives": [ # List of companion creatives assigned to an in-Stream videocreative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+      "A String",
+    ],
+    "auto_advance_images": True or False, # Whether images are automatically advanced for enhanced image creatives. Applicable to the following creative types: ENHANCED_IMAGE.
+    "backupImageFeatures": [ # List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by DCM for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: ENHANCED_BANNER and HTML5_BANNER.
+      "A String",
+    ],
+    "backupImageTargetWindow": { # Target Window. # Target window for backup image. Applicable to the following creative types: ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER.
+      "customHtml": "A String", # User-entered value.
+      "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed.
+    },
+    "skippable": True or False, # Whether the user can choose to skip the creative. Applicable to the following creative types: INSTREAM_VIDEO.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a Creative.
+      "artworkType": "A String", # Type of artwork used for the creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "latestTraffickedCreativeId": "A String", # Latest Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "videoDescription": "A String", # Description of the video ad. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+      "advertiserId": "A String", # Advertiser ID of this creative. This is a required field. Applicable to all creative types.
+      "requiredFlashPluginVersion": "A String", # The minimum required Flash plugin version for this creative. For example, 11.2.202.235. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "thirdPartyBackupImageImpressionsUrl": "A String", # Third-party URL used to record backup image impressions. Applicable to the following creative types: all RICH_MEDIA
+      "timerCustomEvents": [ # List of timer events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+        { # Creative Custom Event.
+          "targetType": "A String", # Target type used by the event.
+          "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+          "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+          "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+            "showStatusBar": True or False, # Whether to display the browser status bar.
+            "showScrollBar": True or False, # Whether to display the browser scroll bar.
+            "showAddressBar": True or False, # Whether to display the browser address bar.
+            "showMenuBar": True or False, # Whether to display the browser menu bar.
+            "title": "A String", # Title of popup window.
+            "showToolBar": True or False, # Whether to display the browser tool bar.
+            "positionType": "A String", # Popup window position either centered or at specific coordinate.
+            "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+              "top": 42, # Offset distance from top side of an asset or a window.
+              "left": 42, # Offset distance from left side of an asset or a window.
+            },
+            "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+              "width": 42, # Width of this size.
+              "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+              "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+              "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+              "height": 42, # Height of this size.
+            },
+          },
+          "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+          "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+          "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventName": "A String", # User-entered name for the event.
+        },
+      ],
+      "renderingIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the rendering ID of this creative. This is a read-only field. Applicable to all creative types.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "fsCommand": { # FsCommand. # OpenWindow FSCommand of this creative. This lets the SWF file communicate with either Flash Player or the program hosting Flash Player, such as a web browser. This is only triggered if allowScriptAccess field is true. Applicable to the following creative types: FLASH_INPAGE.
+        "windowHeight": 42, # Height of the window.
+        "top": 42, # Distance from the top of the browser. Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.
+        "windowWidth": 42, # Width of the window.
+        "positionOption": "A String", # Position in the browser where the window will open.
+        "left": 42, # Distance from the left of the browser.Applicable when positionOption is DISTANCE_FROM_TOP_LEFT_CORNER.
+      },
+      "id": "A String", # ID of this creative. This is a read-only, auto-generated field. Applicable to all creative types.
+      "accountId": "A String", # Account ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.
+      "studioTraffickedCreativeId": "A String", # Studio trafficked creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "archived": True or False, # Whether the creative is archived. Applicable to all creative types.
+      "overrideCss": "A String", # Override CSS value for rich media creatives. Applicable to the following creative types: all RICH_MEDIA.
+      "thirdPartyUrls": [ # Third-party URLs for tracking in-stream video creative events. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        { # Third-party Tracking URL.
+          "url": "A String", # URL for the specified third-party URL type.
+          "thirdPartyUrlType": "A String", # Third-party URL type for in-stream video creatives.
+        },
+      ],
+      "requiredFlashVersion": 42, # The internal Flash version for this creative as calculated by DoubleClick Studio. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, ENHANCED_BANNER, all RICH_MEDIA, and all VPAID.
+      "exitCustomEvents": [ # List of exit events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+        { # Creative Custom Event.
+          "targetType": "A String", # Target type used by the event.
+          "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+          "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+          "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+            "showStatusBar": True or False, # Whether to display the browser status bar.
+            "showScrollBar": True or False, # Whether to display the browser scroll bar.
+            "showAddressBar": True or False, # Whether to display the browser address bar.
+            "showMenuBar": True or False, # Whether to display the browser menu bar.
+            "title": "A String", # Title of popup window.
+            "showToolBar": True or False, # Whether to display the browser tool bar.
+            "positionType": "A String", # Popup window position either centered or at specific coordinate.
+            "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+              "top": 42, # Offset distance from top side of an asset or a window.
+              "left": 42, # Offset distance from left side of an asset or a window.
+            },
+            "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+              "width": 42, # Width of this size.
+              "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+              "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+              "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+              "height": 42, # Height of this size.
+            },
+          },
+          "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+          "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+          "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventName": "A String", # User-entered name for the event.
+        },
+      ],
+      "renderingId": "A String", # ID of current rendering version. This is a read-only field. Applicable to all creative types.
+      "counterCustomEvents": [ # List of counter events configured for the creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+        { # Creative Custom Event.
+          "targetType": "A String", # Target type used by the event.
+          "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+          "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+          "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+            "showStatusBar": True or False, # Whether to display the browser status bar.
+            "showScrollBar": True or False, # Whether to display the browser scroll bar.
+            "showAddressBar": True or False, # Whether to display the browser address bar.
+            "showMenuBar": True or False, # Whether to display the browser menu bar.
+            "title": "A String", # Title of popup window.
+            "showToolBar": True or False, # Whether to display the browser tool bar.
+            "positionType": "A String", # Popup window position either centered or at specific coordinate.
+            "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+              "top": 42, # Offset distance from top side of an asset or a window.
+              "left": 42, # Offset distance from left side of an asset or a window.
+            },
+            "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+              "width": 42, # Width of this size.
+              "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+              "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+              "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+              "height": 42, # Height of this size.
+            },
+          },
+          "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+          "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+          "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+          "advertiserCustomEventName": "A String", # User-entered name for the event.
+        },
+      ],
+      "backupImageReportingLabel": "A String", # Reporting label used for HTML5 banner backup image. Applicable to the following creative types: ENHANCED_BANNER.
+      "version": 42, # The version number helps you keep track of multiple versions of your creative in your reports. The version number will always be auto-generated during insert operations to start at 1. For tracking creatives the version cannot be incremented and will always remain at 1. For all other creative types the version can be incremented only by 1 during update operations. In addition, the version will be automatically incremented by 1 when undergoing Rich Media creative merging. Applicable to all creative types.
+      "creativeFieldAssignments": [ # Creative field assignments for this creative. Applicable to all creative types.
+        { # Creative Field Assignment.
+          "creativeFieldId": "A String", # ID of the creative field.
+          "creativeFieldValueId": "A String", # ID of the creative field value.
+        },
+      ],
+      "backgroundColor": "A String", # The 6-character HTML color code, beginning with #, for the background of the window area where the Flash file is displayed. Default is white. Applicable to the following creative types: FLASH_INPAGE.
+      "customKeyValues": [ # Custom key-values for a Rich Media creative. Key-values let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use key-values to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+        "A String",
+      ],
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this creative. This is a read-only field. Applicable to all creative types.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "htmlCode": "A String", # HTML code for the creative. This is a required field when applicable. This field is ignored if htmlCodeLocked is false. Applicable to the following creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA.
+      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative. When inserting or updating a creative either the size ID field or size width and height fields can be used. This is a required field when applicable; however for IMAGE and FLASH_INPAGE creatives, if left blank, this field will be automatically set using the actual size of the associated image assets. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA.
+        "width": 42, # Width of this size.
+        "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+        "height": 42, # Height of this size.
+      },
+      "type": "A String", # Type of this creative.This is a required field. Applicable to all creative types.
+      "totalFileSize": "A String", # Combined size of all creative assets. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "thirdPartyRichMediaImpressionsUrl": "A String", # Third-party URL used to record rich media impressions. Applicable to the following creative types: all RICH_MEDIA
+      "studioAdvertiserId": "A String", # Studio advertiser ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "creativeAssets": [ # Assets associated with a creative. Applicable to all but the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT
+        { # Creative Asset.
+          "mimeType": "A String", # Detected MIME type for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "artworkType": "A String", # Artwork type of rich media creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+          "positionLeftUnit": "A String", # Offset left unit for an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+          "collapsedSize": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size of an asset when collapsed. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN.
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+          "flashVersion": 42, # Flash version of the asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE, ENHANCED_BANNER, all RICH_MEDIA, and all VPAID.
+          "pushdown": True or False, # Whether the asset pushes down other content. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable when the asset offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.
+          "hideFlashObjects": True or False, # Whether to hide Flash objects flag for an asset. Applicable to the following creative types: all RICH_MEDIA.
+          "detectedFeatures": [ # List of feature dependencies for the creative asset that are detected by DCM. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative correctly. This is a read-only, auto-generated field. Applicable to the following creative types: ENHANCED_BANNER and HTML5_BANNER.
+            "A String",
+          ],
+          "duration": 42, # Duration in seconds for which an asset will be displayed. Applicable to the following creative types: INSTREAM_VIDEO and VPAID_LINEAR.
+          "positionTopUnit": "A String", # Offset top unit for an asset. This is a read-only field if the asset displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following creative types: all RICH_MEDIA.
+          "id": "A String", # Numeric ID of this creative asset. This is a required field and should not be modified. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+          "alignment": "A String", # Possible alignments for an asset. This is a read-only field. Applicable to the following creative types: RICH_MEDIA_MULTI_FLOATING.
+          "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this creative asset. This is a required field when applicable; however for IMAGE and FLASH_INPAGE creatives, if left blank, this field will be automatically set using the actual size of the associated image asset. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER, IMAGE, and all RICH_MEDIA.
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+          "horizontallyLocked": True or False, # Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+          "startTimeType": "A String", # Initial wait time type before making the asset visible. Applicable to the following creative types: all RICH_MEDIA.
+          "displayType": "A String", # Type of rich media asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+          "expandedDimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Detected expanded dimension for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+          "verticallyLocked": True or False, # Whether the asset is vertically locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.
+          "role": "A String", # Role of the asset in relation to creative. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT. This is a required field.
+              # PRIMARY applies to ENHANCED_BANNER, FLASH_INPAGE, HTML5_BANNER, IMAGE, IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary assets), and all VPAID creatives.
+              # BACKUP_IMAGE applies to ENHANCED_BANNER, FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all VPAID creatives.
+              # ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives.
+              # OTHER refers to assets from sources other than DCM, such as Studio uploaded assets, applicable to all RICH_MEDIA and all VPAID creatives.
+              # PARENT_VIDEO refers to videos uploaded by the user in DCM and is applicable to INSTREAM_VIDEO and VPAID_LINEAR creatives.
+              # TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO assets and is applicable to INSTREAM_VIDEO and VPAID_LINEAR creatives.
+              # ALTERNATE_VIDEO refers to the DCM representation of child asset videos from Studio, and is applicable to VPAID_LINEAR creatives. These cannot be added or removed within DCM.
+              # For VPAID_LINEAR creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO assets that are marked active serve as backup in case the VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or removed for an INSTREAM_VIDEO or VPAID_LINEAR creative.
+          "zipFilesize": "A String", # Size of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+          "bitRate": 42, # Detected bit-rate for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "windowMode": "A String", # Window mode options for flash assets. Applicable to the following creative types: FLASH_INPAGE, RICH_MEDIA_EXPANDING, RICH_MEDIA_IM_EXPAND, RICH_MEDIA_INPAGE, and RICH_MEDIA_INPAGE_FLOATING.
+          "progressiveServingUrl": "A String", # Progressive URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "durationType": "A String", # Duration type for which an asset will be displayed. Applicable to the following creative types: all RICH_MEDIA.
+          "videoDuration": 3.14, # Detected video duration for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "fileSize": "A String", # File size associated with this creative asset. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+          "zipFilename": "A String", # File name of zip file. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+          "offset": { # Offset Position. # Offset position for an asset in collapsed mode. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID. Additionally, only applicable to assets whose displayType is ASSET_DISPLAY_TYPE_EXPANDING or ASSET_DISPLAY_TYPE_PEEL_DOWN.
+            "top": 42, # Offset distance from top side of an asset or a window.
+            "left": 42, # Offset distance from left side of an asset or a window.
+          },
+          "active": True or False, # Whether the video asset is active. This is a read-only field for VPAID_NON_LINEAR assets. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "originalBackup": True or False, # Whether the backup asset is original or changed by the user in DCM. Applicable to the following creative types: all RICH_MEDIA.
+          "hideSelectionBoxes": True or False, # Whether to hide selection boxes flag for an asset. Applicable to the following creative types: all RICH_MEDIA.
+          "streamingServingUrl": "A String", # Streaming URL for video asset. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+          "zIndex": 42, # zIndex value of an asset. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable to assets whose displayType is NOT one of the following types: ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY.
+          "childAssetType": "A String", # Rich media child asset type. This is a read-only field. Applicable to the following creative types: all VPAID.
+          "backupImageExit": { # Creative Custom Event. # Exit event configured for the backup image. Applicable to the following creative types: all RICH_MEDIA.
+            "targetType": "A String", # Target type used by the event.
+            "artworkType": "A String", # Artwork type used by the creative.This is a read-only field.
+            "videoReportingId": "A String", # Reporting ID, used to differentiate multiple videos in a single creative.
+            "popupWindowProperties": { # Popup Window Properties. # Properties for rich media popup windows. This field is used only for exit events.
+              "showStatusBar": True or False, # Whether to display the browser status bar.
+              "showScrollBar": True or False, # Whether to display the browser scroll bar.
+              "showAddressBar": True or False, # Whether to display the browser address bar.
+              "showMenuBar": True or False, # Whether to display the browser menu bar.
+              "title": "A String", # Title of popup window.
+              "showToolBar": True or False, # Whether to display the browser tool bar.
+              "positionType": "A String", # Popup window position either centered or at specific coordinate.
+              "offset": { # Offset Position. # Upper-left corner coordinates of the popup window. Applicable if positionType is COORDINATES.
+                "top": 42, # Offset distance from top side of an asset or a window.
+                "left": 42, # Offset distance from left side of an asset or a window.
+              },
+              "dimension": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Popup dimension for a creative. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA and all VPAID
+                "width": 42, # Width of this size.
+                "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+                "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+                "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+                "height": 42, # Height of this size.
+              },
+            },
+            "artworkLabel": "A String", # Artwork label column, used to link events in DCM back to events in Studio. This is a required field and should not be modified after insertion.
+            "advertiserCustomEventType": "A String", # Type of the event. This is a read-only field.
+            "exitUrl": "A String", # Exit URL of the event. This field is used only for exit events.
+            "id": "A String", # ID of this event. This is a required field and should not be modified after insertion.
+            "advertiserCustomEventName": "A String", # User-entered name for the event.
+          },
+          "actionScript3": True or False, # Whether ActionScript3 is enabled for the flash asset. This is a read-only field. Applicable to the following creative types: FLASH_INPAGE and ENHANCED_BANNER.
+          "pushdownDuration": 3.14, # Pushdown duration in seconds for an asset. Must be between 0 and 9.99. Applicable to the following creative types: all RICH_MEDIA.Additionally, only applicable when the asset pushdown field is true, the offsets are 0, the collapsedSize.width matches size.width, and the collapsedSize.height is less than size.height.
+          "assetIdentifier": { # Creative Asset ID. # Identifier of this asset. This is the same identifier returned during creative asset insert operation. This is a required field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+            "type": "A String", # Type of asset to upload. This is a required field. IMAGE is solely used for IMAGE creatives. Other image assets should use HTML_IMAGE.
+            "name": "A String", # Name of the creative asset. This is a required field while inserting an asset. After insertion, this assetIdentifier is used to identify the uploaded asset. Characters in the name must be alphanumeric or one of the following: ".-_ ". Spaces are allowed.
+          },
+          "transparency": True or False, # Whether the asset is transparent. Applicable to the following creative types: all RICH_MEDIA. Additionally, only applicable to HTML5 assets.
+          "sslCompliant": True or False, # Whether the asset is SSL-compliant. This is a read-only field. Applicable to all but the following creative types: all REDIRECT and TRACKING_TEXT.
+          "position": { # Offset Position. # Offset position for an asset. Applicable to the following creative types: all RICH_MEDIA.
+            "top": 42, # Offset distance from top side of an asset or a window.
+            "left": 42, # Offset distance from left side of an asset or a window.
+          },
+          "customStartTimeValue": 42, # Custom start time in seconds for making the asset visible. Applicable to the following creative types: all RICH_MEDIA.
+        },
+      ],
+      "redirectUrl": "A String", # URL of hosted image or another ad tag. This is a required field when applicable. Applicable to the following creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and REDIRECT
+      "videoDuration": 3.14, # Creative video duration in seconds. This is a read-only field. Applicable to the following creative types: INSTREAM_VIDEO, all RICH_MEDIA, and all VPAID.
+      "htmlCodeLocked": True or False, # Whether HTML code is DCM-generated or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER.
+      "convertFlashToHtml5": True or False, # Whether Flash assets associated with the creative need to be automatically converted to HTML5. This flag is enabled by default and users can choose to disable it if they don't want the system to generate and use HTML5 asset for this creative. Applicable to the following creative types: ENHANCED_BANNER and FLASH_INPAGE.
+      "clickTags": [ # Click tags of the creative. For ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER creatives, this is a subset of detected click tags for the assets associated with this creative. After creating a flash asset, detected click tags will be returned in the creativeAssetMetadata. When inserting the creative, populate the creative clickTags field using the creativeAssetMetadata.clickTags field. For ENHANCED_IMAGE creatives, there should be exactly one entry in this list for each image creative asset. A click tag is matched with a corresponding creative asset by matching the clickTag.name field with the creativeAsset.assetIdentifier.name field. Applicable to the following creative types: ENHANCED_BANNER, ENHANCED_IMAGE, FLASH_INPAGE, HTML5_BANNER.
+        { # Creative Click Tag.
+          "eventName": "A String", # Advertiser event name associated with the click tag. This field is used by ENHANCED_BANNER, ENHANCED_IMAGE, and HTML5_BANNER creatives.
+          "name": "A String", # Parameter name for the specified click tag. For ENHANCED_IMAGE creative assets, this field must match the value of the creative asset's creativeAssetId.name field.
+          "value": "A String", # Parameter value for the specified click tag. This field contains a click-through url.
+        },
+      ],
+      "commercialId": "A String", # Industry standard ID assigned to creative for reach and frequency. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+      "active": True or False, # Whether the creative is active. Applicable to all creative types.
+      "compatibility": [ # Compatibilities associated with this creative. This is a read-only field. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. Applicable to all creative types.
+          #
+          # Acceptable values are:
+          # - "APP"
+          # - "APP_INTERSTITIAL"
+          # - "IN_STREAM_VIDEO"
+          # - "WEB"
+          # - "WEB_INTERSTITIAL"
+        "A String",
+      ],
+      "adParameters": "A String", # Ad parameters user for VPAID creative. This is a read-only field. Applicable to the following creative types: all VPAID.
+      "adTagKeys": [ # Keywords for a Rich Media creative. Keywords let you customize the creative settings of a Rich Media ad running on your site without having to contact the advertiser. You can use keywords to dynamically change the look or functionality of a creative. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+        "A String",
+      ],
+      "kind": "dfareporting#creative", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#creative".
+      "subaccountId": "A String", # Subaccount ID of this creative. This field, if left unset, will be auto-generated for both insert and update operations. Applicable to all creative types.
+      "name": "A String", # Name of the creative. This is a required field and must be less than 256 characters long. Applicable to all creative types.
+      "sslOverride": True or False, # Whether creative should be treated as SSL compliant even if the system scan shows it's not.
+      "lastModifiedInfo": { # Modification timestamp. # Creative last modification information. This is a read-only field. Applicable to all creative types.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "backupImageClickThroughUrl": "A String", # Click-through URL for backup image. Applicable to the following creative types: ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER.
+      "sslCompliant": True or False, # Whether the creative is SSL-compliant. This is a read-only field. Applicable to all creative types.
+      "studioCreativeId": "A String", # Studio creative ID associated with rich media and VPAID creatives. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA, and all VPAID.
+      "authoringTool": "A String", # Authoring tool for HTML5 banner creatives. This is a read-only field. Applicable to the following creative types: HTML5_BANNER.
+      "allowScriptAccess": True or False, # Whether script access is allowed for this creative. This is a read-only and deprecated field which will automatically be set to true on update. Applicable to the following creative types: FLASH_INPAGE.
+      "companionCreatives": [ # List of companion creatives assigned to an in-Stream videocreative. Acceptable values include IDs of existing flash and image creatives. Applicable to the following creative types: INSTREAM_VIDEO and all VPAID.
+        "A String",
+      ],
+      "auto_advance_images": True or False, # Whether images are automatically advanced for enhanced image creatives. Applicable to the following creative types: ENHANCED_IMAGE.
+      "backupImageFeatures": [ # List of feature dependencies that will cause a backup image to be served if the browser that serves the ad does not support them. Feature dependencies are features that a browser must be able to support in order to render your HTML5 creative asset correctly. This field is initially auto-generated to contain all features detected by DCM for all the assets of this creative and can then be modified by the client. To reset this field, copy over all the creativeAssets' detected features. Applicable to the following creative types: ENHANCED_BANNER and HTML5_BANNER.
+        "A String",
+      ],
+      "backupImageTargetWindow": { # Target Window. # Target window for backup image. Applicable to the following creative types: ENHANCED_BANNER, FLASH_INPAGE, and HTML5_BANNER.
+        "customHtml": "A String", # User-entered value.
+        "targetWindowOption": "A String", # Type of browser window for which the backup image of the flash creative can be displayed.
+      },
+      "skippable": True or False, # Whether the user can choose to skip the creative. Applicable to the following creative types: INSTREAM_VIDEO.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.dimensionValues.html b/docs/dyn/dfareporting_v2_2.dimensionValues.html new file mode 100644 index 00000000000..9c4c1a01a9a --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.dimensionValues.html @@ -0,0 +1,144 @@ + + + +

DCM/DFA Reporting And Trafficking API . dimensionValues

+

Instance Methods

+

+ query(profileId, body, pageToken=None, maxResults=None)

+

Retrieves list of report dimension values for a list of filters.

+

+ query_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ query(profileId, body, pageToken=None, maxResults=None) +
Retrieves list of report dimension values for a list of filters.
+
+Args:
+  profileId: string, The DFA user profile ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Represents a DimensionValuesRequest.
+    "dimensionName": "A String", # The name of the dimension for which values should be requested.
+    "startDate": "A String", # The start date of the date range for which to retrieve dimension values. A string of the format "yyyy-MM-dd".
+    "kind": "dfareporting#dimensionValueRequest", # The kind of request this is, in this case dfareporting#dimensionValueRequest.
+    "endDate": "A String", # The end date of the date range for which to retrieve dimension values. A string of the format "yyyy-MM-dd".
+    "filters": [ # The list of filters by which to filter values. The filters are ANDed.
+      { # Represents a dimension filter.
+        "dimensionName": "A String", # The name of the dimension to filter.
+        "kind": "dfareporting#dimensionFilter", # The kind of resource this is, in this case dfareporting#dimensionFilter.
+        "value": "A String", # The value of the dimension to filter.
+      },
+    ],
+  }
+
+  pageToken: string, The value of the nextToken from the previous result page.
+  maxResults: integer, Maximum number of results to return.
+
+Returns:
+  An object of the form:
+
+    { # Represents the list of DimensionValue resources.
+    "nextPageToken": "A String", # Continuation token used to page through dimension values. To retrieve the next page of results, set the next request's "pageToken" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted.
+    "items": [ # The dimension values returned in this response.
+      { # Represents a DimensionValue resource.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+    ],
+    "kind": "dfareporting#dimensionValueList", # The kind of list this is, in this case dfareporting#dimensionValueList.
+    "etag": "A String", # The eTag of this response for caching purposes.
+  }
+
+ +
+ query_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.directorySiteContacts.html b/docs/dyn/dfareporting_v2_2.directorySiteContacts.html new file mode 100644 index 00000000000..b0a52e93fce --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.directorySiteContacts.html @@ -0,0 +1,169 @@ + + + +

DCM/DFA Reporting And Trafficking API . directorySiteContacts

+

Instance Methods

+

+ get(profileId, id)

+

Gets one directory site contact by ID.

+

+ list(profileId, searchString=None, directorySiteIds=None, pageToken=None, sortField=None, ids=None, maxResults=None, sortOrder=None)

+

Retrieves a list of directory site contacts, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ get(profileId, id) +
Gets one directory site contact by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Directory site contact ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a Site Directory contact.
+    "kind": "dfareporting#directorySiteContact", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#directorySiteContact".
+    "firstName": "A String", # First name of this directory site contact.
+    "title": "A String", # Title or designation of this directory site contact.
+    "lastName": "A String", # Last name of this directory site contact.
+    "email": "A String", # Email address of this directory site contact.
+    "phone": "A String", # Phone number of this directory site contact.
+    "role": "A String", # Directory site contact role.
+    "address": "A String", # Address of this directory site contact.
+    "type": "A String", # Directory site contact type.
+    "id": "A String", # ID of this directory site contact. This is a read-only, auto-generated field.
+  }
+
+ +
+ list(profileId, searchString=None, directorySiteIds=None, pageToken=None, sortField=None, ids=None, maxResults=None, sortOrder=None) +
Retrieves a list of directory site contacts, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  searchString: string, Allows searching for objects by name, ID or email. Wildcards (*) are allowed. For example, "directory site contact*2015" will return objects with names like "directory site contact June 2015", "directory site contact April 2015", or simply "directory site contact 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "directory site contact" will match objects with name "my directory site contact", "directory site contact 2015", or simply "directory site contact".
+  directorySiteIds: string, Select only directory site contacts with these directory site IDs. This is a required field. (repeated)
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  ids: string, Select only directory site contacts with these IDs. (repeated)
+  maxResults: integer, Maximum number of results to return.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+
+Returns:
+  An object of the form:
+
+    { # Directory Site Contact List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "directorySiteContacts": [ # Directory site contact collection
+      { # Contains properties of a Site Directory contact.
+        "kind": "dfareporting#directorySiteContact", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#directorySiteContact".
+        "firstName": "A String", # First name of this directory site contact.
+        "title": "A String", # Title or designation of this directory site contact.
+        "lastName": "A String", # Last name of this directory site contact.
+        "email": "A String", # Email address of this directory site contact.
+        "phone": "A String", # Phone number of this directory site contact.
+        "role": "A String", # Directory site contact role.
+        "address": "A String", # Address of this directory site contact.
+        "type": "A String", # Directory site contact type.
+        "id": "A String", # ID of this directory site contact. This is a read-only, auto-generated field.
+      },
+    ],
+    "kind": "dfareporting#directorySiteContactsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#directorySiteContactsListResponse".
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.directorySites.html b/docs/dyn/dfareporting_v2_2.directorySites.html new file mode 100644 index 00000000000..5ce02ee0fc9 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.directorySites.html @@ -0,0 +1,546 @@ + + + +

DCM/DFA Reporting And Trafficking API . directorySites

+

Instance Methods

+

+ get(profileId, id)

+

Gets one directory site by ID.

+

+ insert(profileId, body)

+

Inserts a new directory site.

+

+ list(profileId, countryId=None, acceptsInStreamVideoPlacements=None, pageToken=None, sortOrder=None, parentId=None, acceptsPublisherPaidPlacements=None, acceptsInterstitialPlacements=None, maxResults=None, active=None, searchString=None, sortField=None, ids=None, dfp_network_code=None)

+

Retrieves a list of directory sites, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ get(profileId, id) +
Gets one directory site by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Directory site ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # DirectorySites contains properties of a website from the Site Directory. Sites need to be added to an account via the Sites resource before they can be assigned to a placement.
+      "kind": "dfareporting#directorySite", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#directorySite".
+      "countryId": "A String", # Country ID of this directory site.
+      "description": "A String", # Description of this directory site.
+      "settings": { # Directory Site Settings # Directory site settings.
+        "nielsenOcrOptOut": True or False, # Whether this directory site has disabled Nielsen OCR reach ratings.
+        "activeViewOptOut": True or False, # Whether this directory site has disabled active view creatives.
+        "dfp_settings": { # DFP Settings # Directory site DFP settings.
+          "publisherPortalOnly": True or False, # Whether this directory site is available only via DoubleClick Publisher Portal.
+          "dfp_network_name": "A String", # DFP network name for this directory site.
+          "pubPaidPlacementAccepted": True or False, # Whether this directory site accepts publisher-paid tags.
+          "programmaticPlacementAccepted": True or False, # Whether this directory site accepts programmatic placements.
+          "dfp_network_code": "A String", # DFP network code for this directory site.
+        },
+        "verificationTagOptOut": True or False, # Whether this directory site has disabled generation of Verification ins tags.
+        "instream_video_placement_accepted": True or False, # Whether this site accepts in-stream video ads.
+        "interstitialPlacementAccepted": True or False, # Whether this site accepts interstitial ads.
+        "videoActiveViewOptOut": True or False, # Whether this directory site has disabled active view for in-stream video creatives.
+      },
+      "currencyId": "A String", # Currency ID of this directory site.
+          # Possible values are:
+          # - "1" for USD
+          # - "2" for GBP
+          # - "3" for ESP
+          # - "4" for SEK
+          # - "5" for CAD
+          # - "6" for JPY
+          # - "7" for DEM
+          # - "8" for AUD
+          # - "9" for FRF
+          # - "10" for ITL
+          # - "11" for DKK
+          # - "12" for NOK
+          # - "13" for FIM
+          # - "14" for ZAR
+          # - "15" for IEP
+          # - "16" for NLG
+          # - "17" for EUR
+          # - "18" for KRW
+          # - "19" for TWD
+          # - "20" for SGD
+          # - "21" for CNY
+          # - "22" for HKD
+          # - "23" for NZD
+          # - "24" for MYR
+          # - "25" for BRL
+          # - "26" for PTE
+          # - "27" for MXP
+          # - "28" for CLP
+          # - "29" for TRY
+          # - "30" for ARS
+          # - "31" for PEN
+          # - "32" for ILS
+          # - "33" for CHF
+          # - "34" for VEF
+          # - "35" for COP
+          # - "36" for GTQ
+      "inpageTagFormats": [ # Tag types for regular placements.
+          #
+          # Acceptable values are:
+          # - "STANDARD"
+          # - "IFRAME_JAVASCRIPT_INPAGE"
+          # - "INTERNAL_REDIRECT_INPAGE"
+          # - "JAVASCRIPT_INPAGE"
+        "A String",
+      ],
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this directory site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "interstitialTagFormats": [ # Tag types for interstitial placements.
+          #
+          # Acceptable values are:
+          # - "IFRAME_JAVASCRIPT_INTERSTITIAL"
+          # - "INTERNAL_REDIRECT_INTERSTITIAL"
+          # - "JAVASCRIPT_INTERSTITIAL"
+        "A String",
+      ],
+      "contactAssignments": [ # Directory site contacts.
+        { # Directory Site Contact Assignment
+          "contactId": "A String", # ID of this directory site contact. This is a read-only, auto-generated field.
+          "visibility": "A String", # Visibility of this directory site contact assignment. When set to PUBLIC this contact assignment is visible to all account and agency users; when set to PRIVATE it is visible only to the site.
+        },
+      ],
+      "url": "A String", # URL of this directory site.
+      "parentId": "A String", # Parent directory site ID.
+      "active": True or False, # Whether this directory site is active.
+      "id": "A String", # ID of this directory site. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this directory site.
+    }
+
+ +
+ insert(profileId, body) +
Inserts a new directory site.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # DirectorySites contains properties of a website from the Site Directory. Sites need to be added to an account via the Sites resource before they can be assigned to a placement.
+    "kind": "dfareporting#directorySite", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#directorySite".
+    "countryId": "A String", # Country ID of this directory site.
+    "description": "A String", # Description of this directory site.
+    "settings": { # Directory Site Settings # Directory site settings.
+      "nielsenOcrOptOut": True or False, # Whether this directory site has disabled Nielsen OCR reach ratings.
+      "activeViewOptOut": True or False, # Whether this directory site has disabled active view creatives.
+      "dfp_settings": { # DFP Settings # Directory site DFP settings.
+        "publisherPortalOnly": True or False, # Whether this directory site is available only via DoubleClick Publisher Portal.
+        "dfp_network_name": "A String", # DFP network name for this directory site.
+        "pubPaidPlacementAccepted": True or False, # Whether this directory site accepts publisher-paid tags.
+        "programmaticPlacementAccepted": True or False, # Whether this directory site accepts programmatic placements.
+        "dfp_network_code": "A String", # DFP network code for this directory site.
+      },
+      "verificationTagOptOut": True or False, # Whether this directory site has disabled generation of Verification ins tags.
+      "instream_video_placement_accepted": True or False, # Whether this site accepts in-stream video ads.
+      "interstitialPlacementAccepted": True or False, # Whether this site accepts interstitial ads.
+      "videoActiveViewOptOut": True or False, # Whether this directory site has disabled active view for in-stream video creatives.
+    },
+    "currencyId": "A String", # Currency ID of this directory site.
+        # Possible values are:
+        # - "1" for USD
+        # - "2" for GBP
+        # - "3" for ESP
+        # - "4" for SEK
+        # - "5" for CAD
+        # - "6" for JPY
+        # - "7" for DEM
+        # - "8" for AUD
+        # - "9" for FRF
+        # - "10" for ITL
+        # - "11" for DKK
+        # - "12" for NOK
+        # - "13" for FIM
+        # - "14" for ZAR
+        # - "15" for IEP
+        # - "16" for NLG
+        # - "17" for EUR
+        # - "18" for KRW
+        # - "19" for TWD
+        # - "20" for SGD
+        # - "21" for CNY
+        # - "22" for HKD
+        # - "23" for NZD
+        # - "24" for MYR
+        # - "25" for BRL
+        # - "26" for PTE
+        # - "27" for MXP
+        # - "28" for CLP
+        # - "29" for TRY
+        # - "30" for ARS
+        # - "31" for PEN
+        # - "32" for ILS
+        # - "33" for CHF
+        # - "34" for VEF
+        # - "35" for COP
+        # - "36" for GTQ
+    "inpageTagFormats": [ # Tag types for regular placements.
+        # 
+        # Acceptable values are:
+        # - "STANDARD"
+        # - "IFRAME_JAVASCRIPT_INPAGE"
+        # - "INTERNAL_REDIRECT_INPAGE"
+        # - "JAVASCRIPT_INPAGE"
+      "A String",
+    ],
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this directory site. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "interstitialTagFormats": [ # Tag types for interstitial placements.
+        # 
+        # Acceptable values are:
+        # - "IFRAME_JAVASCRIPT_INTERSTITIAL"
+        # - "INTERNAL_REDIRECT_INTERSTITIAL"
+        # - "JAVASCRIPT_INTERSTITIAL"
+      "A String",
+    ],
+    "contactAssignments": [ # Directory site contacts.
+      { # Directory Site Contact Assignment
+        "contactId": "A String", # ID of this directory site contact. This is a read-only, auto-generated field.
+        "visibility": "A String", # Visibility of this directory site contact assignment. When set to PUBLIC this contact assignment is visible to all account and agency users; when set to PRIVATE it is visible only to the site.
+      },
+    ],
+    "url": "A String", # URL of this directory site.
+    "parentId": "A String", # Parent directory site ID.
+    "active": True or False, # Whether this directory site is active.
+    "id": "A String", # ID of this directory site. This is a read-only, auto-generated field.
+    "name": "A String", # Name of this directory site.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # DirectorySites contains properties of a website from the Site Directory. Sites need to be added to an account via the Sites resource before they can be assigned to a placement.
+      "kind": "dfareporting#directorySite", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#directorySite".
+      "countryId": "A String", # Country ID of this directory site.
+      "description": "A String", # Description of this directory site.
+      "settings": { # Directory Site Settings # Directory site settings.
+        "nielsenOcrOptOut": True or False, # Whether this directory site has disabled Nielsen OCR reach ratings.
+        "activeViewOptOut": True or False, # Whether this directory site has disabled active view creatives.
+        "dfp_settings": { # DFP Settings # Directory site DFP settings.
+          "publisherPortalOnly": True or False, # Whether this directory site is available only via DoubleClick Publisher Portal.
+          "dfp_network_name": "A String", # DFP network name for this directory site.
+          "pubPaidPlacementAccepted": True or False, # Whether this directory site accepts publisher-paid tags.
+          "programmaticPlacementAccepted": True or False, # Whether this directory site accepts programmatic placements.
+          "dfp_network_code": "A String", # DFP network code for this directory site.
+        },
+        "verificationTagOptOut": True or False, # Whether this directory site has disabled generation of Verification ins tags.
+        "instream_video_placement_accepted": True or False, # Whether this site accepts in-stream video ads.
+        "interstitialPlacementAccepted": True or False, # Whether this site accepts interstitial ads.
+        "videoActiveViewOptOut": True or False, # Whether this directory site has disabled active view for in-stream video creatives.
+      },
+      "currencyId": "A String", # Currency ID of this directory site.
+          # Possible values are:
+          # - "1" for USD
+          # - "2" for GBP
+          # - "3" for ESP
+          # - "4" for SEK
+          # - "5" for CAD
+          # - "6" for JPY
+          # - "7" for DEM
+          # - "8" for AUD
+          # - "9" for FRF
+          # - "10" for ITL
+          # - "11" for DKK
+          # - "12" for NOK
+          # - "13" for FIM
+          # - "14" for ZAR
+          # - "15" for IEP
+          # - "16" for NLG
+          # - "17" for EUR
+          # - "18" for KRW
+          # - "19" for TWD
+          # - "20" for SGD
+          # - "21" for CNY
+          # - "22" for HKD
+          # - "23" for NZD
+          # - "24" for MYR
+          # - "25" for BRL
+          # - "26" for PTE
+          # - "27" for MXP
+          # - "28" for CLP
+          # - "29" for TRY
+          # - "30" for ARS
+          # - "31" for PEN
+          # - "32" for ILS
+          # - "33" for CHF
+          # - "34" for VEF
+          # - "35" for COP
+          # - "36" for GTQ
+      "inpageTagFormats": [ # Tag types for regular placements.
+          #
+          # Acceptable values are:
+          # - "STANDARD"
+          # - "IFRAME_JAVASCRIPT_INPAGE"
+          # - "INTERNAL_REDIRECT_INPAGE"
+          # - "JAVASCRIPT_INPAGE"
+        "A String",
+      ],
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this directory site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "interstitialTagFormats": [ # Tag types for interstitial placements.
+          #
+          # Acceptable values are:
+          # - "IFRAME_JAVASCRIPT_INTERSTITIAL"
+          # - "INTERNAL_REDIRECT_INTERSTITIAL"
+          # - "JAVASCRIPT_INTERSTITIAL"
+        "A String",
+      ],
+      "contactAssignments": [ # Directory site contacts.
+        { # Directory Site Contact Assignment
+          "contactId": "A String", # ID of this directory site contact. This is a read-only, auto-generated field.
+          "visibility": "A String", # Visibility of this directory site contact assignment. When set to PUBLIC this contact assignment is visible to all account and agency users; when set to PRIVATE it is visible only to the site.
+        },
+      ],
+      "url": "A String", # URL of this directory site.
+      "parentId": "A String", # Parent directory site ID.
+      "active": True or False, # Whether this directory site is active.
+      "id": "A String", # ID of this directory site. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this directory site.
+    }
+
+ +
+ list(profileId, countryId=None, acceptsInStreamVideoPlacements=None, pageToken=None, sortOrder=None, parentId=None, acceptsPublisherPaidPlacements=None, acceptsInterstitialPlacements=None, maxResults=None, active=None, searchString=None, sortField=None, ids=None, dfp_network_code=None) +
Retrieves a list of directory sites, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  countryId: string, Select only directory sites with this country ID.
+  acceptsInStreamVideoPlacements: boolean, This search filter is no longer supported and will have no effect on the results returned.
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+  parentId: string, Select only directory sites with this parent ID.
+  acceptsPublisherPaidPlacements: boolean, Select only directory sites that accept publisher paid placements. This field can be left blank.
+  acceptsInterstitialPlacements: boolean, This search filter is no longer supported and will have no effect on the results returned.
+  maxResults: integer, Maximum number of results to return.
+  active: boolean, Select only active directory sites. Leave blank to retrieve both active and inactive directory sites.
+  searchString: string, Allows searching for objects by name, ID or URL. Wildcards (*) are allowed. For example, "directory site*2015" will return objects with names like "directory site June 2015", "directory site April 2015", or simply "directory site 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "directory site" will match objects with name "my directory site", "directory site 2015" or simply, "directory site".
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  ids: string, Select only directory sites with these IDs. (repeated)
+  dfp_network_code: string, Select only directory sites with this DFP network code.
+
+Returns:
+  An object of the form:
+
+    { # Directory Site List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#directorySitesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#directorySitesListResponse".
+    "directorySites": [ # Directory site collection.
+      { # DirectorySites contains properties of a website from the Site Directory. Sites need to be added to an account via the Sites resource before they can be assigned to a placement.
+          "kind": "dfareporting#directorySite", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#directorySite".
+          "countryId": "A String", # Country ID of this directory site.
+          "description": "A String", # Description of this directory site.
+          "settings": { # Directory Site Settings # Directory site settings.
+            "nielsenOcrOptOut": True or False, # Whether this directory site has disabled Nielsen OCR reach ratings.
+            "activeViewOptOut": True or False, # Whether this directory site has disabled active view creatives.
+            "dfp_settings": { # DFP Settings # Directory site DFP settings.
+              "publisherPortalOnly": True or False, # Whether this directory site is available only via DoubleClick Publisher Portal.
+              "dfp_network_name": "A String", # DFP network name for this directory site.
+              "pubPaidPlacementAccepted": True or False, # Whether this directory site accepts publisher-paid tags.
+              "programmaticPlacementAccepted": True or False, # Whether this directory site accepts programmatic placements.
+              "dfp_network_code": "A String", # DFP network code for this directory site.
+            },
+            "verificationTagOptOut": True or False, # Whether this directory site has disabled generation of Verification ins tags.
+            "instream_video_placement_accepted": True or False, # Whether this site accepts in-stream video ads.
+            "interstitialPlacementAccepted": True or False, # Whether this site accepts interstitial ads.
+            "videoActiveViewOptOut": True or False, # Whether this directory site has disabled active view for in-stream video creatives.
+          },
+          "currencyId": "A String", # Currency ID of this directory site.
+              # Possible values are:
+              # - "1" for USD
+              # - "2" for GBP
+              # - "3" for ESP
+              # - "4" for SEK
+              # - "5" for CAD
+              # - "6" for JPY
+              # - "7" for DEM
+              # - "8" for AUD
+              # - "9" for FRF
+              # - "10" for ITL
+              # - "11" for DKK
+              # - "12" for NOK
+              # - "13" for FIM
+              # - "14" for ZAR
+              # - "15" for IEP
+              # - "16" for NLG
+              # - "17" for EUR
+              # - "18" for KRW
+              # - "19" for TWD
+              # - "20" for SGD
+              # - "21" for CNY
+              # - "22" for HKD
+              # - "23" for NZD
+              # - "24" for MYR
+              # - "25" for BRL
+              # - "26" for PTE
+              # - "27" for MXP
+              # - "28" for CLP
+              # - "29" for TRY
+              # - "30" for ARS
+              # - "31" for PEN
+              # - "32" for ILS
+              # - "33" for CHF
+              # - "34" for VEF
+              # - "35" for COP
+              # - "36" for GTQ
+          "inpageTagFormats": [ # Tag types for regular placements.
+              #
+              # Acceptable values are:
+              # - "STANDARD"
+              # - "IFRAME_JAVASCRIPT_INPAGE"
+              # - "INTERNAL_REDIRECT_INPAGE"
+              # - "JAVASCRIPT_INPAGE"
+            "A String",
+          ],
+          "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this directory site. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "interstitialTagFormats": [ # Tag types for interstitial placements.
+              #
+              # Acceptable values are:
+              # - "IFRAME_JAVASCRIPT_INTERSTITIAL"
+              # - "INTERNAL_REDIRECT_INTERSTITIAL"
+              # - "JAVASCRIPT_INTERSTITIAL"
+            "A String",
+          ],
+          "contactAssignments": [ # Directory site contacts.
+            { # Directory Site Contact Assignment
+              "contactId": "A String", # ID of this directory site contact. This is a read-only, auto-generated field.
+              "visibility": "A String", # Visibility of this directory site contact assignment. When set to PUBLIC this contact assignment is visible to all account and agency users; when set to PRIVATE it is visible only to the site.
+            },
+          ],
+          "url": "A String", # URL of this directory site.
+          "parentId": "A String", # Parent directory site ID.
+          "active": True or False, # Whether this directory site is active.
+          "id": "A String", # ID of this directory site. This is a read-only, auto-generated field.
+          "name": "A String", # Name of this directory site.
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.eventTags.html b/docs/dyn/dfareporting_v2_2.eventTags.html new file mode 100644 index 00000000000..755ddcf9483 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.eventTags.html @@ -0,0 +1,493 @@ + + + +

DCM/DFA Reporting And Trafficking API . eventTags

+

Instance Methods

+

+ delete(profileId, id)

+

Deletes an existing event tag.

+

+ get(profileId, id)

+

Gets one event tag by ID.

+

+ insert(profileId, body)

+

Inserts a new event tag.

+

+ list(profileId, campaignId=None, advertiserId=None, adId=None, sortOrder=None, definitionsOnly=None, eventTagTypes=None, searchString=None, sortField=None, enabled=None, ids=None)

+

Retrieves a list of event tags, possibly filtered.

+

+ patch(profileId, id, body)

+

Updates an existing event tag. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing event tag.

+

Method Details

+
+ delete(profileId, id) +
Deletes an existing event tag.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Event tag ID. (required)
+
+
+ +
+ get(profileId, id) +
Gets one event tag by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Event tag ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of an event tag.
+      "status": "A String", # Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.
+      "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "subaccountId": "A String", # Subaccount ID of this event tag. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this event tag. This is a required field and must be less than 256 characters long.
+      "campaignId": "A String", # Campaign ID of this event tag. This field or the advertiserId field is required on insertion.
+      "url": "A String", # Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.
+      "sslCompliant": True or False, # Whether this tag is SSL-compliant or not. This is a read-only field.
+      "urlEscapeLevels": 42, # Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.
+      "kind": "dfareporting#eventTag", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#eventTag".
+      "enabledByDefault": True or False, # Whether this event tag should be automatically enabled for all of the advertiser's campaigns and ads.
+      "advertiserId": "A String", # Advertiser ID of this event tag. This field or the campaignId field is required on insertion.
+      "siteFilterType": "A String", # Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "siteIds": [ # Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a whitelist or blacklist filter.
+        "A String",
+      ],
+      "excludeFromAdxRequests": True or False, # Whether to remove this event tag from ads that are trafficked through DoubleClick Bid Manager to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.
+      "type": "A String", # Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.
+      "id": "A String", # ID of this event tag. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this event tag. This is a read-only field that can be left blank.
+    }
+
+ +
+ insert(profileId, body) +
Inserts a new event tag.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of an event tag.
+    "status": "A String", # Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.
+    "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "subaccountId": "A String", # Subaccount ID of this event tag. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this event tag. This is a required field and must be less than 256 characters long.
+    "campaignId": "A String", # Campaign ID of this event tag. This field or the advertiserId field is required on insertion.
+    "url": "A String", # Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.
+    "sslCompliant": True or False, # Whether this tag is SSL-compliant or not. This is a read-only field.
+    "urlEscapeLevels": 42, # Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.
+    "kind": "dfareporting#eventTag", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#eventTag".
+    "enabledByDefault": True or False, # Whether this event tag should be automatically enabled for all of the advertiser's campaigns and ads.
+    "advertiserId": "A String", # Advertiser ID of this event tag. This field or the campaignId field is required on insertion.
+    "siteFilterType": "A String", # Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "siteIds": [ # Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a whitelist or blacklist filter.
+      "A String",
+    ],
+    "excludeFromAdxRequests": True or False, # Whether to remove this event tag from ads that are trafficked through DoubleClick Bid Manager to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.
+    "type": "A String", # Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.
+    "id": "A String", # ID of this event tag. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this event tag. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of an event tag.
+      "status": "A String", # Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.
+      "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "subaccountId": "A String", # Subaccount ID of this event tag. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this event tag. This is a required field and must be less than 256 characters long.
+      "campaignId": "A String", # Campaign ID of this event tag. This field or the advertiserId field is required on insertion.
+      "url": "A String", # Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.
+      "sslCompliant": True or False, # Whether this tag is SSL-compliant or not. This is a read-only field.
+      "urlEscapeLevels": 42, # Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.
+      "kind": "dfareporting#eventTag", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#eventTag".
+      "enabledByDefault": True or False, # Whether this event tag should be automatically enabled for all of the advertiser's campaigns and ads.
+      "advertiserId": "A String", # Advertiser ID of this event tag. This field or the campaignId field is required on insertion.
+      "siteFilterType": "A String", # Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "siteIds": [ # Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a whitelist or blacklist filter.
+        "A String",
+      ],
+      "excludeFromAdxRequests": True or False, # Whether to remove this event tag from ads that are trafficked through DoubleClick Bid Manager to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.
+      "type": "A String", # Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.
+      "id": "A String", # ID of this event tag. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this event tag. This is a read-only field that can be left blank.
+    }
+
+ +
+ list(profileId, campaignId=None, advertiserId=None, adId=None, sortOrder=None, definitionsOnly=None, eventTagTypes=None, searchString=None, sortField=None, enabled=None, ids=None) +
Retrieves a list of event tags, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  campaignId: string, Select only event tags that belong to this campaign.
+  advertiserId: string, Select only event tags that belong to this advertiser.
+  adId: string, Select only event tags that belong to this ad.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+  definitionsOnly: boolean, Examine only the specified campaign or advertiser's event tags for matching selector criteria. When set to false, the parent advertiser and parent campaign of the specified ad or campaign is examined as well. In addition, when set to false, the status field is examined as well, along with the enabledByDefault field. This parameter can not be set to true when adId is specified as ads do not define their own even tags.
+  eventTagTypes: string, Select only event tags with the specified event tag types. Event tag types can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. (repeated)
+    Allowed values
+      CLICK_THROUGH_EVENT_TAG - 
+      IMPRESSION_IMAGE_EVENT_TAG - 
+      IMPRESSION_JAVASCRIPT_EVENT_TAG - 
+  searchString: string, Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "eventtag*2015" will return objects with names like "eventtag June 2015", "eventtag April 2015", or simply "eventtag 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "eventtag" will match objects with name "my eventtag", "eventtag 2015", or simply "eventtag".
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  enabled: boolean, Select only enabled event tags. What is considered enabled or disabled depends on the definitionsOnly parameter. When definitionsOnly is set to true, only the specified advertiser or campaign's event tags' enabledByDefault field is examined. When definitionsOnly is set to false, the specified ad or specified campaign's parent advertiser's or parent campaign's event tags' enabledByDefault and status fields are examined as well.
+  ids: string, Select only event tags with these IDs. (repeated)
+
+Returns:
+  An object of the form:
+
+    { # Event Tag List Response
+    "eventTags": [ # Event tag collection.
+      { # Contains properties of an event tag.
+          "status": "A String", # Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.
+          "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "subaccountId": "A String", # Subaccount ID of this event tag. This is a read-only field that can be left blank.
+          "name": "A String", # Name of this event tag. This is a required field and must be less than 256 characters long.
+          "campaignId": "A String", # Campaign ID of this event tag. This field or the advertiserId field is required on insertion.
+          "url": "A String", # Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.
+          "sslCompliant": True or False, # Whether this tag is SSL-compliant or not. This is a read-only field.
+          "urlEscapeLevels": 42, # Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.
+          "kind": "dfareporting#eventTag", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#eventTag".
+          "enabledByDefault": True or False, # Whether this event tag should be automatically enabled for all of the advertiser's campaigns and ads.
+          "advertiserId": "A String", # Advertiser ID of this event tag. This field or the campaignId field is required on insertion.
+          "siteFilterType": "A String", # Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.
+          "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "siteIds": [ # Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a whitelist or blacklist filter.
+            "A String",
+          ],
+          "excludeFromAdxRequests": True or False, # Whether to remove this event tag from ads that are trafficked through DoubleClick Bid Manager to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.
+          "type": "A String", # Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.
+          "id": "A String", # ID of this event tag. This is a read-only, auto-generated field.
+          "accountId": "A String", # Account ID of this event tag. This is a read-only field that can be left blank.
+        },
+    ],
+    "kind": "dfareporting#eventTagsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#eventTagsListResponse".
+  }
+
+ +
+ patch(profileId, id, body) +
Updates an existing event tag. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Event tag ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of an event tag.
+    "status": "A String", # Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.
+    "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "subaccountId": "A String", # Subaccount ID of this event tag. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this event tag. This is a required field and must be less than 256 characters long.
+    "campaignId": "A String", # Campaign ID of this event tag. This field or the advertiserId field is required on insertion.
+    "url": "A String", # Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.
+    "sslCompliant": True or False, # Whether this tag is SSL-compliant or not. This is a read-only field.
+    "urlEscapeLevels": 42, # Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.
+    "kind": "dfareporting#eventTag", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#eventTag".
+    "enabledByDefault": True or False, # Whether this event tag should be automatically enabled for all of the advertiser's campaigns and ads.
+    "advertiserId": "A String", # Advertiser ID of this event tag. This field or the campaignId field is required on insertion.
+    "siteFilterType": "A String", # Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "siteIds": [ # Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a whitelist or blacklist filter.
+      "A String",
+    ],
+    "excludeFromAdxRequests": True or False, # Whether to remove this event tag from ads that are trafficked through DoubleClick Bid Manager to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.
+    "type": "A String", # Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.
+    "id": "A String", # ID of this event tag. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this event tag. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of an event tag.
+      "status": "A String", # Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.
+      "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "subaccountId": "A String", # Subaccount ID of this event tag. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this event tag. This is a required field and must be less than 256 characters long.
+      "campaignId": "A String", # Campaign ID of this event tag. This field or the advertiserId field is required on insertion.
+      "url": "A String", # Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.
+      "sslCompliant": True or False, # Whether this tag is SSL-compliant or not. This is a read-only field.
+      "urlEscapeLevels": 42, # Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.
+      "kind": "dfareporting#eventTag", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#eventTag".
+      "enabledByDefault": True or False, # Whether this event tag should be automatically enabled for all of the advertiser's campaigns and ads.
+      "advertiserId": "A String", # Advertiser ID of this event tag. This field or the campaignId field is required on insertion.
+      "siteFilterType": "A String", # Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "siteIds": [ # Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a whitelist or blacklist filter.
+        "A String",
+      ],
+      "excludeFromAdxRequests": True or False, # Whether to remove this event tag from ads that are trafficked through DoubleClick Bid Manager to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.
+      "type": "A String", # Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.
+      "id": "A String", # ID of this event tag. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this event tag. This is a read-only field that can be left blank.
+    }
+
+ +
+ update(profileId, body) +
Updates an existing event tag.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of an event tag.
+    "status": "A String", # Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.
+    "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "subaccountId": "A String", # Subaccount ID of this event tag. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this event tag. This is a required field and must be less than 256 characters long.
+    "campaignId": "A String", # Campaign ID of this event tag. This field or the advertiserId field is required on insertion.
+    "url": "A String", # Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.
+    "sslCompliant": True or False, # Whether this tag is SSL-compliant or not. This is a read-only field.
+    "urlEscapeLevels": 42, # Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.
+    "kind": "dfareporting#eventTag", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#eventTag".
+    "enabledByDefault": True or False, # Whether this event tag should be automatically enabled for all of the advertiser's campaigns and ads.
+    "advertiserId": "A String", # Advertiser ID of this event tag. This field or the campaignId field is required on insertion.
+    "siteFilterType": "A String", # Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "siteIds": [ # Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a whitelist or blacklist filter.
+      "A String",
+    ],
+    "excludeFromAdxRequests": True or False, # Whether to remove this event tag from ads that are trafficked through DoubleClick Bid Manager to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.
+    "type": "A String", # Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.
+    "id": "A String", # ID of this event tag. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this event tag. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of an event tag.
+      "status": "A String", # Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.
+      "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "subaccountId": "A String", # Subaccount ID of this event tag. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this event tag. This is a required field and must be less than 256 characters long.
+      "campaignId": "A String", # Campaign ID of this event tag. This field or the advertiserId field is required on insertion.
+      "url": "A String", # Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.
+      "sslCompliant": True or False, # Whether this tag is SSL-compliant or not. This is a read-only field.
+      "urlEscapeLevels": 42, # Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.
+      "kind": "dfareporting#eventTag", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#eventTag".
+      "enabledByDefault": True or False, # Whether this event tag should be automatically enabled for all of the advertiser's campaigns and ads.
+      "advertiserId": "A String", # Advertiser ID of this event tag. This field or the campaignId field is required on insertion.
+      "siteFilterType": "A String", # Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "siteIds": [ # Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a whitelist or blacklist filter.
+        "A String",
+      ],
+      "excludeFromAdxRequests": True or False, # Whether to remove this event tag from ads that are trafficked through DoubleClick Bid Manager to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.
+      "type": "A String", # Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.
+      "id": "A String", # ID of this event tag. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this event tag. This is a read-only field that can be left blank.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.files.html b/docs/dyn/dfareporting_v2_2.files.html new file mode 100644 index 00000000000..cc2b9d42edb --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.files.html @@ -0,0 +1,205 @@ + + + +

DCM/DFA Reporting And Trafficking API . files

+

Instance Methods

+

+ get(reportId, fileId)

+

Retrieves a report file by its report ID and file ID.

+

+ get_media(reportId, fileId)

+

Retrieves a report file by its report ID and file ID.

+

+ list(profileId, pageToken=None, maxResults=None, sortOrder=None, sortField=None, scope=None)

+

Lists files for a user profile.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ get(reportId, fileId) +
Retrieves a report file by its report ID and file ID.
+
+Args:
+  reportId: string, The ID of the report. (required)
+  fileId: string, The ID of the report file. (required)
+
+Returns:
+  An object of the form:
+
+    { # Represents a File resource. A file contains the metadata for a report run. It shows the status of the run and holds the URLs to the generated report data if the run is finished and the status is "REPORT_AVAILABLE".
+    "status": "A String", # The status of the report file.
+    "kind": "dfareporting#file", # The kind of resource this is, in this case dfareporting#file.
+    "format": "A String", # The output format of the report. Only available once the file is available.
+    "dateRange": { # Represents a date range. # The date range for which the file has report data. The date range will always be the absolute date range for which the report is run.
+      "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+      "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+      "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+      "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+    },
+    "fileName": "A String", # The filename of the file.
+    "etag": "A String", # The eTag of this response for caching purposes.
+    "reportId": "A String", # The ID of the report this file was generated from.
+    "urls": { # The URLs where the completed report file can be downloaded.
+      "browserUrl": "A String", # The URL for downloading the report data through a browser.
+      "apiUrl": "A String", # The URL for downloading the report data through the API.
+    },
+    "lastModifiedTime": "A String", # The timestamp in milliseconds since epoch when this file was last modified.
+    "id": "A String", # The unique ID of this report file.
+  }
+
+ +
+ get_media(reportId, fileId) +
Retrieves a report file by its report ID and file ID.
+
+Args:
+  reportId: string, The ID of the report. (required)
+  fileId: string, The ID of the report file. (required)
+
+Returns:
+  The media object as a string.
+
+    
+
+ +
+ list(profileId, pageToken=None, maxResults=None, sortOrder=None, sortField=None, scope=None) +
Lists files for a user profile.
+
+Args:
+  profileId: string, The DFA profile ID. (required)
+  pageToken: string, The value of the nextToken from the previous result page.
+  maxResults: integer, Maximum number of results to return.
+  sortOrder: string, Order of sorted results, default is 'DESCENDING'.
+    Allowed values
+      ASCENDING - Ascending order.
+      DESCENDING - Descending order.
+  sortField: string, The field by which to sort the list.
+    Allowed values
+      ID - Sort by file ID.
+      LAST_MODIFIED_TIME - Sort by 'lastmodifiedAt' field.
+  scope: string, The scope that defines which results are returned, default is 'MINE'.
+    Allowed values
+      ALL - All files in account.
+      MINE - My files.
+      SHARED_WITH_ME - Files shared with me.
+
+Returns:
+  An object of the form:
+
+    { # Represents the list of File resources.
+    "nextPageToken": "A String", # Continuation token used to page through files. To retrieve the next page of results, set the next request's "pageToken" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted.
+    "items": [ # The files returned in this response.
+      { # Represents a File resource. A file contains the metadata for a report run. It shows the status of the run and holds the URLs to the generated report data if the run is finished and the status is "REPORT_AVAILABLE".
+        "status": "A String", # The status of the report file.
+        "kind": "dfareporting#file", # The kind of resource this is, in this case dfareporting#file.
+        "format": "A String", # The output format of the report. Only available once the file is available.
+        "dateRange": { # Represents a date range. # The date range for which the file has report data. The date range will always be the absolute date range for which the report is run.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "fileName": "A String", # The filename of the file.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "reportId": "A String", # The ID of the report this file was generated from.
+        "urls": { # The URLs where the completed report file can be downloaded.
+          "browserUrl": "A String", # The URL for downloading the report data through a browser.
+          "apiUrl": "A String", # The URL for downloading the report data through the API.
+        },
+        "lastModifiedTime": "A String", # The timestamp in milliseconds since epoch when this file was last modified.
+        "id": "A String", # The unique ID of this report file.
+      },
+    ],
+    "kind": "dfareporting#fileList", # The kind of list this is, in this case dfareporting#fileList.
+    "etag": "A String", # The eTag of this response for caching purposes.
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.floodlightActivities.html b/docs/dyn/dfareporting_v2_2.floodlightActivities.html new file mode 100644 index 00000000000..4d4d289aa5b --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.floodlightActivities.html @@ -0,0 +1,1045 @@ + + + +

DCM/DFA Reporting And Trafficking API . floodlightActivities

+

Instance Methods

+

+ delete(profileId, id)

+

Deletes an existing floodlight activity.

+

+ generatetag(profileId, floodlightActivityId=None)

+

Generates a tag for a floodlight activity.

+

+ get(profileId, id)

+

Gets one floodlight activity by ID.

+

+ insert(profileId, body)

+

Inserts a new floodlight activity.

+

+ list(profileId, floodlightActivityGroupName=None, advertiserId=None, tagString=None, floodlightActivityGroupTagString=None, floodlightActivityGroupIds=None, pageToken=None, sortOrder=None, maxResults=None, searchString=None, sortField=None, floodlightConfigurationId=None, ids=None, floodlightActivityGroupType=None)

+

Retrieves a list of floodlight activities, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, id, body)

+

Updates an existing floodlight activity. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing floodlight activity.

+

Method Details

+
+ delete(profileId, id) +
Deletes an existing floodlight activity.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Floodlight activity ID. (required)
+
+
+ +
+ generatetag(profileId, floodlightActivityId=None) +
Generates a tag for a floodlight activity.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  floodlightActivityId: string, Floodlight activity ID for which we want to generate a tag.
+
+Returns:
+  An object of the form:
+
+    { # Floodlight Activity GenerateTag Response
+    "kind": "dfareporting#floodlightActivitiesGenerateTagResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivitiesGenerateTagResponse".
+    "floodlightActivityTag": "A String", # Generated tag for this floodlight activity.
+  }
+
+ +
+ get(profileId, id) +
Gets one floodlight activity by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Floodlight activity ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a Floodlight activity.
+      "tagString": "A String", # Value of the cat= paramter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.
+      "secure": True or False, # Whether this tag should use SSL.
+      "floodlightActivityGroupName": "A String", # Name of the associated floodlight activity group. This is a read-only field.
+      "imageTagEnabled": True or False, # Whether the image tag is enabled for this activity.
+      "advertiserId": "A String", # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser.
+      "tagFormat": "A String", # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "floodlightActivityGroupId": "A String", # Floodlight activity group ID of this floodlight activity. This is a required field.
+      "id": "A String", # ID of this floodlight activity. This is a read-only, auto-generated field.
+      "floodlightActivityGroupTagString": "A String", # Tag string of the associated floodlight activity group. This is a read-only field.
+      "publisherTags": [ # Publisher dynamic floodlight tags.
+        { # Publisher Dynamic Tag
+          "viewThrough": True or False, # Whether this tag is applicable only for view-throughs.
+          "clickThrough": True or False, # Whether this tag is applicable only for click-throughs.
+          "siteId": "A String", # Site ID of this dynamic tag.
+          "dynamicTag": { # Dynamic Tag # Dynamic floodlight tag.
+            "tag": "A String", # Tag code.
+            "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field.
+            "name": "A String", # Name of this tag.
+          },
+          "directorySiteId": "A String", # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.
+          "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        },
+      ],
+      "sslCompliant": True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.
+      "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "hidden": True or False, # Whether this activity is archived.
+      "accountId": "A String", # Account ID of this floodlight activity. This is a read-only field that can be left blank.
+      "sslRequired": True or False, # Whether this floodlight activity must be SSL-compliant.
+      "expectedUrl": "A String", # URL where this tag will be deployed. If specified, must be less than 256 characters long.
+      "cacheBustingType": "A String", # Code type used for cache busting in the generated tag.
+      "kind": "dfareporting#floodlightActivity", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivity".
+      "subaccountId": "A String", # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.
+      "notes": "A String", # General notes or implementation instructions for the tag.
+      "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration.
+      "userDefinedVariableTypes": [ # List of the user-defined variables used by this conversion tag. These map to the "u[1-20]=" in the tags. Each of these can have a user defined type.
+          # Acceptable values are:
+          # - "U1"
+          # - "U2"
+          # - "U3"
+          # - "U4"
+          # - "U5"
+          # - "U6"
+          # - "U7"
+          # - "U8"
+          # - "U9"
+          # - "U10"
+          # - "U11"
+          # - "U12"
+          # - "U13"
+          # - "U14"
+          # - "U15"
+          # - "U16"
+          # - "U17"
+          # - "U18"
+          # - "U19"
+          # - "U20"
+        "A String",
+      ],
+      "defaultTags": [ # Dynamic floodlight tags.
+        { # Dynamic Tag
+          "tag": "A String", # Tag code.
+          "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field.
+          "name": "A String", # Name of this tag.
+        },
+      ],
+      "countingMethod": "A String", # Counting method for conversions for this floodlight activity. This is a required field.
+      "floodlightActivityGroupType": "A String", # Type of the associated floodlight activity group. This is a read-only field.
+    }
+
+ +
+ insert(profileId, body) +
Inserts a new floodlight activity.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a Floodlight activity.
+    "tagString": "A String", # Value of the cat= paramter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.
+    "secure": True or False, # Whether this tag should use SSL.
+    "floodlightActivityGroupName": "A String", # Name of the associated floodlight activity group. This is a read-only field.
+    "imageTagEnabled": True or False, # Whether the image tag is enabled for this activity.
+    "advertiserId": "A String", # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser.
+    "tagFormat": "A String", # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "floodlightActivityGroupId": "A String", # Floodlight activity group ID of this floodlight activity. This is a required field.
+    "id": "A String", # ID of this floodlight activity. This is a read-only, auto-generated field.
+    "floodlightActivityGroupTagString": "A String", # Tag string of the associated floodlight activity group. This is a read-only field.
+    "publisherTags": [ # Publisher dynamic floodlight tags.
+      { # Publisher Dynamic Tag
+        "viewThrough": True or False, # Whether this tag is applicable only for view-throughs.
+        "clickThrough": True or False, # Whether this tag is applicable only for click-throughs.
+        "siteId": "A String", # Site ID of this dynamic tag.
+        "dynamicTag": { # Dynamic Tag # Dynamic floodlight tag.
+          "tag": "A String", # Tag code.
+          "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field.
+          "name": "A String", # Name of this tag.
+        },
+        "directorySiteId": "A String", # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.
+        "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      },
+    ],
+    "sslCompliant": True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.
+    "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "hidden": True or False, # Whether this activity is archived.
+    "accountId": "A String", # Account ID of this floodlight activity. This is a read-only field that can be left blank.
+    "sslRequired": True or False, # Whether this floodlight activity must be SSL-compliant.
+    "expectedUrl": "A String", # URL where this tag will be deployed. If specified, must be less than 256 characters long.
+    "cacheBustingType": "A String", # Code type used for cache busting in the generated tag.
+    "kind": "dfareporting#floodlightActivity", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivity".
+    "subaccountId": "A String", # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.
+    "notes": "A String", # General notes or implementation instructions for the tag.
+    "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration.
+    "userDefinedVariableTypes": [ # List of the user-defined variables used by this conversion tag. These map to the "u[1-20]=" in the tags. Each of these can have a user defined type.
+        # Acceptable values are:
+        # - "U1"
+        # - "U2"
+        # - "U3"
+        # - "U4"
+        # - "U5"
+        # - "U6"
+        # - "U7"
+        # - "U8"
+        # - "U9"
+        # - "U10"
+        # - "U11"
+        # - "U12"
+        # - "U13"
+        # - "U14"
+        # - "U15"
+        # - "U16"
+        # - "U17"
+        # - "U18"
+        # - "U19"
+        # - "U20"
+      "A String",
+    ],
+    "defaultTags": [ # Dynamic floodlight tags.
+      { # Dynamic Tag
+        "tag": "A String", # Tag code.
+        "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field.
+        "name": "A String", # Name of this tag.
+      },
+    ],
+    "countingMethod": "A String", # Counting method for conversions for this floodlight activity. This is a required field.
+    "floodlightActivityGroupType": "A String", # Type of the associated floodlight activity group. This is a read-only field.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a Floodlight activity.
+      "tagString": "A String", # Value of the cat= paramter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.
+      "secure": True or False, # Whether this tag should use SSL.
+      "floodlightActivityGroupName": "A String", # Name of the associated floodlight activity group. This is a read-only field.
+      "imageTagEnabled": True or False, # Whether the image tag is enabled for this activity.
+      "advertiserId": "A String", # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser.
+      "tagFormat": "A String", # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "floodlightActivityGroupId": "A String", # Floodlight activity group ID of this floodlight activity. This is a required field.
+      "id": "A String", # ID of this floodlight activity. This is a read-only, auto-generated field.
+      "floodlightActivityGroupTagString": "A String", # Tag string of the associated floodlight activity group. This is a read-only field.
+      "publisherTags": [ # Publisher dynamic floodlight tags.
+        { # Publisher Dynamic Tag
+          "viewThrough": True or False, # Whether this tag is applicable only for view-throughs.
+          "clickThrough": True or False, # Whether this tag is applicable only for click-throughs.
+          "siteId": "A String", # Site ID of this dynamic tag.
+          "dynamicTag": { # Dynamic Tag # Dynamic floodlight tag.
+            "tag": "A String", # Tag code.
+            "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field.
+            "name": "A String", # Name of this tag.
+          },
+          "directorySiteId": "A String", # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.
+          "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        },
+      ],
+      "sslCompliant": True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.
+      "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "hidden": True or False, # Whether this activity is archived.
+      "accountId": "A String", # Account ID of this floodlight activity. This is a read-only field that can be left blank.
+      "sslRequired": True or False, # Whether this floodlight activity must be SSL-compliant.
+      "expectedUrl": "A String", # URL where this tag will be deployed. If specified, must be less than 256 characters long.
+      "cacheBustingType": "A String", # Code type used for cache busting in the generated tag.
+      "kind": "dfareporting#floodlightActivity", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivity".
+      "subaccountId": "A String", # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.
+      "notes": "A String", # General notes or implementation instructions for the tag.
+      "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration.
+      "userDefinedVariableTypes": [ # List of the user-defined variables used by this conversion tag. These map to the "u[1-20]=" in the tags. Each of these can have a user defined type.
+          # Acceptable values are:
+          # - "U1"
+          # - "U2"
+          # - "U3"
+          # - "U4"
+          # - "U5"
+          # - "U6"
+          # - "U7"
+          # - "U8"
+          # - "U9"
+          # - "U10"
+          # - "U11"
+          # - "U12"
+          # - "U13"
+          # - "U14"
+          # - "U15"
+          # - "U16"
+          # - "U17"
+          # - "U18"
+          # - "U19"
+          # - "U20"
+        "A String",
+      ],
+      "defaultTags": [ # Dynamic floodlight tags.
+        { # Dynamic Tag
+          "tag": "A String", # Tag code.
+          "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field.
+          "name": "A String", # Name of this tag.
+        },
+      ],
+      "countingMethod": "A String", # Counting method for conversions for this floodlight activity. This is a required field.
+      "floodlightActivityGroupType": "A String", # Type of the associated floodlight activity group. This is a read-only field.
+    }
+
+ +
+ list(profileId, floodlightActivityGroupName=None, advertiserId=None, tagString=None, floodlightActivityGroupTagString=None, floodlightActivityGroupIds=None, pageToken=None, sortOrder=None, maxResults=None, searchString=None, sortField=None, floodlightConfigurationId=None, ids=None, floodlightActivityGroupType=None) +
Retrieves a list of floodlight activities, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  floodlightActivityGroupName: string, Select only floodlight activities with the specified floodlight activity group name.
+  advertiserId: string, Select only floodlight activities for the specified advertiser ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.
+  tagString: string, Select only floodlight activities with the specified tag string.
+  floodlightActivityGroupTagString: string, Select only floodlight activities with the specified floodlight activity group tag string.
+  floodlightActivityGroupIds: string, Select only floodlight activities with the specified floodlight activity group IDs. (repeated)
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+  maxResults: integer, Maximum number of results to return.
+  searchString: string, Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "floodlightactivity*2015" will return objects with names like "floodlightactivity June 2015", "floodlightactivity April 2015", or simply "floodlightactivity 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "floodlightactivity" will match objects with name "my floodlightactivity activity", "floodlightactivity 2015", or simply "floodlightactivity".
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  floodlightConfigurationId: string, Select only floodlight activities for the specified floodlight configuration ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result.
+  ids: string, Select only floodlight activities with the specified IDs. Must specify either ids, advertiserId, or floodlightConfigurationId for a non-empty result. (repeated)
+  floodlightActivityGroupType: string, Select only floodlight activities with the specified floodlight activity group type.
+    Allowed values
+      COUNTER - 
+      SALE - 
+
+Returns:
+  An object of the form:
+
+    { # Floodlight Activity List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#floodlightActivitiesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivitiesListResponse".
+    "floodlightActivities": [ # Floodlight activity collection.
+      { # Contains properties of a Floodlight activity.
+          "tagString": "A String", # Value of the cat= paramter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.
+          "secure": True or False, # Whether this tag should use SSL.
+          "floodlightActivityGroupName": "A String", # Name of the associated floodlight activity group. This is a read-only field.
+          "imageTagEnabled": True or False, # Whether the image tag is enabled for this activity.
+          "advertiserId": "A String", # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser.
+          "tagFormat": "A String", # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.
+          "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "floodlightActivityGroupId": "A String", # Floodlight activity group ID of this floodlight activity. This is a required field.
+          "id": "A String", # ID of this floodlight activity. This is a read-only, auto-generated field.
+          "floodlightActivityGroupTagString": "A String", # Tag string of the associated floodlight activity group. This is a read-only field.
+          "publisherTags": [ # Publisher dynamic floodlight tags.
+            { # Publisher Dynamic Tag
+              "viewThrough": True or False, # Whether this tag is applicable only for view-throughs.
+              "clickThrough": True or False, # Whether this tag is applicable only for click-throughs.
+              "siteId": "A String", # Site ID of this dynamic tag.
+              "dynamicTag": { # Dynamic Tag # Dynamic floodlight tag.
+                "tag": "A String", # Tag code.
+                "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field.
+                "name": "A String", # Name of this tag.
+              },
+              "directorySiteId": "A String", # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.
+              "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+                "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+                "value": "A String", # The value of the dimension.
+                "dimensionName": "A String", # The name of the dimension.
+                "etag": "A String", # The eTag of this response for caching purposes.
+                "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+                "id": "A String", # The ID associated with the value if available.
+              },
+            },
+          ],
+          "sslCompliant": True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.
+          "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "hidden": True or False, # Whether this activity is archived.
+          "accountId": "A String", # Account ID of this floodlight activity. This is a read-only field that can be left blank.
+          "sslRequired": True or False, # Whether this floodlight activity must be SSL-compliant.
+          "expectedUrl": "A String", # URL where this tag will be deployed. If specified, must be less than 256 characters long.
+          "cacheBustingType": "A String", # Code type used for cache busting in the generated tag.
+          "kind": "dfareporting#floodlightActivity", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivity".
+          "subaccountId": "A String", # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.
+          "name": "A String", # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.
+          "notes": "A String", # General notes or implementation instructions for the tag.
+          "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration.
+          "userDefinedVariableTypes": [ # List of the user-defined variables used by this conversion tag. These map to the "u[1-20]=" in the tags. Each of these can have a user defined type.
+              # Acceptable values are:
+              # - "U1"
+              # - "U2"
+              # - "U3"
+              # - "U4"
+              # - "U5"
+              # - "U6"
+              # - "U7"
+              # - "U8"
+              # - "U9"
+              # - "U10"
+              # - "U11"
+              # - "U12"
+              # - "U13"
+              # - "U14"
+              # - "U15"
+              # - "U16"
+              # - "U17"
+              # - "U18"
+              # - "U19"
+              # - "U20"
+            "A String",
+          ],
+          "defaultTags": [ # Dynamic floodlight tags.
+            { # Dynamic Tag
+              "tag": "A String", # Tag code.
+              "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field.
+              "name": "A String", # Name of this tag.
+            },
+          ],
+          "countingMethod": "A String", # Counting method for conversions for this floodlight activity. This is a required field.
+          "floodlightActivityGroupType": "A String", # Type of the associated floodlight activity group. This is a read-only field.
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, id, body) +
Updates an existing floodlight activity. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Floodlight activity ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a Floodlight activity.
+    "tagString": "A String", # Value of the cat= paramter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.
+    "secure": True or False, # Whether this tag should use SSL.
+    "floodlightActivityGroupName": "A String", # Name of the associated floodlight activity group. This is a read-only field.
+    "imageTagEnabled": True or False, # Whether the image tag is enabled for this activity.
+    "advertiserId": "A String", # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser.
+    "tagFormat": "A String", # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "floodlightActivityGroupId": "A String", # Floodlight activity group ID of this floodlight activity. This is a required field.
+    "id": "A String", # ID of this floodlight activity. This is a read-only, auto-generated field.
+    "floodlightActivityGroupTagString": "A String", # Tag string of the associated floodlight activity group. This is a read-only field.
+    "publisherTags": [ # Publisher dynamic floodlight tags.
+      { # Publisher Dynamic Tag
+        "viewThrough": True or False, # Whether this tag is applicable only for view-throughs.
+        "clickThrough": True or False, # Whether this tag is applicable only for click-throughs.
+        "siteId": "A String", # Site ID of this dynamic tag.
+        "dynamicTag": { # Dynamic Tag # Dynamic floodlight tag.
+          "tag": "A String", # Tag code.
+          "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field.
+          "name": "A String", # Name of this tag.
+        },
+        "directorySiteId": "A String", # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.
+        "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      },
+    ],
+    "sslCompliant": True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.
+    "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "hidden": True or False, # Whether this activity is archived.
+    "accountId": "A String", # Account ID of this floodlight activity. This is a read-only field that can be left blank.
+    "sslRequired": True or False, # Whether this floodlight activity must be SSL-compliant.
+    "expectedUrl": "A String", # URL where this tag will be deployed. If specified, must be less than 256 characters long.
+    "cacheBustingType": "A String", # Code type used for cache busting in the generated tag.
+    "kind": "dfareporting#floodlightActivity", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivity".
+    "subaccountId": "A String", # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.
+    "notes": "A String", # General notes or implementation instructions for the tag.
+    "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration.
+    "userDefinedVariableTypes": [ # List of the user-defined variables used by this conversion tag. These map to the "u[1-20]=" in the tags. Each of these can have a user defined type.
+        # Acceptable values are:
+        # - "U1"
+        # - "U2"
+        # - "U3"
+        # - "U4"
+        # - "U5"
+        # - "U6"
+        # - "U7"
+        # - "U8"
+        # - "U9"
+        # - "U10"
+        # - "U11"
+        # - "U12"
+        # - "U13"
+        # - "U14"
+        # - "U15"
+        # - "U16"
+        # - "U17"
+        # - "U18"
+        # - "U19"
+        # - "U20"
+      "A String",
+    ],
+    "defaultTags": [ # Dynamic floodlight tags.
+      { # Dynamic Tag
+        "tag": "A String", # Tag code.
+        "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field.
+        "name": "A String", # Name of this tag.
+      },
+    ],
+    "countingMethod": "A String", # Counting method for conversions for this floodlight activity. This is a required field.
+    "floodlightActivityGroupType": "A String", # Type of the associated floodlight activity group. This is a read-only field.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a Floodlight activity.
+      "tagString": "A String", # Value of the cat= paramter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.
+      "secure": True or False, # Whether this tag should use SSL.
+      "floodlightActivityGroupName": "A String", # Name of the associated floodlight activity group. This is a read-only field.
+      "imageTagEnabled": True or False, # Whether the image tag is enabled for this activity.
+      "advertiserId": "A String", # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser.
+      "tagFormat": "A String", # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "floodlightActivityGroupId": "A String", # Floodlight activity group ID of this floodlight activity. This is a required field.
+      "id": "A String", # ID of this floodlight activity. This is a read-only, auto-generated field.
+      "floodlightActivityGroupTagString": "A String", # Tag string of the associated floodlight activity group. This is a read-only field.
+      "publisherTags": [ # Publisher dynamic floodlight tags.
+        { # Publisher Dynamic Tag
+          "viewThrough": True or False, # Whether this tag is applicable only for view-throughs.
+          "clickThrough": True or False, # Whether this tag is applicable only for click-throughs.
+          "siteId": "A String", # Site ID of this dynamic tag.
+          "dynamicTag": { # Dynamic Tag # Dynamic floodlight tag.
+            "tag": "A String", # Tag code.
+            "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field.
+            "name": "A String", # Name of this tag.
+          },
+          "directorySiteId": "A String", # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.
+          "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        },
+      ],
+      "sslCompliant": True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.
+      "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "hidden": True or False, # Whether this activity is archived.
+      "accountId": "A String", # Account ID of this floodlight activity. This is a read-only field that can be left blank.
+      "sslRequired": True or False, # Whether this floodlight activity must be SSL-compliant.
+      "expectedUrl": "A String", # URL where this tag will be deployed. If specified, must be less than 256 characters long.
+      "cacheBustingType": "A String", # Code type used for cache busting in the generated tag.
+      "kind": "dfareporting#floodlightActivity", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivity".
+      "subaccountId": "A String", # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.
+      "notes": "A String", # General notes or implementation instructions for the tag.
+      "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration.
+      "userDefinedVariableTypes": [ # List of the user-defined variables used by this conversion tag. These map to the "u[1-20]=" in the tags. Each of these can have a user defined type.
+          # Acceptable values are:
+          # - "U1"
+          # - "U2"
+          # - "U3"
+          # - "U4"
+          # - "U5"
+          # - "U6"
+          # - "U7"
+          # - "U8"
+          # - "U9"
+          # - "U10"
+          # - "U11"
+          # - "U12"
+          # - "U13"
+          # - "U14"
+          # - "U15"
+          # - "U16"
+          # - "U17"
+          # - "U18"
+          # - "U19"
+          # - "U20"
+        "A String",
+      ],
+      "defaultTags": [ # Dynamic floodlight tags.
+        { # Dynamic Tag
+          "tag": "A String", # Tag code.
+          "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field.
+          "name": "A String", # Name of this tag.
+        },
+      ],
+      "countingMethod": "A String", # Counting method for conversions for this floodlight activity. This is a required field.
+      "floodlightActivityGroupType": "A String", # Type of the associated floodlight activity group. This is a read-only field.
+    }
+
+ +
+ update(profileId, body) +
Updates an existing floodlight activity.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a Floodlight activity.
+    "tagString": "A String", # Value of the cat= paramter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.
+    "secure": True or False, # Whether this tag should use SSL.
+    "floodlightActivityGroupName": "A String", # Name of the associated floodlight activity group. This is a read-only field.
+    "imageTagEnabled": True or False, # Whether the image tag is enabled for this activity.
+    "advertiserId": "A String", # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser.
+    "tagFormat": "A String", # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "floodlightActivityGroupId": "A String", # Floodlight activity group ID of this floodlight activity. This is a required field.
+    "id": "A String", # ID of this floodlight activity. This is a read-only, auto-generated field.
+    "floodlightActivityGroupTagString": "A String", # Tag string of the associated floodlight activity group. This is a read-only field.
+    "publisherTags": [ # Publisher dynamic floodlight tags.
+      { # Publisher Dynamic Tag
+        "viewThrough": True or False, # Whether this tag is applicable only for view-throughs.
+        "clickThrough": True or False, # Whether this tag is applicable only for click-throughs.
+        "siteId": "A String", # Site ID of this dynamic tag.
+        "dynamicTag": { # Dynamic Tag # Dynamic floodlight tag.
+          "tag": "A String", # Tag code.
+          "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field.
+          "name": "A String", # Name of this tag.
+        },
+        "directorySiteId": "A String", # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.
+        "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      },
+    ],
+    "sslCompliant": True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.
+    "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "hidden": True or False, # Whether this activity is archived.
+    "accountId": "A String", # Account ID of this floodlight activity. This is a read-only field that can be left blank.
+    "sslRequired": True or False, # Whether this floodlight activity must be SSL-compliant.
+    "expectedUrl": "A String", # URL where this tag will be deployed. If specified, must be less than 256 characters long.
+    "cacheBustingType": "A String", # Code type used for cache busting in the generated tag.
+    "kind": "dfareporting#floodlightActivity", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivity".
+    "subaccountId": "A String", # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.
+    "notes": "A String", # General notes or implementation instructions for the tag.
+    "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration.
+    "userDefinedVariableTypes": [ # List of the user-defined variables used by this conversion tag. These map to the "u[1-20]=" in the tags. Each of these can have a user defined type.
+        # Acceptable values are:
+        # - "U1"
+        # - "U2"
+        # - "U3"
+        # - "U4"
+        # - "U5"
+        # - "U6"
+        # - "U7"
+        # - "U8"
+        # - "U9"
+        # - "U10"
+        # - "U11"
+        # - "U12"
+        # - "U13"
+        # - "U14"
+        # - "U15"
+        # - "U16"
+        # - "U17"
+        # - "U18"
+        # - "U19"
+        # - "U20"
+      "A String",
+    ],
+    "defaultTags": [ # Dynamic floodlight tags.
+      { # Dynamic Tag
+        "tag": "A String", # Tag code.
+        "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field.
+        "name": "A String", # Name of this tag.
+      },
+    ],
+    "countingMethod": "A String", # Counting method for conversions for this floodlight activity. This is a required field.
+    "floodlightActivityGroupType": "A String", # Type of the associated floodlight activity group. This is a read-only field.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a Floodlight activity.
+      "tagString": "A String", # Value of the cat= paramter in the floodlight tag, which the ad servers use to identify the activity. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activities of the same activity group. This field is read-only after insertion.
+      "secure": True or False, # Whether this tag should use SSL.
+      "floodlightActivityGroupName": "A String", # Name of the associated floodlight activity group. This is a read-only field.
+      "imageTagEnabled": True or False, # Whether the image tag is enabled for this activity.
+      "advertiserId": "A String", # Advertiser ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's advertiser or the existing activity's advertiser.
+      "tagFormat": "A String", # Tag format type for the floodlight activity. If left blank, the tag format will default to HTML.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "floodlightActivityGroupId": "A String", # Floodlight activity group ID of this floodlight activity. This is a required field.
+      "id": "A String", # ID of this floodlight activity. This is a read-only, auto-generated field.
+      "floodlightActivityGroupTagString": "A String", # Tag string of the associated floodlight activity group. This is a read-only field.
+      "publisherTags": [ # Publisher dynamic floodlight tags.
+        { # Publisher Dynamic Tag
+          "viewThrough": True or False, # Whether this tag is applicable only for view-throughs.
+          "clickThrough": True or False, # Whether this tag is applicable only for click-throughs.
+          "siteId": "A String", # Site ID of this dynamic tag.
+          "dynamicTag": { # Dynamic Tag # Dynamic floodlight tag.
+            "tag": "A String", # Tag code.
+            "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field.
+            "name": "A String", # Name of this tag.
+          },
+          "directorySiteId": "A String", # Directory site ID of this dynamic tag. This is a write-only field that can be used as an alternative to the siteId field. When this resource is retrieved, only the siteId field will be populated.
+          "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        },
+      ],
+      "sslCompliant": True or False, # Whether the floodlight activity is SSL-compliant. This is a read-only field, its value detected by the system from the floodlight tags.
+      "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "hidden": True or False, # Whether this activity is archived.
+      "accountId": "A String", # Account ID of this floodlight activity. This is a read-only field that can be left blank.
+      "sslRequired": True or False, # Whether this floodlight activity must be SSL-compliant.
+      "expectedUrl": "A String", # URL where this tag will be deployed. If specified, must be less than 256 characters long.
+      "cacheBustingType": "A String", # Code type used for cache busting in the generated tag.
+      "kind": "dfareporting#floodlightActivity", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivity".
+      "subaccountId": "A String", # Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this floodlight activity. This is a required field. Must be less than 129 characters long and cannot contain quotes.
+      "notes": "A String", # General notes or implementation instructions for the tag.
+      "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity. If this field is left blank, the value will be copied over either from the activity group's floodlight configuration or from the existing activity's floodlight configuration.
+      "userDefinedVariableTypes": [ # List of the user-defined variables used by this conversion tag. These map to the "u[1-20]=" in the tags. Each of these can have a user defined type.
+          # Acceptable values are:
+          # - "U1"
+          # - "U2"
+          # - "U3"
+          # - "U4"
+          # - "U5"
+          # - "U6"
+          # - "U7"
+          # - "U8"
+          # - "U9"
+          # - "U10"
+          # - "U11"
+          # - "U12"
+          # - "U13"
+          # - "U14"
+          # - "U15"
+          # - "U16"
+          # - "U17"
+          # - "U18"
+          # - "U19"
+          # - "U20"
+        "A String",
+      ],
+      "defaultTags": [ # Dynamic floodlight tags.
+        { # Dynamic Tag
+          "tag": "A String", # Tag code.
+          "id": "A String", # ID of this dynamic tag. This is a read-only, auto-generated field.
+          "name": "A String", # Name of this tag.
+        },
+      ],
+      "countingMethod": "A String", # Counting method for conversions for this floodlight activity. This is a required field.
+      "floodlightActivityGroupType": "A String", # Type of the associated floodlight activity group. This is a read-only field.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.floodlightActivityGroups.html b/docs/dyn/dfareporting_v2_2.floodlightActivityGroups.html new file mode 100644 index 00000000000..5b50601f43a --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.floodlightActivityGroups.html @@ -0,0 +1,501 @@ + + + +

DCM/DFA Reporting And Trafficking API . floodlightActivityGroups

+

Instance Methods

+

+ delete(profileId, id)

+

Deletes an existing floodlight activity group.

+

+ get(profileId, id)

+

Gets one floodlight activity group by ID.

+

+ insert(profileId, body)

+

Inserts a new floodlight activity group.

+

+ list(profileId, advertiserId=None, searchString=None, pageToken=None, sortField=None, floodlightConfigurationId=None, ids=None, maxResults=None, sortOrder=None, type=None)

+

Retrieves a list of floodlight activity groups, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, id, body)

+

Updates an existing floodlight activity group. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing floodlight activity group.

+

Method Details

+
+ delete(profileId, id) +
Deletes an existing floodlight activity group.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Floodlight activity Group ID. (required)
+
+
+ +
+ get(profileId, id) +
Gets one floodlight activity group by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Floodlight activity Group ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a Floodlight activity group.
+      "kind": "dfareporting#floodlightActivityGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivityGroup".
+      "subaccountId": "A String", # Subaccount ID of this floodlight activity group. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this floodlight activity group. This is a required field. Must be less than 65 characters long and cannot contain quotes.
+      "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity group. This is a required field.
+      "advertiserId": "A String", # Advertiser ID of this floodlight activity group. If this field is left blank, the value will be copied over either from the floodlight configuration's advertiser or from the existing activity group's advertiser.
+      "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity group. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "tagString": "A String", # Value of the type= parameter in the floodlight tag, which the ad servers use to identify the activity group that the activity belongs to. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activity groups of the same floodlight configuration. This field is read-only after insertion.
+      "type": "A String", # Type of the floodlight activity group. This is a required field that is read-only after insertion.
+      "id": "A String", # ID of this floodlight activity group. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this floodlight activity group. This is a read-only field that can be left blank.
+    }
+
+ +
+ insert(profileId, body) +
Inserts a new floodlight activity group.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a Floodlight activity group.
+    "kind": "dfareporting#floodlightActivityGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivityGroup".
+    "subaccountId": "A String", # Subaccount ID of this floodlight activity group. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this floodlight activity group. This is a required field. Must be less than 65 characters long and cannot contain quotes.
+    "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity group. This is a required field.
+    "advertiserId": "A String", # Advertiser ID of this floodlight activity group. If this field is left blank, the value will be copied over either from the floodlight configuration's advertiser or from the existing activity group's advertiser.
+    "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity group. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "tagString": "A String", # Value of the type= parameter in the floodlight tag, which the ad servers use to identify the activity group that the activity belongs to. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activity groups of the same floodlight configuration. This field is read-only after insertion.
+    "type": "A String", # Type of the floodlight activity group. This is a required field that is read-only after insertion.
+    "id": "A String", # ID of this floodlight activity group. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this floodlight activity group. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a Floodlight activity group.
+      "kind": "dfareporting#floodlightActivityGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivityGroup".
+      "subaccountId": "A String", # Subaccount ID of this floodlight activity group. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this floodlight activity group. This is a required field. Must be less than 65 characters long and cannot contain quotes.
+      "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity group. This is a required field.
+      "advertiserId": "A String", # Advertiser ID of this floodlight activity group. If this field is left blank, the value will be copied over either from the floodlight configuration's advertiser or from the existing activity group's advertiser.
+      "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity group. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "tagString": "A String", # Value of the type= parameter in the floodlight tag, which the ad servers use to identify the activity group that the activity belongs to. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activity groups of the same floodlight configuration. This field is read-only after insertion.
+      "type": "A String", # Type of the floodlight activity group. This is a required field that is read-only after insertion.
+      "id": "A String", # ID of this floodlight activity group. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this floodlight activity group. This is a read-only field that can be left blank.
+    }
+
+ +
+ list(profileId, advertiserId=None, searchString=None, pageToken=None, sortField=None, floodlightConfigurationId=None, ids=None, maxResults=None, sortOrder=None, type=None) +
Retrieves a list of floodlight activity groups, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  advertiserId: string, Select only floodlight activity groups with the specified advertiser ID. Must specify either advertiserId or floodlightConfigurationId for a non-empty result.
+  searchString: string, Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "floodlightactivitygroup*2015" will return objects with names like "floodlightactivitygroup June 2015", "floodlightactivitygroup April 2015", or simply "floodlightactivitygroup 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "floodlightactivitygroup" will match objects with name "my floodlightactivitygroup activity", "floodlightactivitygroup 2015", or simply "floodlightactivitygroup".
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  floodlightConfigurationId: string, Select only floodlight activity groups with the specified floodlight configuration ID. Must specify either advertiserId, or floodlightConfigurationId for a non-empty result.
+  ids: string, Select only floodlight activity groups with the specified IDs. Must specify either advertiserId or floodlightConfigurationId for a non-empty result. (repeated)
+  maxResults: integer, Maximum number of results to return.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+  type: string, Select only floodlight activity groups with the specified floodlight activity group type.
+    Allowed values
+      COUNTER - 
+      SALE - 
+
+Returns:
+  An object of the form:
+
+    { # Floodlight Activity Group List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#floodlightActivityGroupsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivityGroupsListResponse".
+    "floodlightActivityGroups": [ # Floodlight activity group collection.
+      { # Contains properties of a Floodlight activity group.
+          "kind": "dfareporting#floodlightActivityGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivityGroup".
+          "subaccountId": "A String", # Subaccount ID of this floodlight activity group. This is a read-only field that can be left blank.
+          "name": "A String", # Name of this floodlight activity group. This is a required field. Must be less than 65 characters long and cannot contain quotes.
+          "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity group. This is a required field.
+          "advertiserId": "A String", # Advertiser ID of this floodlight activity group. If this field is left blank, the value will be copied over either from the floodlight configuration's advertiser or from the existing activity group's advertiser.
+          "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity group. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "tagString": "A String", # Value of the type= parameter in the floodlight tag, which the ad servers use to identify the activity group that the activity belongs to. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activity groups of the same floodlight configuration. This field is read-only after insertion.
+          "type": "A String", # Type of the floodlight activity group. This is a required field that is read-only after insertion.
+          "id": "A String", # ID of this floodlight activity group. This is a read-only, auto-generated field.
+          "accountId": "A String", # Account ID of this floodlight activity group. This is a read-only field that can be left blank.
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, id, body) +
Updates an existing floodlight activity group. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Floodlight activity Group ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a Floodlight activity group.
+    "kind": "dfareporting#floodlightActivityGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivityGroup".
+    "subaccountId": "A String", # Subaccount ID of this floodlight activity group. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this floodlight activity group. This is a required field. Must be less than 65 characters long and cannot contain quotes.
+    "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity group. This is a required field.
+    "advertiserId": "A String", # Advertiser ID of this floodlight activity group. If this field is left blank, the value will be copied over either from the floodlight configuration's advertiser or from the existing activity group's advertiser.
+    "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity group. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "tagString": "A String", # Value of the type= parameter in the floodlight tag, which the ad servers use to identify the activity group that the activity belongs to. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activity groups of the same floodlight configuration. This field is read-only after insertion.
+    "type": "A String", # Type of the floodlight activity group. This is a required field that is read-only after insertion.
+    "id": "A String", # ID of this floodlight activity group. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this floodlight activity group. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a Floodlight activity group.
+      "kind": "dfareporting#floodlightActivityGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivityGroup".
+      "subaccountId": "A String", # Subaccount ID of this floodlight activity group. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this floodlight activity group. This is a required field. Must be less than 65 characters long and cannot contain quotes.
+      "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity group. This is a required field.
+      "advertiserId": "A String", # Advertiser ID of this floodlight activity group. If this field is left blank, the value will be copied over either from the floodlight configuration's advertiser or from the existing activity group's advertiser.
+      "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity group. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "tagString": "A String", # Value of the type= parameter in the floodlight tag, which the ad servers use to identify the activity group that the activity belongs to. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activity groups of the same floodlight configuration. This field is read-only after insertion.
+      "type": "A String", # Type of the floodlight activity group. This is a required field that is read-only after insertion.
+      "id": "A String", # ID of this floodlight activity group. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this floodlight activity group. This is a read-only field that can be left blank.
+    }
+
+ +
+ update(profileId, body) +
Updates an existing floodlight activity group.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a Floodlight activity group.
+    "kind": "dfareporting#floodlightActivityGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivityGroup".
+    "subaccountId": "A String", # Subaccount ID of this floodlight activity group. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this floodlight activity group. This is a required field. Must be less than 65 characters long and cannot contain quotes.
+    "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity group. This is a required field.
+    "advertiserId": "A String", # Advertiser ID of this floodlight activity group. If this field is left blank, the value will be copied over either from the floodlight configuration's advertiser or from the existing activity group's advertiser.
+    "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity group. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "tagString": "A String", # Value of the type= parameter in the floodlight tag, which the ad servers use to identify the activity group that the activity belongs to. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activity groups of the same floodlight configuration. This field is read-only after insertion.
+    "type": "A String", # Type of the floodlight activity group. This is a required field that is read-only after insertion.
+    "id": "A String", # ID of this floodlight activity group. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this floodlight activity group. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a Floodlight activity group.
+      "kind": "dfareporting#floodlightActivityGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightActivityGroup".
+      "subaccountId": "A String", # Subaccount ID of this floodlight activity group. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this floodlight activity group. This is a required field. Must be less than 65 characters long and cannot contain quotes.
+      "floodlightConfigurationId": "A String", # Floodlight configuration ID of this floodlight activity group. This is a required field.
+      "advertiserId": "A String", # Advertiser ID of this floodlight activity group. If this field is left blank, the value will be copied over either from the floodlight configuration's advertiser or from the existing activity group's advertiser.
+      "floodlightConfigurationIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the floodlight configuration. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight activity group. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "tagString": "A String", # Value of the type= parameter in the floodlight tag, which the ad servers use to identify the activity group that the activity belongs to. This is optional: if empty, a new tag string will be generated for you. This string must be 1 to 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique among activity groups of the same floodlight configuration. This field is read-only after insertion.
+      "type": "A String", # Type of the floodlight activity group. This is a required field that is read-only after insertion.
+      "id": "A String", # ID of this floodlight activity group. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this floodlight activity group. This is a read-only field that can be left blank.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.floodlightConfigurations.html b/docs/dyn/dfareporting_v2_2.floodlightConfigurations.html new file mode 100644 index 00000000000..b865916d552 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.floodlightConfigurations.html @@ -0,0 +1,520 @@ + + + +

DCM/DFA Reporting And Trafficking API . floodlightConfigurations

+

Instance Methods

+

+ get(profileId, id)

+

Gets one floodlight configuration by ID.

+

+ list(profileId, ids=None)

+

Retrieves a list of floodlight configurations, possibly filtered.

+

+ patch(profileId, id, body)

+

Updates an existing floodlight configuration. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing floodlight configuration.

+

Method Details

+
+ get(profileId, id) +
Gets one floodlight configuration by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Floodlight configuration ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a Floodlight configuration.
+      "naturalSearchConversionAttributionOption": "A String", # Types of attribution options for natural search conversions.
+      "kind": "dfareporting#floodlightConfiguration", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightConfiguration".
+      "exposureToConversionEnabled": True or False, # Whether the exposure-to-conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.
+      "userDefinedVariableConfigurations": [ # List of user defined variables enabled for this configuration.
+        { # User Defined Variable configuration.
+          "dataType": "A String", # Data type for the variable. This is a required field.
+          "reportName": "A String", # User-friendly name for the variable which will appear in reports. This is a required field, must be less than 64 characters long, and cannot contain the following characters: ""<>".
+          "variableType": "A String", # Variable name in the tag. This is a required field.
+        },
+      ],
+      "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this floodlight configuration.
+        "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      },
+      "tagSettings": { # Dynamic and Image Tag Settings. # Configuration settings for dynamic and image floodlight tags.
+        "dynamicTagEnabled": True or False, # Whether dynamic floodlight tags are enabled.
+        "imageTagEnabled": True or False, # Whether image tags are enabled.
+      },
+      "firstDayOfWeek": "A String", # Day that will be counted as the first day of the week in reports. This is a required field.
+      "standardVariableTypes": [ # List of standard variables enabled for this configuration.
+          #
+          # Acceptable values are:
+          # - "ORD"
+          # - "NUM"
+        "A String",
+      ],
+      "omnitureSettings": { # Omniture Integration Settings. # Settings for DCM Omniture integration.
+        "omnitureCostDataEnabled": True or False, # Whether placement cost data will be sent to Omniture. This property can be enabled only if omnitureIntegrationEnabled is true.
+        "omnitureIntegrationEnabled": True or False, # Whether Omniture integration is enabled. This property can be enabled only when the "Advanced Ad Serving" account setting is enabled.
+      },
+      "subaccountId": "A String", # Subaccount ID of this floodlight configuration. This is a read-only field that can be left blank.
+      "advertiserId": "A String", # Advertiser ID of the parent advertiser of this floodlight configuration.
+      "analyticsDataSharingEnabled": True or False, # Whether advertiser data is shared with Google Analytics.
+      "inAppAttributionTrackingEnabled": True or False, # Whether in-app attribution tracking is enabled.
+      "thirdPartyAuthenticationTokens": [ # List of third-party authentication tokens enabled for this configuration.
+        { # Third Party Authentication Token
+          "name": "A String", # Name of the third-party authentication token.
+          "value": "A String", # Value of the third-party authentication token. This is a read-only, auto-generated field.
+        },
+      ],
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight configuration. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # ID of this floodlight configuration. This is a read-only, auto-generated field.
+      "sslRequired": True or False, # Whether floodlight activities owned by this configuration are required to be SSL-compliant.
+      "accountId": "A String", # Account ID of this floodlight configuration. This is a read-only field that can be left blank.
+    }
+
+ +
+ list(profileId, ids=None) +
Retrieves a list of floodlight configurations, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  ids: string, Set of IDs of floodlight configurations to retrieve. Required field; otherwise an empty list will be returned. (repeated)
+
+Returns:
+  An object of the form:
+
+    { # Floodlight Configuration List Response
+    "floodlightConfigurations": [ # Floodlight configuration collection.
+      { # Contains properties of a Floodlight configuration.
+          "naturalSearchConversionAttributionOption": "A String", # Types of attribution options for natural search conversions.
+          "kind": "dfareporting#floodlightConfiguration", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightConfiguration".
+          "exposureToConversionEnabled": True or False, # Whether the exposure-to-conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.
+          "userDefinedVariableConfigurations": [ # List of user defined variables enabled for this configuration.
+            { # User Defined Variable configuration.
+              "dataType": "A String", # Data type for the variable. This is a required field.
+              "reportName": "A String", # User-friendly name for the variable which will appear in reports. This is a required field, must be less than 64 characters long, and cannot contain the following characters: ""<>".
+              "variableType": "A String", # Variable name in the tag. This is a required field.
+            },
+          ],
+          "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this floodlight configuration.
+            "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+            "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+          },
+          "tagSettings": { # Dynamic and Image Tag Settings. # Configuration settings for dynamic and image floodlight tags.
+            "dynamicTagEnabled": True or False, # Whether dynamic floodlight tags are enabled.
+            "imageTagEnabled": True or False, # Whether image tags are enabled.
+          },
+          "firstDayOfWeek": "A String", # Day that will be counted as the first day of the week in reports. This is a required field.
+          "standardVariableTypes": [ # List of standard variables enabled for this configuration.
+              #
+              # Acceptable values are:
+              # - "ORD"
+              # - "NUM"
+            "A String",
+          ],
+          "omnitureSettings": { # Omniture Integration Settings. # Settings for DCM Omniture integration.
+            "omnitureCostDataEnabled": True or False, # Whether placement cost data will be sent to Omniture. This property can be enabled only if omnitureIntegrationEnabled is true.
+            "omnitureIntegrationEnabled": True or False, # Whether Omniture integration is enabled. This property can be enabled only when the "Advanced Ad Serving" account setting is enabled.
+          },
+          "subaccountId": "A String", # Subaccount ID of this floodlight configuration. This is a read-only field that can be left blank.
+          "advertiserId": "A String", # Advertiser ID of the parent advertiser of this floodlight configuration.
+          "analyticsDataSharingEnabled": True or False, # Whether advertiser data is shared with Google Analytics.
+          "inAppAttributionTrackingEnabled": True or False, # Whether in-app attribution tracking is enabled.
+          "thirdPartyAuthenticationTokens": [ # List of third-party authentication tokens enabled for this configuration.
+            { # Third Party Authentication Token
+              "name": "A String", # Name of the third-party authentication token.
+              "value": "A String", # Value of the third-party authentication token. This is a read-only, auto-generated field.
+            },
+          ],
+          "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight configuration. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "id": "A String", # ID of this floodlight configuration. This is a read-only, auto-generated field.
+          "sslRequired": True or False, # Whether floodlight activities owned by this configuration are required to be SSL-compliant.
+          "accountId": "A String", # Account ID of this floodlight configuration. This is a read-only field that can be left blank.
+        },
+    ],
+    "kind": "dfareporting#floodlightConfigurationsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightConfigurationsListResponse".
+  }
+
+ +
+ patch(profileId, id, body) +
Updates an existing floodlight configuration. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Floodlight configuration ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a Floodlight configuration.
+    "naturalSearchConversionAttributionOption": "A String", # Types of attribution options for natural search conversions.
+    "kind": "dfareporting#floodlightConfiguration", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightConfiguration".
+    "exposureToConversionEnabled": True or False, # Whether the exposure-to-conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.
+    "userDefinedVariableConfigurations": [ # List of user defined variables enabled for this configuration.
+      { # User Defined Variable configuration.
+        "dataType": "A String", # Data type for the variable. This is a required field.
+        "reportName": "A String", # User-friendly name for the variable which will appear in reports. This is a required field, must be less than 64 characters long, and cannot contain the following characters: ""<>".
+        "variableType": "A String", # Variable name in the tag. This is a required field.
+      },
+    ],
+    "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this floodlight configuration.
+      "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+    },
+    "tagSettings": { # Dynamic and Image Tag Settings. # Configuration settings for dynamic and image floodlight tags.
+      "dynamicTagEnabled": True or False, # Whether dynamic floodlight tags are enabled.
+      "imageTagEnabled": True or False, # Whether image tags are enabled.
+    },
+    "firstDayOfWeek": "A String", # Day that will be counted as the first day of the week in reports. This is a required field.
+    "standardVariableTypes": [ # List of standard variables enabled for this configuration.
+        # 
+        # Acceptable values are:
+        # - "ORD"
+        # - "NUM"
+      "A String",
+    ],
+    "omnitureSettings": { # Omniture Integration Settings. # Settings for DCM Omniture integration.
+      "omnitureCostDataEnabled": True or False, # Whether placement cost data will be sent to Omniture. This property can be enabled only if omnitureIntegrationEnabled is true.
+      "omnitureIntegrationEnabled": True or False, # Whether Omniture integration is enabled. This property can be enabled only when the "Advanced Ad Serving" account setting is enabled.
+    },
+    "subaccountId": "A String", # Subaccount ID of this floodlight configuration. This is a read-only field that can be left blank.
+    "advertiserId": "A String", # Advertiser ID of the parent advertiser of this floodlight configuration.
+    "analyticsDataSharingEnabled": True or False, # Whether advertiser data is shared with Google Analytics.
+    "inAppAttributionTrackingEnabled": True or False, # Whether in-app attribution tracking is enabled.
+    "thirdPartyAuthenticationTokens": [ # List of third-party authentication tokens enabled for this configuration.
+      { # Third Party Authentication Token
+        "name": "A String", # Name of the third-party authentication token.
+        "value": "A String", # Value of the third-party authentication token. This is a read-only, auto-generated field.
+      },
+    ],
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight configuration. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "id": "A String", # ID of this floodlight configuration. This is a read-only, auto-generated field.
+    "sslRequired": True or False, # Whether floodlight activities owned by this configuration are required to be SSL-compliant.
+    "accountId": "A String", # Account ID of this floodlight configuration. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a Floodlight configuration.
+      "naturalSearchConversionAttributionOption": "A String", # Types of attribution options for natural search conversions.
+      "kind": "dfareporting#floodlightConfiguration", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightConfiguration".
+      "exposureToConversionEnabled": True or False, # Whether the exposure-to-conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.
+      "userDefinedVariableConfigurations": [ # List of user defined variables enabled for this configuration.
+        { # User Defined Variable configuration.
+          "dataType": "A String", # Data type for the variable. This is a required field.
+          "reportName": "A String", # User-friendly name for the variable which will appear in reports. This is a required field, must be less than 64 characters long, and cannot contain the following characters: ""<>".
+          "variableType": "A String", # Variable name in the tag. This is a required field.
+        },
+      ],
+      "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this floodlight configuration.
+        "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      },
+      "tagSettings": { # Dynamic and Image Tag Settings. # Configuration settings for dynamic and image floodlight tags.
+        "dynamicTagEnabled": True or False, # Whether dynamic floodlight tags are enabled.
+        "imageTagEnabled": True or False, # Whether image tags are enabled.
+      },
+      "firstDayOfWeek": "A String", # Day that will be counted as the first day of the week in reports. This is a required field.
+      "standardVariableTypes": [ # List of standard variables enabled for this configuration.
+          #
+          # Acceptable values are:
+          # - "ORD"
+          # - "NUM"
+        "A String",
+      ],
+      "omnitureSettings": { # Omniture Integration Settings. # Settings for DCM Omniture integration.
+        "omnitureCostDataEnabled": True or False, # Whether placement cost data will be sent to Omniture. This property can be enabled only if omnitureIntegrationEnabled is true.
+        "omnitureIntegrationEnabled": True or False, # Whether Omniture integration is enabled. This property can be enabled only when the "Advanced Ad Serving" account setting is enabled.
+      },
+      "subaccountId": "A String", # Subaccount ID of this floodlight configuration. This is a read-only field that can be left blank.
+      "advertiserId": "A String", # Advertiser ID of the parent advertiser of this floodlight configuration.
+      "analyticsDataSharingEnabled": True or False, # Whether advertiser data is shared with Google Analytics.
+      "inAppAttributionTrackingEnabled": True or False, # Whether in-app attribution tracking is enabled.
+      "thirdPartyAuthenticationTokens": [ # List of third-party authentication tokens enabled for this configuration.
+        { # Third Party Authentication Token
+          "name": "A String", # Name of the third-party authentication token.
+          "value": "A String", # Value of the third-party authentication token. This is a read-only, auto-generated field.
+        },
+      ],
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight configuration. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # ID of this floodlight configuration. This is a read-only, auto-generated field.
+      "sslRequired": True or False, # Whether floodlight activities owned by this configuration are required to be SSL-compliant.
+      "accountId": "A String", # Account ID of this floodlight configuration. This is a read-only field that can be left blank.
+    }
+
+ +
+ update(profileId, body) +
Updates an existing floodlight configuration.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a Floodlight configuration.
+    "naturalSearchConversionAttributionOption": "A String", # Types of attribution options for natural search conversions.
+    "kind": "dfareporting#floodlightConfiguration", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightConfiguration".
+    "exposureToConversionEnabled": True or False, # Whether the exposure-to-conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.
+    "userDefinedVariableConfigurations": [ # List of user defined variables enabled for this configuration.
+      { # User Defined Variable configuration.
+        "dataType": "A String", # Data type for the variable. This is a required field.
+        "reportName": "A String", # User-friendly name for the variable which will appear in reports. This is a required field, must be less than 64 characters long, and cannot contain the following characters: ""<>".
+        "variableType": "A String", # Variable name in the tag. This is a required field.
+      },
+    ],
+    "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this floodlight configuration.
+      "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+    },
+    "tagSettings": { # Dynamic and Image Tag Settings. # Configuration settings for dynamic and image floodlight tags.
+      "dynamicTagEnabled": True or False, # Whether dynamic floodlight tags are enabled.
+      "imageTagEnabled": True or False, # Whether image tags are enabled.
+    },
+    "firstDayOfWeek": "A String", # Day that will be counted as the first day of the week in reports. This is a required field.
+    "standardVariableTypes": [ # List of standard variables enabled for this configuration.
+        # 
+        # Acceptable values are:
+        # - "ORD"
+        # - "NUM"
+      "A String",
+    ],
+    "omnitureSettings": { # Omniture Integration Settings. # Settings for DCM Omniture integration.
+      "omnitureCostDataEnabled": True or False, # Whether placement cost data will be sent to Omniture. This property can be enabled only if omnitureIntegrationEnabled is true.
+      "omnitureIntegrationEnabled": True or False, # Whether Omniture integration is enabled. This property can be enabled only when the "Advanced Ad Serving" account setting is enabled.
+    },
+    "subaccountId": "A String", # Subaccount ID of this floodlight configuration. This is a read-only field that can be left blank.
+    "advertiserId": "A String", # Advertiser ID of the parent advertiser of this floodlight configuration.
+    "analyticsDataSharingEnabled": True or False, # Whether advertiser data is shared with Google Analytics.
+    "inAppAttributionTrackingEnabled": True or False, # Whether in-app attribution tracking is enabled.
+    "thirdPartyAuthenticationTokens": [ # List of third-party authentication tokens enabled for this configuration.
+      { # Third Party Authentication Token
+        "name": "A String", # Name of the third-party authentication token.
+        "value": "A String", # Value of the third-party authentication token. This is a read-only, auto-generated field.
+      },
+    ],
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight configuration. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "id": "A String", # ID of this floodlight configuration. This is a read-only, auto-generated field.
+    "sslRequired": True or False, # Whether floodlight activities owned by this configuration are required to be SSL-compliant.
+    "accountId": "A String", # Account ID of this floodlight configuration. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a Floodlight configuration.
+      "naturalSearchConversionAttributionOption": "A String", # Types of attribution options for natural search conversions.
+      "kind": "dfareporting#floodlightConfiguration", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#floodlightConfiguration".
+      "exposureToConversionEnabled": True or False, # Whether the exposure-to-conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting.
+      "userDefinedVariableConfigurations": [ # List of user defined variables enabled for this configuration.
+        { # User Defined Variable configuration.
+          "dataType": "A String", # Data type for the variable. This is a required field.
+          "reportName": "A String", # User-friendly name for the variable which will appear in reports. This is a required field, must be less than 64 characters long, and cannot contain the following characters: ""<>".
+          "variableType": "A String", # Variable name in the tag. This is a required field.
+        },
+      ],
+      "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this floodlight configuration.
+        "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      },
+      "tagSettings": { # Dynamic and Image Tag Settings. # Configuration settings for dynamic and image floodlight tags.
+        "dynamicTagEnabled": True or False, # Whether dynamic floodlight tags are enabled.
+        "imageTagEnabled": True or False, # Whether image tags are enabled.
+      },
+      "firstDayOfWeek": "A String", # Day that will be counted as the first day of the week in reports. This is a required field.
+      "standardVariableTypes": [ # List of standard variables enabled for this configuration.
+          #
+          # Acceptable values are:
+          # - "ORD"
+          # - "NUM"
+        "A String",
+      ],
+      "omnitureSettings": { # Omniture Integration Settings. # Settings for DCM Omniture integration.
+        "omnitureCostDataEnabled": True or False, # Whether placement cost data will be sent to Omniture. This property can be enabled only if omnitureIntegrationEnabled is true.
+        "omnitureIntegrationEnabled": True or False, # Whether Omniture integration is enabled. This property can be enabled only when the "Advanced Ad Serving" account setting is enabled.
+      },
+      "subaccountId": "A String", # Subaccount ID of this floodlight configuration. This is a read-only field that can be left blank.
+      "advertiserId": "A String", # Advertiser ID of the parent advertiser of this floodlight configuration.
+      "analyticsDataSharingEnabled": True or False, # Whether advertiser data is shared with Google Analytics.
+      "inAppAttributionTrackingEnabled": True or False, # Whether in-app attribution tracking is enabled.
+      "thirdPartyAuthenticationTokens": [ # List of third-party authentication tokens enabled for this configuration.
+        { # Third Party Authentication Token
+          "name": "A String", # Name of the third-party authentication token.
+          "value": "A String", # Value of the third-party authentication token. This is a read-only, auto-generated field.
+        },
+      ],
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this floodlight configuration. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # ID of this floodlight configuration. This is a read-only, auto-generated field.
+      "sslRequired": True or False, # Whether floodlight activities owned by this configuration are required to be SSL-compliant.
+      "accountId": "A String", # Account ID of this floodlight configuration. This is a read-only field that can be left blank.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.html b/docs/dyn/dfareporting_v2_2.html new file mode 100644 index 00000000000..6c004de31b3 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.html @@ -0,0 +1,373 @@ + + + +

DCM/DFA Reporting And Trafficking API

+

Instance Methods

+

+ accountActiveAdSummaries() +

+

Returns the accountActiveAdSummaries Resource.

+ +

+ accountPermissionGroups() +

+

Returns the accountPermissionGroups Resource.

+ +

+ accountPermissions() +

+

Returns the accountPermissions Resource.

+ +

+ accountUserProfiles() +

+

Returns the accountUserProfiles Resource.

+ +

+ accounts() +

+

Returns the accounts Resource.

+ +

+ ads() +

+

Returns the ads Resource.

+ +

+ advertiserGroups() +

+

Returns the advertiserGroups Resource.

+ +

+ advertisers() +

+

Returns the advertisers Resource.

+ +

+ browsers() +

+

Returns the browsers Resource.

+ +

+ campaignCreativeAssociations() +

+

Returns the campaignCreativeAssociations Resource.

+ +

+ campaigns() +

+

Returns the campaigns Resource.

+ +

+ changeLogs() +

+

Returns the changeLogs Resource.

+ +

+ cities() +

+

Returns the cities Resource.

+ +

+ connectionTypes() +

+

Returns the connectionTypes Resource.

+ +

+ contentCategories() +

+

Returns the contentCategories Resource.

+ +

+ countries() +

+

Returns the countries Resource.

+ +

+ creativeAssets() +

+

Returns the creativeAssets Resource.

+ +

+ creativeFieldValues() +

+

Returns the creativeFieldValues Resource.

+ +

+ creativeFields() +

+

Returns the creativeFields Resource.

+ +

+ creativeGroups() +

+

Returns the creativeGroups Resource.

+ +

+ creatives() +

+

Returns the creatives Resource.

+ +

+ dimensionValues() +

+

Returns the dimensionValues Resource.

+ +

+ directorySiteContacts() +

+

Returns the directorySiteContacts Resource.

+ +

+ directorySites() +

+

Returns the directorySites Resource.

+ +

+ eventTags() +

+

Returns the eventTags Resource.

+ +

+ files() +

+

Returns the files Resource.

+ +

+ floodlightActivities() +

+

Returns the floodlightActivities Resource.

+ +

+ floodlightActivityGroups() +

+

Returns the floodlightActivityGroups Resource.

+ +

+ floodlightConfigurations() +

+

Returns the floodlightConfigurations Resource.

+ +

+ inventoryItems() +

+

Returns the inventoryItems Resource.

+ +

+ landingPages() +

+

Returns the landingPages Resource.

+ +

+ metros() +

+

Returns the metros Resource.

+ +

+ mobileCarriers() +

+

Returns the mobileCarriers Resource.

+ +

+ operatingSystemVersions() +

+

Returns the operatingSystemVersions Resource.

+ +

+ operatingSystems() +

+

Returns the operatingSystems Resource.

+ +

+ orderDocuments() +

+

Returns the orderDocuments Resource.

+ +

+ orders() +

+

Returns the orders Resource.

+ +

+ placementGroups() +

+

Returns the placementGroups Resource.

+ +

+ placementStrategies() +

+

Returns the placementStrategies Resource.

+ +

+ placements() +

+

Returns the placements Resource.

+ +

+ platformTypes() +

+

Returns the platformTypes Resource.

+ +

+ postalCodes() +

+

Returns the postalCodes Resource.

+ +

+ projects() +

+

Returns the projects Resource.

+ +

+ regions() +

+

Returns the regions Resource.

+ +

+ remarketingListShares() +

+

Returns the remarketingListShares Resource.

+ +

+ remarketingLists() +

+

Returns the remarketingLists Resource.

+ +

+ reports() +

+

Returns the reports Resource.

+ +

+ sites() +

+

Returns the sites Resource.

+ +

+ sizes() +

+

Returns the sizes Resource.

+ +

+ subaccounts() +

+

Returns the subaccounts Resource.

+ +

+ targetableRemarketingLists() +

+

Returns the targetableRemarketingLists Resource.

+ +

+ userProfiles() +

+

Returns the userProfiles Resource.

+ +

+ userRolePermissionGroups() +

+

Returns the userRolePermissionGroups Resource.

+ +

+ userRolePermissions() +

+

Returns the userRolePermissions Resource.

+ +

+ userRoles() +

+

Returns the userRoles Resource.

+ +

+ new_batch_http_request()

+

Create a BatchHttpRequest object based on the discovery document.

+

Method Details

+
+ new_batch_http_request() +
Create a BatchHttpRequest object based on the discovery document.
+
+        Args:
+          callback: callable, A callback to be called for each response, of the
+            form callback(id, response, exception). The first parameter is the
+            request id, and the second is the deserialized response object. The
+            third is an apiclient.errors.HttpError exception object if an HTTP
+            error occurred while processing the request, or None if no error
+            occurred.
+
+        Returns:
+          A BatchHttpRequest object based on the discovery document.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.inventoryItems.html b/docs/dyn/dfareporting_v2_2.inventoryItems.html new file mode 100644 index 00000000000..bf22ec48eaf --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.inventoryItems.html @@ -0,0 +1,244 @@ + + + +

DCM/DFA Reporting And Trafficking API . inventoryItems

+

Instance Methods

+

+ get(profileId, projectId, id)

+

Gets one inventory item by ID.

+

+ list(profileId, projectId, orderId=None, pageToken=None, sortField=None, ids=None, maxResults=None, inPlan=None, siteId=None, sortOrder=None)

+

Retrieves a list of inventory items, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ get(profileId, projectId, id) +
Gets one inventory item by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  projectId: string, Project ID for order documents. (required)
+  id: string, Inventory item ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Represents a buy from the DoubleClick Planning inventory store.
+    "orderId": "A String", # Order ID of this inventory item.
+    "pricing": { # Pricing Information # Pricing of this inventory item.
+      "groupType": "A String", # Group type of this inventory item if it represents a placement group. Is null otherwise. There are two type of placement groups: PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE is a simple group of inventory items that acts as a single pricing point for a group of tags. PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK is a group of inventory items that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned inventory items to be marked as primary.
+      "startDate": "A String", # Start date of this inventory item.
+      "endDate": "A String", # End date of this inventory item.
+      "pricingType": "A String", # Pricing type of this inventory item.
+      "flights": [ # Flights of this inventory item. A flight (a.k.a. pricing period) represents the inventory item pricing information for a specific period of time.
+        { # Flight
+          "rateOrCost": "A String", # Rate or cost of this flight.
+          "startDate": "A String", # Inventory item flight start date.
+          "units": "A String", # Units of this flight.
+          "endDate": "A String", # Inventory item flight end date.
+        },
+      ],
+      "capCostType": "A String", # Cap cost type of this inventory item.
+    },
+    "kind": "dfareporting#inventoryItem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#inventoryItem".
+    "negotiationChannelId": "A String", # Negotiation channel ID of this inventory item.
+    "subaccountId": "A String", # Subaccount ID of this inventory item.
+    "name": "A String", # Name of this inventory item. For standalone inventory items, this is the same name as that of its only ad slot. For group inventory items, this can differ from the name of any of its ad slots.
+    "estimatedClickThroughRate": "A String", # Estimated click-through rate of this inventory item.
+    "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this inventory item.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "estimatedConversionRate": "A String", # Estimated conversion rate of this inventory item.
+    "inPlan": True or False, # Whether this inventory item is in plan.
+    "id": "A String", # ID of this inventory item.
+    "advertiserId": "A String", # Advertiser ID of this inventory item.
+    "siteId": "A String", # ID of the site this inventory item is associated with.
+    "adSlots": [ # Ad slots of this inventory item. If this inventory item represents a standalone placement, there will be exactly one ad slot. If this inventory item represents a placement group, there will be more than one ad slot, each representing one child placement in that placement group.
+      { # Ad Slot
+        "comment": "A String", # Comment for this ad slot.
+        "linkedPlacementId": "A String", # ID of the placement from an external platform that is linked to this ad slot.
+        "name": "A String", # Name of this ad slot.
+        "primary": True or False, # Primary ad slot of a roadblock inventory item.
+        "height": "A String", # Height of this ad slot.
+        "width": "A String", # Width of this ad slot.
+        "paymentSourceType": "A String", # Payment source type of this ad slot.
+        "compatibility": "A String", # Ad slot compatibility. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard.
+      },
+    ],
+    "projectId": "A String", # Project ID of this inventory item.
+    "rfpId": "A String", # RFP ID of this inventory item.
+    "contentCategoryId": "A String", # Content category ID of this inventory item.
+    "placementStrategyId": "A String", # Placement strategy ID of this inventory item.
+    "accountId": "A String", # Account ID of this inventory item.
+  }
+
+ +
+ list(profileId, projectId, orderId=None, pageToken=None, sortField=None, ids=None, maxResults=None, inPlan=None, siteId=None, sortOrder=None) +
Retrieves a list of inventory items, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  projectId: string, Project ID for order documents. (required)
+  orderId: string, Select only inventory items that belong to specified orders. (repeated)
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  ids: string, Select only inventory items with these IDs. (repeated)
+  maxResults: integer, Maximum number of results to return.
+  inPlan: boolean, Select only inventory items that are in plan.
+  siteId: string, Select only inventory items that are associated with these sites. (repeated)
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+
+Returns:
+  An object of the form:
+
+    { # Inventory item List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#inventoryItemsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#inventoryItemsListResponse".
+    "inventoryItems": [ # Inventory item collection
+      { # Represents a buy from the DoubleClick Planning inventory store.
+        "orderId": "A String", # Order ID of this inventory item.
+        "pricing": { # Pricing Information # Pricing of this inventory item.
+          "groupType": "A String", # Group type of this inventory item if it represents a placement group. Is null otherwise. There are two type of placement groups: PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE is a simple group of inventory items that acts as a single pricing point for a group of tags. PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK is a group of inventory items that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned inventory items to be marked as primary.
+          "startDate": "A String", # Start date of this inventory item.
+          "endDate": "A String", # End date of this inventory item.
+          "pricingType": "A String", # Pricing type of this inventory item.
+          "flights": [ # Flights of this inventory item. A flight (a.k.a. pricing period) represents the inventory item pricing information for a specific period of time.
+            { # Flight
+              "rateOrCost": "A String", # Rate or cost of this flight.
+              "startDate": "A String", # Inventory item flight start date.
+              "units": "A String", # Units of this flight.
+              "endDate": "A String", # Inventory item flight end date.
+            },
+          ],
+          "capCostType": "A String", # Cap cost type of this inventory item.
+        },
+        "kind": "dfareporting#inventoryItem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#inventoryItem".
+        "negotiationChannelId": "A String", # Negotiation channel ID of this inventory item.
+        "subaccountId": "A String", # Subaccount ID of this inventory item.
+        "name": "A String", # Name of this inventory item. For standalone inventory items, this is the same name as that of its only ad slot. For group inventory items, this can differ from the name of any of its ad slots.
+        "estimatedClickThroughRate": "A String", # Estimated click-through rate of this inventory item.
+        "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this inventory item.
+          "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+        },
+        "estimatedConversionRate": "A String", # Estimated conversion rate of this inventory item.
+        "inPlan": True or False, # Whether this inventory item is in plan.
+        "id": "A String", # ID of this inventory item.
+        "advertiserId": "A String", # Advertiser ID of this inventory item.
+        "siteId": "A String", # ID of the site this inventory item is associated with.
+        "adSlots": [ # Ad slots of this inventory item. If this inventory item represents a standalone placement, there will be exactly one ad slot. If this inventory item represents a placement group, there will be more than one ad slot, each representing one child placement in that placement group.
+          { # Ad Slot
+            "comment": "A String", # Comment for this ad slot.
+            "linkedPlacementId": "A String", # ID of the placement from an external platform that is linked to this ad slot.
+            "name": "A String", # Name of this ad slot.
+            "primary": True or False, # Primary ad slot of a roadblock inventory item.
+            "height": "A String", # Height of this ad slot.
+            "width": "A String", # Width of this ad slot.
+            "paymentSourceType": "A String", # Payment source type of this ad slot.
+            "compatibility": "A String", # Ad slot compatibility. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard.
+          },
+        ],
+        "projectId": "A String", # Project ID of this inventory item.
+        "rfpId": "A String", # RFP ID of this inventory item.
+        "contentCategoryId": "A String", # Content category ID of this inventory item.
+        "placementStrategyId": "A String", # Placement strategy ID of this inventory item.
+        "accountId": "A String", # Account ID of this inventory item.
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.landingPages.html b/docs/dyn/dfareporting_v2_2.landingPages.html new file mode 100644 index 00000000000..3604e75f10c --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.landingPages.html @@ -0,0 +1,247 @@ + + + +

DCM/DFA Reporting And Trafficking API . landingPages

+

Instance Methods

+

+ delete(profileId, campaignId, id)

+

Deletes an existing campaign landing page.

+

+ get(profileId, campaignId, id)

+

Gets one campaign landing page by ID.

+

+ insert(profileId, campaignId, body)

+

Inserts a new landing page for the specified campaign.

+

+ list(profileId, campaignId)

+

Retrieves the list of landing pages for the specified campaign.

+

+ patch(profileId, campaignId, id, body)

+

Updates an existing campaign landing page. This method supports patch semantics.

+

+ update(profileId, campaignId, body)

+

Updates an existing campaign landing page.

+

Method Details

+
+ delete(profileId, campaignId, id) +
Deletes an existing campaign landing page.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  campaignId: string, Landing page campaign ID. (required)
+  id: string, Landing page ID. (required)
+
+
+ +
+ get(profileId, campaignId, id) +
Gets one campaign landing page by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  campaignId: string, Landing page campaign ID. (required)
+  id: string, Landing page ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains information about where a user's browser is taken after the user clicks an ad.
+      "default": True or False, # Whether or not this landing page will be assigned to any ads or creatives that do not have a landing page assigned explicitly. Only one default landing page is allowed per campaign.
+      "url": "A String", # URL of this landing page. This is a required field.
+      "kind": "dfareporting#landingPage", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#landingPage".
+      "id": "A String", # ID of this landing page. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this landing page. This is a required field. It must be less than 256 characters long, and must be unique among landing pages of the same campaign.
+    }
+
+ +
+ insert(profileId, campaignId, body) +
Inserts a new landing page for the specified campaign.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  campaignId: string, Landing page campaign ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains information about where a user's browser is taken after the user clicks an ad.
+    "default": True or False, # Whether or not this landing page will be assigned to any ads or creatives that do not have a landing page assigned explicitly. Only one default landing page is allowed per campaign.
+    "url": "A String", # URL of this landing page. This is a required field.
+    "kind": "dfareporting#landingPage", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#landingPage".
+    "id": "A String", # ID of this landing page. This is a read-only, auto-generated field.
+    "name": "A String", # Name of this landing page. This is a required field. It must be less than 256 characters long, and must be unique among landing pages of the same campaign.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains information about where a user's browser is taken after the user clicks an ad.
+      "default": True or False, # Whether or not this landing page will be assigned to any ads or creatives that do not have a landing page assigned explicitly. Only one default landing page is allowed per campaign.
+      "url": "A String", # URL of this landing page. This is a required field.
+      "kind": "dfareporting#landingPage", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#landingPage".
+      "id": "A String", # ID of this landing page. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this landing page. This is a required field. It must be less than 256 characters long, and must be unique among landing pages of the same campaign.
+    }
+
+ +
+ list(profileId, campaignId) +
Retrieves the list of landing pages for the specified campaign.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  campaignId: string, Landing page campaign ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Landing Page List Response
+    "kind": "dfareporting#landingPagesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#landingPagesListResponse".
+    "landingPages": [ # Landing page collection
+      { # Contains information about where a user's browser is taken after the user clicks an ad.
+          "default": True or False, # Whether or not this landing page will be assigned to any ads or creatives that do not have a landing page assigned explicitly. Only one default landing page is allowed per campaign.
+          "url": "A String", # URL of this landing page. This is a required field.
+          "kind": "dfareporting#landingPage", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#landingPage".
+          "id": "A String", # ID of this landing page. This is a read-only, auto-generated field.
+          "name": "A String", # Name of this landing page. This is a required field. It must be less than 256 characters long, and must be unique among landing pages of the same campaign.
+        },
+    ],
+  }
+
+ +
+ patch(profileId, campaignId, id, body) +
Updates an existing campaign landing page. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  campaignId: string, Landing page campaign ID. (required)
+  id: string, Landing page ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains information about where a user's browser is taken after the user clicks an ad.
+    "default": True or False, # Whether or not this landing page will be assigned to any ads or creatives that do not have a landing page assigned explicitly. Only one default landing page is allowed per campaign.
+    "url": "A String", # URL of this landing page. This is a required field.
+    "kind": "dfareporting#landingPage", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#landingPage".
+    "id": "A String", # ID of this landing page. This is a read-only, auto-generated field.
+    "name": "A String", # Name of this landing page. This is a required field. It must be less than 256 characters long, and must be unique among landing pages of the same campaign.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains information about where a user's browser is taken after the user clicks an ad.
+      "default": True or False, # Whether or not this landing page will be assigned to any ads or creatives that do not have a landing page assigned explicitly. Only one default landing page is allowed per campaign.
+      "url": "A String", # URL of this landing page. This is a required field.
+      "kind": "dfareporting#landingPage", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#landingPage".
+      "id": "A String", # ID of this landing page. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this landing page. This is a required field. It must be less than 256 characters long, and must be unique among landing pages of the same campaign.
+    }
+
+ +
+ update(profileId, campaignId, body) +
Updates an existing campaign landing page.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  campaignId: string, Landing page campaign ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains information about where a user's browser is taken after the user clicks an ad.
+    "default": True or False, # Whether or not this landing page will be assigned to any ads or creatives that do not have a landing page assigned explicitly. Only one default landing page is allowed per campaign.
+    "url": "A String", # URL of this landing page. This is a required field.
+    "kind": "dfareporting#landingPage", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#landingPage".
+    "id": "A String", # ID of this landing page. This is a read-only, auto-generated field.
+    "name": "A String", # Name of this landing page. This is a required field. It must be less than 256 characters long, and must be unique among landing pages of the same campaign.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains information about where a user's browser is taken after the user clicks an ad.
+      "default": True or False, # Whether or not this landing page will be assigned to any ads or creatives that do not have a landing page assigned explicitly. Only one default landing page is allowed per campaign.
+      "url": "A String", # URL of this landing page. This is a required field.
+      "kind": "dfareporting#landingPage", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#landingPage".
+      "id": "A String", # ID of this landing page. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this landing page. This is a required field. It must be less than 256 characters long, and must be unique among landing pages of the same campaign.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.metros.html b/docs/dyn/dfareporting_v2_2.metros.html new file mode 100644 index 00000000000..b28cfc42366 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.metros.html @@ -0,0 +1,107 @@ + + + +

DCM/DFA Reporting And Trafficking API . metros

+

Instance Methods

+

+ list(profileId)

+

Retrieves a list of metros.

+

Method Details

+
+ list(profileId) +
Retrieves a list of metros.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+
+Returns:
+  An object of the form:
+
+    { # Metro List Response
+    "kind": "dfareporting#metrosListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#metrosListResponse".
+    "metros": [ # Metro collection.
+      { # Contains information about a metro region that can be targeted by ads.
+        "kind": "dfareporting#metro", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#metro".
+        "countryDartId": "A String", # DART ID of the country to which this metro region belongs.
+        "name": "A String", # Name of this metro region.
+        "countryCode": "A String", # Country code of the country to which this metro region belongs.
+        "metroCode": "A String", # Metro code of this metro region. This is equivalent to dma_id.
+        "dmaId": "A String", # DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code.
+        "dartId": "A String", # DART ID of this metro region.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.mobileCarriers.html b/docs/dyn/dfareporting_v2_2.mobileCarriers.html new file mode 100644 index 00000000000..6f2c5a5c845 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.mobileCarriers.html @@ -0,0 +1,128 @@ + + + +

DCM/DFA Reporting And Trafficking API . mobileCarriers

+

Instance Methods

+

+ get(profileId, id)

+

Gets one mobile carrier by ID.

+

+ list(profileId)

+

Retrieves a list of mobile carriers.

+

Method Details

+
+ get(profileId, id) +
Gets one mobile carrier by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Mobile carrier ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains information about a mobile carrier that can be targeted by ads.
+    "kind": "dfareporting#mobileCarrier", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileCarrier".
+    "countryDartId": "A String", # DART ID of the country to which this mobile carrier belongs.
+    "id": "A String", # ID of this mobile carrier.
+    "countryCode": "A String", # Country code of the country to which this mobile carrier belongs.
+    "name": "A String", # Name of this mobile carrier.
+  }
+
+ +
+ list(profileId) +
Retrieves a list of mobile carriers.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+
+Returns:
+  An object of the form:
+
+    { # Mobile Carrier List Response
+    "kind": "dfareporting#mobileCarriersListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileCarriersListResponse".
+    "mobileCarriers": [ # Mobile carrier collection.
+      { # Contains information about a mobile carrier that can be targeted by ads.
+        "kind": "dfareporting#mobileCarrier", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#mobileCarrier".
+        "countryDartId": "A String", # DART ID of the country to which this mobile carrier belongs.
+        "id": "A String", # ID of this mobile carrier.
+        "countryCode": "A String", # Country code of the country to which this mobile carrier belongs.
+        "name": "A String", # Name of this mobile carrier.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.operatingSystemVersions.html b/docs/dyn/dfareporting_v2_2.operatingSystemVersions.html new file mode 100644 index 00000000000..4bfc68c8103 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.operatingSystemVersions.html @@ -0,0 +1,142 @@ + + + +

DCM/DFA Reporting And Trafficking API . operatingSystemVersions

+

Instance Methods

+

+ get(profileId, id)

+

Gets one operating system version by ID.

+

+ list(profileId)

+

Retrieves a list of operating system versions.

+

Method Details

+
+ get(profileId, id) +
Gets one operating system version by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Operating system version ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains information about a particular version of an operating system that can be targeted by ads.
+    "majorVersion": "A String", # Major version (leftmost number) of this operating system version.
+    "kind": "dfareporting#operatingSystemVersion", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersion".
+    "name": "A String", # Name of this operating system version.
+    "id": "A String", # ID of this operating system version.
+    "operatingSystem": { # Contains information about an operating system that can be targeted by ads. # Operating system of this operating system version.
+      "mobile": True or False, # Whether this operating system is for mobile.
+      "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
+      "kind": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
+      "name": "A String", # Name of this operating system.
+      "desktop": True or False, # Whether this operating system is for desktop.
+    },
+    "minorVersion": "A String", # Minor version (number after the first dot) of this operating system version.
+  }
+
+ +
+ list(profileId) +
Retrieves a list of operating system versions.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+
+Returns:
+  An object of the form:
+
+    { # Operating System Version List Response
+    "kind": "dfareporting#operatingSystemVersionsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersionsListResponse".
+    "operatingSystemVersions": [ # Operating system version collection.
+      { # Contains information about a particular version of an operating system that can be targeted by ads.
+        "majorVersion": "A String", # Major version (leftmost number) of this operating system version.
+        "kind": "dfareporting#operatingSystemVersion", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemVersion".
+        "name": "A String", # Name of this operating system version.
+        "id": "A String", # ID of this operating system version.
+        "operatingSystem": { # Contains information about an operating system that can be targeted by ads. # Operating system of this operating system version.
+          "mobile": True or False, # Whether this operating system is for mobile.
+          "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
+          "kind": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
+          "name": "A String", # Name of this operating system.
+          "desktop": True or False, # Whether this operating system is for desktop.
+        },
+        "minorVersion": "A String", # Minor version (number after the first dot) of this operating system version.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.operatingSystems.html b/docs/dyn/dfareporting_v2_2.operatingSystems.html new file mode 100644 index 00000000000..67ad450b6ec --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.operatingSystems.html @@ -0,0 +1,128 @@ + + + +

DCM/DFA Reporting And Trafficking API . operatingSystems

+

Instance Methods

+

+ get(profileId, dartId)

+

Gets one operating system by DART ID.

+

+ list(profileId)

+

Retrieves a list of operating systems.

+

Method Details

+
+ get(profileId, dartId) +
Gets one operating system by DART ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  dartId: string, Operating system DART ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains information about an operating system that can be targeted by ads.
+    "mobile": True or False, # Whether this operating system is for mobile.
+    "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
+    "kind": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
+    "name": "A String", # Name of this operating system.
+    "desktop": True or False, # Whether this operating system is for desktop.
+  }
+
+ +
+ list(profileId) +
Retrieves a list of operating systems.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+
+Returns:
+  An object of the form:
+
+    { # Operating System List Response
+    "kind": "dfareporting#operatingSystemsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystemsListResponse".
+    "operatingSystems": [ # Operating system collection.
+      { # Contains information about an operating system that can be targeted by ads.
+        "mobile": True or False, # Whether this operating system is for mobile.
+        "dartId": "A String", # DART ID of this operating system. This is the ID used for targeting.
+        "kind": "dfareporting#operatingSystem", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#operatingSystem".
+        "name": "A String", # Name of this operating system.
+        "desktop": True or False, # Whether this operating system is for desktop.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.orderDocuments.html b/docs/dyn/dfareporting_v2_2.orderDocuments.html new file mode 100644 index 00000000000..252f3238cdc --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.orderDocuments.html @@ -0,0 +1,199 @@ + + + +

DCM/DFA Reporting And Trafficking API . orderDocuments

+

Instance Methods

+

+ get(profileId, projectId, id)

+

Gets one order document by ID.

+

+ list(profileId, projectId, pageToken=None, sortOrder=None, orderId=None, maxResults=None, siteId=None, approved=None, searchString=None, sortField=None, ids=None)

+

Retrieves a list of order documents, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ get(profileId, projectId, id) +
Gets one order document by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  projectId: string, Project ID for order documents. (required)
+  id: string, Order document ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DoubleClick Planning order document.
+    "orderId": "A String", # ID of the order from which this order document is created.
+    "approvedByUserProfileIds": [ # IDs of users who have approved this order document.
+      "A String",
+    ],
+    "kind": "dfareporting#orderDocument", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#orderDocument".
+    "subaccountId": "A String", # Subaccount ID of this order document.
+    "effectiveDate": "A String", # Effective date of this order document.
+    "lastSentTime": "A String", # Timestamp of the last email sent with this order document.
+    "lastSentRecipients": [ # List of email addresses that received the last sent document.
+      "A String",
+    ],
+    "title": "A String", # Title of this order document.
+    "amendedOrderDocumentId": "A String", # The amended order document ID of this order document. An order document can be created by optionally amending another order document so that the change history can be preserved.
+    "signed": True or False, # Whether this order document has been signed.
+    "createdInfo": { # Modification timestamp. # Information about the creation of this order document.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "advertiserId": "A String", # Advertiser ID of this order document.
+    "projectId": "A String", # Project ID of this order document.
+    "cancelled": True or False, # Whether this order document is cancelled.
+    "type": "A String", # Type of this order document
+    "id": "A String", # ID of this order document.
+    "accountId": "A String", # Account ID of this order document.
+  }
+
+ +
+ list(profileId, projectId, pageToken=None, sortOrder=None, orderId=None, maxResults=None, siteId=None, approved=None, searchString=None, sortField=None, ids=None) +
Retrieves a list of order documents, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  projectId: string, Project ID for order documents. (required)
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+  orderId: string, Select only order documents for specified orders. (repeated)
+  maxResults: integer, Maximum number of results to return.
+  siteId: string, Select only order documents that are associated with these sites. (repeated)
+  approved: boolean, Select only order documents that have been approved by at least one user.
+  searchString: string, Allows searching for order documents by name or ID. Wildcards (*) are allowed. For example, "orderdocument*2015" will return order documents with names like "orderdocument June 2015", "orderdocument April 2015", or simply "orderdocument 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "orderdocument" will match order documents with name "my orderdocument", "orderdocument 2015", or simply "orderdocument".
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  ids: string, Select only order documents with these IDs. (repeated)
+
+Returns:
+  An object of the form:
+
+    { # Order document List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#orderDocumentsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#orderDocumentsListResponse".
+    "orderDocuments": [ # Order document collection
+      { # Contains properties of a DoubleClick Planning order document.
+        "orderId": "A String", # ID of the order from which this order document is created.
+        "approvedByUserProfileIds": [ # IDs of users who have approved this order document.
+          "A String",
+        ],
+        "kind": "dfareporting#orderDocument", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#orderDocument".
+        "subaccountId": "A String", # Subaccount ID of this order document.
+        "effectiveDate": "A String", # Effective date of this order document.
+        "lastSentTime": "A String", # Timestamp of the last email sent with this order document.
+        "lastSentRecipients": [ # List of email addresses that received the last sent document.
+          "A String",
+        ],
+        "title": "A String", # Title of this order document.
+        "amendedOrderDocumentId": "A String", # The amended order document ID of this order document. An order document can be created by optionally amending another order document so that the change history can be preserved.
+        "signed": True or False, # Whether this order document has been signed.
+        "createdInfo": { # Modification timestamp. # Information about the creation of this order document.
+          "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+        },
+        "advertiserId": "A String", # Advertiser ID of this order document.
+        "projectId": "A String", # Project ID of this order document.
+        "cancelled": True or False, # Whether this order document is cancelled.
+        "type": "A String", # Type of this order document
+        "id": "A String", # ID of this order document.
+        "accountId": "A String", # Account ID of this order document.
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.orders.html b/docs/dyn/dfareporting_v2_2.orders.html new file mode 100644 index 00000000000..7262633483a --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.orders.html @@ -0,0 +1,223 @@ + + + +

DCM/DFA Reporting And Trafficking API . orders

+

Instance Methods

+

+ get(profileId, projectId, id)

+

Gets one order by ID.

+

+ list(profileId, projectId, searchString=None, pageToken=None, sortField=None, ids=None, maxResults=None, sortOrder=None, siteId=None)

+

Retrieves a list of orders, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ get(profileId, projectId, id) +
Gets one order by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  projectId: string, Project ID for orders. (required)
+  id: string, Order ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Describes properties of a DoubleClick Planning order.
+    "termsAndConditions": "A String", # Terms and conditions of this order.
+    "kind": "dfareporting#order", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#order".
+    "sellerOrganizationName": "A String", # Name of the seller organization.
+    "subaccountId": "A String", # Subaccount ID of this order.
+    "name": "A String", # Name of this order.
+    "buyerInvoiceId": "A String", # Buyer invoice ID associated with this order.
+    "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this order.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "notes": "A String", # Notes of this order.
+    "contacts": [ # Contacts for this order.
+      { # Contact of an order.
+        "signatureUserProfileId": "A String", # ID of the user profile containing the signature that will be embedded into order documents.
+        "contactTitle": "A String", # Title of this contact.
+        "contactInfo": "A String", # Free-form information about this contact. It could be any information related to this contact in addition to type, title, name, and signature user profile ID.
+        "contactName": "A String", # Name of this contact.
+        "contactType": "A String", # Type of this contact.
+      },
+    ],
+    "buyerOrganizationName": "A String", # Name of the buyer organization.
+    "comments": "A String", # Comments in this order.
+    "advertiserId": "A String", # Advertiser ID of this order.
+    "approverUserProfileIds": [ # IDs for users that have to approve documents created for this order.
+      "A String",
+    ],
+    "siteId": [ # Site IDs this order is associated with.
+      "A String",
+    ],
+    "sellerOrderId": "A String", # Seller order ID associated with this order.
+    "projectId": "A String", # Project ID of this order.
+    "siteNames": [ # Free-form site names this order is associated with.
+      "A String",
+    ],
+    "planningTermId": "A String", # ID of the terms and conditions template used in this order.
+    "id": "A String", # ID of this order. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this order.
+  }
+
+ +
+ list(profileId, projectId, searchString=None, pageToken=None, sortField=None, ids=None, maxResults=None, sortOrder=None, siteId=None) +
Retrieves a list of orders, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  projectId: string, Project ID for orders. (required)
+  searchString: string, Allows searching for orders by name or ID. Wildcards (*) are allowed. For example, "order*2015" will return orders with names like "order June 2015", "order April 2015", or simply "order 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "order" will match orders with name "my order", "order 2015", or simply "order".
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  ids: string, Select only orders with these IDs. (repeated)
+  maxResults: integer, Maximum number of results to return.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+  siteId: string, Select only orders that are associated with these site IDs. (repeated)
+
+Returns:
+  An object of the form:
+
+    { # Order List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#ordersListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#ordersListResponse".
+    "orders": [ # Order collection.
+      { # Describes properties of a DoubleClick Planning order.
+        "termsAndConditions": "A String", # Terms and conditions of this order.
+        "kind": "dfareporting#order", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#order".
+        "sellerOrganizationName": "A String", # Name of the seller organization.
+        "subaccountId": "A String", # Subaccount ID of this order.
+        "name": "A String", # Name of this order.
+        "buyerInvoiceId": "A String", # Buyer invoice ID associated with this order.
+        "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this order.
+          "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+        },
+        "notes": "A String", # Notes of this order.
+        "contacts": [ # Contacts for this order.
+          { # Contact of an order.
+            "signatureUserProfileId": "A String", # ID of the user profile containing the signature that will be embedded into order documents.
+            "contactTitle": "A String", # Title of this contact.
+            "contactInfo": "A String", # Free-form information about this contact. It could be any information related to this contact in addition to type, title, name, and signature user profile ID.
+            "contactName": "A String", # Name of this contact.
+            "contactType": "A String", # Type of this contact.
+          },
+        ],
+        "buyerOrganizationName": "A String", # Name of the buyer organization.
+        "comments": "A String", # Comments in this order.
+        "advertiserId": "A String", # Advertiser ID of this order.
+        "approverUserProfileIds": [ # IDs for users that have to approve documents created for this order.
+          "A String",
+        ],
+        "siteId": [ # Site IDs this order is associated with.
+          "A String",
+        ],
+        "sellerOrderId": "A String", # Seller order ID associated with this order.
+        "projectId": "A String", # Project ID of this order.
+        "siteNames": [ # Free-form site names this order is associated with.
+          "A String",
+        ],
+        "planningTermId": "A String", # ID of the terms and conditions template used in this order.
+        "id": "A String", # ID of this order. This is a read-only, auto-generated field.
+        "accountId": "A String", # Account ID of this order.
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.placementGroups.html b/docs/dyn/dfareporting_v2_2.placementGroups.html new file mode 100644 index 00000000000..d46812c5951 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.placementGroups.html @@ -0,0 +1,976 @@ + + + +

DCM/DFA Reporting And Trafficking API . placementGroups

+

Instance Methods

+

+ get(profileId, id)

+

Gets one placement group by ID.

+

+ insert(profileId, body)

+

Inserts a new placement group.

+

+ list(profileId, siteIds=None, placementGroupType=None, pricingTypes=None, campaignIds=None, advertiserIds=None, pageToken=None, maxStartDate=None, sortOrder=None, maxEndDate=None, placementStrategyIds=None, contentCategoryIds=None, archived=None, maxResults=None, minStartDate=None, searchString=None, minEndDate=None, directorySiteIds=None, ids=None, sortField=None)

+

Retrieves a list of placement groups, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, id, body)

+

Updates an existing placement group. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing placement group.

+

Method Details

+
+ get(profileId, id) +
Gets one placement group by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Placement group ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a package or roadblock.
+      "comment": "A String", # Comments for this placement group.
+      "primaryPlacementId": "A String", # ID of the primary placement, used to calculate the media cost of a roadblock (placement group). Modifying this field will automatically modify the primary field on all affected roadblock child placements.
+      "campaignId": "A String", # Campaign ID of this placement group. This field is required on insertion.
+      "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "advertiserId": "A String", # Advertiser ID of this placement group. This is a required field on insertion.
+      "directorySiteId": "A String", # Directory site ID associated with this placement group. On insert, you must set either this field or the site_id field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
+      "placementGroupType": "A String", # Type of this placement group. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting. This field is required on insertion.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # ID of this placement group. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this placement group. This is a read-only field that can be left blank.
+      "archived": True or False, # Whether this placement group is archived.
+      "childPlacementIds": [ # IDs of placements which are assigned to this placement group. This is a read-only, auto-generated field.
+        "A String",
+      ],
+      "contentCategoryId": "A String", # ID of the content category assigned to this placement group.
+      "externalId": "A String", # External ID for this placement.
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement group. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "primaryPlacementIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the primary placement. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "createInfo": { # Modification timestamp. # Information about the creation of this placement group. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "siteId": "A String", # Site ID associated with this placement group. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
+      "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement group.
+      "kind": "dfareporting#placementGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementGroup".
+      "subaccountId": "A String", # Subaccount ID of this placement group. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this placement group. This is a required field and must be less than 256 characters long.
+      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement group. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement group. This field is required on insertion.
+        "startDate": "A String", # Placement start date. This date must be later than, or the same day as, the campaign start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This field is required on insertion.
+        "endDate": "A String", # Placement end date. This date must be later than, or the same day as, the placement start date, but not later than the campaign end date. If, for example, you set 6/25/2015 as both the start and end dates, the effective placement date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This field is required on insertion.
+        "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
+        "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
+        "capCostOption": "A String", # Placement cap cost option.
+        "pricingPeriods": [ # Pricing periods for this placement.
+          { # Pricing Period
+            "units": "A String", # Units of this pricing period.
+            "rateOrCostNanos": "A String", # Rate or cost of this pricing period.
+            "startDate": "A String", # Pricing period start date. This date must be later than, or the same day as, the placement start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+            "endDate": "A String", # Pricing period end date. This date must be later than, or the same day as, the pricing period start date, but not later than the placement end date. The period end date can be the same date as the period start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective pricing period date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error.
+            "pricingComment": "A String", # Comments for this pricing period.
+          },
+        ],
+        "pricingType": "A String", # Placement pricing type. This field is required on insertion.
+        "testingStartDate": "A String", # Testing start date of this placement. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+        "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
+      },
+    }
+
+ +
+ insert(profileId, body) +
Inserts a new placement group.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a package or roadblock.
+    "comment": "A String", # Comments for this placement group.
+    "primaryPlacementId": "A String", # ID of the primary placement, used to calculate the media cost of a roadblock (placement group). Modifying this field will automatically modify the primary field on all affected roadblock child placements.
+    "campaignId": "A String", # Campaign ID of this placement group. This field is required on insertion.
+    "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "advertiserId": "A String", # Advertiser ID of this placement group. This is a required field on insertion.
+    "directorySiteId": "A String", # Directory site ID associated with this placement group. On insert, you must set either this field or the site_id field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
+    "placementGroupType": "A String", # Type of this placement group. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting. This field is required on insertion.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "id": "A String", # ID of this placement group. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this placement group. This is a read-only field that can be left blank.
+    "archived": True or False, # Whether this placement group is archived.
+    "childPlacementIds": [ # IDs of placements which are assigned to this placement group. This is a read-only, auto-generated field.
+      "A String",
+    ],
+    "contentCategoryId": "A String", # ID of the content category assigned to this placement group.
+    "externalId": "A String", # External ID for this placement.
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement group. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "primaryPlacementIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the primary placement. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "createInfo": { # Modification timestamp. # Information about the creation of this placement group. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "siteId": "A String", # Site ID associated with this placement group. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
+    "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement group.
+    "kind": "dfareporting#placementGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementGroup".
+    "subaccountId": "A String", # Subaccount ID of this placement group. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this placement group. This is a required field and must be less than 256 characters long.
+    "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement group. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement group. This field is required on insertion.
+      "startDate": "A String", # Placement start date. This date must be later than, or the same day as, the campaign start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This field is required on insertion.
+      "endDate": "A String", # Placement end date. This date must be later than, or the same day as, the placement start date, but not later than the campaign end date. If, for example, you set 6/25/2015 as both the start and end dates, the effective placement date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This field is required on insertion.
+      "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
+      "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
+      "capCostOption": "A String", # Placement cap cost option.
+      "pricingPeriods": [ # Pricing periods for this placement.
+        { # Pricing Period
+          "units": "A String", # Units of this pricing period.
+          "rateOrCostNanos": "A String", # Rate or cost of this pricing period.
+          "startDate": "A String", # Pricing period start date. This date must be later than, or the same day as, the placement start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+          "endDate": "A String", # Pricing period end date. This date must be later than, or the same day as, the pricing period start date, but not later than the placement end date. The period end date can be the same date as the period start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective pricing period date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error.
+          "pricingComment": "A String", # Comments for this pricing period.
+        },
+      ],
+      "pricingType": "A String", # Placement pricing type. This field is required on insertion.
+      "testingStartDate": "A String", # Testing start date of this placement. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+      "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
+    },
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a package or roadblock.
+      "comment": "A String", # Comments for this placement group.
+      "primaryPlacementId": "A String", # ID of the primary placement, used to calculate the media cost of a roadblock (placement group). Modifying this field will automatically modify the primary field on all affected roadblock child placements.
+      "campaignId": "A String", # Campaign ID of this placement group. This field is required on insertion.
+      "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "advertiserId": "A String", # Advertiser ID of this placement group. This is a required field on insertion.
+      "directorySiteId": "A String", # Directory site ID associated with this placement group. On insert, you must set either this field or the site_id field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
+      "placementGroupType": "A String", # Type of this placement group. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting. This field is required on insertion.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # ID of this placement group. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this placement group. This is a read-only field that can be left blank.
+      "archived": True or False, # Whether this placement group is archived.
+      "childPlacementIds": [ # IDs of placements which are assigned to this placement group. This is a read-only, auto-generated field.
+        "A String",
+      ],
+      "contentCategoryId": "A String", # ID of the content category assigned to this placement group.
+      "externalId": "A String", # External ID for this placement.
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement group. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "primaryPlacementIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the primary placement. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "createInfo": { # Modification timestamp. # Information about the creation of this placement group. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "siteId": "A String", # Site ID associated with this placement group. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
+      "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement group.
+      "kind": "dfareporting#placementGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementGroup".
+      "subaccountId": "A String", # Subaccount ID of this placement group. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this placement group. This is a required field and must be less than 256 characters long.
+      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement group. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement group. This field is required on insertion.
+        "startDate": "A String", # Placement start date. This date must be later than, or the same day as, the campaign start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This field is required on insertion.
+        "endDate": "A String", # Placement end date. This date must be later than, or the same day as, the placement start date, but not later than the campaign end date. If, for example, you set 6/25/2015 as both the start and end dates, the effective placement date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This field is required on insertion.
+        "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
+        "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
+        "capCostOption": "A String", # Placement cap cost option.
+        "pricingPeriods": [ # Pricing periods for this placement.
+          { # Pricing Period
+            "units": "A String", # Units of this pricing period.
+            "rateOrCostNanos": "A String", # Rate or cost of this pricing period.
+            "startDate": "A String", # Pricing period start date. This date must be later than, or the same day as, the placement start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+            "endDate": "A String", # Pricing period end date. This date must be later than, or the same day as, the pricing period start date, but not later than the placement end date. The period end date can be the same date as the period start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective pricing period date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error.
+            "pricingComment": "A String", # Comments for this pricing period.
+          },
+        ],
+        "pricingType": "A String", # Placement pricing type. This field is required on insertion.
+        "testingStartDate": "A String", # Testing start date of this placement. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+        "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
+      },
+    }
+
+ +
+ list(profileId, siteIds=None, placementGroupType=None, pricingTypes=None, campaignIds=None, advertiserIds=None, pageToken=None, maxStartDate=None, sortOrder=None, maxEndDate=None, placementStrategyIds=None, contentCategoryIds=None, archived=None, maxResults=None, minStartDate=None, searchString=None, minEndDate=None, directorySiteIds=None, ids=None, sortField=None) +
Retrieves a list of placement groups, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  siteIds: string, Select only placement groups that are associated with these sites. (repeated)
+  placementGroupType: string, Select only placement groups belonging with this group type. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting.
+    Allowed values
+      PLACEMENT_PACKAGE - 
+      PLACEMENT_ROADBLOCK - 
+  pricingTypes: string, Select only placement groups with these pricing types. (repeated)
+    Allowed values
+      PRICING_TYPE_CPA - 
+      PRICING_TYPE_CPC - 
+      PRICING_TYPE_CPM - 
+      PRICING_TYPE_FLAT_RATE_CLICKS - 
+      PRICING_TYPE_FLAT_RATE_IMPRESSIONS - 
+  campaignIds: string, Select only placement groups that belong to these campaigns. (repeated)
+  advertiserIds: string, Select only placement groups that belong to these advertisers. (repeated)
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  maxStartDate: string, Select only placements or placement groups whose start date is on or before the specified maxStartDate. The date should be formatted as "yyyy-MM-dd".
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+  maxEndDate: string, Select only placements or placement groups whose end date is on or before the specified maxEndDate. The date should be formatted as "yyyy-MM-dd".
+  placementStrategyIds: string, Select only placement groups that are associated with these placement strategies. (repeated)
+  contentCategoryIds: string, Select only placement groups that are associated with these content categories. (repeated)
+  archived: boolean, Select only archived placements. Don't set this field to select both archived and non-archived placements.
+  maxResults: integer, Maximum number of results to return.
+  minStartDate: string, Select only placements or placement groups whose start date is on or after the specified minStartDate. The date should be formatted as "yyyy-MM-dd".
+  searchString: string, Allows searching for placement groups by name or ID. Wildcards (*) are allowed. For example, "placement*2015" will return placement groups with names like "placement group June 2015", "placement group May 2015", or simply "placements 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "placementgroup" will match placement groups with name "my placementgroup", "placementgroup 2015", or simply "placementgroup".
+  minEndDate: string, Select only placements or placement groups whose end date is on or after the specified minEndDate. The date should be formatted as "yyyy-MM-dd".
+  directorySiteIds: string, Select only placement groups that are associated with these directory sites. (repeated)
+  ids: string, Select only placement groups with these IDs. (repeated)
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+
+Returns:
+  An object of the form:
+
+    { # Placement Group List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#placementGroupsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementGroupsListResponse".
+    "placementGroups": [ # Placement group collection.
+      { # Contains properties of a package or roadblock.
+          "comment": "A String", # Comments for this placement group.
+          "primaryPlacementId": "A String", # ID of the primary placement, used to calculate the media cost of a roadblock (placement group). Modifying this field will automatically modify the primary field on all affected roadblock child placements.
+          "campaignId": "A String", # Campaign ID of this placement group. This field is required on insertion.
+          "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "advertiserId": "A String", # Advertiser ID of this placement group. This is a required field on insertion.
+          "directorySiteId": "A String", # Directory site ID associated with this placement group. On insert, you must set either this field or the site_id field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
+          "placementGroupType": "A String", # Type of this placement group. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting. This field is required on insertion.
+          "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "id": "A String", # ID of this placement group. This is a read-only, auto-generated field.
+          "accountId": "A String", # Account ID of this placement group. This is a read-only field that can be left blank.
+          "archived": True or False, # Whether this placement group is archived.
+          "childPlacementIds": [ # IDs of placements which are assigned to this placement group. This is a read-only, auto-generated field.
+            "A String",
+          ],
+          "contentCategoryId": "A String", # ID of the content category assigned to this placement group.
+          "externalId": "A String", # External ID for this placement.
+          "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement group. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "primaryPlacementIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the primary placement. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "createInfo": { # Modification timestamp. # Information about the creation of this placement group. This is a read-only field.
+            "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+          },
+          "siteId": "A String", # Site ID associated with this placement group. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
+          "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement group.
+          "kind": "dfareporting#placementGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementGroup".
+          "subaccountId": "A String", # Subaccount ID of this placement group. This is a read-only field that can be left blank.
+          "name": "A String", # Name of this placement group. This is a required field and must be less than 256 characters long.
+          "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement group. This is a read-only field.
+            "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+          },
+          "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement group. This field is required on insertion.
+            "startDate": "A String", # Placement start date. This date must be later than, or the same day as, the campaign start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This field is required on insertion.
+            "endDate": "A String", # Placement end date. This date must be later than, or the same day as, the placement start date, but not later than the campaign end date. If, for example, you set 6/25/2015 as both the start and end dates, the effective placement date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This field is required on insertion.
+            "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
+            "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
+            "capCostOption": "A String", # Placement cap cost option.
+            "pricingPeriods": [ # Pricing periods for this placement.
+              { # Pricing Period
+                "units": "A String", # Units of this pricing period.
+                "rateOrCostNanos": "A String", # Rate or cost of this pricing period.
+                "startDate": "A String", # Pricing period start date. This date must be later than, or the same day as, the placement start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+                "endDate": "A String", # Pricing period end date. This date must be later than, or the same day as, the pricing period start date, but not later than the placement end date. The period end date can be the same date as the period start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective pricing period date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error.
+                "pricingComment": "A String", # Comments for this pricing period.
+              },
+            ],
+            "pricingType": "A String", # Placement pricing type. This field is required on insertion.
+            "testingStartDate": "A String", # Testing start date of this placement. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+            "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
+          },
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, id, body) +
Updates an existing placement group. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Placement group ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a package or roadblock.
+    "comment": "A String", # Comments for this placement group.
+    "primaryPlacementId": "A String", # ID of the primary placement, used to calculate the media cost of a roadblock (placement group). Modifying this field will automatically modify the primary field on all affected roadblock child placements.
+    "campaignId": "A String", # Campaign ID of this placement group. This field is required on insertion.
+    "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "advertiserId": "A String", # Advertiser ID of this placement group. This is a required field on insertion.
+    "directorySiteId": "A String", # Directory site ID associated with this placement group. On insert, you must set either this field or the site_id field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
+    "placementGroupType": "A String", # Type of this placement group. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting. This field is required on insertion.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "id": "A String", # ID of this placement group. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this placement group. This is a read-only field that can be left blank.
+    "archived": True or False, # Whether this placement group is archived.
+    "childPlacementIds": [ # IDs of placements which are assigned to this placement group. This is a read-only, auto-generated field.
+      "A String",
+    ],
+    "contentCategoryId": "A String", # ID of the content category assigned to this placement group.
+    "externalId": "A String", # External ID for this placement.
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement group. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "primaryPlacementIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the primary placement. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "createInfo": { # Modification timestamp. # Information about the creation of this placement group. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "siteId": "A String", # Site ID associated with this placement group. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
+    "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement group.
+    "kind": "dfareporting#placementGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementGroup".
+    "subaccountId": "A String", # Subaccount ID of this placement group. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this placement group. This is a required field and must be less than 256 characters long.
+    "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement group. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement group. This field is required on insertion.
+      "startDate": "A String", # Placement start date. This date must be later than, or the same day as, the campaign start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This field is required on insertion.
+      "endDate": "A String", # Placement end date. This date must be later than, or the same day as, the placement start date, but not later than the campaign end date. If, for example, you set 6/25/2015 as both the start and end dates, the effective placement date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This field is required on insertion.
+      "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
+      "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
+      "capCostOption": "A String", # Placement cap cost option.
+      "pricingPeriods": [ # Pricing periods for this placement.
+        { # Pricing Period
+          "units": "A String", # Units of this pricing period.
+          "rateOrCostNanos": "A String", # Rate or cost of this pricing period.
+          "startDate": "A String", # Pricing period start date. This date must be later than, or the same day as, the placement start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+          "endDate": "A String", # Pricing period end date. This date must be later than, or the same day as, the pricing period start date, but not later than the placement end date. The period end date can be the same date as the period start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective pricing period date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error.
+          "pricingComment": "A String", # Comments for this pricing period.
+        },
+      ],
+      "pricingType": "A String", # Placement pricing type. This field is required on insertion.
+      "testingStartDate": "A String", # Testing start date of this placement. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+      "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
+    },
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a package or roadblock.
+      "comment": "A String", # Comments for this placement group.
+      "primaryPlacementId": "A String", # ID of the primary placement, used to calculate the media cost of a roadblock (placement group). Modifying this field will automatically modify the primary field on all affected roadblock child placements.
+      "campaignId": "A String", # Campaign ID of this placement group. This field is required on insertion.
+      "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "advertiserId": "A String", # Advertiser ID of this placement group. This is a required field on insertion.
+      "directorySiteId": "A String", # Directory site ID associated with this placement group. On insert, you must set either this field or the site_id field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
+      "placementGroupType": "A String", # Type of this placement group. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting. This field is required on insertion.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # ID of this placement group. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this placement group. This is a read-only field that can be left blank.
+      "archived": True or False, # Whether this placement group is archived.
+      "childPlacementIds": [ # IDs of placements which are assigned to this placement group. This is a read-only, auto-generated field.
+        "A String",
+      ],
+      "contentCategoryId": "A String", # ID of the content category assigned to this placement group.
+      "externalId": "A String", # External ID for this placement.
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement group. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "primaryPlacementIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the primary placement. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "createInfo": { # Modification timestamp. # Information about the creation of this placement group. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "siteId": "A String", # Site ID associated with this placement group. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
+      "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement group.
+      "kind": "dfareporting#placementGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementGroup".
+      "subaccountId": "A String", # Subaccount ID of this placement group. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this placement group. This is a required field and must be less than 256 characters long.
+      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement group. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement group. This field is required on insertion.
+        "startDate": "A String", # Placement start date. This date must be later than, or the same day as, the campaign start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This field is required on insertion.
+        "endDate": "A String", # Placement end date. This date must be later than, or the same day as, the placement start date, but not later than the campaign end date. If, for example, you set 6/25/2015 as both the start and end dates, the effective placement date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This field is required on insertion.
+        "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
+        "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
+        "capCostOption": "A String", # Placement cap cost option.
+        "pricingPeriods": [ # Pricing periods for this placement.
+          { # Pricing Period
+            "units": "A String", # Units of this pricing period.
+            "rateOrCostNanos": "A String", # Rate or cost of this pricing period.
+            "startDate": "A String", # Pricing period start date. This date must be later than, or the same day as, the placement start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+            "endDate": "A String", # Pricing period end date. This date must be later than, or the same day as, the pricing period start date, but not later than the placement end date. The period end date can be the same date as the period start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective pricing period date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error.
+            "pricingComment": "A String", # Comments for this pricing period.
+          },
+        ],
+        "pricingType": "A String", # Placement pricing type. This field is required on insertion.
+        "testingStartDate": "A String", # Testing start date of this placement. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+        "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
+      },
+    }
+
+ +
+ update(profileId, body) +
Updates an existing placement group.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a package or roadblock.
+    "comment": "A String", # Comments for this placement group.
+    "primaryPlacementId": "A String", # ID of the primary placement, used to calculate the media cost of a roadblock (placement group). Modifying this field will automatically modify the primary field on all affected roadblock child placements.
+    "campaignId": "A String", # Campaign ID of this placement group. This field is required on insertion.
+    "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "advertiserId": "A String", # Advertiser ID of this placement group. This is a required field on insertion.
+    "directorySiteId": "A String", # Directory site ID associated with this placement group. On insert, you must set either this field or the site_id field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
+    "placementGroupType": "A String", # Type of this placement group. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting. This field is required on insertion.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "id": "A String", # ID of this placement group. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this placement group. This is a read-only field that can be left blank.
+    "archived": True or False, # Whether this placement group is archived.
+    "childPlacementIds": [ # IDs of placements which are assigned to this placement group. This is a read-only, auto-generated field.
+      "A String",
+    ],
+    "contentCategoryId": "A String", # ID of the content category assigned to this placement group.
+    "externalId": "A String", # External ID for this placement.
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement group. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "primaryPlacementIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the primary placement. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "createInfo": { # Modification timestamp. # Information about the creation of this placement group. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "siteId": "A String", # Site ID associated with this placement group. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
+    "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement group.
+    "kind": "dfareporting#placementGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementGroup".
+    "subaccountId": "A String", # Subaccount ID of this placement group. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this placement group. This is a required field and must be less than 256 characters long.
+    "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement group. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement group. This field is required on insertion.
+      "startDate": "A String", # Placement start date. This date must be later than, or the same day as, the campaign start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This field is required on insertion.
+      "endDate": "A String", # Placement end date. This date must be later than, or the same day as, the placement start date, but not later than the campaign end date. If, for example, you set 6/25/2015 as both the start and end dates, the effective placement date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This field is required on insertion.
+      "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
+      "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
+      "capCostOption": "A String", # Placement cap cost option.
+      "pricingPeriods": [ # Pricing periods for this placement.
+        { # Pricing Period
+          "units": "A String", # Units of this pricing period.
+          "rateOrCostNanos": "A String", # Rate or cost of this pricing period.
+          "startDate": "A String", # Pricing period start date. This date must be later than, or the same day as, the placement start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+          "endDate": "A String", # Pricing period end date. This date must be later than, or the same day as, the pricing period start date, but not later than the placement end date. The period end date can be the same date as the period start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective pricing period date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error.
+          "pricingComment": "A String", # Comments for this pricing period.
+        },
+      ],
+      "pricingType": "A String", # Placement pricing type. This field is required on insertion.
+      "testingStartDate": "A String", # Testing start date of this placement. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+      "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
+    },
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a package or roadblock.
+      "comment": "A String", # Comments for this placement group.
+      "primaryPlacementId": "A String", # ID of the primary placement, used to calculate the media cost of a roadblock (placement group). Modifying this field will automatically modify the primary field on all affected roadblock child placements.
+      "campaignId": "A String", # Campaign ID of this placement group. This field is required on insertion.
+      "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "advertiserId": "A String", # Advertiser ID of this placement group. This is a required field on insertion.
+      "directorySiteId": "A String", # Directory site ID associated with this placement group. On insert, you must set either this field or the site_id field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
+      "placementGroupType": "A String", # Type of this placement group. A package is a simple group of placements that acts as a single pricing point for a group of tags. A roadblock is a group of placements that not only acts as a single pricing point, but also assumes that all the tags in it will be served at the same time. A roadblock requires one of its assigned placements to be marked as primary for reporting. This field is required on insertion.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # ID of this placement group. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this placement group. This is a read-only field that can be left blank.
+      "archived": True or False, # Whether this placement group is archived.
+      "childPlacementIds": [ # IDs of placements which are assigned to this placement group. This is a read-only, auto-generated field.
+        "A String",
+      ],
+      "contentCategoryId": "A String", # ID of the content category assigned to this placement group.
+      "externalId": "A String", # External ID for this placement.
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement group. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "primaryPlacementIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the primary placement. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "createInfo": { # Modification timestamp. # Information about the creation of this placement group. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "siteId": "A String", # Site ID associated with this placement group. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement group. This is a required field that is read-only after insertion.
+      "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement group.
+      "kind": "dfareporting#placementGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementGroup".
+      "subaccountId": "A String", # Subaccount ID of this placement group. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this placement group. This is a required field and must be less than 256 characters long.
+      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement group. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement group. This field is required on insertion.
+        "startDate": "A String", # Placement start date. This date must be later than, or the same day as, the campaign start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This field is required on insertion.
+        "endDate": "A String", # Placement end date. This date must be later than, or the same day as, the placement start date, but not later than the campaign end date. If, for example, you set 6/25/2015 as both the start and end dates, the effective placement date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This field is required on insertion.
+        "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
+        "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
+        "capCostOption": "A String", # Placement cap cost option.
+        "pricingPeriods": [ # Pricing periods for this placement.
+          { # Pricing Period
+            "units": "A String", # Units of this pricing period.
+            "rateOrCostNanos": "A String", # Rate or cost of this pricing period.
+            "startDate": "A String", # Pricing period start date. This date must be later than, or the same day as, the placement start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+            "endDate": "A String", # Pricing period end date. This date must be later than, or the same day as, the pricing period start date, but not later than the placement end date. The period end date can be the same date as the period start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective pricing period date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error.
+            "pricingComment": "A String", # Comments for this pricing period.
+          },
+        ],
+        "pricingType": "A String", # Placement pricing type. This field is required on insertion.
+        "testingStartDate": "A String", # Testing start date of this placement. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+        "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
+      },
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.placementStrategies.html b/docs/dyn/dfareporting_v2_2.placementStrategies.html new file mode 100644 index 00000000000..38f471337da --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.placementStrategies.html @@ -0,0 +1,263 @@ + + + +

DCM/DFA Reporting And Trafficking API . placementStrategies

+

Instance Methods

+

+ delete(profileId, id)

+

Deletes an existing placement strategy.

+

+ get(profileId, id)

+

Gets one placement strategy by ID.

+

+ insert(profileId, body)

+

Inserts a new placement strategy.

+

+ list(profileId, searchString=None, pageToken=None, sortField=None, ids=None, maxResults=None, sortOrder=None)

+

Retrieves a list of placement strategies, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, id, body)

+

Updates an existing placement strategy. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing placement strategy.

+

Method Details

+
+ delete(profileId, id) +
Deletes an existing placement strategy.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Placement strategy ID. (required)
+
+
+ +
+ get(profileId, id) +
Gets one placement strategy by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Placement strategy ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a placement strategy.
+      "kind": "dfareporting#placementStrategy", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementStrategy".
+      "id": "A String", # ID of this placement strategy. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this placement strategy. This is a required field. It must be less than 256 characters long and unique among placement strategies of the same account.
+      "accountId": "A String", # Account ID of this placement strategy.This is a read-only field that can be left blank.
+    }
+
+ +
+ insert(profileId, body) +
Inserts a new placement strategy.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a placement strategy.
+    "kind": "dfareporting#placementStrategy", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementStrategy".
+    "id": "A String", # ID of this placement strategy. This is a read-only, auto-generated field.
+    "name": "A String", # Name of this placement strategy. This is a required field. It must be less than 256 characters long and unique among placement strategies of the same account.
+    "accountId": "A String", # Account ID of this placement strategy.This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a placement strategy.
+      "kind": "dfareporting#placementStrategy", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementStrategy".
+      "id": "A String", # ID of this placement strategy. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this placement strategy. This is a required field. It must be less than 256 characters long and unique among placement strategies of the same account.
+      "accountId": "A String", # Account ID of this placement strategy.This is a read-only field that can be left blank.
+    }
+
+ +
+ list(profileId, searchString=None, pageToken=None, sortField=None, ids=None, maxResults=None, sortOrder=None) +
Retrieves a list of placement strategies, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  searchString: string, Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "placementstrategy*2015" will return objects with names like "placementstrategy June 2015", "placementstrategy April 2015", or simply "placementstrategy 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "placementstrategy" will match objects with name "my placementstrategy", "placementstrategy 2015", or simply "placementstrategy".
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  ids: string, Select only placement strategies with these IDs. (repeated)
+  maxResults: integer, Maximum number of results to return.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+
+Returns:
+  An object of the form:
+
+    { # Placement Strategy List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#placementStrategiesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementStrategiesListResponse".
+    "placementStrategies": [ # Placement strategy collection.
+      { # Contains properties of a placement strategy.
+          "kind": "dfareporting#placementStrategy", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementStrategy".
+          "id": "A String", # ID of this placement strategy. This is a read-only, auto-generated field.
+          "name": "A String", # Name of this placement strategy. This is a required field. It must be less than 256 characters long and unique among placement strategies of the same account.
+          "accountId": "A String", # Account ID of this placement strategy.This is a read-only field that can be left blank.
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, id, body) +
Updates an existing placement strategy. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Placement strategy ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a placement strategy.
+    "kind": "dfareporting#placementStrategy", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementStrategy".
+    "id": "A String", # ID of this placement strategy. This is a read-only, auto-generated field.
+    "name": "A String", # Name of this placement strategy. This is a required field. It must be less than 256 characters long and unique among placement strategies of the same account.
+    "accountId": "A String", # Account ID of this placement strategy.This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a placement strategy.
+      "kind": "dfareporting#placementStrategy", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementStrategy".
+      "id": "A String", # ID of this placement strategy. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this placement strategy. This is a required field. It must be less than 256 characters long and unique among placement strategies of the same account.
+      "accountId": "A String", # Account ID of this placement strategy.This is a read-only field that can be left blank.
+    }
+
+ +
+ update(profileId, body) +
Updates an existing placement strategy.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a placement strategy.
+    "kind": "dfareporting#placementStrategy", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementStrategy".
+    "id": "A String", # ID of this placement strategy. This is a read-only, auto-generated field.
+    "name": "A String", # Name of this placement strategy. This is a required field. It must be less than 256 characters long and unique among placement strategies of the same account.
+    "accountId": "A String", # Account ID of this placement strategy.This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a placement strategy.
+      "kind": "dfareporting#placementStrategy", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementStrategy".
+      "id": "A String", # ID of this placement strategy. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this placement strategy. This is a required field. It must be less than 256 characters long and unique among placement strategies of the same account.
+      "accountId": "A String", # Account ID of this placement strategy.This is a read-only field that can be left blank.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.placements.html b/docs/dyn/dfareporting_v2_2.placements.html new file mode 100644 index 00000000000..149cb487b4e --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.placements.html @@ -0,0 +1,1359 @@ + + + +

DCM/DFA Reporting And Trafficking API . placements

+

Instance Methods

+

+ generatetags(profileId, campaignId=None, tagFormats=None, placementIds=None)

+

Generates tags for a placement.

+

+ get(profileId, id)

+

Gets one placement by ID.

+

+ insert(profileId, body)

+

Inserts a new placement.

+

+ list(profileId, siteIds=None, paymentSource=None, pricingTypes=None, campaignIds=None, advertiserIds=None, sizeIds=None, pageToken=None, maxStartDate=None, sortOrder=None, maxEndDate=None, placementStrategyIds=None, contentCategoryIds=None, archived=None, maxResults=None, minStartDate=None, compatibilities=None, searchString=None, minEndDate=None, directorySiteIds=None, sortField=None, ids=None, groupIds=None)

+

Retrieves a list of placements, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, id, body)

+

Updates an existing placement. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing placement.

+

Method Details

+
+ generatetags(profileId, campaignId=None, tagFormats=None, placementIds=None) +
Generates tags for a placement.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  campaignId: string, Generate placements belonging to this campaign. This is a required field.
+  tagFormats: string, Tag formats to generate for these placements. (repeated)
+    Allowed values
+      PLACEMENT_TAG_CLICK_COMMANDS - 
+      PLACEMENT_TAG_IFRAME_ILAYER - 
+      PLACEMENT_TAG_IFRAME_JAVASCRIPT - 
+      PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY - 
+      PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH - 
+      PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3 - 
+      PLACEMENT_TAG_INTERNAL_REDIRECT - 
+      PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT - 
+      PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY - 
+      PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT - 
+      PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT - 
+      PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY - 
+      PLACEMENT_TAG_JAVASCRIPT - 
+      PLACEMENT_TAG_JAVASCRIPT_LEGACY - 
+      PLACEMENT_TAG_STANDARD - 
+      PLACEMENT_TAG_TRACKING - 
+      PLACEMENT_TAG_TRACKING_IFRAME - 
+      PLACEMENT_TAG_TRACKING_JAVASCRIPT - 
+  placementIds: string, Generate tags for these placements. (repeated)
+
+Returns:
+  An object of the form:
+
+    { # Placement GenerateTags Response
+    "kind": "dfareporting#placementsGenerateTagsResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementsGenerateTagsResponse".
+    "placementTags": [ # Set of generated tags for the specified placements.
+      { # Placement Tag
+        "tagDatas": [ # Tags generated for this placement.
+          { # Placement Tag Data
+            "clickTag": "A String", # Tag string to record a click.
+            "impressionTag": "A String", # Tag string for serving an ad.
+            "creativeId": "A String", # Creative associated with this placement tag.
+            "adId": "A String", # Ad associated with this placement tag.
+            "format": "A String", # TagData tag format of this tag.
+          },
+        ],
+        "placementId": "A String", # Placement ID
+      },
+    ],
+  }
+
+ +
+ get(profileId, id) +
Gets one placement by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Placement ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a placement.
+      "comment": "A String", # Comments for this placement.
+      "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
+      "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
+      "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
+      "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
+      "directorySiteId": "A String", # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this placement. This field can be left blank.
+      "archived": True or False, # Whether this placement is archived.
+      "publisherUpdateInfo": { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "tagFormats": [ # Tag formats to generate for this placement. This field is required on insertion.
+          # Acceptable values are:
+          # - "PLACEMENT_TAG_STANDARD"
+          # - "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
+          # - "PLACEMENT_TAG_IFRAME_ILAYER"
+          # - "PLACEMENT_TAG_INTERNAL_REDIRECT"
+          # - "PLACEMENT_TAG_JAVASCRIPT"
+          # - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
+          # - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
+          # - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
+          # - "PLACEMENT_TAG_CLICK_COMMANDS"
+          # - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
+          # - "PLACEMENT_TAG_TRACKING"
+          # - "PLACEMENT_TAG_TRACKING_IFRAME"
+          # - "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
+        "A String",
+      ],
+      "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
+      "tagSetting": { # Tag Settings # Tag settings for this placement.
+        "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
+        "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
+        "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
+        "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
+      },
+      "contentCategoryId": "A String", # ID of the content category assigned to this placement.
+      "externalId": "A String", # External ID for this placement.
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
+        "width": 42, # Width of this size.
+        "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+        "height": 42, # Height of this size.
+      },
+      "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
+      "status": "A String", # Third-party placement status.
+      "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "primary": True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.
+      "placementGroupId": "A String", # ID of this placement's group, if applicable.
+      "createInfo": { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "siteId": "A String", # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
+      "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "compatibility": "A String", # Placement compatibility. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps.IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
+      "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
+      "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "kind": "dfareporting#placement", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
+      "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
+      "name": "A String", # Name of this placement.This is a required field and must be less than 256 characters long.
+      "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
+        "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      },
+      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
+        "startDate": "A String", # Placement start date. This date must be later than, or the same day as, the campaign start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This field is required on insertion.
+        "endDate": "A String", # Placement end date. This date must be later than, or the same day as, the placement start date, but not later than the campaign end date. If, for example, you set 6/25/2015 as both the start and end dates, the effective placement date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This field is required on insertion.
+        "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
+        "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
+        "capCostOption": "A String", # Placement cap cost option.
+        "pricingPeriods": [ # Pricing periods for this placement.
+          { # Pricing Period
+            "units": "A String", # Units of this pricing period.
+            "rateOrCostNanos": "A String", # Rate or cost of this pricing period.
+            "startDate": "A String", # Pricing period start date. This date must be later than, or the same day as, the placement start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+            "endDate": "A String", # Pricing period end date. This date must be later than, or the same day as, the pricing period start date, but not later than the placement end date. The period end date can be the same date as the period start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective pricing period date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error.
+            "pricingComment": "A String", # Comments for this pricing period.
+          },
+        ],
+        "pricingType": "A String", # Placement pricing type. This field is required on insertion.
+        "testingStartDate": "A String", # Testing start date of this placement. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+        "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
+      },
+    }
+
+ +
+ insert(profileId, body) +
Inserts a new placement.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a placement.
+    "comment": "A String", # Comments for this placement.
+    "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
+    "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
+    "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
+    "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
+    "directorySiteId": "A String", # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this placement. This field can be left blank.
+    "archived": True or False, # Whether this placement is archived.
+    "publisherUpdateInfo": { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "tagFormats": [ # Tag formats to generate for this placement. This field is required on insertion.
+        # Acceptable values are:
+        # - "PLACEMENT_TAG_STANDARD"
+        # - "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
+        # - "PLACEMENT_TAG_IFRAME_ILAYER"
+        # - "PLACEMENT_TAG_INTERNAL_REDIRECT"
+        # - "PLACEMENT_TAG_JAVASCRIPT"
+        # - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
+        # - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
+        # - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
+        # - "PLACEMENT_TAG_CLICK_COMMANDS"
+        # - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
+        # - "PLACEMENT_TAG_TRACKING"
+        # - "PLACEMENT_TAG_TRACKING_IFRAME"
+        # - "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
+      "A String",
+    ],
+    "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
+    "tagSetting": { # Tag Settings # Tag settings for this placement.
+      "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
+      "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
+      "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
+      "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
+    },
+    "contentCategoryId": "A String", # ID of the content category assigned to this placement.
+    "externalId": "A String", # External ID for this placement.
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
+      "width": 42, # Width of this size.
+      "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+      "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+      "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+      "height": 42, # Height of this size.
+    },
+    "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
+    "status": "A String", # Third-party placement status.
+    "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "primary": True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.
+    "placementGroupId": "A String", # ID of this placement's group, if applicable.
+    "createInfo": { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "siteId": "A String", # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
+    "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "compatibility": "A String", # Placement compatibility. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps.IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
+    "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
+    "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "kind": "dfareporting#placement", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
+    "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
+    "name": "A String", # Name of this placement.This is a required field and must be less than 256 characters long.
+    "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
+      "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+    },
+    "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
+      "startDate": "A String", # Placement start date. This date must be later than, or the same day as, the campaign start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This field is required on insertion.
+      "endDate": "A String", # Placement end date. This date must be later than, or the same day as, the placement start date, but not later than the campaign end date. If, for example, you set 6/25/2015 as both the start and end dates, the effective placement date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This field is required on insertion.
+      "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
+      "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
+      "capCostOption": "A String", # Placement cap cost option.
+      "pricingPeriods": [ # Pricing periods for this placement.
+        { # Pricing Period
+          "units": "A String", # Units of this pricing period.
+          "rateOrCostNanos": "A String", # Rate or cost of this pricing period.
+          "startDate": "A String", # Pricing period start date. This date must be later than, or the same day as, the placement start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+          "endDate": "A String", # Pricing period end date. This date must be later than, or the same day as, the pricing period start date, but not later than the placement end date. The period end date can be the same date as the period start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective pricing period date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error.
+          "pricingComment": "A String", # Comments for this pricing period.
+        },
+      ],
+      "pricingType": "A String", # Placement pricing type. This field is required on insertion.
+      "testingStartDate": "A String", # Testing start date of this placement. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+      "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
+    },
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a placement.
+      "comment": "A String", # Comments for this placement.
+      "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
+      "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
+      "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
+      "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
+      "directorySiteId": "A String", # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this placement. This field can be left blank.
+      "archived": True or False, # Whether this placement is archived.
+      "publisherUpdateInfo": { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "tagFormats": [ # Tag formats to generate for this placement. This field is required on insertion.
+          # Acceptable values are:
+          # - "PLACEMENT_TAG_STANDARD"
+          # - "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
+          # - "PLACEMENT_TAG_IFRAME_ILAYER"
+          # - "PLACEMENT_TAG_INTERNAL_REDIRECT"
+          # - "PLACEMENT_TAG_JAVASCRIPT"
+          # - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
+          # - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
+          # - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
+          # - "PLACEMENT_TAG_CLICK_COMMANDS"
+          # - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
+          # - "PLACEMENT_TAG_TRACKING"
+          # - "PLACEMENT_TAG_TRACKING_IFRAME"
+          # - "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
+        "A String",
+      ],
+      "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
+      "tagSetting": { # Tag Settings # Tag settings for this placement.
+        "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
+        "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
+        "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
+        "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
+      },
+      "contentCategoryId": "A String", # ID of the content category assigned to this placement.
+      "externalId": "A String", # External ID for this placement.
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
+        "width": 42, # Width of this size.
+        "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+        "height": 42, # Height of this size.
+      },
+      "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
+      "status": "A String", # Third-party placement status.
+      "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "primary": True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.
+      "placementGroupId": "A String", # ID of this placement's group, if applicable.
+      "createInfo": { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "siteId": "A String", # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
+      "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "compatibility": "A String", # Placement compatibility. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps.IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
+      "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
+      "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "kind": "dfareporting#placement", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
+      "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
+      "name": "A String", # Name of this placement.This is a required field and must be less than 256 characters long.
+      "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
+        "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      },
+      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
+        "startDate": "A String", # Placement start date. This date must be later than, or the same day as, the campaign start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This field is required on insertion.
+        "endDate": "A String", # Placement end date. This date must be later than, or the same day as, the placement start date, but not later than the campaign end date. If, for example, you set 6/25/2015 as both the start and end dates, the effective placement date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This field is required on insertion.
+        "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
+        "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
+        "capCostOption": "A String", # Placement cap cost option.
+        "pricingPeriods": [ # Pricing periods for this placement.
+          { # Pricing Period
+            "units": "A String", # Units of this pricing period.
+            "rateOrCostNanos": "A String", # Rate or cost of this pricing period.
+            "startDate": "A String", # Pricing period start date. This date must be later than, or the same day as, the placement start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+            "endDate": "A String", # Pricing period end date. This date must be later than, or the same day as, the pricing period start date, but not later than the placement end date. The period end date can be the same date as the period start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective pricing period date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error.
+            "pricingComment": "A String", # Comments for this pricing period.
+          },
+        ],
+        "pricingType": "A String", # Placement pricing type. This field is required on insertion.
+        "testingStartDate": "A String", # Testing start date of this placement. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+        "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
+      },
+    }
+
+ +
+ list(profileId, siteIds=None, paymentSource=None, pricingTypes=None, campaignIds=None, advertiserIds=None, sizeIds=None, pageToken=None, maxStartDate=None, sortOrder=None, maxEndDate=None, placementStrategyIds=None, contentCategoryIds=None, archived=None, maxResults=None, minStartDate=None, compatibilities=None, searchString=None, minEndDate=None, directorySiteIds=None, sortField=None, ids=None, groupIds=None) +
Retrieves a list of placements, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  siteIds: string, Select only placements that are associated with these sites. (repeated)
+  paymentSource: string, Select only placements with this payment source.
+    Allowed values
+      PLACEMENT_AGENCY_PAID - 
+      PLACEMENT_PUBLISHER_PAID - 
+  pricingTypes: string, Select only placements with these pricing types. (repeated)
+    Allowed values
+      PRICING_TYPE_CPA - 
+      PRICING_TYPE_CPC - 
+      PRICING_TYPE_CPM - 
+      PRICING_TYPE_FLAT_RATE_CLICKS - 
+      PRICING_TYPE_FLAT_RATE_IMPRESSIONS - 
+  campaignIds: string, Select only placements that belong to these campaigns. (repeated)
+  advertiserIds: string, Select only placements that belong to these advertisers. (repeated)
+  sizeIds: string, Select only placements that are associated with these sizes. (repeated)
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  maxStartDate: string, Select only placements or placement groups whose start date is on or before the specified maxStartDate. The date should be formatted as "yyyy-MM-dd".
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+  maxEndDate: string, Select only placements or placement groups whose end date is on or before the specified maxEndDate. The date should be formatted as "yyyy-MM-dd".
+  placementStrategyIds: string, Select only placements that are associated with these placement strategies. (repeated)
+  contentCategoryIds: string, Select only placements that are associated with these content categories. (repeated)
+  archived: boolean, Select only archived placements. Don't set this field to select both archived and non-archived placements.
+  maxResults: integer, Maximum number of results to return.
+  minStartDate: string, Select only placements or placement groups whose start date is on or after the specified minStartDate. The date should be formatted as "yyyy-MM-dd".
+  compatibilities: string, Select only placements that are associated with these compatibilities. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps.IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. (repeated)
+    Allowed values
+      APP - 
+      APP_INTERSTITIAL - 
+      IN_STREAM_VIDEO - 
+      WEB - 
+      WEB_INTERSTITIAL - 
+  searchString: string, Allows searching for placements by name or ID. Wildcards (*) are allowed. For example, "placement*2015" will return placements with names like "placement June 2015", "placement May 2015", or simply "placements 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "placement" will match placements with name "my placement", "placement 2015", or simply "placement".
+  minEndDate: string, Select only placements or placement groups whose end date is on or after the specified minEndDate. The date should be formatted as "yyyy-MM-dd".
+  directorySiteIds: string, Select only placements that are associated with these directory sites. (repeated)
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  ids: string, Select only placements with these IDs. (repeated)
+  groupIds: string, Select only placements that belong to these placement groups. (repeated)
+
+Returns:
+  An object of the form:
+
+    { # Placement List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#placementsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementsListResponse".
+    "placements": [ # Placement collection.
+      { # Contains properties of a placement.
+          "comment": "A String", # Comments for this placement.
+          "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
+          "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
+          "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
+          "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
+          "directorySiteId": "A String", # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
+          "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
+          "accountId": "A String", # Account ID of this placement. This field can be left blank.
+          "archived": True or False, # Whether this placement is archived.
+          "publisherUpdateInfo": { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
+            "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+          },
+          "tagFormats": [ # Tag formats to generate for this placement. This field is required on insertion.
+              # Acceptable values are:
+              # - "PLACEMENT_TAG_STANDARD"
+              # - "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
+              # - "PLACEMENT_TAG_IFRAME_ILAYER"
+              # - "PLACEMENT_TAG_INTERNAL_REDIRECT"
+              # - "PLACEMENT_TAG_JAVASCRIPT"
+              # - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
+              # - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
+              # - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
+              # - "PLACEMENT_TAG_CLICK_COMMANDS"
+              # - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
+              # - "PLACEMENT_TAG_TRACKING"
+              # - "PLACEMENT_TAG_TRACKING_IFRAME"
+              # - "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
+            "A String",
+          ],
+          "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
+          "tagSetting": { # Tag Settings # Tag settings for this placement.
+            "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
+            "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
+            "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
+            "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
+          },
+          "contentCategoryId": "A String", # ID of the content category assigned to this placement.
+          "externalId": "A String", # External ID for this placement.
+          "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
+            "width": 42, # Width of this size.
+            "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+            "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+            "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+            "height": 42, # Height of this size.
+          },
+          "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
+          "status": "A String", # Third-party placement status.
+          "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "primary": True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.
+          "placementGroupId": "A String", # ID of this placement's group, if applicable.
+          "createInfo": { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
+            "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+          },
+          "siteId": "A String", # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
+          "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "compatibility": "A String", # Placement compatibility. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps.IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
+          "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
+          "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "kind": "dfareporting#placement", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
+          "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
+          "name": "A String", # Name of this placement.This is a required field and must be less than 256 characters long.
+          "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
+            "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+            "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+          },
+          "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
+            "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+          },
+          "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
+            "startDate": "A String", # Placement start date. This date must be later than, or the same day as, the campaign start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This field is required on insertion.
+            "endDate": "A String", # Placement end date. This date must be later than, or the same day as, the placement start date, but not later than the campaign end date. If, for example, you set 6/25/2015 as both the start and end dates, the effective placement date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This field is required on insertion.
+            "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
+            "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
+            "capCostOption": "A String", # Placement cap cost option.
+            "pricingPeriods": [ # Pricing periods for this placement.
+              { # Pricing Period
+                "units": "A String", # Units of this pricing period.
+                "rateOrCostNanos": "A String", # Rate or cost of this pricing period.
+                "startDate": "A String", # Pricing period start date. This date must be later than, or the same day as, the placement start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+                "endDate": "A String", # Pricing period end date. This date must be later than, or the same day as, the pricing period start date, but not later than the placement end date. The period end date can be the same date as the period start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective pricing period date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error.
+                "pricingComment": "A String", # Comments for this pricing period.
+              },
+            ],
+            "pricingType": "A String", # Placement pricing type. This field is required on insertion.
+            "testingStartDate": "A String", # Testing start date of this placement. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+            "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
+          },
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, id, body) +
Updates an existing placement. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Placement ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a placement.
+    "comment": "A String", # Comments for this placement.
+    "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
+    "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
+    "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
+    "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
+    "directorySiteId": "A String", # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this placement. This field can be left blank.
+    "archived": True or False, # Whether this placement is archived.
+    "publisherUpdateInfo": { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "tagFormats": [ # Tag formats to generate for this placement. This field is required on insertion.
+        # Acceptable values are:
+        # - "PLACEMENT_TAG_STANDARD"
+        # - "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
+        # - "PLACEMENT_TAG_IFRAME_ILAYER"
+        # - "PLACEMENT_TAG_INTERNAL_REDIRECT"
+        # - "PLACEMENT_TAG_JAVASCRIPT"
+        # - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
+        # - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
+        # - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
+        # - "PLACEMENT_TAG_CLICK_COMMANDS"
+        # - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
+        # - "PLACEMENT_TAG_TRACKING"
+        # - "PLACEMENT_TAG_TRACKING_IFRAME"
+        # - "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
+      "A String",
+    ],
+    "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
+    "tagSetting": { # Tag Settings # Tag settings for this placement.
+      "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
+      "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
+      "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
+      "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
+    },
+    "contentCategoryId": "A String", # ID of the content category assigned to this placement.
+    "externalId": "A String", # External ID for this placement.
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
+      "width": 42, # Width of this size.
+      "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+      "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+      "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+      "height": 42, # Height of this size.
+    },
+    "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
+    "status": "A String", # Third-party placement status.
+    "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "primary": True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.
+    "placementGroupId": "A String", # ID of this placement's group, if applicable.
+    "createInfo": { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "siteId": "A String", # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
+    "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "compatibility": "A String", # Placement compatibility. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps.IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
+    "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
+    "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "kind": "dfareporting#placement", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
+    "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
+    "name": "A String", # Name of this placement.This is a required field and must be less than 256 characters long.
+    "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
+      "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+    },
+    "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
+      "startDate": "A String", # Placement start date. This date must be later than, or the same day as, the campaign start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This field is required on insertion.
+      "endDate": "A String", # Placement end date. This date must be later than, or the same day as, the placement start date, but not later than the campaign end date. If, for example, you set 6/25/2015 as both the start and end dates, the effective placement date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This field is required on insertion.
+      "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
+      "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
+      "capCostOption": "A String", # Placement cap cost option.
+      "pricingPeriods": [ # Pricing periods for this placement.
+        { # Pricing Period
+          "units": "A String", # Units of this pricing period.
+          "rateOrCostNanos": "A String", # Rate or cost of this pricing period.
+          "startDate": "A String", # Pricing period start date. This date must be later than, or the same day as, the placement start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+          "endDate": "A String", # Pricing period end date. This date must be later than, or the same day as, the pricing period start date, but not later than the placement end date. The period end date can be the same date as the period start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective pricing period date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error.
+          "pricingComment": "A String", # Comments for this pricing period.
+        },
+      ],
+      "pricingType": "A String", # Placement pricing type. This field is required on insertion.
+      "testingStartDate": "A String", # Testing start date of this placement. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+      "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
+    },
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a placement.
+      "comment": "A String", # Comments for this placement.
+      "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
+      "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
+      "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
+      "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
+      "directorySiteId": "A String", # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this placement. This field can be left blank.
+      "archived": True or False, # Whether this placement is archived.
+      "publisherUpdateInfo": { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "tagFormats": [ # Tag formats to generate for this placement. This field is required on insertion.
+          # Acceptable values are:
+          # - "PLACEMENT_TAG_STANDARD"
+          # - "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
+          # - "PLACEMENT_TAG_IFRAME_ILAYER"
+          # - "PLACEMENT_TAG_INTERNAL_REDIRECT"
+          # - "PLACEMENT_TAG_JAVASCRIPT"
+          # - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
+          # - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
+          # - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
+          # - "PLACEMENT_TAG_CLICK_COMMANDS"
+          # - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
+          # - "PLACEMENT_TAG_TRACKING"
+          # - "PLACEMENT_TAG_TRACKING_IFRAME"
+          # - "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
+        "A String",
+      ],
+      "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
+      "tagSetting": { # Tag Settings # Tag settings for this placement.
+        "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
+        "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
+        "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
+        "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
+      },
+      "contentCategoryId": "A String", # ID of the content category assigned to this placement.
+      "externalId": "A String", # External ID for this placement.
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
+        "width": 42, # Width of this size.
+        "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+        "height": 42, # Height of this size.
+      },
+      "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
+      "status": "A String", # Third-party placement status.
+      "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "primary": True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.
+      "placementGroupId": "A String", # ID of this placement's group, if applicable.
+      "createInfo": { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "siteId": "A String", # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
+      "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "compatibility": "A String", # Placement compatibility. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps.IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
+      "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
+      "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "kind": "dfareporting#placement", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
+      "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
+      "name": "A String", # Name of this placement.This is a required field and must be less than 256 characters long.
+      "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
+        "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      },
+      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
+        "startDate": "A String", # Placement start date. This date must be later than, or the same day as, the campaign start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This field is required on insertion.
+        "endDate": "A String", # Placement end date. This date must be later than, or the same day as, the placement start date, but not later than the campaign end date. If, for example, you set 6/25/2015 as both the start and end dates, the effective placement date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This field is required on insertion.
+        "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
+        "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
+        "capCostOption": "A String", # Placement cap cost option.
+        "pricingPeriods": [ # Pricing periods for this placement.
+          { # Pricing Period
+            "units": "A String", # Units of this pricing period.
+            "rateOrCostNanos": "A String", # Rate or cost of this pricing period.
+            "startDate": "A String", # Pricing period start date. This date must be later than, or the same day as, the placement start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+            "endDate": "A String", # Pricing period end date. This date must be later than, or the same day as, the pricing period start date, but not later than the placement end date. The period end date can be the same date as the period start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective pricing period date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error.
+            "pricingComment": "A String", # Comments for this pricing period.
+          },
+        ],
+        "pricingType": "A String", # Placement pricing type. This field is required on insertion.
+        "testingStartDate": "A String", # Testing start date of this placement. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+        "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
+      },
+    }
+
+ +
+ update(profileId, body) +
Updates an existing placement.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a placement.
+    "comment": "A String", # Comments for this placement.
+    "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
+    "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
+    "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
+    "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
+    "directorySiteId": "A String", # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this placement. This field can be left blank.
+    "archived": True or False, # Whether this placement is archived.
+    "publisherUpdateInfo": { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "tagFormats": [ # Tag formats to generate for this placement. This field is required on insertion.
+        # Acceptable values are:
+        # - "PLACEMENT_TAG_STANDARD"
+        # - "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
+        # - "PLACEMENT_TAG_IFRAME_ILAYER"
+        # - "PLACEMENT_TAG_INTERNAL_REDIRECT"
+        # - "PLACEMENT_TAG_JAVASCRIPT"
+        # - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
+        # - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
+        # - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
+        # - "PLACEMENT_TAG_CLICK_COMMANDS"
+        # - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
+        # - "PLACEMENT_TAG_TRACKING"
+        # - "PLACEMENT_TAG_TRACKING_IFRAME"
+        # - "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
+      "A String",
+    ],
+    "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
+    "tagSetting": { # Tag Settings # Tag settings for this placement.
+      "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
+      "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
+      "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
+      "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
+    },
+    "contentCategoryId": "A String", # ID of the content category assigned to this placement.
+    "externalId": "A String", # External ID for this placement.
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
+      "width": 42, # Width of this size.
+      "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+      "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+      "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+      "height": 42, # Height of this size.
+    },
+    "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
+    "status": "A String", # Third-party placement status.
+    "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "primary": True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.
+    "placementGroupId": "A String", # ID of this placement's group, if applicable.
+    "createInfo": { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "siteId": "A String", # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
+    "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "compatibility": "A String", # Placement compatibility. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps.IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
+    "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
+    "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "kind": "dfareporting#placement", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
+    "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
+    "name": "A String", # Name of this placement.This is a required field and must be less than 256 characters long.
+    "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
+      "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+    },
+    "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
+      "startDate": "A String", # Placement start date. This date must be later than, or the same day as, the campaign start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This field is required on insertion.
+      "endDate": "A String", # Placement end date. This date must be later than, or the same day as, the placement start date, but not later than the campaign end date. If, for example, you set 6/25/2015 as both the start and end dates, the effective placement date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This field is required on insertion.
+      "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
+      "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
+      "capCostOption": "A String", # Placement cap cost option.
+      "pricingPeriods": [ # Pricing periods for this placement.
+        { # Pricing Period
+          "units": "A String", # Units of this pricing period.
+          "rateOrCostNanos": "A String", # Rate or cost of this pricing period.
+          "startDate": "A String", # Pricing period start date. This date must be later than, or the same day as, the placement start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+          "endDate": "A String", # Pricing period end date. This date must be later than, or the same day as, the pricing period start date, but not later than the placement end date. The period end date can be the same date as the period start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective pricing period date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error.
+          "pricingComment": "A String", # Comments for this pricing period.
+        },
+      ],
+      "pricingType": "A String", # Placement pricing type. This field is required on insertion.
+      "testingStartDate": "A String", # Testing start date of this placement. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+      "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
+    },
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a placement.
+      "comment": "A String", # Comments for this placement.
+      "campaignId": "A String", # Campaign ID of this placement. This field is a required field on insertion.
+      "paymentSource": "A String", # Payment source for this placement. This is a required field that is read-only after insertion.
+      "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "advertiserId": "A String", # Advertiser ID of this placement. This field can be left blank.
+      "keyName": "A String", # Key name of this placement. This is a read-only, auto-generated field.
+      "directorySiteId": "A String", # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # ID of this placement. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this placement. This field can be left blank.
+      "archived": True or False, # Whether this placement is archived.
+      "publisherUpdateInfo": { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "tagFormats": [ # Tag formats to generate for this placement. This field is required on insertion.
+          # Acceptable values are:
+          # - "PLACEMENT_TAG_STANDARD"
+          # - "PLACEMENT_TAG_IFRAME_JAVASCRIPT"
+          # - "PLACEMENT_TAG_IFRAME_ILAYER"
+          # - "PLACEMENT_TAG_INTERNAL_REDIRECT"
+          # - "PLACEMENT_TAG_JAVASCRIPT"
+          # - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT"
+          # - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT"
+          # - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT"
+          # - "PLACEMENT_TAG_CLICK_COMMANDS"
+          # - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH"
+          # - "PLACEMENT_TAG_TRACKING"
+          # - "PLACEMENT_TAG_TRACKING_IFRAME"
+          # - "PLACEMENT_TAG_TRACKING_JAVASCRIPT"
+        "A String",
+      ],
+      "paymentApproved": True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
+      "tagSetting": { # Tag Settings # Tag settings for this placement.
+        "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
+        "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
+        "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
+        "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
+      },
+      "contentCategoryId": "A String", # ID of the content category assigned to this placement.
+      "externalId": "A String", # External ID for this placement.
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "size": { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
+        "width": 42, # Width of this size.
+        "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+        "height": 42, # Height of this size.
+      },
+      "sslRequired": True or False, # Whether creatives assigned to this placement must be SSL-compliant.
+      "status": "A String", # Third-party placement status.
+      "campaignIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "primary": True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's primaryPlacementId field to the ID of this placement.
+      "placementGroupId": "A String", # ID of this placement's group, if applicable.
+      "createInfo": { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "siteId": "A String", # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
+      "siteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "compatibility": "A String", # Placement compatibility. WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads, respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps.IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
+      "placementStrategyId": "A String", # ID of the placement strategy assigned to this placement.
+      "placementGroupIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "kind": "dfareporting#placement", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#placement".
+      "subaccountId": "A String", # Subaccount ID of this placement. This field can be left blank.
+      "name": "A String", # Name of this placement.This is a required field and must be less than 256 characters long.
+      "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this placement.
+        "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      },
+      "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
+        "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+      },
+      "pricingSchedule": { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
+        "startDate": "A String", # Placement start date. This date must be later than, or the same day as, the campaign start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error. This field is required on insertion.
+        "endDate": "A String", # Placement end date. This date must be later than, or the same day as, the placement start date, but not later than the campaign end date. If, for example, you set 6/25/2015 as both the start and end dates, the effective placement date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error. This field is required on insertion.
+        "flighted": True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
+        "disregardOverdelivery": True or False, # Whether cap costs are ignored by ad serving.
+        "capCostOption": "A String", # Placement cap cost option.
+        "pricingPeriods": [ # Pricing periods for this placement.
+          { # Pricing Period
+            "units": "A String", # Units of this pricing period.
+            "rateOrCostNanos": "A String", # Rate or cost of this pricing period.
+            "startDate": "A String", # Pricing period start date. This date must be later than, or the same day as, the placement start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+            "endDate": "A String", # Pricing period end date. This date must be later than, or the same day as, the pricing period start date, but not later than the placement end date. The period end date can be the same date as the period start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective pricing period date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error.
+            "pricingComment": "A String", # Comments for this pricing period.
+          },
+        ],
+        "pricingType": "A String", # Placement pricing type. This field is required on insertion.
+        "testingStartDate": "A String", # Testing start date of this placement. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
+        "floodlightActivityId": "A String", # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
+      },
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.platformTypes.html b/docs/dyn/dfareporting_v2_2.platformTypes.html new file mode 100644 index 00000000000..d33cb4d6fda --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.platformTypes.html @@ -0,0 +1,124 @@ + + + +

DCM/DFA Reporting And Trafficking API . platformTypes

+

Instance Methods

+

+ get(profileId, id)

+

Gets one platform type by ID.

+

+ list(profileId)

+

Retrieves a list of platform types.

+

Method Details

+
+ get(profileId, id) +
Gets one platform type by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Platform type ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains information about a platform type that can be targeted by ads.
+    "kind": "dfareporting#platformType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#platformType".
+    "id": "A String", # ID of this platform type.
+    "name": "A String", # Name of this platform type.
+  }
+
+ +
+ list(profileId) +
Retrieves a list of platform types.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+
+Returns:
+  An object of the form:
+
+    { # Platform Type List Response
+    "kind": "dfareporting#platformTypesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#platformTypesListResponse".
+    "platformTypes": [ # Platform type collection.
+      { # Contains information about a platform type that can be targeted by ads.
+        "kind": "dfareporting#platformType", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#platformType".
+        "id": "A String", # ID of this platform type.
+        "name": "A String", # Name of this platform type.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.postalCodes.html b/docs/dyn/dfareporting_v2_2.postalCodes.html new file mode 100644 index 00000000000..ca82e603767 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.postalCodes.html @@ -0,0 +1,128 @@ + + + +

DCM/DFA Reporting And Trafficking API . postalCodes

+

Instance Methods

+

+ get(profileId, code)

+

Gets one postal code by ID.

+

+ list(profileId)

+

Retrieves a list of postal codes.

+

Method Details

+
+ get(profileId, code) +
Gets one postal code by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  code: string, Postal code ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains information about a postal code that can be targeted by ads.
+    "countryDartId": "A String", # DART ID of the country to which this postal code belongs.
+    "kind": "dfareporting#postalCode", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#postalCode".
+    "code": "A String", # Postal code. This is equivalent to the id field.
+    "id": "A String", # ID of this postal code.
+    "countryCode": "A String", # Country code of the country to which this postal code belongs.
+  }
+
+ +
+ list(profileId) +
Retrieves a list of postal codes.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+
+Returns:
+  An object of the form:
+
+    { # Postal Code List Response
+    "kind": "dfareporting#postalCodesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#postalCodesListResponse".
+    "postalCodes": [ # Postal code collection.
+      { # Contains information about a postal code that can be targeted by ads.
+        "countryDartId": "A String", # DART ID of the country to which this postal code belongs.
+        "kind": "dfareporting#postalCode", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#postalCode".
+        "code": "A String", # Postal code. This is equivalent to the id field.
+        "id": "A String", # ID of this postal code.
+        "countryCode": "A String", # Country code of the country to which this postal code belongs.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.projects.html b/docs/dyn/dfareporting_v2_2.projects.html new file mode 100644 index 00000000000..fd07201ee6e --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.projects.html @@ -0,0 +1,195 @@ + + + +

DCM/DFA Reporting And Trafficking API . projects

+

Instance Methods

+

+ get(profileId, id)

+

Gets one project by ID.

+

+ list(profileId, searchString=None, pageToken=None, sortField=None, advertiserIds=None, ids=None, maxResults=None, sortOrder=None)

+

Retrieves a list of projects, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ get(profileId, id) +
Gets one project by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Project ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DoubleClick Planning project.
+    "startDate": "A String", # Start date of the project.
+    "kind": "dfareporting#project", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#project".
+    "targetConversions": "A String", # Number of conversions that the advertiser is targeting.
+    "endDate": "A String", # End date of the project.
+    "name": "A String", # Name of this project.
+    "targetCpmNanos": "A String", # CPM that the advertiser is targeting.
+    "targetCpcNanos": "A String", # CPC that the advertiser is targeting.
+    "clientBillingCode": "A String", # Client billing code of this project.
+    "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this project.
+      "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+    },
+    "targetClicks": "A String", # Number of clicks that the advertiser is targeting.
+    "budget": "A String", # Budget of this project in the currency specified by the current account. The value stored in this field represents only the non-fractional amount. For example, for USD, the smallest value that can be represented by this field is 1 US dollar.
+    "targetCpaNanos": "A String", # CPA that the advertiser is targeting.
+    "advertiserId": "A String", # Advertiser ID of this project.
+    "targetImpressions": "A String", # Number of impressions that the advertiser is targeting.
+    "overview": "A String", # Overview of this project.
+    "audienceAgeGroup": "A String", # Audience age group of this project.
+    "subaccountId": "A String", # Subaccount ID of this project.
+    "audienceGender": "A String", # Audience gender of this project.
+    "id": "A String", # ID of this project. This is a read-only, auto-generated field.
+    "clientName": "A String", # Name of the project client.
+    "accountId": "A String", # Account ID of this project.
+  }
+
+ +
+ list(profileId, searchString=None, pageToken=None, sortField=None, advertiserIds=None, ids=None, maxResults=None, sortOrder=None) +
Retrieves a list of projects, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  searchString: string, Allows searching for projects by name or ID. Wildcards (*) are allowed. For example, "project*2015" will return projects with names like "project June 2015", "project April 2015", or simply "project 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "project" will match projects with name "my project", "project 2015", or simply "project".
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  advertiserIds: string, Select only projects with these advertiser IDs. (repeated)
+  ids: string, Select only projects with these IDs. (repeated)
+  maxResults: integer, Maximum number of results to return.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+
+Returns:
+  An object of the form:
+
+    { # Project List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#projectsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#projectsListResponse".
+    "projects": [ # Project collection.
+      { # Contains properties of a DoubleClick Planning project.
+        "startDate": "A String", # Start date of the project.
+        "kind": "dfareporting#project", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#project".
+        "targetConversions": "A String", # Number of conversions that the advertiser is targeting.
+        "endDate": "A String", # End date of the project.
+        "name": "A String", # Name of this project.
+        "targetCpmNanos": "A String", # CPM that the advertiser is targeting.
+        "targetCpcNanos": "A String", # CPC that the advertiser is targeting.
+        "clientBillingCode": "A String", # Client billing code of this project.
+        "lastModifiedInfo": { # Modification timestamp. # Information about the most recent modification of this project.
+          "time": "A String", # Timestamp of the last change in milliseconds since epoch.
+        },
+        "targetClicks": "A String", # Number of clicks that the advertiser is targeting.
+        "budget": "A String", # Budget of this project in the currency specified by the current account. The value stored in this field represents only the non-fractional amount. For example, for USD, the smallest value that can be represented by this field is 1 US dollar.
+        "targetCpaNanos": "A String", # CPA that the advertiser is targeting.
+        "advertiserId": "A String", # Advertiser ID of this project.
+        "targetImpressions": "A String", # Number of impressions that the advertiser is targeting.
+        "overview": "A String", # Overview of this project.
+        "audienceAgeGroup": "A String", # Audience age group of this project.
+        "subaccountId": "A String", # Subaccount ID of this project.
+        "audienceGender": "A String", # Audience gender of this project.
+        "id": "A String", # ID of this project. This is a read-only, auto-generated field.
+        "clientName": "A String", # Name of the project client.
+        "accountId": "A String", # Account ID of this project.
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.regions.html b/docs/dyn/dfareporting_v2_2.regions.html new file mode 100644 index 00000000000..bcccc0185c4 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.regions.html @@ -0,0 +1,106 @@ + + + +

DCM/DFA Reporting And Trafficking API . regions

+

Instance Methods

+

+ list(profileId)

+

Retrieves a list of regions.

+

Method Details

+
+ list(profileId) +
Retrieves a list of regions.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+
+Returns:
+  An object of the form:
+
+    { # Region List Response
+    "regions": [ # Region collection.
+      { # Contains information about a region that can be targeted by ads.
+        "kind": "dfareporting#region", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#region".
+        "countryDartId": "A String", # DART ID of the country to which this region belongs.
+        "name": "A String", # Name of this region.
+        "countryCode": "A String", # Country code of the country to which this region belongs.
+        "regionCode": "A String", # Region code.
+        "dartId": "A String", # DART ID of this region.
+      },
+    ],
+    "kind": "dfareporting#regionsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#regionsListResponse".
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.remarketingListShares.html b/docs/dyn/dfareporting_v2_2.remarketingListShares.html new file mode 100644 index 00000000000..e21123babd6 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.remarketingListShares.html @@ -0,0 +1,183 @@ + + + +

DCM/DFA Reporting And Trafficking API . remarketingListShares

+

Instance Methods

+

+ get(profileId, remarketingListId)

+

Gets one remarketing list share by remarketing list ID.

+

+ patch(profileId, remarketingListId, body)

+

Updates an existing remarketing list share. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing remarketing list share.

+

Method Details

+
+ get(profileId, remarketingListId) +
Gets one remarketing list share by remarketing list ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  remarketingListId: string, Remarketing list ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a remarketing list's sharing information. Sharing allows other accounts or advertisers to target to your remarketing lists. This resource can be used to manage remarketing list sharing to other accounts and advertisers.
+      "sharedAdvertiserIds": [ # Advertisers that the remarketing list is shared with.
+        "A String",
+      ],
+      "kind": "dfareporting#remarketingListShare", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingListShare".
+      "remarketingListId": "A String", # Remarketing list ID. This is a read-only, auto-generated field.
+      "sharedAccountIds": [ # Accounts that the remarketing list is shared with.
+        "A String",
+      ],
+    }
+
+ +
+ patch(profileId, remarketingListId, body) +
Updates an existing remarketing list share. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  remarketingListId: string, Remarketing list ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a remarketing list's sharing information. Sharing allows other accounts or advertisers to target to your remarketing lists. This resource can be used to manage remarketing list sharing to other accounts and advertisers.
+    "sharedAdvertiserIds": [ # Advertisers that the remarketing list is shared with.
+      "A String",
+    ],
+    "kind": "dfareporting#remarketingListShare", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingListShare".
+    "remarketingListId": "A String", # Remarketing list ID. This is a read-only, auto-generated field.
+    "sharedAccountIds": [ # Accounts that the remarketing list is shared with.
+      "A String",
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a remarketing list's sharing information. Sharing allows other accounts or advertisers to target to your remarketing lists. This resource can be used to manage remarketing list sharing to other accounts and advertisers.
+      "sharedAdvertiserIds": [ # Advertisers that the remarketing list is shared with.
+        "A String",
+      ],
+      "kind": "dfareporting#remarketingListShare", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingListShare".
+      "remarketingListId": "A String", # Remarketing list ID. This is a read-only, auto-generated field.
+      "sharedAccountIds": [ # Accounts that the remarketing list is shared with.
+        "A String",
+      ],
+    }
+
+ +
+ update(profileId, body) +
Updates an existing remarketing list share.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a remarketing list's sharing information. Sharing allows other accounts or advertisers to target to your remarketing lists. This resource can be used to manage remarketing list sharing to other accounts and advertisers.
+    "sharedAdvertiserIds": [ # Advertisers that the remarketing list is shared with.
+      "A String",
+    ],
+    "kind": "dfareporting#remarketingListShare", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingListShare".
+    "remarketingListId": "A String", # Remarketing list ID. This is a read-only, auto-generated field.
+    "sharedAccountIds": [ # Accounts that the remarketing list is shared with.
+      "A String",
+    ],
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a remarketing list's sharing information. Sharing allows other accounts or advertisers to target to your remarketing lists. This resource can be used to manage remarketing list sharing to other accounts and advertisers.
+      "sharedAdvertiserIds": [ # Advertisers that the remarketing list is shared with.
+        "A String",
+      ],
+      "kind": "dfareporting#remarketingListShare", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingListShare".
+      "remarketingListId": "A String", # Remarketing list ID. This is a read-only, auto-generated field.
+      "sharedAccountIds": [ # Accounts that the remarketing list is shared with.
+        "A String",
+      ],
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.remarketingLists.html b/docs/dyn/dfareporting_v2_2.remarketingLists.html new file mode 100644 index 00000000000..4da3175b269 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.remarketingLists.html @@ -0,0 +1,532 @@ + + + +

DCM/DFA Reporting And Trafficking API . remarketingLists

+

Instance Methods

+

+ get(profileId, id)

+

Gets one remarketing list by ID.

+

+ insert(profileId, body)

+

Inserts a new remarketing list.

+

+ list(profileId, advertiserId, name=None, pageToken=None, sortField=None, floodlightActivityId=None, maxResults=None, active=None, sortOrder=None)

+

Retrieves a list of remarketing lists, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, id, body)

+

Updates an existing remarketing list. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing remarketing list.

+

Method Details

+
+ get(profileId, id) +
Gets one remarketing list by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Remarketing list ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingLists resource.
+      "listPopulationRule": { # Remarketing List Population Rule. # Rule used to populate the remarketing list with users.
+        "floodlightActivityName": "A String", # Name of floodlight activity associated with this rule. This is a read-only, auto-generated field.
+        "floodlightActivityId": "A String", # Floodlight activity ID associated with this rule. This field can be left blank.
+        "listPopulationClauses": [ # Clauses that make up this list population rule. Clauses are joined by ANDs, and the clauses themselves are made up of list population terms which are joined by ORs.
+          { # A group clause made up of list population terms representing constraints joined by ORs.
+            "terms": [ # Terms of this list population clause. Each clause is made up of list population terms representing constraints and are joined by ORs.
+              { # Remarketing List Population Rule Term.
+                "remarketingListId": "A String", # ID of the list in question. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM.
+                "contains": True or False, # Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. False by default.
+                "negation": True or False, # Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+                "value": "A String", # Literal to compare the variable to. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+                "variableFriendlyName": "A String", # Friendly name of this term's variable. This is a read-only, auto-generated field. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM.
+                "operator": "A String", # Comparison operator of this term. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+                "type": "A String", # List population term type determines the applicable fields in this object. If left unset or set to CUSTOM_VARIABLE_TERM, then variableName, variableFriendlyName, operator, value, and negation are applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. If set to REFERRER_TERM then operator, value, and negation are applicable.
+                "variableName": "A String", # Name of the variable (U1, U2, etc.) being compared in this term. This field is only relevant when type is set to null, CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+              },
+            ],
+          },
+        ],
+      },
+      "kind": "dfareporting#remarketingList", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingList".
+      "subaccountId": "A String", # Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
+      "description": "A String", # Remarketing list description.
+      "listSize": "A String", # Number of users currently in the list. This is a read-only field.
+      "lifeSpan": "A String", # Number of days that a user should remain in the remarketing list without an impression.
+      "name": "A String", # Name of the remarketing list. This is a required field. Must be no greater than 128 characters long.
+      "advertiserId": "A String", # Dimension value for the advertiser ID that owns this remarketing list. This is a required field.
+      "listSource": "A String", # Product from which this remarketing list was originated.
+      "active": True or False, # Whether this remarketing list is active.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # Remarketing list ID. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
+    }
+
+ +
+ insert(profileId, body) +
Inserts a new remarketing list.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingLists resource.
+    "listPopulationRule": { # Remarketing List Population Rule. # Rule used to populate the remarketing list with users.
+      "floodlightActivityName": "A String", # Name of floodlight activity associated with this rule. This is a read-only, auto-generated field.
+      "floodlightActivityId": "A String", # Floodlight activity ID associated with this rule. This field can be left blank.
+      "listPopulationClauses": [ # Clauses that make up this list population rule. Clauses are joined by ANDs, and the clauses themselves are made up of list population terms which are joined by ORs.
+        { # A group clause made up of list population terms representing constraints joined by ORs.
+          "terms": [ # Terms of this list population clause. Each clause is made up of list population terms representing constraints and are joined by ORs.
+            { # Remarketing List Population Rule Term.
+              "remarketingListId": "A String", # ID of the list in question. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM.
+              "contains": True or False, # Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. False by default.
+              "negation": True or False, # Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+              "value": "A String", # Literal to compare the variable to. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+              "variableFriendlyName": "A String", # Friendly name of this term's variable. This is a read-only, auto-generated field. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM.
+              "operator": "A String", # Comparison operator of this term. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+              "type": "A String", # List population term type determines the applicable fields in this object. If left unset or set to CUSTOM_VARIABLE_TERM, then variableName, variableFriendlyName, operator, value, and negation are applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. If set to REFERRER_TERM then operator, value, and negation are applicable.
+              "variableName": "A String", # Name of the variable (U1, U2, etc.) being compared in this term. This field is only relevant when type is set to null, CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+            },
+          ],
+        },
+      ],
+    },
+    "kind": "dfareporting#remarketingList", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingList".
+    "subaccountId": "A String", # Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
+    "description": "A String", # Remarketing list description.
+    "listSize": "A String", # Number of users currently in the list. This is a read-only field.
+    "lifeSpan": "A String", # Number of days that a user should remain in the remarketing list without an impression.
+    "name": "A String", # Name of the remarketing list. This is a required field. Must be no greater than 128 characters long.
+    "advertiserId": "A String", # Dimension value for the advertiser ID that owns this remarketing list. This is a required field.
+    "listSource": "A String", # Product from which this remarketing list was originated.
+    "active": True or False, # Whether this remarketing list is active.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "id": "A String", # Remarketing list ID. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingLists resource.
+      "listPopulationRule": { # Remarketing List Population Rule. # Rule used to populate the remarketing list with users.
+        "floodlightActivityName": "A String", # Name of floodlight activity associated with this rule. This is a read-only, auto-generated field.
+        "floodlightActivityId": "A String", # Floodlight activity ID associated with this rule. This field can be left blank.
+        "listPopulationClauses": [ # Clauses that make up this list population rule. Clauses are joined by ANDs, and the clauses themselves are made up of list population terms which are joined by ORs.
+          { # A group clause made up of list population terms representing constraints joined by ORs.
+            "terms": [ # Terms of this list population clause. Each clause is made up of list population terms representing constraints and are joined by ORs.
+              { # Remarketing List Population Rule Term.
+                "remarketingListId": "A String", # ID of the list in question. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM.
+                "contains": True or False, # Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. False by default.
+                "negation": True or False, # Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+                "value": "A String", # Literal to compare the variable to. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+                "variableFriendlyName": "A String", # Friendly name of this term's variable. This is a read-only, auto-generated field. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM.
+                "operator": "A String", # Comparison operator of this term. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+                "type": "A String", # List population term type determines the applicable fields in this object. If left unset or set to CUSTOM_VARIABLE_TERM, then variableName, variableFriendlyName, operator, value, and negation are applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. If set to REFERRER_TERM then operator, value, and negation are applicable.
+                "variableName": "A String", # Name of the variable (U1, U2, etc.) being compared in this term. This field is only relevant when type is set to null, CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+              },
+            ],
+          },
+        ],
+      },
+      "kind": "dfareporting#remarketingList", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingList".
+      "subaccountId": "A String", # Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
+      "description": "A String", # Remarketing list description.
+      "listSize": "A String", # Number of users currently in the list. This is a read-only field.
+      "lifeSpan": "A String", # Number of days that a user should remain in the remarketing list without an impression.
+      "name": "A String", # Name of the remarketing list. This is a required field. Must be no greater than 128 characters long.
+      "advertiserId": "A String", # Dimension value for the advertiser ID that owns this remarketing list. This is a required field.
+      "listSource": "A String", # Product from which this remarketing list was originated.
+      "active": True or False, # Whether this remarketing list is active.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # Remarketing list ID. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
+    }
+
+ +
+ list(profileId, advertiserId, name=None, pageToken=None, sortField=None, floodlightActivityId=None, maxResults=None, active=None, sortOrder=None) +
Retrieves a list of remarketing lists, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  advertiserId: string, Select only remarketing lists owned by this advertiser. (required)
+  name: string, Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "remarketing list*2015" will return objects with names like "remarketing list June 2015", "remarketing list April 2015", or simply "remarketing list 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "remarketing list" will match objects with name "my remarketing list", "remarketing list 2015", or simply "remarketing list".
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  floodlightActivityId: string, Select only remarketing lists that have this floodlight activity ID.
+  maxResults: integer, Maximum number of results to return.
+  active: boolean, Select only active or only inactive remarketing lists.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+
+Returns:
+  An object of the form:
+
+    { # Remarketing list response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "remarketingLists": [ # Remarketing list collection.
+      { # Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingLists resource.
+          "listPopulationRule": { # Remarketing List Population Rule. # Rule used to populate the remarketing list with users.
+            "floodlightActivityName": "A String", # Name of floodlight activity associated with this rule. This is a read-only, auto-generated field.
+            "floodlightActivityId": "A String", # Floodlight activity ID associated with this rule. This field can be left blank.
+            "listPopulationClauses": [ # Clauses that make up this list population rule. Clauses are joined by ANDs, and the clauses themselves are made up of list population terms which are joined by ORs.
+              { # A group clause made up of list population terms representing constraints joined by ORs.
+                "terms": [ # Terms of this list population clause. Each clause is made up of list population terms representing constraints and are joined by ORs.
+                  { # Remarketing List Population Rule Term.
+                    "remarketingListId": "A String", # ID of the list in question. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM.
+                    "contains": True or False, # Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. False by default.
+                    "negation": True or False, # Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+                    "value": "A String", # Literal to compare the variable to. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+                    "variableFriendlyName": "A String", # Friendly name of this term's variable. This is a read-only, auto-generated field. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM.
+                    "operator": "A String", # Comparison operator of this term. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+                    "type": "A String", # List population term type determines the applicable fields in this object. If left unset or set to CUSTOM_VARIABLE_TERM, then variableName, variableFriendlyName, operator, value, and negation are applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. If set to REFERRER_TERM then operator, value, and negation are applicable.
+                    "variableName": "A String", # Name of the variable (U1, U2, etc.) being compared in this term. This field is only relevant when type is set to null, CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+                  },
+                ],
+              },
+            ],
+          },
+          "kind": "dfareporting#remarketingList", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingList".
+          "subaccountId": "A String", # Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
+          "description": "A String", # Remarketing list description.
+          "listSize": "A String", # Number of users currently in the list. This is a read-only field.
+          "lifeSpan": "A String", # Number of days that a user should remain in the remarketing list without an impression.
+          "name": "A String", # Name of the remarketing list. This is a required field. Must be no greater than 128 characters long.
+          "advertiserId": "A String", # Dimension value for the advertiser ID that owns this remarketing list. This is a required field.
+          "listSource": "A String", # Product from which this remarketing list was originated.
+          "active": True or False, # Whether this remarketing list is active.
+          "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "id": "A String", # Remarketing list ID. This is a read-only, auto-generated field.
+          "accountId": "A String", # Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
+        },
+    ],
+    "kind": "dfareporting#remarketingListsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingListsListResponse".
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, id, body) +
Updates an existing remarketing list. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Remarketing list ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingLists resource.
+    "listPopulationRule": { # Remarketing List Population Rule. # Rule used to populate the remarketing list with users.
+      "floodlightActivityName": "A String", # Name of floodlight activity associated with this rule. This is a read-only, auto-generated field.
+      "floodlightActivityId": "A String", # Floodlight activity ID associated with this rule. This field can be left blank.
+      "listPopulationClauses": [ # Clauses that make up this list population rule. Clauses are joined by ANDs, and the clauses themselves are made up of list population terms which are joined by ORs.
+        { # A group clause made up of list population terms representing constraints joined by ORs.
+          "terms": [ # Terms of this list population clause. Each clause is made up of list population terms representing constraints and are joined by ORs.
+            { # Remarketing List Population Rule Term.
+              "remarketingListId": "A String", # ID of the list in question. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM.
+              "contains": True or False, # Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. False by default.
+              "negation": True or False, # Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+              "value": "A String", # Literal to compare the variable to. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+              "variableFriendlyName": "A String", # Friendly name of this term's variable. This is a read-only, auto-generated field. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM.
+              "operator": "A String", # Comparison operator of this term. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+              "type": "A String", # List population term type determines the applicable fields in this object. If left unset or set to CUSTOM_VARIABLE_TERM, then variableName, variableFriendlyName, operator, value, and negation are applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. If set to REFERRER_TERM then operator, value, and negation are applicable.
+              "variableName": "A String", # Name of the variable (U1, U2, etc.) being compared in this term. This field is only relevant when type is set to null, CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+            },
+          ],
+        },
+      ],
+    },
+    "kind": "dfareporting#remarketingList", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingList".
+    "subaccountId": "A String", # Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
+    "description": "A String", # Remarketing list description.
+    "listSize": "A String", # Number of users currently in the list. This is a read-only field.
+    "lifeSpan": "A String", # Number of days that a user should remain in the remarketing list without an impression.
+    "name": "A String", # Name of the remarketing list. This is a required field. Must be no greater than 128 characters long.
+    "advertiserId": "A String", # Dimension value for the advertiser ID that owns this remarketing list. This is a required field.
+    "listSource": "A String", # Product from which this remarketing list was originated.
+    "active": True or False, # Whether this remarketing list is active.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "id": "A String", # Remarketing list ID. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingLists resource.
+      "listPopulationRule": { # Remarketing List Population Rule. # Rule used to populate the remarketing list with users.
+        "floodlightActivityName": "A String", # Name of floodlight activity associated with this rule. This is a read-only, auto-generated field.
+        "floodlightActivityId": "A String", # Floodlight activity ID associated with this rule. This field can be left blank.
+        "listPopulationClauses": [ # Clauses that make up this list population rule. Clauses are joined by ANDs, and the clauses themselves are made up of list population terms which are joined by ORs.
+          { # A group clause made up of list population terms representing constraints joined by ORs.
+            "terms": [ # Terms of this list population clause. Each clause is made up of list population terms representing constraints and are joined by ORs.
+              { # Remarketing List Population Rule Term.
+                "remarketingListId": "A String", # ID of the list in question. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM.
+                "contains": True or False, # Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. False by default.
+                "negation": True or False, # Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+                "value": "A String", # Literal to compare the variable to. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+                "variableFriendlyName": "A String", # Friendly name of this term's variable. This is a read-only, auto-generated field. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM.
+                "operator": "A String", # Comparison operator of this term. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+                "type": "A String", # List population term type determines the applicable fields in this object. If left unset or set to CUSTOM_VARIABLE_TERM, then variableName, variableFriendlyName, operator, value, and negation are applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. If set to REFERRER_TERM then operator, value, and negation are applicable.
+                "variableName": "A String", # Name of the variable (U1, U2, etc.) being compared in this term. This field is only relevant when type is set to null, CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+              },
+            ],
+          },
+        ],
+      },
+      "kind": "dfareporting#remarketingList", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingList".
+      "subaccountId": "A String", # Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
+      "description": "A String", # Remarketing list description.
+      "listSize": "A String", # Number of users currently in the list. This is a read-only field.
+      "lifeSpan": "A String", # Number of days that a user should remain in the remarketing list without an impression.
+      "name": "A String", # Name of the remarketing list. This is a required field. Must be no greater than 128 characters long.
+      "advertiserId": "A String", # Dimension value for the advertiser ID that owns this remarketing list. This is a required field.
+      "listSource": "A String", # Product from which this remarketing list was originated.
+      "active": True or False, # Whether this remarketing list is active.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # Remarketing list ID. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
+    }
+
+ +
+ update(profileId, body) +
Updates an existing remarketing list.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingLists resource.
+    "listPopulationRule": { # Remarketing List Population Rule. # Rule used to populate the remarketing list with users.
+      "floodlightActivityName": "A String", # Name of floodlight activity associated with this rule. This is a read-only, auto-generated field.
+      "floodlightActivityId": "A String", # Floodlight activity ID associated with this rule. This field can be left blank.
+      "listPopulationClauses": [ # Clauses that make up this list population rule. Clauses are joined by ANDs, and the clauses themselves are made up of list population terms which are joined by ORs.
+        { # A group clause made up of list population terms representing constraints joined by ORs.
+          "terms": [ # Terms of this list population clause. Each clause is made up of list population terms representing constraints and are joined by ORs.
+            { # Remarketing List Population Rule Term.
+              "remarketingListId": "A String", # ID of the list in question. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM.
+              "contains": True or False, # Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. False by default.
+              "negation": True or False, # Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+              "value": "A String", # Literal to compare the variable to. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+              "variableFriendlyName": "A String", # Friendly name of this term's variable. This is a read-only, auto-generated field. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM.
+              "operator": "A String", # Comparison operator of this term. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+              "type": "A String", # List population term type determines the applicable fields in this object. If left unset or set to CUSTOM_VARIABLE_TERM, then variableName, variableFriendlyName, operator, value, and negation are applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. If set to REFERRER_TERM then operator, value, and negation are applicable.
+              "variableName": "A String", # Name of the variable (U1, U2, etc.) being compared in this term. This field is only relevant when type is set to null, CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+            },
+          ],
+        },
+      ],
+    },
+    "kind": "dfareporting#remarketingList", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingList".
+    "subaccountId": "A String", # Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
+    "description": "A String", # Remarketing list description.
+    "listSize": "A String", # Number of users currently in the list. This is a read-only field.
+    "lifeSpan": "A String", # Number of days that a user should remain in the remarketing list without an impression.
+    "name": "A String", # Name of the remarketing list. This is a required field. Must be no greater than 128 characters long.
+    "advertiserId": "A String", # Dimension value for the advertiser ID that owns this remarketing list. This is a required field.
+    "listSource": "A String", # Product from which this remarketing list was originated.
+    "active": True or False, # Whether this remarketing list is active.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "id": "A String", # Remarketing list ID. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource can be used to manage remarketing lists that are owned by your advertisers. To see all remarketing lists that are visible to your advertisers, including those that are shared to your advertiser or account, use the TargetableRemarketingLists resource.
+      "listPopulationRule": { # Remarketing List Population Rule. # Rule used to populate the remarketing list with users.
+        "floodlightActivityName": "A String", # Name of floodlight activity associated with this rule. This is a read-only, auto-generated field.
+        "floodlightActivityId": "A String", # Floodlight activity ID associated with this rule. This field can be left blank.
+        "listPopulationClauses": [ # Clauses that make up this list population rule. Clauses are joined by ANDs, and the clauses themselves are made up of list population terms which are joined by ORs.
+          { # A group clause made up of list population terms representing constraints joined by ORs.
+            "terms": [ # Terms of this list population clause. Each clause is made up of list population terms representing constraints and are joined by ORs.
+              { # Remarketing List Population Rule Term.
+                "remarketingListId": "A String", # ID of the list in question. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM.
+                "contains": True or False, # Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. False by default.
+                "negation": True or False, # Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+                "value": "A String", # Literal to compare the variable to. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+                "variableFriendlyName": "A String", # Friendly name of this term's variable. This is a read-only, auto-generated field. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM.
+                "operator": "A String", # Comparison operator of this term. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+                "type": "A String", # List population term type determines the applicable fields in this object. If left unset or set to CUSTOM_VARIABLE_TERM, then variableName, variableFriendlyName, operator, value, and negation are applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. If set to REFERRER_TERM then operator, value, and negation are applicable.
+                "variableName": "A String", # Name of the variable (U1, U2, etc.) being compared in this term. This field is only relevant when type is set to null, CUSTOM_VARIABLE_TERM or REFERRER_TERM.
+              },
+            ],
+          },
+        ],
+      },
+      "kind": "dfareporting#remarketingList", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#remarketingList".
+      "subaccountId": "A String", # Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
+      "description": "A String", # Remarketing list description.
+      "listSize": "A String", # Number of users currently in the list. This is a read-only field.
+      "lifeSpan": "A String", # Number of days that a user should remain in the remarketing list without an impression.
+      "name": "A String", # Name of the remarketing list. This is a required field. Must be no greater than 128 characters long.
+      "advertiserId": "A String", # Dimension value for the advertiser ID that owns this remarketing list. This is a required field.
+      "listSource": "A String", # Product from which this remarketing list was originated.
+      "active": True or False, # Whether this remarketing list is active.
+      "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "id": "A String", # Remarketing list ID. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.reports.compatibleFields.html b/docs/dyn/dfareporting_v2_2.reports.compatibleFields.html new file mode 100644 index 00000000000..740d16e50cf --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.reports.compatibleFields.html @@ -0,0 +1,551 @@ + + + +

DCM/DFA Reporting And Trafficking API . reports . compatibleFields

+

Instance Methods

+

+ query(profileId, body)

+

Returns the fields that are compatible to be selected in the respective sections of a report criteria, given the fields already selected in the input report and user permissions.

+

Method Details

+
+ query(profileId, body) +
Returns the fields that are compatible to be selected in the respective sections of a report criteria, given the fields already selected in the input report and user permissions.
+
+Args:
+  profileId: string, The DFA user profile ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Represents a Report resource.
+    "pathToConversionCriteria": { # The report criteria for a report of type "PATH_TO_CONVERSION".
+      "conversionDimensions": [ # The list of conversion dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "metricNames": [ # The list of names of metrics the report should include.
+        "A String",
+      ],
+      "dateRange": { # Represents a date range. # The date range this report should be run for.
+        "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+        "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+      },
+      "reportProperties": { # The properties of the report.
+        "clicksLookbackWindow": 42, # DFA checks to see if a click interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.
+        "pivotOnInteractionPath": True or False, # Enable pivoting on interaction path.
+        "impressionsLookbackWindow": 42, # DFA checks to see if an impression interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.
+        "includeUnattributedIPConversions": True or False, # Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.
+        "includeUnattributedCookieConversions": True or False, # Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.
+        "maximumInteractionGap": 42, # The maximum amount of time that can take place between interactions (clicks or impressions) by the same user. Valid values: 1-90.
+        "includeAttributedIPConversions": True or False, # Deprecated: has no effect.
+        "maximumClickInteractions": 42, # The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.
+        "maximumImpressionInteractions": 42, # The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.
+      },
+      "perInteractionDimensions": [ # The list of per interaction dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "activityFilters": [ # The list of 'dfa:activity' values to filter on.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "customRichMediaEvents": [ # The list of custom rich media events to include.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "floodlightConfigId": { # Represents a DimensionValue resource. # The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "customFloodlightVariables": [ # The list of custom floodlight variables the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+    },
+    "kind": "dfareporting#report", # The kind of resource this is, in this case dfareporting#report.
+    "subAccountId": "A String", # The subaccount ID to which this report belongs if applicable.
+    "name": "A String", # The name of the report.
+    "schedule": { # The report's schedule. Can only be set if the report's 'dateRange' is a relative date range and the relative date range is not "TODAY".
+      "startDate": "A String", # Start date of date range for which scheduled reports should be run.
+      "runsOnDayOfMonth": "A String", # Enum to define for "MONTHLY" scheduled reports whether reports should be repeated on the same day of the month as "startDate" or the same day of the week of the month.
+          # Example: If 'startDate' is Monday, April 2nd 2012 (2012-04-02), "DAY_OF_MONTH" would run subsequent reports on the 2nd of every Month, and "WEEK_OF_MONTH" would run subsequent reports on the first Monday of the month.
+      "every": 42, # Defines every how many days, weeks or months the report should be run. Needs to be set when "repeats" is either "DAILY", "WEEKLY" or "MONTHLY".
+      "expirationDate": "A String", # The expiration date when the scheduled report stops running.
+      "active": True or False, # Whether the schedule is active or not. Must be set to either true or false.
+      "repeats": "A String", # The interval for which the report is repeated. Note:
+          # - "DAILY" also requires field "every" to be set.
+          # - "WEEKLY" also requires fields "every" and "repeatsOnWeekDays" to be set.
+          # - "MONTHLY" also requires fields "every" and "runsOnDayOfMonth" to be set.
+      "repeatsOnWeekDays": [ # List of week days "WEEKLY" on which scheduled reports should run.
+        "A String",
+      ],
+    },
+    "format": "A String", # The output format of the report. If not specified, default format is "CSV". Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. "CSV" will then be the fallback format.
+    "ownerProfileId": "A String", # The user profile id of the owner of this report.
+    "reachCriteria": { # The report criteria for a report of type "REACH".
+      "activities": { # Represents an activity group. # Activity group.
+        "kind": "dfareporting#activities", # The kind of resource this is, in this case dfareporting#activities.
+        "filters": [ # List of activity filters. The dimension values need to be all either of type "dfa:activity" or "dfa:activityGroup".
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "metricNames": [ # List of names of floodlight activity metrics.
+          "A String",
+        ],
+      },
+      "dimensions": [ # The list of dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "metricNames": [ # The list of names of metrics the report should include.
+        "A String",
+      ],
+      "dateRange": { # Represents a date range. # The date range this report should be run for.
+        "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+        "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+      },
+      "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+          # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "reachByFrequencyMetricNames": [ # The list of names of  Reach By Frequency metrics the report should include.
+        "A String",
+      ],
+      "customRichMediaEvents": { # Represents a Custom Rich Media Events group. # Custom Rich Media Events group.
+        "kind": "dfareporting#customRichMediaEvents", # The kind of resource this is, in this case dfareporting#customRichMediaEvents.
+        "filteredEventIds": [ # List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+      },
+      "enableAllDimensionCombinations": True or False, # Whether to enable all reach dimension combinations in the report. Defaults to false. If enabled, the date range of the report should be within the last three months.
+    },
+    "floodlightCriteria": { # The report criteria for a report of type "FLOODLIGHT".
+      "dimensions": [ # The list of dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "metricNames": [ # The list of names of metrics the report should include.
+        "A String",
+      ],
+      "dateRange": { # Represents a date range. # The date range this report should be run for.
+        "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+        "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+      },
+      "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+          # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "floodlightConfigId": { # Represents a DimensionValue resource. # The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "customRichMediaEvents": [ # The list of custom rich media events to include.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "reportProperties": { # The properties of the report.
+        "includeUnattributedIPConversions": True or False, # Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.
+        "includeUnattributedCookieConversions": True or False, # Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.
+        "includeAttributedIPConversions": True or False, # Include conversions that have no cookie, but do have an exposure path.
+      },
+    },
+    "fileName": "A String", # The filename used when generating report files for this report.
+    "delivery": { # The report's email delivery settings.
+      "message": "A String", # The message to be sent with each email.
+      "emailOwnerDeliveryType": "A String", # The type of delivery for the owner to receive, if enabled.
+      "recipients": [ # The list of recipients to which to email the report.
+        { # Represents a recipient.
+          "kind": "dfareporting#recipient", # The kind of resource this is, in this case dfareporting#recipient.
+          "deliveryType": "A String", # The delivery type for the recipient.
+          "email": "A String", # The email address of the recipient.
+        },
+      ],
+      "emailOwner": True or False, # Whether the report should be emailed to the report owner.
+    },
+    "etag": "A String", # The eTag of this response for caching purposes.
+    "criteria": { # The report criteria for a report of type "STANDARD".
+      "activities": { # Represents an activity group. # Activity group.
+        "kind": "dfareporting#activities", # The kind of resource this is, in this case dfareporting#activities.
+        "filters": [ # List of activity filters. The dimension values need to be all either of type "dfa:activity" or "dfa:activityGroup".
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "metricNames": [ # List of names of floodlight activity metrics.
+          "A String",
+        ],
+      },
+      "dimensions": [ # The list of standard dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "metricNames": [ # The list of names of metrics the report should include.
+        "A String",
+      ],
+      "dateRange": { # Represents a date range. # The date range for which this report should be run.
+        "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+        "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+      },
+      "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+          # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "customRichMediaEvents": { # Represents a Custom Rich Media Events group. # Custom Rich Media Events group.
+        "kind": "dfareporting#customRichMediaEvents", # The kind of resource this is, in this case dfareporting#customRichMediaEvents.
+        "filteredEventIds": [ # List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+      },
+    },
+    "id": "A String", # The unique ID identifying this report resource.
+    "lastModifiedTime": "A String", # The timestamp (in milliseconds since epoch) of when this report was last modified.
+    "type": "A String", # The type of the report.
+    "crossDimensionReachCriteria": { # The report criteria for a report of type "CROSS_DIMENSION_REACH".
+      "breakdown": [ # The list of dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "overlapMetricNames": [ # The list of names of overlap metrics the report should include.
+        "A String",
+      ],
+      "metricNames": [ # The list of names of metrics the report should include.
+        "A String",
+      ],
+      "dateRange": { # Represents a date range. # The date range this report should be run for.
+        "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+        "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+      },
+      "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "pivoted": True or False, # Whether the report is pivoted or not. Defaults to true.
+      "dimension": "A String", # The dimension option.
+    },
+    "accountId": "A String", # The account ID to which this report belongs.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Represents a response to the queryCompatibleFields method.
+    "kind": "dfareporting#compatibleFields", # The kind of resource this is, in this case dfareporting#compatibleFields.
+    "reachReportCompatibleFields": { # Represents fields that are compatible to be selected for a report of type "REACH". # Contains items that are compatible to be selected for a report of type "REACH".
+      "kind": "dfareporting#reachReportCompatibleFields", # The kind of resource this is, in this case dfareporting#reachReportCompatibleFields.
+      "dimensions": [ # Dimensions which are compatible to be selected in the "dimensions" section of the report.
+        { # Represents a dimension.
+          "kind": "dfareporting#dimension", # The kind of resource this is, in this case dfareporting#dimension.
+          "name": "A String", # The dimension name, e.g. dfa:advertiser
+        },
+      ],
+      "reachByFrequencyMetrics": [ # Metrics which are compatible to be selected in the "reachByFrequencyMetricNames" section of the report.
+        { # Represents a metric.
+          "kind": "dfareporting#metric", # The kind of resource this is, in this case dfareporting#metric.
+          "name": "A String", # The metric name, e.g. dfa:impressions
+        },
+      ],
+      "pivotedActivityMetrics": [ # Metrics which are compatible to be selected as activity metrics to pivot on in the "activities" section of the report.
+        { # Represents a metric.
+          "kind": "dfareporting#metric", # The kind of resource this is, in this case dfareporting#metric.
+          "name": "A String", # The metric name, e.g. dfa:impressions
+        },
+      ],
+      "dimensionFilters": [ # Dimensions which are compatible to be selected in the "dimensionFilters" section of the report.
+        { # Represents a dimension.
+          "kind": "dfareporting#dimension", # The kind of resource this is, in this case dfareporting#dimension.
+          "name": "A String", # The dimension name, e.g. dfa:advertiser
+        },
+      ],
+      "metrics": [ # Metrics which are compatible to be selected in the "metricNames" section of the report.
+        { # Represents a metric.
+          "kind": "dfareporting#metric", # The kind of resource this is, in this case dfareporting#metric.
+          "name": "A String", # The metric name, e.g. dfa:impressions
+        },
+      ],
+    },
+    "pathToConversionReportCompatibleFields": { # Represents fields that are compatible to be selected for a report of type "PATH_TO_CONVERSION". # Contains items that are compatible to be selected for a report of type "PATH_TO_CONVERSION".
+      "metrics": [ # Metrics which are compatible to be selected in the "metricNames" section of the report.
+        { # Represents a metric.
+          "kind": "dfareporting#metric", # The kind of resource this is, in this case dfareporting#metric.
+          "name": "A String", # The metric name, e.g. dfa:impressions
+        },
+      ],
+      "perInteractionDimensions": [ # Per-interaction dimensions which are compatible to be selected in the "perInteractionDimensions" section of the report.
+        { # Represents a dimension.
+          "kind": "dfareporting#dimension", # The kind of resource this is, in this case dfareporting#dimension.
+          "name": "A String", # The dimension name, e.g. dfa:advertiser
+        },
+      ],
+      "kind": "dfareporting#pathToConversionReportCompatibleFields", # The kind of resource this is, in this case dfareporting#pathToConversionReportCompatibleFields.
+      "conversionDimensions": [ # Conversion dimensions which are compatible to be selected in the "conversionDimensions" section of the report.
+        { # Represents a dimension.
+          "kind": "dfareporting#dimension", # The kind of resource this is, in this case dfareporting#dimension.
+          "name": "A String", # The dimension name, e.g. dfa:advertiser
+        },
+      ],
+      "customFloodlightVariables": [ # Custom floodlight variables which are compatible to be selected in the "customFloodlightVariables" section of the report.
+        { # Represents a dimension.
+          "kind": "dfareporting#dimension", # The kind of resource this is, in this case dfareporting#dimension.
+          "name": "A String", # The dimension name, e.g. dfa:advertiser
+        },
+      ],
+    },
+    "crossDimensionReachReportCompatibleFields": { # Represents fields that are compatible to be selected for a report of type "CROSS_DIMENSION_REACH". # Contains items that are compatible to be selected for a report of type "CROSS_DIMENSION_REACH".
+      "breakdown": [ # Dimensions which are compatible to be selected in the "breakdown" section of the report.
+        { # Represents a dimension.
+          "kind": "dfareporting#dimension", # The kind of resource this is, in this case dfareporting#dimension.
+          "name": "A String", # The dimension name, e.g. dfa:advertiser
+        },
+      ],
+      "metrics": [ # Metrics which are compatible to be selected in the "metricNames" section of the report.
+        { # Represents a metric.
+          "kind": "dfareporting#metric", # The kind of resource this is, in this case dfareporting#metric.
+          "name": "A String", # The metric name, e.g. dfa:impressions
+        },
+      ],
+      "kind": "dfareporting#crossDimensionReachReportCompatibleFields", # The kind of resource this is, in this case dfareporting#crossDimensionReachReportCompatibleFields.
+      "overlapMetrics": [ # Metrics which are compatible to be selected in the "overlapMetricNames" section of the report.
+        { # Represents a metric.
+          "kind": "dfareporting#metric", # The kind of resource this is, in this case dfareporting#metric.
+          "name": "A String", # The metric name, e.g. dfa:impressions
+        },
+      ],
+      "dimensionFilters": [ # Dimensions which are compatible to be selected in the "dimensionFilters" section of the report.
+        { # Represents a dimension.
+          "kind": "dfareporting#dimension", # The kind of resource this is, in this case dfareporting#dimension.
+          "name": "A String", # The dimension name, e.g. dfa:advertiser
+        },
+      ],
+    },
+    "floodlightReportCompatibleFields": { # Represents fields that are compatible to be selected for a report of type "FlOODLIGHT". # Contains items that are compatible to be selected for a report of type "FLOODLIGHT".
+      "metrics": [ # Metrics which are compatible to be selected in the "metricNames" section of the report.
+        { # Represents a metric.
+          "kind": "dfareporting#metric", # The kind of resource this is, in this case dfareporting#metric.
+          "name": "A String", # The metric name, e.g. dfa:impressions
+        },
+      ],
+      "kind": "dfareporting#floodlightReportCompatibleFields", # The kind of resource this is, in this case dfareporting#floodlightReportCompatibleFields.
+      "dimensionFilters": [ # Dimensions which are compatible to be selected in the "dimensionFilters" section of the report.
+        { # Represents a dimension.
+          "kind": "dfareporting#dimension", # The kind of resource this is, in this case dfareporting#dimension.
+          "name": "A String", # The dimension name, e.g. dfa:advertiser
+        },
+      ],
+      "dimensions": [ # Dimensions which are compatible to be selected in the "dimensions" section of the report.
+        { # Represents a dimension.
+          "kind": "dfareporting#dimension", # The kind of resource this is, in this case dfareporting#dimension.
+          "name": "A String", # The dimension name, e.g. dfa:advertiser
+        },
+      ],
+    },
+    "reportCompatibleFields": { # Represents fields that are compatible to be selected for a report of type "STANDARD". # Contains items that are compatible to be selected for a report of type "STANDARD".
+      "metrics": [ # Metrics which are compatible to be selected in the "metricNames" section of the report.
+        { # Represents a metric.
+          "kind": "dfareporting#metric", # The kind of resource this is, in this case dfareporting#metric.
+          "name": "A String", # The metric name, e.g. dfa:impressions
+        },
+      ],
+      "kind": "dfareporting#reportCompatibleFields", # The kind of resource this is, in this case dfareporting#reportCompatibleFields.
+      "pivotedActivityMetrics": [ # Metrics which are compatible to be selected as activity metrics to pivot on in the "activities" section of the report.
+        { # Represents a metric.
+          "kind": "dfareporting#metric", # The kind of resource this is, in this case dfareporting#metric.
+          "name": "A String", # The metric name, e.g. dfa:impressions
+        },
+      ],
+      "dimensionFilters": [ # Dimensions which are compatible to be selected in the "dimensionFilters" section of the report.
+        { # Represents a dimension.
+          "kind": "dfareporting#dimension", # The kind of resource this is, in this case dfareporting#dimension.
+          "name": "A String", # The dimension name, e.g. dfa:advertiser
+        },
+      ],
+      "dimensions": [ # Dimensions which are compatible to be selected in the "dimensions" section of the report.
+        { # Represents a dimension.
+          "kind": "dfareporting#dimension", # The kind of resource this is, in this case dfareporting#dimension.
+          "name": "A String", # The dimension name, e.g. dfa:advertiser
+        },
+      ],
+    },
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.reports.files.html b/docs/dyn/dfareporting_v2_2.reports.files.html new file mode 100644 index 00000000000..7516a688169 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.reports.files.html @@ -0,0 +1,203 @@ + + + +

DCM/DFA Reporting And Trafficking API . reports . files

+

Instance Methods

+

+ get(profileId, reportId, fileId)

+

Retrieves a report file.

+

+ get_media(profileId, reportId, fileId)

+

Retrieves a report file.

+

+ list(profileId, reportId, pageToken=None, sortField=None, maxResults=None, sortOrder=None)

+

Lists files for a report.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ get(profileId, reportId, fileId) +
Retrieves a report file.
+
+Args:
+  profileId: string, The DFA profile ID. (required)
+  reportId: string, The ID of the report. (required)
+  fileId: string, The ID of the report file. (required)
+
+Returns:
+  An object of the form:
+
+    { # Represents a File resource. A file contains the metadata for a report run. It shows the status of the run and holds the URLs to the generated report data if the run is finished and the status is "REPORT_AVAILABLE".
+    "status": "A String", # The status of the report file.
+    "kind": "dfareporting#file", # The kind of resource this is, in this case dfareporting#file.
+    "format": "A String", # The output format of the report. Only available once the file is available.
+    "dateRange": { # Represents a date range. # The date range for which the file has report data. The date range will always be the absolute date range for which the report is run.
+      "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+      "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+      "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+      "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+    },
+    "fileName": "A String", # The filename of the file.
+    "etag": "A String", # The eTag of this response for caching purposes.
+    "reportId": "A String", # The ID of the report this file was generated from.
+    "urls": { # The URLs where the completed report file can be downloaded.
+      "browserUrl": "A String", # The URL for downloading the report data through a browser.
+      "apiUrl": "A String", # The URL for downloading the report data through the API.
+    },
+    "lastModifiedTime": "A String", # The timestamp in milliseconds since epoch when this file was last modified.
+    "id": "A String", # The unique ID of this report file.
+  }
+
+ +
+ get_media(profileId, reportId, fileId) +
Retrieves a report file.
+
+Args:
+  profileId: string, The DFA profile ID. (required)
+  reportId: string, The ID of the report. (required)
+  fileId: string, The ID of the report file. (required)
+
+Returns:
+  The media object as a string.
+
+    
+
+ +
+ list(profileId, reportId, pageToken=None, sortField=None, maxResults=None, sortOrder=None) +
Lists files for a report.
+
+Args:
+  profileId: string, The DFA profile ID. (required)
+  reportId: string, The ID of the parent report. (required)
+  pageToken: string, The value of the nextToken from the previous result page.
+  sortField: string, The field by which to sort the list.
+    Allowed values
+      ID - Sort by file ID.
+      LAST_MODIFIED_TIME - Sort by 'lastmodifiedAt' field.
+  maxResults: integer, Maximum number of results to return.
+  sortOrder: string, Order of sorted results, default is 'DESCENDING'.
+    Allowed values
+      ASCENDING - Ascending order.
+      DESCENDING - Descending order.
+
+Returns:
+  An object of the form:
+
+    { # Represents the list of File resources.
+    "nextPageToken": "A String", # Continuation token used to page through files. To retrieve the next page of results, set the next request's "pageToken" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted.
+    "items": [ # The files returned in this response.
+      { # Represents a File resource. A file contains the metadata for a report run. It shows the status of the run and holds the URLs to the generated report data if the run is finished and the status is "REPORT_AVAILABLE".
+        "status": "A String", # The status of the report file.
+        "kind": "dfareporting#file", # The kind of resource this is, in this case dfareporting#file.
+        "format": "A String", # The output format of the report. Only available once the file is available.
+        "dateRange": { # Represents a date range. # The date range for which the file has report data. The date range will always be the absolute date range for which the report is run.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "fileName": "A String", # The filename of the file.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "reportId": "A String", # The ID of the report this file was generated from.
+        "urls": { # The URLs where the completed report file can be downloaded.
+          "browserUrl": "A String", # The URL for downloading the report data through a browser.
+          "apiUrl": "A String", # The URL for downloading the report data through the API.
+        },
+        "lastModifiedTime": "A String", # The timestamp in milliseconds since epoch when this file was last modified.
+        "id": "A String", # The unique ID of this report file.
+      },
+    ],
+    "kind": "dfareporting#fileList", # The kind of list this is, in this case dfareporting#fileList.
+    "etag": "A String", # The eTag of this response for caching purposes.
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.reports.html b/docs/dyn/dfareporting_v2_2.reports.html new file mode 100644 index 00000000000..2ffba958411 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.reports.html @@ -0,0 +1,2795 @@ + + + +

DCM/DFA Reporting And Trafficking API . reports

+

Instance Methods

+

+ compatibleFields() +

+

Returns the compatibleFields Resource.

+ +

+ files() +

+

Returns the files Resource.

+ +

+ delete(profileId, reportId)

+

Deletes a report by its ID.

+

+ get(profileId, reportId)

+

Retrieves a report by its ID.

+

+ insert(profileId, body)

+

Creates a report.

+

+ list(profileId, pageToken=None, maxResults=None, sortOrder=None, sortField=None, scope=None)

+

Retrieves list of reports.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, reportId, body)

+

Updates a report. This method supports patch semantics.

+

+ run(profileId, reportId, synchronous=None)

+

Runs a report.

+

+ update(profileId, reportId, body)

+

Updates a report.

+

Method Details

+
+ delete(profileId, reportId) +
Deletes a report by its ID.
+
+Args:
+  profileId: string, The DFA user profile ID. (required)
+  reportId: string, The ID of the report. (required)
+
+
+ +
+ get(profileId, reportId) +
Retrieves a report by its ID.
+
+Args:
+  profileId: string, The DFA user profile ID. (required)
+  reportId: string, The ID of the report. (required)
+
+Returns:
+  An object of the form:
+
+    { # Represents a Report resource.
+      "pathToConversionCriteria": { # The report criteria for a report of type "PATH_TO_CONVERSION".
+        "conversionDimensions": [ # The list of conversion dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "metricNames": [ # The list of names of metrics the report should include.
+          "A String",
+        ],
+        "dateRange": { # Represents a date range. # The date range this report should be run for.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "reportProperties": { # The properties of the report.
+          "clicksLookbackWindow": 42, # DFA checks to see if a click interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.
+          "pivotOnInteractionPath": True or False, # Enable pivoting on interaction path.
+          "impressionsLookbackWindow": 42, # DFA checks to see if an impression interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.
+          "includeUnattributedIPConversions": True or False, # Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.
+          "includeUnattributedCookieConversions": True or False, # Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.
+          "maximumInteractionGap": 42, # The maximum amount of time that can take place between interactions (clicks or impressions) by the same user. Valid values: 1-90.
+          "includeAttributedIPConversions": True or False, # Deprecated: has no effect.
+          "maximumClickInteractions": 42, # The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.
+          "maximumImpressionInteractions": 42, # The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.
+        },
+        "perInteractionDimensions": [ # The list of per interaction dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "activityFilters": [ # The list of 'dfa:activity' values to filter on.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "customRichMediaEvents": [ # The list of custom rich media events to include.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "floodlightConfigId": { # Represents a DimensionValue resource. # The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+        "customFloodlightVariables": [ # The list of custom floodlight variables the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+      },
+      "kind": "dfareporting#report", # The kind of resource this is, in this case dfareporting#report.
+      "subAccountId": "A String", # The subaccount ID to which this report belongs if applicable.
+      "name": "A String", # The name of the report.
+      "schedule": { # The report's schedule. Can only be set if the report's 'dateRange' is a relative date range and the relative date range is not "TODAY".
+        "startDate": "A String", # Start date of date range for which scheduled reports should be run.
+        "runsOnDayOfMonth": "A String", # Enum to define for "MONTHLY" scheduled reports whether reports should be repeated on the same day of the month as "startDate" or the same day of the week of the month.
+            # Example: If 'startDate' is Monday, April 2nd 2012 (2012-04-02), "DAY_OF_MONTH" would run subsequent reports on the 2nd of every Month, and "WEEK_OF_MONTH" would run subsequent reports on the first Monday of the month.
+        "every": 42, # Defines every how many days, weeks or months the report should be run. Needs to be set when "repeats" is either "DAILY", "WEEKLY" or "MONTHLY".
+        "expirationDate": "A String", # The expiration date when the scheduled report stops running.
+        "active": True or False, # Whether the schedule is active or not. Must be set to either true or false.
+        "repeats": "A String", # The interval for which the report is repeated. Note:
+            # - "DAILY" also requires field "every" to be set.
+            # - "WEEKLY" also requires fields "every" and "repeatsOnWeekDays" to be set.
+            # - "MONTHLY" also requires fields "every" and "runsOnDayOfMonth" to be set.
+        "repeatsOnWeekDays": [ # List of week days "WEEKLY" on which scheduled reports should run.
+          "A String",
+        ],
+      },
+      "format": "A String", # The output format of the report. If not specified, default format is "CSV". Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. "CSV" will then be the fallback format.
+      "ownerProfileId": "A String", # The user profile id of the owner of this report.
+      "reachCriteria": { # The report criteria for a report of type "REACH".
+        "activities": { # Represents an activity group. # Activity group.
+          "kind": "dfareporting#activities", # The kind of resource this is, in this case dfareporting#activities.
+          "filters": [ # List of activity filters. The dimension values need to be all either of type "dfa:activity" or "dfa:activityGroup".
+            { # Represents a DimensionValue resource.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+          ],
+          "metricNames": [ # List of names of floodlight activity metrics.
+            "A String",
+          ],
+        },
+        "dimensions": [ # The list of dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "metricNames": [ # The list of names of metrics the report should include.
+          "A String",
+        ],
+        "dateRange": { # Represents a date range. # The date range this report should be run for.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+            # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "reachByFrequencyMetricNames": [ # The list of names of  Reach By Frequency metrics the report should include.
+          "A String",
+        ],
+        "customRichMediaEvents": { # Represents a Custom Rich Media Events group. # Custom Rich Media Events group.
+          "kind": "dfareporting#customRichMediaEvents", # The kind of resource this is, in this case dfareporting#customRichMediaEvents.
+          "filteredEventIds": [ # List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.
+            { # Represents a DimensionValue resource.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+          ],
+        },
+        "enableAllDimensionCombinations": True or False, # Whether to enable all reach dimension combinations in the report. Defaults to false. If enabled, the date range of the report should be within the last three months.
+      },
+      "floodlightCriteria": { # The report criteria for a report of type "FLOODLIGHT".
+        "dimensions": [ # The list of dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "metricNames": [ # The list of names of metrics the report should include.
+          "A String",
+        ],
+        "dateRange": { # Represents a date range. # The date range this report should be run for.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+            # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "floodlightConfigId": { # Represents a DimensionValue resource. # The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+        "customRichMediaEvents": [ # The list of custom rich media events to include.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "reportProperties": { # The properties of the report.
+          "includeUnattributedIPConversions": True or False, # Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.
+          "includeUnattributedCookieConversions": True or False, # Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.
+          "includeAttributedIPConversions": True or False, # Include conversions that have no cookie, but do have an exposure path.
+        },
+      },
+      "fileName": "A String", # The filename used when generating report files for this report.
+      "delivery": { # The report's email delivery settings.
+        "message": "A String", # The message to be sent with each email.
+        "emailOwnerDeliveryType": "A String", # The type of delivery for the owner to receive, if enabled.
+        "recipients": [ # The list of recipients to which to email the report.
+          { # Represents a recipient.
+            "kind": "dfareporting#recipient", # The kind of resource this is, in this case dfareporting#recipient.
+            "deliveryType": "A String", # The delivery type for the recipient.
+            "email": "A String", # The email address of the recipient.
+          },
+        ],
+        "emailOwner": True or False, # Whether the report should be emailed to the report owner.
+      },
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "criteria": { # The report criteria for a report of type "STANDARD".
+        "activities": { # Represents an activity group. # Activity group.
+          "kind": "dfareporting#activities", # The kind of resource this is, in this case dfareporting#activities.
+          "filters": [ # List of activity filters. The dimension values need to be all either of type "dfa:activity" or "dfa:activityGroup".
+            { # Represents a DimensionValue resource.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+          ],
+          "metricNames": [ # List of names of floodlight activity metrics.
+            "A String",
+          ],
+        },
+        "dimensions": [ # The list of standard dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "metricNames": [ # The list of names of metrics the report should include.
+          "A String",
+        ],
+        "dateRange": { # Represents a date range. # The date range for which this report should be run.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+            # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "customRichMediaEvents": { # Represents a Custom Rich Media Events group. # Custom Rich Media Events group.
+          "kind": "dfareporting#customRichMediaEvents", # The kind of resource this is, in this case dfareporting#customRichMediaEvents.
+          "filteredEventIds": [ # List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.
+            { # Represents a DimensionValue resource.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+          ],
+        },
+      },
+      "id": "A String", # The unique ID identifying this report resource.
+      "lastModifiedTime": "A String", # The timestamp (in milliseconds since epoch) of when this report was last modified.
+      "type": "A String", # The type of the report.
+      "crossDimensionReachCriteria": { # The report criteria for a report of type "CROSS_DIMENSION_REACH".
+        "breakdown": [ # The list of dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "overlapMetricNames": [ # The list of names of overlap metrics the report should include.
+          "A String",
+        ],
+        "metricNames": [ # The list of names of metrics the report should include.
+          "A String",
+        ],
+        "dateRange": { # Represents a date range. # The date range this report should be run for.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "pivoted": True or False, # Whether the report is pivoted or not. Defaults to true.
+        "dimension": "A String", # The dimension option.
+      },
+      "accountId": "A String", # The account ID to which this report belongs.
+    }
+
+ +
+ insert(profileId, body) +
Creates a report.
+
+Args:
+  profileId: string, The DFA user profile ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Represents a Report resource.
+    "pathToConversionCriteria": { # The report criteria for a report of type "PATH_TO_CONVERSION".
+      "conversionDimensions": [ # The list of conversion dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "metricNames": [ # The list of names of metrics the report should include.
+        "A String",
+      ],
+      "dateRange": { # Represents a date range. # The date range this report should be run for.
+        "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+        "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+      },
+      "reportProperties": { # The properties of the report.
+        "clicksLookbackWindow": 42, # DFA checks to see if a click interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.
+        "pivotOnInteractionPath": True or False, # Enable pivoting on interaction path.
+        "impressionsLookbackWindow": 42, # DFA checks to see if an impression interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.
+        "includeUnattributedIPConversions": True or False, # Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.
+        "includeUnattributedCookieConversions": True or False, # Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.
+        "maximumInteractionGap": 42, # The maximum amount of time that can take place between interactions (clicks or impressions) by the same user. Valid values: 1-90.
+        "includeAttributedIPConversions": True or False, # Deprecated: has no effect.
+        "maximumClickInteractions": 42, # The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.
+        "maximumImpressionInteractions": 42, # The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.
+      },
+      "perInteractionDimensions": [ # The list of per interaction dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "activityFilters": [ # The list of 'dfa:activity' values to filter on.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "customRichMediaEvents": [ # The list of custom rich media events to include.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "floodlightConfigId": { # Represents a DimensionValue resource. # The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "customFloodlightVariables": [ # The list of custom floodlight variables the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+    },
+    "kind": "dfareporting#report", # The kind of resource this is, in this case dfareporting#report.
+    "subAccountId": "A String", # The subaccount ID to which this report belongs if applicable.
+    "name": "A String", # The name of the report.
+    "schedule": { # The report's schedule. Can only be set if the report's 'dateRange' is a relative date range and the relative date range is not "TODAY".
+      "startDate": "A String", # Start date of date range for which scheduled reports should be run.
+      "runsOnDayOfMonth": "A String", # Enum to define for "MONTHLY" scheduled reports whether reports should be repeated on the same day of the month as "startDate" or the same day of the week of the month.
+          # Example: If 'startDate' is Monday, April 2nd 2012 (2012-04-02), "DAY_OF_MONTH" would run subsequent reports on the 2nd of every Month, and "WEEK_OF_MONTH" would run subsequent reports on the first Monday of the month.
+      "every": 42, # Defines every how many days, weeks or months the report should be run. Needs to be set when "repeats" is either "DAILY", "WEEKLY" or "MONTHLY".
+      "expirationDate": "A String", # The expiration date when the scheduled report stops running.
+      "active": True or False, # Whether the schedule is active or not. Must be set to either true or false.
+      "repeats": "A String", # The interval for which the report is repeated. Note:
+          # - "DAILY" also requires field "every" to be set.
+          # - "WEEKLY" also requires fields "every" and "repeatsOnWeekDays" to be set.
+          # - "MONTHLY" also requires fields "every" and "runsOnDayOfMonth" to be set.
+      "repeatsOnWeekDays": [ # List of week days "WEEKLY" on which scheduled reports should run.
+        "A String",
+      ],
+    },
+    "format": "A String", # The output format of the report. If not specified, default format is "CSV". Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. "CSV" will then be the fallback format.
+    "ownerProfileId": "A String", # The user profile id of the owner of this report.
+    "reachCriteria": { # The report criteria for a report of type "REACH".
+      "activities": { # Represents an activity group. # Activity group.
+        "kind": "dfareporting#activities", # The kind of resource this is, in this case dfareporting#activities.
+        "filters": [ # List of activity filters. The dimension values need to be all either of type "dfa:activity" or "dfa:activityGroup".
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "metricNames": [ # List of names of floodlight activity metrics.
+          "A String",
+        ],
+      },
+      "dimensions": [ # The list of dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "metricNames": [ # The list of names of metrics the report should include.
+        "A String",
+      ],
+      "dateRange": { # Represents a date range. # The date range this report should be run for.
+        "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+        "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+      },
+      "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+          # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "reachByFrequencyMetricNames": [ # The list of names of  Reach By Frequency metrics the report should include.
+        "A String",
+      ],
+      "customRichMediaEvents": { # Represents a Custom Rich Media Events group. # Custom Rich Media Events group.
+        "kind": "dfareporting#customRichMediaEvents", # The kind of resource this is, in this case dfareporting#customRichMediaEvents.
+        "filteredEventIds": [ # List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+      },
+      "enableAllDimensionCombinations": True or False, # Whether to enable all reach dimension combinations in the report. Defaults to false. If enabled, the date range of the report should be within the last three months.
+    },
+    "floodlightCriteria": { # The report criteria for a report of type "FLOODLIGHT".
+      "dimensions": [ # The list of dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "metricNames": [ # The list of names of metrics the report should include.
+        "A String",
+      ],
+      "dateRange": { # Represents a date range. # The date range this report should be run for.
+        "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+        "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+      },
+      "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+          # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "floodlightConfigId": { # Represents a DimensionValue resource. # The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "customRichMediaEvents": [ # The list of custom rich media events to include.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "reportProperties": { # The properties of the report.
+        "includeUnattributedIPConversions": True or False, # Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.
+        "includeUnattributedCookieConversions": True or False, # Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.
+        "includeAttributedIPConversions": True or False, # Include conversions that have no cookie, but do have an exposure path.
+      },
+    },
+    "fileName": "A String", # The filename used when generating report files for this report.
+    "delivery": { # The report's email delivery settings.
+      "message": "A String", # The message to be sent with each email.
+      "emailOwnerDeliveryType": "A String", # The type of delivery for the owner to receive, if enabled.
+      "recipients": [ # The list of recipients to which to email the report.
+        { # Represents a recipient.
+          "kind": "dfareporting#recipient", # The kind of resource this is, in this case dfareporting#recipient.
+          "deliveryType": "A String", # The delivery type for the recipient.
+          "email": "A String", # The email address of the recipient.
+        },
+      ],
+      "emailOwner": True or False, # Whether the report should be emailed to the report owner.
+    },
+    "etag": "A String", # The eTag of this response for caching purposes.
+    "criteria": { # The report criteria for a report of type "STANDARD".
+      "activities": { # Represents an activity group. # Activity group.
+        "kind": "dfareporting#activities", # The kind of resource this is, in this case dfareporting#activities.
+        "filters": [ # List of activity filters. The dimension values need to be all either of type "dfa:activity" or "dfa:activityGroup".
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "metricNames": [ # List of names of floodlight activity metrics.
+          "A String",
+        ],
+      },
+      "dimensions": [ # The list of standard dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "metricNames": [ # The list of names of metrics the report should include.
+        "A String",
+      ],
+      "dateRange": { # Represents a date range. # The date range for which this report should be run.
+        "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+        "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+      },
+      "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+          # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "customRichMediaEvents": { # Represents a Custom Rich Media Events group. # Custom Rich Media Events group.
+        "kind": "dfareporting#customRichMediaEvents", # The kind of resource this is, in this case dfareporting#customRichMediaEvents.
+        "filteredEventIds": [ # List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+      },
+    },
+    "id": "A String", # The unique ID identifying this report resource.
+    "lastModifiedTime": "A String", # The timestamp (in milliseconds since epoch) of when this report was last modified.
+    "type": "A String", # The type of the report.
+    "crossDimensionReachCriteria": { # The report criteria for a report of type "CROSS_DIMENSION_REACH".
+      "breakdown": [ # The list of dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "overlapMetricNames": [ # The list of names of overlap metrics the report should include.
+        "A String",
+      ],
+      "metricNames": [ # The list of names of metrics the report should include.
+        "A String",
+      ],
+      "dateRange": { # Represents a date range. # The date range this report should be run for.
+        "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+        "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+      },
+      "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "pivoted": True or False, # Whether the report is pivoted or not. Defaults to true.
+      "dimension": "A String", # The dimension option.
+    },
+    "accountId": "A String", # The account ID to which this report belongs.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Represents a Report resource.
+      "pathToConversionCriteria": { # The report criteria for a report of type "PATH_TO_CONVERSION".
+        "conversionDimensions": [ # The list of conversion dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "metricNames": [ # The list of names of metrics the report should include.
+          "A String",
+        ],
+        "dateRange": { # Represents a date range. # The date range this report should be run for.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "reportProperties": { # The properties of the report.
+          "clicksLookbackWindow": 42, # DFA checks to see if a click interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.
+          "pivotOnInteractionPath": True or False, # Enable pivoting on interaction path.
+          "impressionsLookbackWindow": 42, # DFA checks to see if an impression interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.
+          "includeUnattributedIPConversions": True or False, # Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.
+          "includeUnattributedCookieConversions": True or False, # Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.
+          "maximumInteractionGap": 42, # The maximum amount of time that can take place between interactions (clicks or impressions) by the same user. Valid values: 1-90.
+          "includeAttributedIPConversions": True or False, # Deprecated: has no effect.
+          "maximumClickInteractions": 42, # The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.
+          "maximumImpressionInteractions": 42, # The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.
+        },
+        "perInteractionDimensions": [ # The list of per interaction dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "activityFilters": [ # The list of 'dfa:activity' values to filter on.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "customRichMediaEvents": [ # The list of custom rich media events to include.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "floodlightConfigId": { # Represents a DimensionValue resource. # The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+        "customFloodlightVariables": [ # The list of custom floodlight variables the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+      },
+      "kind": "dfareporting#report", # The kind of resource this is, in this case dfareporting#report.
+      "subAccountId": "A String", # The subaccount ID to which this report belongs if applicable.
+      "name": "A String", # The name of the report.
+      "schedule": { # The report's schedule. Can only be set if the report's 'dateRange' is a relative date range and the relative date range is not "TODAY".
+        "startDate": "A String", # Start date of date range for which scheduled reports should be run.
+        "runsOnDayOfMonth": "A String", # Enum to define for "MONTHLY" scheduled reports whether reports should be repeated on the same day of the month as "startDate" or the same day of the week of the month.
+            # Example: If 'startDate' is Monday, April 2nd 2012 (2012-04-02), "DAY_OF_MONTH" would run subsequent reports on the 2nd of every Month, and "WEEK_OF_MONTH" would run subsequent reports on the first Monday of the month.
+        "every": 42, # Defines every how many days, weeks or months the report should be run. Needs to be set when "repeats" is either "DAILY", "WEEKLY" or "MONTHLY".
+        "expirationDate": "A String", # The expiration date when the scheduled report stops running.
+        "active": True or False, # Whether the schedule is active or not. Must be set to either true or false.
+        "repeats": "A String", # The interval for which the report is repeated. Note:
+            # - "DAILY" also requires field "every" to be set.
+            # - "WEEKLY" also requires fields "every" and "repeatsOnWeekDays" to be set.
+            # - "MONTHLY" also requires fields "every" and "runsOnDayOfMonth" to be set.
+        "repeatsOnWeekDays": [ # List of week days "WEEKLY" on which scheduled reports should run.
+          "A String",
+        ],
+      },
+      "format": "A String", # The output format of the report. If not specified, default format is "CSV". Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. "CSV" will then be the fallback format.
+      "ownerProfileId": "A String", # The user profile id of the owner of this report.
+      "reachCriteria": { # The report criteria for a report of type "REACH".
+        "activities": { # Represents an activity group. # Activity group.
+          "kind": "dfareporting#activities", # The kind of resource this is, in this case dfareporting#activities.
+          "filters": [ # List of activity filters. The dimension values need to be all either of type "dfa:activity" or "dfa:activityGroup".
+            { # Represents a DimensionValue resource.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+          ],
+          "metricNames": [ # List of names of floodlight activity metrics.
+            "A String",
+          ],
+        },
+        "dimensions": [ # The list of dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "metricNames": [ # The list of names of metrics the report should include.
+          "A String",
+        ],
+        "dateRange": { # Represents a date range. # The date range this report should be run for.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+            # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "reachByFrequencyMetricNames": [ # The list of names of  Reach By Frequency metrics the report should include.
+          "A String",
+        ],
+        "customRichMediaEvents": { # Represents a Custom Rich Media Events group. # Custom Rich Media Events group.
+          "kind": "dfareporting#customRichMediaEvents", # The kind of resource this is, in this case dfareporting#customRichMediaEvents.
+          "filteredEventIds": [ # List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.
+            { # Represents a DimensionValue resource.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+          ],
+        },
+        "enableAllDimensionCombinations": True or False, # Whether to enable all reach dimension combinations in the report. Defaults to false. If enabled, the date range of the report should be within the last three months.
+      },
+      "floodlightCriteria": { # The report criteria for a report of type "FLOODLIGHT".
+        "dimensions": [ # The list of dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "metricNames": [ # The list of names of metrics the report should include.
+          "A String",
+        ],
+        "dateRange": { # Represents a date range. # The date range this report should be run for.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+            # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "floodlightConfigId": { # Represents a DimensionValue resource. # The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+        "customRichMediaEvents": [ # The list of custom rich media events to include.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "reportProperties": { # The properties of the report.
+          "includeUnattributedIPConversions": True or False, # Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.
+          "includeUnattributedCookieConversions": True or False, # Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.
+          "includeAttributedIPConversions": True or False, # Include conversions that have no cookie, but do have an exposure path.
+        },
+      },
+      "fileName": "A String", # The filename used when generating report files for this report.
+      "delivery": { # The report's email delivery settings.
+        "message": "A String", # The message to be sent with each email.
+        "emailOwnerDeliveryType": "A String", # The type of delivery for the owner to receive, if enabled.
+        "recipients": [ # The list of recipients to which to email the report.
+          { # Represents a recipient.
+            "kind": "dfareporting#recipient", # The kind of resource this is, in this case dfareporting#recipient.
+            "deliveryType": "A String", # The delivery type for the recipient.
+            "email": "A String", # The email address of the recipient.
+          },
+        ],
+        "emailOwner": True or False, # Whether the report should be emailed to the report owner.
+      },
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "criteria": { # The report criteria for a report of type "STANDARD".
+        "activities": { # Represents an activity group. # Activity group.
+          "kind": "dfareporting#activities", # The kind of resource this is, in this case dfareporting#activities.
+          "filters": [ # List of activity filters. The dimension values need to be all either of type "dfa:activity" or "dfa:activityGroup".
+            { # Represents a DimensionValue resource.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+          ],
+          "metricNames": [ # List of names of floodlight activity metrics.
+            "A String",
+          ],
+        },
+        "dimensions": [ # The list of standard dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "metricNames": [ # The list of names of metrics the report should include.
+          "A String",
+        ],
+        "dateRange": { # Represents a date range. # The date range for which this report should be run.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+            # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "customRichMediaEvents": { # Represents a Custom Rich Media Events group. # Custom Rich Media Events group.
+          "kind": "dfareporting#customRichMediaEvents", # The kind of resource this is, in this case dfareporting#customRichMediaEvents.
+          "filteredEventIds": [ # List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.
+            { # Represents a DimensionValue resource.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+          ],
+        },
+      },
+      "id": "A String", # The unique ID identifying this report resource.
+      "lastModifiedTime": "A String", # The timestamp (in milliseconds since epoch) of when this report was last modified.
+      "type": "A String", # The type of the report.
+      "crossDimensionReachCriteria": { # The report criteria for a report of type "CROSS_DIMENSION_REACH".
+        "breakdown": [ # The list of dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "overlapMetricNames": [ # The list of names of overlap metrics the report should include.
+          "A String",
+        ],
+        "metricNames": [ # The list of names of metrics the report should include.
+          "A String",
+        ],
+        "dateRange": { # Represents a date range. # The date range this report should be run for.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "pivoted": True or False, # Whether the report is pivoted or not. Defaults to true.
+        "dimension": "A String", # The dimension option.
+      },
+      "accountId": "A String", # The account ID to which this report belongs.
+    }
+
+ +
+ list(profileId, pageToken=None, maxResults=None, sortOrder=None, sortField=None, scope=None) +
Retrieves list of reports.
+
+Args:
+  profileId: string, The DFA user profile ID. (required)
+  pageToken: string, The value of the nextToken from the previous result page.
+  maxResults: integer, Maximum number of results to return.
+  sortOrder: string, Order of sorted results, default is 'DESCENDING'.
+    Allowed values
+      ASCENDING - Ascending order.
+      DESCENDING - Descending order.
+  sortField: string, The field by which to sort the list.
+    Allowed values
+      ID - Sort by report ID.
+      LAST_MODIFIED_TIME - Sort by 'lastModifiedTime' field.
+      NAME - Sort by name of reports.
+  scope: string, The scope that defines which results are returned, default is 'MINE'.
+    Allowed values
+      ALL - All reports in account.
+      MINE - My reports.
+
+Returns:
+  An object of the form:
+
+    { # Represents the list of reports.
+    "nextPageToken": "A String", # Continuation token used to page through reports. To retrieve the next page of results, set the next request's "pageToken" to the value of this field. The page token is only valid for a limited amount of time and should not be persisted.
+    "items": [ # The reports returned in this response.
+      { # Represents a Report resource.
+          "pathToConversionCriteria": { # The report criteria for a report of type "PATH_TO_CONVERSION".
+            "conversionDimensions": [ # The list of conversion dimensions the report should include.
+              { # Represents a sorted dimension.
+                "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+                "name": "A String", # The name of the dimension.
+                "sortOrder": "A String", # An optional sort order for the dimension column.
+              },
+            ],
+            "metricNames": [ # The list of names of metrics the report should include.
+              "A String",
+            ],
+            "dateRange": { # Represents a date range. # The date range this report should be run for.
+              "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+              "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+              "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+              "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+            },
+            "reportProperties": { # The properties of the report.
+              "clicksLookbackWindow": 42, # DFA checks to see if a click interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.
+              "pivotOnInteractionPath": True or False, # Enable pivoting on interaction path.
+              "impressionsLookbackWindow": 42, # DFA checks to see if an impression interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.
+              "includeUnattributedIPConversions": True or False, # Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.
+              "includeUnattributedCookieConversions": True or False, # Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.
+              "maximumInteractionGap": 42, # The maximum amount of time that can take place between interactions (clicks or impressions) by the same user. Valid values: 1-90.
+              "includeAttributedIPConversions": True or False, # Deprecated: has no effect.
+              "maximumClickInteractions": 42, # The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.
+              "maximumImpressionInteractions": 42, # The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.
+            },
+            "perInteractionDimensions": [ # The list of per interaction dimensions the report should include.
+              { # Represents a sorted dimension.
+                "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+                "name": "A String", # The name of the dimension.
+                "sortOrder": "A String", # An optional sort order for the dimension column.
+              },
+            ],
+            "activityFilters": [ # The list of 'dfa:activity' values to filter on.
+              { # Represents a DimensionValue resource.
+                "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+                "value": "A String", # The value of the dimension.
+                "dimensionName": "A String", # The name of the dimension.
+                "etag": "A String", # The eTag of this response for caching purposes.
+                "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+                "id": "A String", # The ID associated with the value if available.
+              },
+            ],
+            "customRichMediaEvents": [ # The list of custom rich media events to include.
+              { # Represents a DimensionValue resource.
+                "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+                "value": "A String", # The value of the dimension.
+                "dimensionName": "A String", # The name of the dimension.
+                "etag": "A String", # The eTag of this response for caching purposes.
+                "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+                "id": "A String", # The ID associated with the value if available.
+              },
+            ],
+            "floodlightConfigId": { # Represents a DimensionValue resource. # The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+            "customFloodlightVariables": [ # The list of custom floodlight variables the report should include.
+              { # Represents a sorted dimension.
+                "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+                "name": "A String", # The name of the dimension.
+                "sortOrder": "A String", # An optional sort order for the dimension column.
+              },
+            ],
+          },
+          "kind": "dfareporting#report", # The kind of resource this is, in this case dfareporting#report.
+          "subAccountId": "A String", # The subaccount ID to which this report belongs if applicable.
+          "name": "A String", # The name of the report.
+          "schedule": { # The report's schedule. Can only be set if the report's 'dateRange' is a relative date range and the relative date range is not "TODAY".
+            "startDate": "A String", # Start date of date range for which scheduled reports should be run.
+            "runsOnDayOfMonth": "A String", # Enum to define for "MONTHLY" scheduled reports whether reports should be repeated on the same day of the month as "startDate" or the same day of the week of the month.
+                # Example: If 'startDate' is Monday, April 2nd 2012 (2012-04-02), "DAY_OF_MONTH" would run subsequent reports on the 2nd of every Month, and "WEEK_OF_MONTH" would run subsequent reports on the first Monday of the month.
+            "every": 42, # Defines every how many days, weeks or months the report should be run. Needs to be set when "repeats" is either "DAILY", "WEEKLY" or "MONTHLY".
+            "expirationDate": "A String", # The expiration date when the scheduled report stops running.
+            "active": True or False, # Whether the schedule is active or not. Must be set to either true or false.
+            "repeats": "A String", # The interval for which the report is repeated. Note:
+                # - "DAILY" also requires field "every" to be set.
+                # - "WEEKLY" also requires fields "every" and "repeatsOnWeekDays" to be set.
+                # - "MONTHLY" also requires fields "every" and "runsOnDayOfMonth" to be set.
+            "repeatsOnWeekDays": [ # List of week days "WEEKLY" on which scheduled reports should run.
+              "A String",
+            ],
+          },
+          "format": "A String", # The output format of the report. If not specified, default format is "CSV". Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. "CSV" will then be the fallback format.
+          "ownerProfileId": "A String", # The user profile id of the owner of this report.
+          "reachCriteria": { # The report criteria for a report of type "REACH".
+            "activities": { # Represents an activity group. # Activity group.
+              "kind": "dfareporting#activities", # The kind of resource this is, in this case dfareporting#activities.
+              "filters": [ # List of activity filters. The dimension values need to be all either of type "dfa:activity" or "dfa:activityGroup".
+                { # Represents a DimensionValue resource.
+                  "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+                  "value": "A String", # The value of the dimension.
+                  "dimensionName": "A String", # The name of the dimension.
+                  "etag": "A String", # The eTag of this response for caching purposes.
+                  "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+                  "id": "A String", # The ID associated with the value if available.
+                },
+              ],
+              "metricNames": [ # List of names of floodlight activity metrics.
+                "A String",
+              ],
+            },
+            "dimensions": [ # The list of dimensions the report should include.
+              { # Represents a sorted dimension.
+                "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+                "name": "A String", # The name of the dimension.
+                "sortOrder": "A String", # An optional sort order for the dimension column.
+              },
+            ],
+            "metricNames": [ # The list of names of metrics the report should include.
+              "A String",
+            ],
+            "dateRange": { # Represents a date range. # The date range this report should be run for.
+              "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+              "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+              "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+              "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+            },
+            "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+                # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+              { # Represents a DimensionValue resource.
+                "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+                "value": "A String", # The value of the dimension.
+                "dimensionName": "A String", # The name of the dimension.
+                "etag": "A String", # The eTag of this response for caching purposes.
+                "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+                "id": "A String", # The ID associated with the value if available.
+              },
+            ],
+            "reachByFrequencyMetricNames": [ # The list of names of  Reach By Frequency metrics the report should include.
+              "A String",
+            ],
+            "customRichMediaEvents": { # Represents a Custom Rich Media Events group. # Custom Rich Media Events group.
+              "kind": "dfareporting#customRichMediaEvents", # The kind of resource this is, in this case dfareporting#customRichMediaEvents.
+              "filteredEventIds": [ # List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.
+                { # Represents a DimensionValue resource.
+                  "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+                  "value": "A String", # The value of the dimension.
+                  "dimensionName": "A String", # The name of the dimension.
+                  "etag": "A String", # The eTag of this response for caching purposes.
+                  "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+                  "id": "A String", # The ID associated with the value if available.
+                },
+              ],
+            },
+            "enableAllDimensionCombinations": True or False, # Whether to enable all reach dimension combinations in the report. Defaults to false. If enabled, the date range of the report should be within the last three months.
+          },
+          "floodlightCriteria": { # The report criteria for a report of type "FLOODLIGHT".
+            "dimensions": [ # The list of dimensions the report should include.
+              { # Represents a sorted dimension.
+                "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+                "name": "A String", # The name of the dimension.
+                "sortOrder": "A String", # An optional sort order for the dimension column.
+              },
+            ],
+            "metricNames": [ # The list of names of metrics the report should include.
+              "A String",
+            ],
+            "dateRange": { # Represents a date range. # The date range this report should be run for.
+              "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+              "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+              "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+              "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+            },
+            "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+                # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+              { # Represents a DimensionValue resource.
+                "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+                "value": "A String", # The value of the dimension.
+                "dimensionName": "A String", # The name of the dimension.
+                "etag": "A String", # The eTag of this response for caching purposes.
+                "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+                "id": "A String", # The ID associated with the value if available.
+              },
+            ],
+            "floodlightConfigId": { # Represents a DimensionValue resource. # The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+            "customRichMediaEvents": [ # The list of custom rich media events to include.
+              { # Represents a DimensionValue resource.
+                "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+                "value": "A String", # The value of the dimension.
+                "dimensionName": "A String", # The name of the dimension.
+                "etag": "A String", # The eTag of this response for caching purposes.
+                "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+                "id": "A String", # The ID associated with the value if available.
+              },
+            ],
+            "reportProperties": { # The properties of the report.
+              "includeUnattributedIPConversions": True or False, # Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.
+              "includeUnattributedCookieConversions": True or False, # Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.
+              "includeAttributedIPConversions": True or False, # Include conversions that have no cookie, but do have an exposure path.
+            },
+          },
+          "fileName": "A String", # The filename used when generating report files for this report.
+          "delivery": { # The report's email delivery settings.
+            "message": "A String", # The message to be sent with each email.
+            "emailOwnerDeliveryType": "A String", # The type of delivery for the owner to receive, if enabled.
+            "recipients": [ # The list of recipients to which to email the report.
+              { # Represents a recipient.
+                "kind": "dfareporting#recipient", # The kind of resource this is, in this case dfareporting#recipient.
+                "deliveryType": "A String", # The delivery type for the recipient.
+                "email": "A String", # The email address of the recipient.
+              },
+            ],
+            "emailOwner": True or False, # Whether the report should be emailed to the report owner.
+          },
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "criteria": { # The report criteria for a report of type "STANDARD".
+            "activities": { # Represents an activity group. # Activity group.
+              "kind": "dfareporting#activities", # The kind of resource this is, in this case dfareporting#activities.
+              "filters": [ # List of activity filters. The dimension values need to be all either of type "dfa:activity" or "dfa:activityGroup".
+                { # Represents a DimensionValue resource.
+                  "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+                  "value": "A String", # The value of the dimension.
+                  "dimensionName": "A String", # The name of the dimension.
+                  "etag": "A String", # The eTag of this response for caching purposes.
+                  "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+                  "id": "A String", # The ID associated with the value if available.
+                },
+              ],
+              "metricNames": [ # List of names of floodlight activity metrics.
+                "A String",
+              ],
+            },
+            "dimensions": [ # The list of standard dimensions the report should include.
+              { # Represents a sorted dimension.
+                "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+                "name": "A String", # The name of the dimension.
+                "sortOrder": "A String", # An optional sort order for the dimension column.
+              },
+            ],
+            "metricNames": [ # The list of names of metrics the report should include.
+              "A String",
+            ],
+            "dateRange": { # Represents a date range. # The date range for which this report should be run.
+              "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+              "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+              "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+              "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+            },
+            "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+                # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+              { # Represents a DimensionValue resource.
+                "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+                "value": "A String", # The value of the dimension.
+                "dimensionName": "A String", # The name of the dimension.
+                "etag": "A String", # The eTag of this response for caching purposes.
+                "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+                "id": "A String", # The ID associated with the value if available.
+              },
+            ],
+            "customRichMediaEvents": { # Represents a Custom Rich Media Events group. # Custom Rich Media Events group.
+              "kind": "dfareporting#customRichMediaEvents", # The kind of resource this is, in this case dfareporting#customRichMediaEvents.
+              "filteredEventIds": [ # List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.
+                { # Represents a DimensionValue resource.
+                  "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+                  "value": "A String", # The value of the dimension.
+                  "dimensionName": "A String", # The name of the dimension.
+                  "etag": "A String", # The eTag of this response for caching purposes.
+                  "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+                  "id": "A String", # The ID associated with the value if available.
+                },
+              ],
+            },
+          },
+          "id": "A String", # The unique ID identifying this report resource.
+          "lastModifiedTime": "A String", # The timestamp (in milliseconds since epoch) of when this report was last modified.
+          "type": "A String", # The type of the report.
+          "crossDimensionReachCriteria": { # The report criteria for a report of type "CROSS_DIMENSION_REACH".
+            "breakdown": [ # The list of dimensions the report should include.
+              { # Represents a sorted dimension.
+                "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+                "name": "A String", # The name of the dimension.
+                "sortOrder": "A String", # An optional sort order for the dimension column.
+              },
+            ],
+            "overlapMetricNames": [ # The list of names of overlap metrics the report should include.
+              "A String",
+            ],
+            "metricNames": [ # The list of names of metrics the report should include.
+              "A String",
+            ],
+            "dateRange": { # Represents a date range. # The date range this report should be run for.
+              "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+              "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+              "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+              "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+            },
+            "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+              { # Represents a DimensionValue resource.
+                "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+                "value": "A String", # The value of the dimension.
+                "dimensionName": "A String", # The name of the dimension.
+                "etag": "A String", # The eTag of this response for caching purposes.
+                "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+                "id": "A String", # The ID associated with the value if available.
+              },
+            ],
+            "pivoted": True or False, # Whether the report is pivoted or not. Defaults to true.
+            "dimension": "A String", # The dimension option.
+          },
+          "accountId": "A String", # The account ID to which this report belongs.
+        },
+    ],
+    "kind": "dfareporting#reportList", # The kind of list this is, in this case dfareporting#reportList.
+    "etag": "A String", # The eTag of this response for caching purposes.
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, reportId, body) +
Updates a report. This method supports patch semantics.
+
+Args:
+  profileId: string, The DFA user profile ID. (required)
+  reportId: string, The ID of the report. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Represents a Report resource.
+    "pathToConversionCriteria": { # The report criteria for a report of type "PATH_TO_CONVERSION".
+      "conversionDimensions": [ # The list of conversion dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "metricNames": [ # The list of names of metrics the report should include.
+        "A String",
+      ],
+      "dateRange": { # Represents a date range. # The date range this report should be run for.
+        "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+        "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+      },
+      "reportProperties": { # The properties of the report.
+        "clicksLookbackWindow": 42, # DFA checks to see if a click interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.
+        "pivotOnInteractionPath": True or False, # Enable pivoting on interaction path.
+        "impressionsLookbackWindow": 42, # DFA checks to see if an impression interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.
+        "includeUnattributedIPConversions": True or False, # Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.
+        "includeUnattributedCookieConversions": True or False, # Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.
+        "maximumInteractionGap": 42, # The maximum amount of time that can take place between interactions (clicks or impressions) by the same user. Valid values: 1-90.
+        "includeAttributedIPConversions": True or False, # Deprecated: has no effect.
+        "maximumClickInteractions": 42, # The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.
+        "maximumImpressionInteractions": 42, # The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.
+      },
+      "perInteractionDimensions": [ # The list of per interaction dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "activityFilters": [ # The list of 'dfa:activity' values to filter on.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "customRichMediaEvents": [ # The list of custom rich media events to include.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "floodlightConfigId": { # Represents a DimensionValue resource. # The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "customFloodlightVariables": [ # The list of custom floodlight variables the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+    },
+    "kind": "dfareporting#report", # The kind of resource this is, in this case dfareporting#report.
+    "subAccountId": "A String", # The subaccount ID to which this report belongs if applicable.
+    "name": "A String", # The name of the report.
+    "schedule": { # The report's schedule. Can only be set if the report's 'dateRange' is a relative date range and the relative date range is not "TODAY".
+      "startDate": "A String", # Start date of date range for which scheduled reports should be run.
+      "runsOnDayOfMonth": "A String", # Enum to define for "MONTHLY" scheduled reports whether reports should be repeated on the same day of the month as "startDate" or the same day of the week of the month.
+          # Example: If 'startDate' is Monday, April 2nd 2012 (2012-04-02), "DAY_OF_MONTH" would run subsequent reports on the 2nd of every Month, and "WEEK_OF_MONTH" would run subsequent reports on the first Monday of the month.
+      "every": 42, # Defines every how many days, weeks or months the report should be run. Needs to be set when "repeats" is either "DAILY", "WEEKLY" or "MONTHLY".
+      "expirationDate": "A String", # The expiration date when the scheduled report stops running.
+      "active": True or False, # Whether the schedule is active or not. Must be set to either true or false.
+      "repeats": "A String", # The interval for which the report is repeated. Note:
+          # - "DAILY" also requires field "every" to be set.
+          # - "WEEKLY" also requires fields "every" and "repeatsOnWeekDays" to be set.
+          # - "MONTHLY" also requires fields "every" and "runsOnDayOfMonth" to be set.
+      "repeatsOnWeekDays": [ # List of week days "WEEKLY" on which scheduled reports should run.
+        "A String",
+      ],
+    },
+    "format": "A String", # The output format of the report. If not specified, default format is "CSV". Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. "CSV" will then be the fallback format.
+    "ownerProfileId": "A String", # The user profile id of the owner of this report.
+    "reachCriteria": { # The report criteria for a report of type "REACH".
+      "activities": { # Represents an activity group. # Activity group.
+        "kind": "dfareporting#activities", # The kind of resource this is, in this case dfareporting#activities.
+        "filters": [ # List of activity filters. The dimension values need to be all either of type "dfa:activity" or "dfa:activityGroup".
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "metricNames": [ # List of names of floodlight activity metrics.
+          "A String",
+        ],
+      },
+      "dimensions": [ # The list of dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "metricNames": [ # The list of names of metrics the report should include.
+        "A String",
+      ],
+      "dateRange": { # Represents a date range. # The date range this report should be run for.
+        "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+        "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+      },
+      "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+          # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "reachByFrequencyMetricNames": [ # The list of names of  Reach By Frequency metrics the report should include.
+        "A String",
+      ],
+      "customRichMediaEvents": { # Represents a Custom Rich Media Events group. # Custom Rich Media Events group.
+        "kind": "dfareporting#customRichMediaEvents", # The kind of resource this is, in this case dfareporting#customRichMediaEvents.
+        "filteredEventIds": [ # List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+      },
+      "enableAllDimensionCombinations": True or False, # Whether to enable all reach dimension combinations in the report. Defaults to false. If enabled, the date range of the report should be within the last three months.
+    },
+    "floodlightCriteria": { # The report criteria for a report of type "FLOODLIGHT".
+      "dimensions": [ # The list of dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "metricNames": [ # The list of names of metrics the report should include.
+        "A String",
+      ],
+      "dateRange": { # Represents a date range. # The date range this report should be run for.
+        "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+        "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+      },
+      "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+          # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "floodlightConfigId": { # Represents a DimensionValue resource. # The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "customRichMediaEvents": [ # The list of custom rich media events to include.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "reportProperties": { # The properties of the report.
+        "includeUnattributedIPConversions": True or False, # Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.
+        "includeUnattributedCookieConversions": True or False, # Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.
+        "includeAttributedIPConversions": True or False, # Include conversions that have no cookie, but do have an exposure path.
+      },
+    },
+    "fileName": "A String", # The filename used when generating report files for this report.
+    "delivery": { # The report's email delivery settings.
+      "message": "A String", # The message to be sent with each email.
+      "emailOwnerDeliveryType": "A String", # The type of delivery for the owner to receive, if enabled.
+      "recipients": [ # The list of recipients to which to email the report.
+        { # Represents a recipient.
+          "kind": "dfareporting#recipient", # The kind of resource this is, in this case dfareporting#recipient.
+          "deliveryType": "A String", # The delivery type for the recipient.
+          "email": "A String", # The email address of the recipient.
+        },
+      ],
+      "emailOwner": True or False, # Whether the report should be emailed to the report owner.
+    },
+    "etag": "A String", # The eTag of this response for caching purposes.
+    "criteria": { # The report criteria for a report of type "STANDARD".
+      "activities": { # Represents an activity group. # Activity group.
+        "kind": "dfareporting#activities", # The kind of resource this is, in this case dfareporting#activities.
+        "filters": [ # List of activity filters. The dimension values need to be all either of type "dfa:activity" or "dfa:activityGroup".
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "metricNames": [ # List of names of floodlight activity metrics.
+          "A String",
+        ],
+      },
+      "dimensions": [ # The list of standard dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "metricNames": [ # The list of names of metrics the report should include.
+        "A String",
+      ],
+      "dateRange": { # Represents a date range. # The date range for which this report should be run.
+        "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+        "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+      },
+      "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+          # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "customRichMediaEvents": { # Represents a Custom Rich Media Events group. # Custom Rich Media Events group.
+        "kind": "dfareporting#customRichMediaEvents", # The kind of resource this is, in this case dfareporting#customRichMediaEvents.
+        "filteredEventIds": [ # List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+      },
+    },
+    "id": "A String", # The unique ID identifying this report resource.
+    "lastModifiedTime": "A String", # The timestamp (in milliseconds since epoch) of when this report was last modified.
+    "type": "A String", # The type of the report.
+    "crossDimensionReachCriteria": { # The report criteria for a report of type "CROSS_DIMENSION_REACH".
+      "breakdown": [ # The list of dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "overlapMetricNames": [ # The list of names of overlap metrics the report should include.
+        "A String",
+      ],
+      "metricNames": [ # The list of names of metrics the report should include.
+        "A String",
+      ],
+      "dateRange": { # Represents a date range. # The date range this report should be run for.
+        "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+        "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+      },
+      "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "pivoted": True or False, # Whether the report is pivoted or not. Defaults to true.
+      "dimension": "A String", # The dimension option.
+    },
+    "accountId": "A String", # The account ID to which this report belongs.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Represents a Report resource.
+      "pathToConversionCriteria": { # The report criteria for a report of type "PATH_TO_CONVERSION".
+        "conversionDimensions": [ # The list of conversion dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "metricNames": [ # The list of names of metrics the report should include.
+          "A String",
+        ],
+        "dateRange": { # Represents a date range. # The date range this report should be run for.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "reportProperties": { # The properties of the report.
+          "clicksLookbackWindow": 42, # DFA checks to see if a click interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.
+          "pivotOnInteractionPath": True or False, # Enable pivoting on interaction path.
+          "impressionsLookbackWindow": 42, # DFA checks to see if an impression interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.
+          "includeUnattributedIPConversions": True or False, # Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.
+          "includeUnattributedCookieConversions": True or False, # Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.
+          "maximumInteractionGap": 42, # The maximum amount of time that can take place between interactions (clicks or impressions) by the same user. Valid values: 1-90.
+          "includeAttributedIPConversions": True or False, # Deprecated: has no effect.
+          "maximumClickInteractions": 42, # The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.
+          "maximumImpressionInteractions": 42, # The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.
+        },
+        "perInteractionDimensions": [ # The list of per interaction dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "activityFilters": [ # The list of 'dfa:activity' values to filter on.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "customRichMediaEvents": [ # The list of custom rich media events to include.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "floodlightConfigId": { # Represents a DimensionValue resource. # The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+        "customFloodlightVariables": [ # The list of custom floodlight variables the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+      },
+      "kind": "dfareporting#report", # The kind of resource this is, in this case dfareporting#report.
+      "subAccountId": "A String", # The subaccount ID to which this report belongs if applicable.
+      "name": "A String", # The name of the report.
+      "schedule": { # The report's schedule. Can only be set if the report's 'dateRange' is a relative date range and the relative date range is not "TODAY".
+        "startDate": "A String", # Start date of date range for which scheduled reports should be run.
+        "runsOnDayOfMonth": "A String", # Enum to define for "MONTHLY" scheduled reports whether reports should be repeated on the same day of the month as "startDate" or the same day of the week of the month.
+            # Example: If 'startDate' is Monday, April 2nd 2012 (2012-04-02), "DAY_OF_MONTH" would run subsequent reports on the 2nd of every Month, and "WEEK_OF_MONTH" would run subsequent reports on the first Monday of the month.
+        "every": 42, # Defines every how many days, weeks or months the report should be run. Needs to be set when "repeats" is either "DAILY", "WEEKLY" or "MONTHLY".
+        "expirationDate": "A String", # The expiration date when the scheduled report stops running.
+        "active": True or False, # Whether the schedule is active or not. Must be set to either true or false.
+        "repeats": "A String", # The interval for which the report is repeated. Note:
+            # - "DAILY" also requires field "every" to be set.
+            # - "WEEKLY" also requires fields "every" and "repeatsOnWeekDays" to be set.
+            # - "MONTHLY" also requires fields "every" and "runsOnDayOfMonth" to be set.
+        "repeatsOnWeekDays": [ # List of week days "WEEKLY" on which scheduled reports should run.
+          "A String",
+        ],
+      },
+      "format": "A String", # The output format of the report. If not specified, default format is "CSV". Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. "CSV" will then be the fallback format.
+      "ownerProfileId": "A String", # The user profile id of the owner of this report.
+      "reachCriteria": { # The report criteria for a report of type "REACH".
+        "activities": { # Represents an activity group. # Activity group.
+          "kind": "dfareporting#activities", # The kind of resource this is, in this case dfareporting#activities.
+          "filters": [ # List of activity filters. The dimension values need to be all either of type "dfa:activity" or "dfa:activityGroup".
+            { # Represents a DimensionValue resource.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+          ],
+          "metricNames": [ # List of names of floodlight activity metrics.
+            "A String",
+          ],
+        },
+        "dimensions": [ # The list of dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "metricNames": [ # The list of names of metrics the report should include.
+          "A String",
+        ],
+        "dateRange": { # Represents a date range. # The date range this report should be run for.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+            # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "reachByFrequencyMetricNames": [ # The list of names of  Reach By Frequency metrics the report should include.
+          "A String",
+        ],
+        "customRichMediaEvents": { # Represents a Custom Rich Media Events group. # Custom Rich Media Events group.
+          "kind": "dfareporting#customRichMediaEvents", # The kind of resource this is, in this case dfareporting#customRichMediaEvents.
+          "filteredEventIds": [ # List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.
+            { # Represents a DimensionValue resource.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+          ],
+        },
+        "enableAllDimensionCombinations": True or False, # Whether to enable all reach dimension combinations in the report. Defaults to false. If enabled, the date range of the report should be within the last three months.
+      },
+      "floodlightCriteria": { # The report criteria for a report of type "FLOODLIGHT".
+        "dimensions": [ # The list of dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "metricNames": [ # The list of names of metrics the report should include.
+          "A String",
+        ],
+        "dateRange": { # Represents a date range. # The date range this report should be run for.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+            # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "floodlightConfigId": { # Represents a DimensionValue resource. # The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+        "customRichMediaEvents": [ # The list of custom rich media events to include.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "reportProperties": { # The properties of the report.
+          "includeUnattributedIPConversions": True or False, # Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.
+          "includeUnattributedCookieConversions": True or False, # Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.
+          "includeAttributedIPConversions": True or False, # Include conversions that have no cookie, but do have an exposure path.
+        },
+      },
+      "fileName": "A String", # The filename used when generating report files for this report.
+      "delivery": { # The report's email delivery settings.
+        "message": "A String", # The message to be sent with each email.
+        "emailOwnerDeliveryType": "A String", # The type of delivery for the owner to receive, if enabled.
+        "recipients": [ # The list of recipients to which to email the report.
+          { # Represents a recipient.
+            "kind": "dfareporting#recipient", # The kind of resource this is, in this case dfareporting#recipient.
+            "deliveryType": "A String", # The delivery type for the recipient.
+            "email": "A String", # The email address of the recipient.
+          },
+        ],
+        "emailOwner": True or False, # Whether the report should be emailed to the report owner.
+      },
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "criteria": { # The report criteria for a report of type "STANDARD".
+        "activities": { # Represents an activity group. # Activity group.
+          "kind": "dfareporting#activities", # The kind of resource this is, in this case dfareporting#activities.
+          "filters": [ # List of activity filters. The dimension values need to be all either of type "dfa:activity" or "dfa:activityGroup".
+            { # Represents a DimensionValue resource.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+          ],
+          "metricNames": [ # List of names of floodlight activity metrics.
+            "A String",
+          ],
+        },
+        "dimensions": [ # The list of standard dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "metricNames": [ # The list of names of metrics the report should include.
+          "A String",
+        ],
+        "dateRange": { # Represents a date range. # The date range for which this report should be run.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+            # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "customRichMediaEvents": { # Represents a Custom Rich Media Events group. # Custom Rich Media Events group.
+          "kind": "dfareporting#customRichMediaEvents", # The kind of resource this is, in this case dfareporting#customRichMediaEvents.
+          "filteredEventIds": [ # List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.
+            { # Represents a DimensionValue resource.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+          ],
+        },
+      },
+      "id": "A String", # The unique ID identifying this report resource.
+      "lastModifiedTime": "A String", # The timestamp (in milliseconds since epoch) of when this report was last modified.
+      "type": "A String", # The type of the report.
+      "crossDimensionReachCriteria": { # The report criteria for a report of type "CROSS_DIMENSION_REACH".
+        "breakdown": [ # The list of dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "overlapMetricNames": [ # The list of names of overlap metrics the report should include.
+          "A String",
+        ],
+        "metricNames": [ # The list of names of metrics the report should include.
+          "A String",
+        ],
+        "dateRange": { # Represents a date range. # The date range this report should be run for.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "pivoted": True or False, # Whether the report is pivoted or not. Defaults to true.
+        "dimension": "A String", # The dimension option.
+      },
+      "accountId": "A String", # The account ID to which this report belongs.
+    }
+
+ +
+ run(profileId, reportId, synchronous=None) +
Runs a report.
+
+Args:
+  profileId: string, The DFA profile ID. (required)
+  reportId: string, The ID of the report. (required)
+  synchronous: boolean, If set and true, tries to run the report synchronously.
+
+Returns:
+  An object of the form:
+
+    { # Represents a File resource. A file contains the metadata for a report run. It shows the status of the run and holds the URLs to the generated report data if the run is finished and the status is "REPORT_AVAILABLE".
+    "status": "A String", # The status of the report file.
+    "kind": "dfareporting#file", # The kind of resource this is, in this case dfareporting#file.
+    "format": "A String", # The output format of the report. Only available once the file is available.
+    "dateRange": { # Represents a date range. # The date range for which the file has report data. The date range will always be the absolute date range for which the report is run.
+      "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+      "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+      "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+      "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+    },
+    "fileName": "A String", # The filename of the file.
+    "etag": "A String", # The eTag of this response for caching purposes.
+    "reportId": "A String", # The ID of the report this file was generated from.
+    "urls": { # The URLs where the completed report file can be downloaded.
+      "browserUrl": "A String", # The URL for downloading the report data through a browser.
+      "apiUrl": "A String", # The URL for downloading the report data through the API.
+    },
+    "lastModifiedTime": "A String", # The timestamp in milliseconds since epoch when this file was last modified.
+    "id": "A String", # The unique ID of this report file.
+  }
+
+ +
+ update(profileId, reportId, body) +
Updates a report.
+
+Args:
+  profileId: string, The DFA user profile ID. (required)
+  reportId: string, The ID of the report. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Represents a Report resource.
+    "pathToConversionCriteria": { # The report criteria for a report of type "PATH_TO_CONVERSION".
+      "conversionDimensions": [ # The list of conversion dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "metricNames": [ # The list of names of metrics the report should include.
+        "A String",
+      ],
+      "dateRange": { # Represents a date range. # The date range this report should be run for.
+        "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+        "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+      },
+      "reportProperties": { # The properties of the report.
+        "clicksLookbackWindow": 42, # DFA checks to see if a click interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.
+        "pivotOnInteractionPath": True or False, # Enable pivoting on interaction path.
+        "impressionsLookbackWindow": 42, # DFA checks to see if an impression interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.
+        "includeUnattributedIPConversions": True or False, # Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.
+        "includeUnattributedCookieConversions": True or False, # Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.
+        "maximumInteractionGap": 42, # The maximum amount of time that can take place between interactions (clicks or impressions) by the same user. Valid values: 1-90.
+        "includeAttributedIPConversions": True or False, # Deprecated: has no effect.
+        "maximumClickInteractions": 42, # The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.
+        "maximumImpressionInteractions": 42, # The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.
+      },
+      "perInteractionDimensions": [ # The list of per interaction dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "activityFilters": [ # The list of 'dfa:activity' values to filter on.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "customRichMediaEvents": [ # The list of custom rich media events to include.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "floodlightConfigId": { # Represents a DimensionValue resource. # The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "customFloodlightVariables": [ # The list of custom floodlight variables the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+    },
+    "kind": "dfareporting#report", # The kind of resource this is, in this case dfareporting#report.
+    "subAccountId": "A String", # The subaccount ID to which this report belongs if applicable.
+    "name": "A String", # The name of the report.
+    "schedule": { # The report's schedule. Can only be set if the report's 'dateRange' is a relative date range and the relative date range is not "TODAY".
+      "startDate": "A String", # Start date of date range for which scheduled reports should be run.
+      "runsOnDayOfMonth": "A String", # Enum to define for "MONTHLY" scheduled reports whether reports should be repeated on the same day of the month as "startDate" or the same day of the week of the month.
+          # Example: If 'startDate' is Monday, April 2nd 2012 (2012-04-02), "DAY_OF_MONTH" would run subsequent reports on the 2nd of every Month, and "WEEK_OF_MONTH" would run subsequent reports on the first Monday of the month.
+      "every": 42, # Defines every how many days, weeks or months the report should be run. Needs to be set when "repeats" is either "DAILY", "WEEKLY" or "MONTHLY".
+      "expirationDate": "A String", # The expiration date when the scheduled report stops running.
+      "active": True or False, # Whether the schedule is active or not. Must be set to either true or false.
+      "repeats": "A String", # The interval for which the report is repeated. Note:
+          # - "DAILY" also requires field "every" to be set.
+          # - "WEEKLY" also requires fields "every" and "repeatsOnWeekDays" to be set.
+          # - "MONTHLY" also requires fields "every" and "runsOnDayOfMonth" to be set.
+      "repeatsOnWeekDays": [ # List of week days "WEEKLY" on which scheduled reports should run.
+        "A String",
+      ],
+    },
+    "format": "A String", # The output format of the report. If not specified, default format is "CSV". Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. "CSV" will then be the fallback format.
+    "ownerProfileId": "A String", # The user profile id of the owner of this report.
+    "reachCriteria": { # The report criteria for a report of type "REACH".
+      "activities": { # Represents an activity group. # Activity group.
+        "kind": "dfareporting#activities", # The kind of resource this is, in this case dfareporting#activities.
+        "filters": [ # List of activity filters. The dimension values need to be all either of type "dfa:activity" or "dfa:activityGroup".
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "metricNames": [ # List of names of floodlight activity metrics.
+          "A String",
+        ],
+      },
+      "dimensions": [ # The list of dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "metricNames": [ # The list of names of metrics the report should include.
+        "A String",
+      ],
+      "dateRange": { # Represents a date range. # The date range this report should be run for.
+        "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+        "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+      },
+      "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+          # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "reachByFrequencyMetricNames": [ # The list of names of  Reach By Frequency metrics the report should include.
+        "A String",
+      ],
+      "customRichMediaEvents": { # Represents a Custom Rich Media Events group. # Custom Rich Media Events group.
+        "kind": "dfareporting#customRichMediaEvents", # The kind of resource this is, in this case dfareporting#customRichMediaEvents.
+        "filteredEventIds": [ # List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+      },
+      "enableAllDimensionCombinations": True or False, # Whether to enable all reach dimension combinations in the report. Defaults to false. If enabled, the date range of the report should be within the last three months.
+    },
+    "floodlightCriteria": { # The report criteria for a report of type "FLOODLIGHT".
+      "dimensions": [ # The list of dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "metricNames": [ # The list of names of metrics the report should include.
+        "A String",
+      ],
+      "dateRange": { # Represents a date range. # The date range this report should be run for.
+        "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+        "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+      },
+      "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+          # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "floodlightConfigId": { # Represents a DimensionValue resource. # The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "customRichMediaEvents": [ # The list of custom rich media events to include.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "reportProperties": { # The properties of the report.
+        "includeUnattributedIPConversions": True or False, # Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.
+        "includeUnattributedCookieConversions": True or False, # Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.
+        "includeAttributedIPConversions": True or False, # Include conversions that have no cookie, but do have an exposure path.
+      },
+    },
+    "fileName": "A String", # The filename used when generating report files for this report.
+    "delivery": { # The report's email delivery settings.
+      "message": "A String", # The message to be sent with each email.
+      "emailOwnerDeliveryType": "A String", # The type of delivery for the owner to receive, if enabled.
+      "recipients": [ # The list of recipients to which to email the report.
+        { # Represents a recipient.
+          "kind": "dfareporting#recipient", # The kind of resource this is, in this case dfareporting#recipient.
+          "deliveryType": "A String", # The delivery type for the recipient.
+          "email": "A String", # The email address of the recipient.
+        },
+      ],
+      "emailOwner": True or False, # Whether the report should be emailed to the report owner.
+    },
+    "etag": "A String", # The eTag of this response for caching purposes.
+    "criteria": { # The report criteria for a report of type "STANDARD".
+      "activities": { # Represents an activity group. # Activity group.
+        "kind": "dfareporting#activities", # The kind of resource this is, in this case dfareporting#activities.
+        "filters": [ # List of activity filters. The dimension values need to be all either of type "dfa:activity" or "dfa:activityGroup".
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "metricNames": [ # List of names of floodlight activity metrics.
+          "A String",
+        ],
+      },
+      "dimensions": [ # The list of standard dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "metricNames": [ # The list of names of metrics the report should include.
+        "A String",
+      ],
+      "dateRange": { # Represents a date range. # The date range for which this report should be run.
+        "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+        "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+      },
+      "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+          # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "customRichMediaEvents": { # Represents a Custom Rich Media Events group. # Custom Rich Media Events group.
+        "kind": "dfareporting#customRichMediaEvents", # The kind of resource this is, in this case dfareporting#customRichMediaEvents.
+        "filteredEventIds": [ # List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+      },
+    },
+    "id": "A String", # The unique ID identifying this report resource.
+    "lastModifiedTime": "A String", # The timestamp (in milliseconds since epoch) of when this report was last modified.
+    "type": "A String", # The type of the report.
+    "crossDimensionReachCriteria": { # The report criteria for a report of type "CROSS_DIMENSION_REACH".
+      "breakdown": [ # The list of dimensions the report should include.
+        { # Represents a sorted dimension.
+          "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+          "name": "A String", # The name of the dimension.
+          "sortOrder": "A String", # An optional sort order for the dimension column.
+        },
+      ],
+      "overlapMetricNames": [ # The list of names of overlap metrics the report should include.
+        "A String",
+      ],
+      "metricNames": [ # The list of names of metrics the report should include.
+        "A String",
+      ],
+      "dateRange": { # Represents a date range. # The date range this report should be run for.
+        "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+        "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+        "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+      },
+      "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+        { # Represents a DimensionValue resource.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+      ],
+      "pivoted": True or False, # Whether the report is pivoted or not. Defaults to true.
+      "dimension": "A String", # The dimension option.
+    },
+    "accountId": "A String", # The account ID to which this report belongs.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Represents a Report resource.
+      "pathToConversionCriteria": { # The report criteria for a report of type "PATH_TO_CONVERSION".
+        "conversionDimensions": [ # The list of conversion dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "metricNames": [ # The list of names of metrics the report should include.
+          "A String",
+        ],
+        "dateRange": { # Represents a date range. # The date range this report should be run for.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "reportProperties": { # The properties of the report.
+          "clicksLookbackWindow": 42, # DFA checks to see if a click interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.
+          "pivotOnInteractionPath": True or False, # Enable pivoting on interaction path.
+          "impressionsLookbackWindow": 42, # DFA checks to see if an impression interaction occurred within the specified period of time before a conversion. By default the value is pulled from Floodlight or you can manually enter a custom value. Valid values: 1-90.
+          "includeUnattributedIPConversions": True or False, # Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.
+          "includeUnattributedCookieConversions": True or False, # Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.
+          "maximumInteractionGap": 42, # The maximum amount of time that can take place between interactions (clicks or impressions) by the same user. Valid values: 1-90.
+          "includeAttributedIPConversions": True or False, # Deprecated: has no effect.
+          "maximumClickInteractions": 42, # The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.
+          "maximumImpressionInteractions": 42, # The maximum number of click interactions to include in the report. Advertisers currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). If another advertiser in your network is paying for E2C, you can have up to 5 total exposures per report.
+        },
+        "perInteractionDimensions": [ # The list of per interaction dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "activityFilters": [ # The list of 'dfa:activity' values to filter on.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "customRichMediaEvents": [ # The list of custom rich media events to include.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "floodlightConfigId": { # Represents a DimensionValue resource. # The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+        "customFloodlightVariables": [ # The list of custom floodlight variables the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+      },
+      "kind": "dfareporting#report", # The kind of resource this is, in this case dfareporting#report.
+      "subAccountId": "A String", # The subaccount ID to which this report belongs if applicable.
+      "name": "A String", # The name of the report.
+      "schedule": { # The report's schedule. Can only be set if the report's 'dateRange' is a relative date range and the relative date range is not "TODAY".
+        "startDate": "A String", # Start date of date range for which scheduled reports should be run.
+        "runsOnDayOfMonth": "A String", # Enum to define for "MONTHLY" scheduled reports whether reports should be repeated on the same day of the month as "startDate" or the same day of the week of the month.
+            # Example: If 'startDate' is Monday, April 2nd 2012 (2012-04-02), "DAY_OF_MONTH" would run subsequent reports on the 2nd of every Month, and "WEEK_OF_MONTH" would run subsequent reports on the first Monday of the month.
+        "every": 42, # Defines every how many days, weeks or months the report should be run. Needs to be set when "repeats" is either "DAILY", "WEEKLY" or "MONTHLY".
+        "expirationDate": "A String", # The expiration date when the scheduled report stops running.
+        "active": True or False, # Whether the schedule is active or not. Must be set to either true or false.
+        "repeats": "A String", # The interval for which the report is repeated. Note:
+            # - "DAILY" also requires field "every" to be set.
+            # - "WEEKLY" also requires fields "every" and "repeatsOnWeekDays" to be set.
+            # - "MONTHLY" also requires fields "every" and "runsOnDayOfMonth" to be set.
+        "repeatsOnWeekDays": [ # List of week days "WEEKLY" on which scheduled reports should run.
+          "A String",
+        ],
+      },
+      "format": "A String", # The output format of the report. If not specified, default format is "CSV". Note that the actual format in the completed report file might differ if for instance the report's size exceeds the format's capabilities. "CSV" will then be the fallback format.
+      "ownerProfileId": "A String", # The user profile id of the owner of this report.
+      "reachCriteria": { # The report criteria for a report of type "REACH".
+        "activities": { # Represents an activity group. # Activity group.
+          "kind": "dfareporting#activities", # The kind of resource this is, in this case dfareporting#activities.
+          "filters": [ # List of activity filters. The dimension values need to be all either of type "dfa:activity" or "dfa:activityGroup".
+            { # Represents a DimensionValue resource.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+          ],
+          "metricNames": [ # List of names of floodlight activity metrics.
+            "A String",
+          ],
+        },
+        "dimensions": [ # The list of dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "metricNames": [ # The list of names of metrics the report should include.
+          "A String",
+        ],
+        "dateRange": { # Represents a date range. # The date range this report should be run for.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+            # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "reachByFrequencyMetricNames": [ # The list of names of  Reach By Frequency metrics the report should include.
+          "A String",
+        ],
+        "customRichMediaEvents": { # Represents a Custom Rich Media Events group. # Custom Rich Media Events group.
+          "kind": "dfareporting#customRichMediaEvents", # The kind of resource this is, in this case dfareporting#customRichMediaEvents.
+          "filteredEventIds": [ # List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.
+            { # Represents a DimensionValue resource.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+          ],
+        },
+        "enableAllDimensionCombinations": True or False, # Whether to enable all reach dimension combinations in the report. Defaults to false. If enabled, the date range of the report should be within the last three months.
+      },
+      "floodlightCriteria": { # The report criteria for a report of type "FLOODLIGHT".
+        "dimensions": [ # The list of dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "metricNames": [ # The list of names of metrics the report should include.
+          "A String",
+        ],
+        "dateRange": { # Represents a date range. # The date range this report should be run for.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+            # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "floodlightConfigId": { # Represents a DimensionValue resource. # The floodlight ID for which to show data in this report. All advertisers associated with that ID will automatically be added. The dimension of the value needs to be 'dfa:floodlightConfigId'.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+        "customRichMediaEvents": [ # The list of custom rich media events to include.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "reportProperties": { # The properties of the report.
+          "includeUnattributedIPConversions": True or False, # Include conversions that have no associated cookies and no exposures. It’s therefore impossible to know how the user was exposed to your ads during the lookback window prior to a conversion.
+          "includeUnattributedCookieConversions": True or False, # Include conversions of users with a DoubleClick cookie but without an exposure. That means the user did not click or see an ad from the advertiser within the Floodlight group, or that the interaction happened outside the lookback window.
+          "includeAttributedIPConversions": True or False, # Include conversions that have no cookie, but do have an exposure path.
+        },
+      },
+      "fileName": "A String", # The filename used when generating report files for this report.
+      "delivery": { # The report's email delivery settings.
+        "message": "A String", # The message to be sent with each email.
+        "emailOwnerDeliveryType": "A String", # The type of delivery for the owner to receive, if enabled.
+        "recipients": [ # The list of recipients to which to email the report.
+          { # Represents a recipient.
+            "kind": "dfareporting#recipient", # The kind of resource this is, in this case dfareporting#recipient.
+            "deliveryType": "A String", # The delivery type for the recipient.
+            "email": "A String", # The email address of the recipient.
+          },
+        ],
+        "emailOwner": True or False, # Whether the report should be emailed to the report owner.
+      },
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "criteria": { # The report criteria for a report of type "STANDARD".
+        "activities": { # Represents an activity group. # Activity group.
+          "kind": "dfareporting#activities", # The kind of resource this is, in this case dfareporting#activities.
+          "filters": [ # List of activity filters. The dimension values need to be all either of type "dfa:activity" or "dfa:activityGroup".
+            { # Represents a DimensionValue resource.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+          ],
+          "metricNames": [ # List of names of floodlight activity metrics.
+            "A String",
+          ],
+        },
+        "dimensions": [ # The list of standard dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "metricNames": [ # The list of names of metrics the report should include.
+          "A String",
+        ],
+        "dateRange": { # Represents a date range. # The date range for which this report should be run.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+            # Filters for different dimensions are ANDed, filters for the same dimension are grouped together and ORed.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "customRichMediaEvents": { # Represents a Custom Rich Media Events group. # Custom Rich Media Events group.
+          "kind": "dfareporting#customRichMediaEvents", # The kind of resource this is, in this case dfareporting#customRichMediaEvents.
+          "filteredEventIds": [ # List of custom rich media event IDs. Dimension values must be all of type dfa:richMediaEventTypeIdAndName.
+            { # Represents a DimensionValue resource.
+              "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+              "value": "A String", # The value of the dimension.
+              "dimensionName": "A String", # The name of the dimension.
+              "etag": "A String", # The eTag of this response for caching purposes.
+              "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+              "id": "A String", # The ID associated with the value if available.
+            },
+          ],
+        },
+      },
+      "id": "A String", # The unique ID identifying this report resource.
+      "lastModifiedTime": "A String", # The timestamp (in milliseconds since epoch) of when this report was last modified.
+      "type": "A String", # The type of the report.
+      "crossDimensionReachCriteria": { # The report criteria for a report of type "CROSS_DIMENSION_REACH".
+        "breakdown": [ # The list of dimensions the report should include.
+          { # Represents a sorted dimension.
+            "kind": "dfareporting#sortedDimension", # The kind of resource this is, in this case dfareporting#sortedDimension.
+            "name": "A String", # The name of the dimension.
+            "sortOrder": "A String", # An optional sort order for the dimension column.
+          },
+        ],
+        "overlapMetricNames": [ # The list of names of overlap metrics the report should include.
+          "A String",
+        ],
+        "metricNames": [ # The list of names of metrics the report should include.
+          "A String",
+        ],
+        "dateRange": { # Represents a date range. # The date range this report should be run for.
+          "startDate": "A String", # The start date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "kind": "dfareporting#dateRange", # The kind of resource this is, in this case dfareporting#dateRange.
+          "endDate": "A String", # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd".
+          "relativeDateRange": "A String", # The date range relative to the date of when the report is run.
+        },
+        "dimensionFilters": [ # The list of filters on which dimensions are filtered.
+          { # Represents a DimensionValue resource.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+        ],
+        "pivoted": True or False, # Whether the report is pivoted or not. Defaults to true.
+        "dimension": "A String", # The dimension option.
+      },
+      "accountId": "A String", # The account ID to which this report belongs.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.sites.html b/docs/dyn/dfareporting_v2_2.sites.html new file mode 100644 index 00000000000..fb97c687966 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.sites.html @@ -0,0 +1,667 @@ + + + +

DCM/DFA Reporting And Trafficking API . sites

+

Instance Methods

+

+ get(profileId, id)

+

Gets one site by ID.

+

+ insert(profileId, body)

+

Inserts a new site.

+

+ list(profileId, unmappedSite=None, campaignIds=None, acceptsInStreamVideoPlacements=None, pageToken=None, acceptsPublisherPaidPlacements=None, sortOrder=None, acceptsInterstitialPlacements=None, maxResults=None, adWordsSite=None, approved=None, searchString=None, subaccountId=None, directorySiteIds=None, sortField=None, ids=None)

+

Retrieves a list of sites, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, id, body)

+

Updates an existing site. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing site.

+

Method Details

+
+ get(profileId, id) +
Gets one site by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Site ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a site.
+      "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site".
+      "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account.
+      "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "siteSettings": { # Site Settings # Site-wide settings.
+        "disableBrandSafeAds": True or False, # Whether brand safe ads are disabled for this site.
+        "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site.
+        "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site.
+          "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+          "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        },
+        "disableNewCookie": True or False, # Whether new cookies are disabled for this site.
+        "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags.
+          "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
+          "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
+          "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
+          "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
+        },
+        "creativeSettings": { # Creative Settings # Site-wide creative settings.
+          "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long.
+          "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long.
+        },
+      },
+      "approved": True or False, # Whether this site is approved.
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "siteContacts": [ # Site contacts.
+        { # Site Contact
+          "firstName": "A String", # First name of this site contact.
+          "title": "A String", # Title or designation of this site contact.
+          "lastName": "A String", # Last name of this site contact.
+          "address": "A String", # Address of this site contact.
+          "email": "A String", # Email address of this site contact. This is a required field.
+          "phone": "A String", # Primary phone number of this site contact.
+          "contactType": "A String", # Site contact type.
+          "id": "A String", # ID of this site contact. This is a read-only, auto-generated field.
+        },
+      ],
+      "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field.
+      "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion.
+      "id": "A String", # ID of this site. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank.
+    }
+
+ +
+ insert(profileId, body) +
Inserts a new site.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a site.
+    "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site".
+    "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account.
+    "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "siteSettings": { # Site Settings # Site-wide settings.
+      "disableBrandSafeAds": True or False, # Whether brand safe ads are disabled for this site.
+      "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site.
+      "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site.
+        "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      },
+      "disableNewCookie": True or False, # Whether new cookies are disabled for this site.
+      "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags.
+        "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
+        "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
+        "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
+        "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
+      },
+      "creativeSettings": { # Creative Settings # Site-wide creative settings.
+        "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long.
+        "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long.
+      },
+    },
+    "approved": True or False, # Whether this site is approved.
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "siteContacts": [ # Site contacts.
+      { # Site Contact
+        "firstName": "A String", # First name of this site contact.
+        "title": "A String", # Title or designation of this site contact.
+        "lastName": "A String", # Last name of this site contact.
+        "address": "A String", # Address of this site contact.
+        "email": "A String", # Email address of this site contact. This is a required field.
+        "phone": "A String", # Primary phone number of this site contact.
+        "contactType": "A String", # Site contact type.
+        "id": "A String", # ID of this site contact. This is a read-only, auto-generated field.
+      },
+    ],
+    "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field.
+    "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion.
+    "id": "A String", # ID of this site. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a site.
+      "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site".
+      "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account.
+      "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "siteSettings": { # Site Settings # Site-wide settings.
+        "disableBrandSafeAds": True or False, # Whether brand safe ads are disabled for this site.
+        "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site.
+        "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site.
+          "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+          "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        },
+        "disableNewCookie": True or False, # Whether new cookies are disabled for this site.
+        "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags.
+          "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
+          "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
+          "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
+          "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
+        },
+        "creativeSettings": { # Creative Settings # Site-wide creative settings.
+          "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long.
+          "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long.
+        },
+      },
+      "approved": True or False, # Whether this site is approved.
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "siteContacts": [ # Site contacts.
+        { # Site Contact
+          "firstName": "A String", # First name of this site contact.
+          "title": "A String", # Title or designation of this site contact.
+          "lastName": "A String", # Last name of this site contact.
+          "address": "A String", # Address of this site contact.
+          "email": "A String", # Email address of this site contact. This is a required field.
+          "phone": "A String", # Primary phone number of this site contact.
+          "contactType": "A String", # Site contact type.
+          "id": "A String", # ID of this site contact. This is a read-only, auto-generated field.
+        },
+      ],
+      "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field.
+      "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion.
+      "id": "A String", # ID of this site. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank.
+    }
+
+ +
+ list(profileId, unmappedSite=None, campaignIds=None, acceptsInStreamVideoPlacements=None, pageToken=None, acceptsPublisherPaidPlacements=None, sortOrder=None, acceptsInterstitialPlacements=None, maxResults=None, adWordsSite=None, approved=None, searchString=None, subaccountId=None, directorySiteIds=None, sortField=None, ids=None) +
Retrieves a list of sites, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  unmappedSite: boolean, Select only sites that have not been mapped to a directory site.
+  campaignIds: string, Select only sites with these campaign IDs. (repeated)
+  acceptsInStreamVideoPlacements: boolean, This search filter is no longer supported and will have no effect on the results returned.
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  acceptsPublisherPaidPlacements: boolean, Select only sites that accept publisher paid placements.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+  acceptsInterstitialPlacements: boolean, This search filter is no longer supported and will have no effect on the results returned.
+  maxResults: integer, Maximum number of results to return.
+  adWordsSite: boolean, Select only AdWords sites.
+  approved: boolean, Select only approved sites.
+  searchString: string, Allows searching for objects by name, ID or keyName. Wildcards (*) are allowed. For example, "site*2015" will return objects with names like "site June 2015", "site April 2015", or simply "site 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "site" will match objects with name "my site", "site 2015", or simply "site".
+  subaccountId: string, Select only sites with this subaccount ID.
+  directorySiteIds: string, Select only sites with these directory site IDs. (repeated)
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  ids: string, Select only sites with these IDs. (repeated)
+
+Returns:
+  An object of the form:
+
+    { # Site List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#sitesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#sitesListResponse".
+    "sites": [ # Site collection.
+      { # Contains properties of a site.
+          "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site".
+          "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank.
+          "name": "A String", # Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account.
+          "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "siteSettings": { # Site Settings # Site-wide settings.
+            "disableBrandSafeAds": True or False, # Whether brand safe ads are disabled for this site.
+            "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site.
+            "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site.
+              "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+              "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+            },
+            "disableNewCookie": True or False, # Whether new cookies are disabled for this site.
+            "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags.
+              "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
+              "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
+              "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
+              "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
+            },
+            "creativeSettings": { # Creative Settings # Site-wide creative settings.
+              "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long.
+              "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long.
+            },
+          },
+          "approved": True or False, # Whether this site is approved.
+          "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field.
+            "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+            "value": "A String", # The value of the dimension.
+            "dimensionName": "A String", # The name of the dimension.
+            "etag": "A String", # The eTag of this response for caching purposes.
+            "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+            "id": "A String", # The ID associated with the value if available.
+          },
+          "siteContacts": [ # Site contacts.
+            { # Site Contact
+              "firstName": "A String", # First name of this site contact.
+              "title": "A String", # Title or designation of this site contact.
+              "lastName": "A String", # Last name of this site contact.
+              "address": "A String", # Address of this site contact.
+              "email": "A String", # Email address of this site contact. This is a required field.
+              "phone": "A String", # Primary phone number of this site contact.
+              "contactType": "A String", # Site contact type.
+              "id": "A String", # ID of this site contact. This is a read-only, auto-generated field.
+            },
+          ],
+          "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field.
+          "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion.
+          "id": "A String", # ID of this site. This is a read-only, auto-generated field.
+          "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank.
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, id, body) +
Updates an existing site. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Site ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a site.
+    "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site".
+    "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account.
+    "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "siteSettings": { # Site Settings # Site-wide settings.
+      "disableBrandSafeAds": True or False, # Whether brand safe ads are disabled for this site.
+      "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site.
+      "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site.
+        "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      },
+      "disableNewCookie": True or False, # Whether new cookies are disabled for this site.
+      "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags.
+        "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
+        "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
+        "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
+        "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
+      },
+      "creativeSettings": { # Creative Settings # Site-wide creative settings.
+        "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long.
+        "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long.
+      },
+    },
+    "approved": True or False, # Whether this site is approved.
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "siteContacts": [ # Site contacts.
+      { # Site Contact
+        "firstName": "A String", # First name of this site contact.
+        "title": "A String", # Title or designation of this site contact.
+        "lastName": "A String", # Last name of this site contact.
+        "address": "A String", # Address of this site contact.
+        "email": "A String", # Email address of this site contact. This is a required field.
+        "phone": "A String", # Primary phone number of this site contact.
+        "contactType": "A String", # Site contact type.
+        "id": "A String", # ID of this site contact. This is a read-only, auto-generated field.
+      },
+    ],
+    "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field.
+    "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion.
+    "id": "A String", # ID of this site. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a site.
+      "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site".
+      "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account.
+      "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "siteSettings": { # Site Settings # Site-wide settings.
+        "disableBrandSafeAds": True or False, # Whether brand safe ads are disabled for this site.
+        "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site.
+        "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site.
+          "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+          "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        },
+        "disableNewCookie": True or False, # Whether new cookies are disabled for this site.
+        "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags.
+          "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
+          "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
+          "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
+          "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
+        },
+        "creativeSettings": { # Creative Settings # Site-wide creative settings.
+          "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long.
+          "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long.
+        },
+      },
+      "approved": True or False, # Whether this site is approved.
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "siteContacts": [ # Site contacts.
+        { # Site Contact
+          "firstName": "A String", # First name of this site contact.
+          "title": "A String", # Title or designation of this site contact.
+          "lastName": "A String", # Last name of this site contact.
+          "address": "A String", # Address of this site contact.
+          "email": "A String", # Email address of this site contact. This is a required field.
+          "phone": "A String", # Primary phone number of this site contact.
+          "contactType": "A String", # Site contact type.
+          "id": "A String", # ID of this site contact. This is a read-only, auto-generated field.
+        },
+      ],
+      "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field.
+      "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion.
+      "id": "A String", # ID of this site. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank.
+    }
+
+ +
+ update(profileId, body) +
Updates an existing site.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a site.
+    "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site".
+    "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account.
+    "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "siteSettings": { # Site Settings # Site-wide settings.
+      "disableBrandSafeAds": True or False, # Whether brand safe ads are disabled for this site.
+      "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site.
+      "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site.
+        "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+      },
+      "disableNewCookie": True or False, # Whether new cookies are disabled for this site.
+      "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags.
+        "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
+        "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
+        "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
+        "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
+      },
+      "creativeSettings": { # Creative Settings # Site-wide creative settings.
+        "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long.
+        "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long.
+      },
+    },
+    "approved": True or False, # Whether this site is approved.
+    "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "siteContacts": [ # Site contacts.
+      { # Site Contact
+        "firstName": "A String", # First name of this site contact.
+        "title": "A String", # Title or designation of this site contact.
+        "lastName": "A String", # Last name of this site contact.
+        "address": "A String", # Address of this site contact.
+        "email": "A String", # Email address of this site contact. This is a required field.
+        "phone": "A String", # Primary phone number of this site contact.
+        "contactType": "A String", # Site contact type.
+        "id": "A String", # ID of this site contact. This is a read-only, auto-generated field.
+      },
+    ],
+    "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field.
+    "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion.
+    "id": "A String", # ID of this site. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a site.
+      "kind": "dfareporting#site", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#site".
+      "subaccountId": "A String", # Subaccount ID of this site. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account.
+      "directorySiteIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "siteSettings": { # Site Settings # Site-wide settings.
+        "disableBrandSafeAds": True or False, # Whether brand safe ads are disabled for this site.
+        "activeViewOptOut": True or False, # Whether active view creatives are disabled for this site.
+        "lookbackConfiguration": { # Lookback configuration settings. # Lookback window settings for this site.
+          "clickDuration": 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+          "postImpressionActivitiesDuration": 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used.
+        },
+        "disableNewCookie": True or False, # Whether new cookies are disabled for this site.
+        "tagSetting": { # Tag Settings # Configuration settings for dynamic and image floodlight tags.
+          "includeClickThroughUrls": True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
+          "includeClickTracking": True or False, # Whether click-tracking string should be included in the tags.
+          "additionalKeyValues": "A String", # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
+          "keywordOption": "A String", # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
+        },
+        "creativeSettings": { # Creative Settings # Site-wide creative settings.
+          "iFrameHeader": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long.
+          "iFrameFooter": "A String", # Header text for iFrames for this site. Must be less than or equal to 2000 characters long.
+        },
+      },
+      "approved": True or False, # Whether this site is approved.
+      "idDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field.
+        "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+        "value": "A String", # The value of the dimension.
+        "dimensionName": "A String", # The name of the dimension.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+        "id": "A String", # The ID associated with the value if available.
+      },
+      "siteContacts": [ # Site contacts.
+        { # Site Contact
+          "firstName": "A String", # First name of this site contact.
+          "title": "A String", # Title or designation of this site contact.
+          "lastName": "A String", # Last name of this site contact.
+          "address": "A String", # Address of this site contact.
+          "email": "A String", # Email address of this site contact. This is a required field.
+          "phone": "A String", # Primary phone number of this site contact.
+          "contactType": "A String", # Site contact type.
+          "id": "A String", # ID of this site contact. This is a read-only, auto-generated field.
+        },
+      ],
+      "keyName": "A String", # Key name of this site. This is a read-only, auto-generated field.
+      "directorySiteId": "A String", # Directory site associated with this site. This is a required field that is read-only after insertion.
+      "id": "A String", # ID of this site. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this site. This is a read-only field that can be left blank.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.sizes.html b/docs/dyn/dfareporting_v2_2.sizes.html new file mode 100644 index 00000000000..5d1dd302d3c --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.sizes.html @@ -0,0 +1,165 @@ + + + +

DCM/DFA Reporting And Trafficking API . sizes

+

Instance Methods

+

+ get(profileId, id)

+

Gets one size by ID.

+

+ insert(profileId, body)

+

Inserts a new size.

+

+ list(profileId, iabStandard=None, width=None, ids=None, height=None)

+

Retrieves a list of sizes, possibly filtered.

+

Method Details

+
+ get(profileId, id) +
Gets one size by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Size ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Represents the dimensions of ads, placements, creatives, or creative assets.
+    "width": 42, # Width of this size.
+    "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+    "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+    "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+    "height": 42, # Height of this size.
+  }
+
+ +
+ insert(profileId, body) +
Inserts a new size.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Represents the dimensions of ads, placements, creatives, or creative assets.
+  "width": 42, # Width of this size.
+  "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+  "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+  "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+  "height": 42, # Height of this size.
+}
+
+
+Returns:
+  An object of the form:
+
+    { # Represents the dimensions of ads, placements, creatives, or creative assets.
+    "width": 42, # Width of this size.
+    "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+    "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+    "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+    "height": 42, # Height of this size.
+  }
+
+ +
+ list(profileId, iabStandard=None, width=None, ids=None, height=None) +
Retrieves a list of sizes, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  iabStandard: boolean, Select only IAB standard sizes.
+  width: integer, Select only sizes with this width.
+  ids: string, Select only sizes with these IDs. (repeated)
+  height: integer, Select only sizes with this height.
+
+Returns:
+  An object of the form:
+
+    { # Size List Response
+    "kind": "dfareporting#sizesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#sizesListResponse".
+    "sizes": [ # Size collection.
+      { # Represents the dimensions of ads, placements, creatives, or creative assets.
+        "width": 42, # Width of this size.
+        "kind": "dfareporting#size", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#size".
+        "iab": True or False, # IAB standard size. This is a read-only, auto-generated field.
+        "id": "A String", # ID of this size. This is a read-only, auto-generated field.
+        "height": 42, # Height of this size.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.subaccounts.html b/docs/dyn/dfareporting_v2_2.subaccounts.html new file mode 100644 index 00000000000..3deccbba1e6 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.subaccounts.html @@ -0,0 +1,274 @@ + + + +

DCM/DFA Reporting And Trafficking API . subaccounts

+

Instance Methods

+

+ get(profileId, id)

+

Gets one subaccount by ID.

+

+ insert(profileId, body)

+

Inserts a new subaccount.

+

+ list(profileId, searchString=None, pageToken=None, sortField=None, ids=None, maxResults=None, sortOrder=None)

+

Gets a list of subaccounts, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, id, body)

+

Updates an existing subaccount. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing subaccount.

+

Method Details

+
+ get(profileId, id) +
Gets one subaccount by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Subaccount ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DCM subaccount.
+      "kind": "dfareporting#subaccount", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#subaccount".
+      "availablePermissionIds": [ # IDs of the available user role permissions for this subaccount.
+        "A String",
+      ],
+      "id": "A String", # ID of this subaccount. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this subaccount. This is a required field. Must be less than 128 characters long and be unique among subaccounts of the same account.
+      "accountId": "A String", # ID of the account that contains this subaccount. This is a read-only field that can be left blank.
+    }
+
+ +
+ insert(profileId, body) +
Inserts a new subaccount.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a DCM subaccount.
+    "kind": "dfareporting#subaccount", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#subaccount".
+    "availablePermissionIds": [ # IDs of the available user role permissions for this subaccount.
+      "A String",
+    ],
+    "id": "A String", # ID of this subaccount. This is a read-only, auto-generated field.
+    "name": "A String", # Name of this subaccount. This is a required field. Must be less than 128 characters long and be unique among subaccounts of the same account.
+    "accountId": "A String", # ID of the account that contains this subaccount. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DCM subaccount.
+      "kind": "dfareporting#subaccount", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#subaccount".
+      "availablePermissionIds": [ # IDs of the available user role permissions for this subaccount.
+        "A String",
+      ],
+      "id": "A String", # ID of this subaccount. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this subaccount. This is a required field. Must be less than 128 characters long and be unique among subaccounts of the same account.
+      "accountId": "A String", # ID of the account that contains this subaccount. This is a read-only field that can be left blank.
+    }
+
+ +
+ list(profileId, searchString=None, pageToken=None, sortField=None, ids=None, maxResults=None, sortOrder=None) +
Gets a list of subaccounts, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  searchString: string, Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "subaccount*2015" will return objects with names like "subaccount June 2015", "subaccount April 2015", or simply "subaccount 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "subaccount" will match objects with name "my subaccount", "subaccount 2015", or simply "subaccount".
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  ids: string, Select only subaccounts with these IDs. (repeated)
+  maxResults: integer, Maximum number of results to return.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+
+Returns:
+  An object of the form:
+
+    { # Subaccount List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#subaccountsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#subaccountsListResponse".
+    "subaccounts": [ # Subaccount collection.
+      { # Contains properties of a DCM subaccount.
+          "kind": "dfareporting#subaccount", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#subaccount".
+          "availablePermissionIds": [ # IDs of the available user role permissions for this subaccount.
+            "A String",
+          ],
+          "id": "A String", # ID of this subaccount. This is a read-only, auto-generated field.
+          "name": "A String", # Name of this subaccount. This is a required field. Must be less than 128 characters long and be unique among subaccounts of the same account.
+          "accountId": "A String", # ID of the account that contains this subaccount. This is a read-only field that can be left blank.
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, id, body) +
Updates an existing subaccount. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Subaccount ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a DCM subaccount.
+    "kind": "dfareporting#subaccount", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#subaccount".
+    "availablePermissionIds": [ # IDs of the available user role permissions for this subaccount.
+      "A String",
+    ],
+    "id": "A String", # ID of this subaccount. This is a read-only, auto-generated field.
+    "name": "A String", # Name of this subaccount. This is a required field. Must be less than 128 characters long and be unique among subaccounts of the same account.
+    "accountId": "A String", # ID of the account that contains this subaccount. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DCM subaccount.
+      "kind": "dfareporting#subaccount", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#subaccount".
+      "availablePermissionIds": [ # IDs of the available user role permissions for this subaccount.
+        "A String",
+      ],
+      "id": "A String", # ID of this subaccount. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this subaccount. This is a required field. Must be less than 128 characters long and be unique among subaccounts of the same account.
+      "accountId": "A String", # ID of the account that contains this subaccount. This is a read-only field that can be left blank.
+    }
+
+ +
+ update(profileId, body) +
Updates an existing subaccount.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of a DCM subaccount.
+    "kind": "dfareporting#subaccount", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#subaccount".
+    "availablePermissionIds": [ # IDs of the available user role permissions for this subaccount.
+      "A String",
+    ],
+    "id": "A String", # ID of this subaccount. This is a read-only, auto-generated field.
+    "name": "A String", # Name of this subaccount. This is a required field. Must be less than 128 characters long and be unique among subaccounts of the same account.
+    "accountId": "A String", # ID of the account that contains this subaccount. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a DCM subaccount.
+      "kind": "dfareporting#subaccount", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#subaccount".
+      "availablePermissionIds": [ # IDs of the available user role permissions for this subaccount.
+        "A String",
+      ],
+      "id": "A String", # ID of this subaccount. This is a read-only, auto-generated field.
+      "name": "A String", # Name of this subaccount. This is a required field. Must be less than 128 characters long and be unique among subaccounts of the same account.
+      "accountId": "A String", # ID of the account that contains this subaccount. This is a read-only field that can be left blank.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.targetableRemarketingLists.html b/docs/dyn/dfareporting_v2_2.targetableRemarketingLists.html new file mode 100644 index 00000000000..a9bec559614 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.targetableRemarketingLists.html @@ -0,0 +1,187 @@ + + + +

DCM/DFA Reporting And Trafficking API . targetableRemarketingLists

+

Instance Methods

+

+ get(profileId, id)

+

Gets one remarketing list by ID.

+

+ list(profileId, advertiserId, name=None, pageToken=None, sortField=None, maxResults=None, active=None, sortOrder=None)

+

Retrieves a list of targetable remarketing lists, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ get(profileId, id) +
Gets one remarketing list by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, Remarketing list ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a targetable remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource is a read-only view of a remarketing list to be used to faciliate targeting ads to specific lists. Remarketing lists that are owned by your advertisers and those that are shared to your advertisers or account are accessible via this resource. To manage remarketing lists that are owned by your advertisers, use the RemarketingLists resource.
+    "kind": "dfareporting#targetableRemarketingList", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#targetableRemarketingList".
+    "subaccountId": "A String", # Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
+    "description": "A String", # Targetable remarketing list description.
+    "listSize": "A String", # Number of users currently in the list. This is a read-only field.
+    "lifeSpan": "A String", # Number of days that a user should remain in the targetable remarketing list without an impression.
+    "name": "A String", # Name of the targetable remarketing list. Is no greater than 128 characters long.
+    "advertiserId": "A String", # Dimension value for the advertiser ID that owns this targetable remarketing list.
+    "listSource": "A String", # Product from which this targetable remarketing list was originated.
+    "active": True or False, # Whether this targetable remarketing list is active.
+    "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser.
+      "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+      "value": "A String", # The value of the dimension.
+      "dimensionName": "A String", # The name of the dimension.
+      "etag": "A String", # The eTag of this response for caching purposes.
+      "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+      "id": "A String", # The ID associated with the value if available.
+    },
+    "id": "A String", # Targetable remarketing list ID.
+    "accountId": "A String", # Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
+  }
+
+ +
+ list(profileId, advertiserId, name=None, pageToken=None, sortField=None, maxResults=None, active=None, sortOrder=None) +
Retrieves a list of targetable remarketing lists, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  advertiserId: string, Select only targetable remarketing lists targetable by these advertisers. (required)
+  name: string, Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "remarketing list*2015" will return objects with names like "remarketing list June 2015", "remarketing list April 2015", or simply "remarketing list 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "remarketing list" will match objects with name "my remarketing list", "remarketing list 2015", or simply "remarketing list".
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+  maxResults: integer, Maximum number of results to return.
+  active: boolean, Select only active or only inactive targetable remarketing lists.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+
+Returns:
+  An object of the form:
+
+    { # Targetable remarketing list response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#targetableRemarketingListsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#targetableRemarketingListsListResponse".
+    "targetableRemarketingLists": [ # Targetable remarketing list collection.
+      { # Contains properties of a targetable remarketing list. Remarketing enables you to create lists of users who have performed specific actions on a site, then target ads to members of those lists. This resource is a read-only view of a remarketing list to be used to faciliate targeting ads to specific lists. Remarketing lists that are owned by your advertisers and those that are shared to your advertisers or account are accessible via this resource. To manage remarketing lists that are owned by your advertisers, use the RemarketingLists resource.
+        "kind": "dfareporting#targetableRemarketingList", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#targetableRemarketingList".
+        "subaccountId": "A String", # Subaccount ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
+        "description": "A String", # Targetable remarketing list description.
+        "listSize": "A String", # Number of users currently in the list. This is a read-only field.
+        "lifeSpan": "A String", # Number of days that a user should remain in the targetable remarketing list without an impression.
+        "name": "A String", # Name of the targetable remarketing list. Is no greater than 128 characters long.
+        "advertiserId": "A String", # Dimension value for the advertiser ID that owns this targetable remarketing list.
+        "listSource": "A String", # Product from which this targetable remarketing list was originated.
+        "active": True or False, # Whether this targetable remarketing list is active.
+        "advertiserIdDimensionValue": { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser.
+          "kind": "dfareporting#dimensionValue", # The kind of resource this is, in this case dfareporting#dimensionValue.
+          "value": "A String", # The value of the dimension.
+          "dimensionName": "A String", # The name of the dimension.
+          "etag": "A String", # The eTag of this response for caching purposes.
+          "matchType": "A String", # Determines how the 'value' field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow a matchType other than EXACT.
+          "id": "A String", # The ID associated with the value if available.
+        },
+        "id": "A String", # Targetable remarketing list ID.
+        "accountId": "A String", # Account ID of this remarketing list. This is a read-only, auto-generated field that is only returned in GET requests.
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.userProfiles.html b/docs/dyn/dfareporting_v2_2.userProfiles.html new file mode 100644 index 00000000000..d6f0695de29 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.userProfiles.html @@ -0,0 +1,133 @@ + + + +

DCM/DFA Reporting And Trafficking API . userProfiles

+

Instance Methods

+

+ get(profileId)

+

Gets one user profile by ID.

+

+ list()

+

Retrieves list of user profiles for a user.

+

Method Details

+
+ get(profileId) +
Gets one user profile by ID.
+
+Args:
+  profileId: string, The user profile ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Represents a UserProfile resource.
+    "userName": "A String", # The user name.
+    "kind": "dfareporting#userProfile", # The kind of resource this is, in this case dfareporting#userProfile.
+    "subAccountId": "A String", # The sub account ID this profile belongs to if applicable.
+    "accountName": "A String", # The account name this profile belongs to.
+    "etag": "A String", # The eTag of this response for caching purposes.
+    "subAccountName": "A String", # The sub account name this profile belongs to if applicable.
+    "profileId": "A String", # The unique ID of the user profile.
+    "accountId": "A String", # The account ID to which this profile belongs.
+  }
+
+ +
+ list() +
Retrieves list of user profiles for a user.
+
+Args:
+
+Returns:
+  An object of the form:
+
+    { # Represents the list of user profiles.
+    "items": [ # The user profiles returned in this response.
+      { # Represents a UserProfile resource.
+        "userName": "A String", # The user name.
+        "kind": "dfareporting#userProfile", # The kind of resource this is, in this case dfareporting#userProfile.
+        "subAccountId": "A String", # The sub account ID this profile belongs to if applicable.
+        "accountName": "A String", # The account name this profile belongs to.
+        "etag": "A String", # The eTag of this response for caching purposes.
+        "subAccountName": "A String", # The sub account name this profile belongs to if applicable.
+        "profileId": "A String", # The unique ID of the user profile.
+        "accountId": "A String", # The account ID to which this profile belongs.
+      },
+    ],
+    "kind": "dfareporting#userProfileList", # The kind of list this is, in this case dfareporting#userProfileList.
+    "etag": "A String", # The eTag of this response for caching purposes.
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.userRolePermissionGroups.html b/docs/dyn/dfareporting_v2_2.userRolePermissionGroups.html new file mode 100644 index 00000000000..8c22278f229 --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.userRolePermissionGroups.html @@ -0,0 +1,124 @@ + + + +

DCM/DFA Reporting And Trafficking API . userRolePermissionGroups

+

Instance Methods

+

+ get(profileId, id)

+

Gets one user role permission group by ID.

+

+ list(profileId)

+

Gets a list of all supported user role permission groups.

+

Method Details

+
+ get(profileId, id) +
Gets one user role permission group by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, User role permission group ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Represents a grouping of related user role permissions.
+    "kind": "dfareporting#userRolePermissionGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermissionGroup".
+    "id": "A String", # ID of this user role permission.
+    "name": "A String", # Name of this user role permission group.
+  }
+
+ +
+ list(profileId) +
Gets a list of all supported user role permission groups.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+
+Returns:
+  An object of the form:
+
+    { # User Role Permission Group List Response
+    "userRolePermissionGroups": [ # User role permission group collection.
+      { # Represents a grouping of related user role permissions.
+        "kind": "dfareporting#userRolePermissionGroup", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermissionGroup".
+        "id": "A String", # ID of this user role permission.
+        "name": "A String", # Name of this user role permission group.
+      },
+    ],
+    "kind": "dfareporting#userRolePermissionGroupsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermissionGroupsListResponse".
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.userRolePermissions.html b/docs/dyn/dfareporting_v2_2.userRolePermissions.html new file mode 100644 index 00000000000..a3580cec11a --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.userRolePermissions.html @@ -0,0 +1,129 @@ + + + +

DCM/DFA Reporting And Trafficking API . userRolePermissions

+

Instance Methods

+

+ get(profileId, id)

+

Gets one user role permission by ID.

+

+ list(profileId, ids=None)

+

Gets a list of user role permissions, possibly filtered.

+

Method Details

+
+ get(profileId, id) +
Gets one user role permission by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, User role permission ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of a user role permission.
+    "permissionGroupId": "A String", # ID of the permission group that this user role permission belongs to.
+    "kind": "dfareporting#userRolePermission", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermission".
+    "availability": "A String", # Levels of availability for a user role permission.
+    "name": "A String", # Name of this user role permission.
+    "id": "A String", # ID of this user role permission.
+  }
+
+ +
+ list(profileId, ids=None) +
Gets a list of user role permissions, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  ids: string, Select only user role permissions with these IDs. (repeated)
+
+Returns:
+  An object of the form:
+
+    { # User Role Permission List Response
+    "userRolePermissions": [ # User role permission collection.
+      { # Contains properties of a user role permission.
+        "permissionGroupId": "A String", # ID of the permission group that this user role permission belongs to.
+        "kind": "dfareporting#userRolePermission", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermission".
+        "availability": "A String", # Levels of availability for a user role permission.
+        "name": "A String", # Name of this user role permission.
+        "id": "A String", # ID of this user role permission.
+      },
+    ],
+    "kind": "dfareporting#userRolePermissionsListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermissionsListResponse".
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/dfareporting_v2_2.userRoles.html b/docs/dyn/dfareporting_v2_2.userRoles.html new file mode 100644 index 00000000000..624c5f156cf --- /dev/null +++ b/docs/dyn/dfareporting_v2_2.userRoles.html @@ -0,0 +1,361 @@ + + + +

DCM/DFA Reporting And Trafficking API . userRoles

+

Instance Methods

+

+ delete(profileId, id)

+

Deletes an existing user role.

+

+ get(profileId, id)

+

Gets one user role by ID.

+

+ insert(profileId, body)

+

Inserts a new user role.

+

+ list(profileId, searchString=None, subaccountId=None, pageToken=None, ids=None, maxResults=None, accountUserRoleOnly=None, sortOrder=None, sortField=None)

+

Retrieves a list of user roles, possibly filtered.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(profileId, id, body)

+

Updates an existing user role. This method supports patch semantics.

+

+ update(profileId, body)

+

Updates an existing user role.

+

Method Details

+
+ delete(profileId, id) +
Deletes an existing user role.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, User role ID. (required)
+
+
+ +
+ get(profileId, id) +
Gets one user role by ID.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, User role ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of auser role, which is used to manage user access.
+      "defaultUserRole": True or False, # Whether this is a default user role. Default user roles are created by the system for the account/subaccount and cannot be modified or deleted. Each default user role comes with a basic set of preassigned permissions.
+      "kind": "dfareporting#userRole", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRole".
+      "subaccountId": "A String", # Subaccount ID of this user role. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this user role. This is a required field. Must be less than 256 characters long. If this user role is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this user role is a top-level user role, and the name must be unique among top-level user roles of the same account.
+      "parentUserRoleId": "A String", # ID of the user role that this user role is based on or copied from. This is a required field.
+      "permissions": [ # List of permissions associated with this user role.
+        { # Contains properties of a user role permission.
+          "permissionGroupId": "A String", # ID of the permission group that this user role permission belongs to.
+          "kind": "dfareporting#userRolePermission", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermission".
+          "availability": "A String", # Levels of availability for a user role permission.
+          "name": "A String", # Name of this user role permission.
+          "id": "A String", # ID of this user role permission.
+        },
+      ],
+      "id": "A String", # ID of this user role. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this user role. This is a read-only field that can be left blank.
+    }
+
+ +
+ insert(profileId, body) +
Inserts a new user role.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of auser role, which is used to manage user access.
+    "defaultUserRole": True or False, # Whether this is a default user role. Default user roles are created by the system for the account/subaccount and cannot be modified or deleted. Each default user role comes with a basic set of preassigned permissions.
+    "kind": "dfareporting#userRole", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRole".
+    "subaccountId": "A String", # Subaccount ID of this user role. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this user role. This is a required field. Must be less than 256 characters long. If this user role is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this user role is a top-level user role, and the name must be unique among top-level user roles of the same account.
+    "parentUserRoleId": "A String", # ID of the user role that this user role is based on or copied from. This is a required field.
+    "permissions": [ # List of permissions associated with this user role.
+      { # Contains properties of a user role permission.
+        "permissionGroupId": "A String", # ID of the permission group that this user role permission belongs to.
+        "kind": "dfareporting#userRolePermission", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermission".
+        "availability": "A String", # Levels of availability for a user role permission.
+        "name": "A String", # Name of this user role permission.
+        "id": "A String", # ID of this user role permission.
+      },
+    ],
+    "id": "A String", # ID of this user role. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this user role. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of auser role, which is used to manage user access.
+      "defaultUserRole": True or False, # Whether this is a default user role. Default user roles are created by the system for the account/subaccount and cannot be modified or deleted. Each default user role comes with a basic set of preassigned permissions.
+      "kind": "dfareporting#userRole", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRole".
+      "subaccountId": "A String", # Subaccount ID of this user role. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this user role. This is a required field. Must be less than 256 characters long. If this user role is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this user role is a top-level user role, and the name must be unique among top-level user roles of the same account.
+      "parentUserRoleId": "A String", # ID of the user role that this user role is based on or copied from. This is a required field.
+      "permissions": [ # List of permissions associated with this user role.
+        { # Contains properties of a user role permission.
+          "permissionGroupId": "A String", # ID of the permission group that this user role permission belongs to.
+          "kind": "dfareporting#userRolePermission", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermission".
+          "availability": "A String", # Levels of availability for a user role permission.
+          "name": "A String", # Name of this user role permission.
+          "id": "A String", # ID of this user role permission.
+        },
+      ],
+      "id": "A String", # ID of this user role. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this user role. This is a read-only field that can be left blank.
+    }
+
+ +
+ list(profileId, searchString=None, subaccountId=None, pageToken=None, ids=None, maxResults=None, accountUserRoleOnly=None, sortOrder=None, sortField=None) +
Retrieves a list of user roles, possibly filtered.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  searchString: string, Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "userrole*2015" will return objects with names like "userrole June 2015", "userrole April 2015", or simply "userrole 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "userrole" will match objects with name "my userrole", "userrole 2015", or simply "userrole".
+  subaccountId: string, Select only user roles that belong to this subaccount.
+  pageToken: string, Value of the nextPageToken from the previous result page.
+  ids: string, Select only user roles with the specified IDs. (repeated)
+  maxResults: integer, Maximum number of results to return.
+  accountUserRoleOnly: boolean, Select only account level user roles not associated with any specific subaccount.
+  sortOrder: string, Order of sorted results, default is ASCENDING.
+    Allowed values
+      ASCENDING - 
+      DESCENDING - 
+  sortField: string, Field by which to sort the list.
+    Allowed values
+      ID - 
+      NAME - 
+
+Returns:
+  An object of the form:
+
+    { # User Role List Response
+    "nextPageToken": "A String", # Pagination token to be used for the next list operation.
+    "kind": "dfareporting#userRolesListResponse", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolesListResponse".
+    "userRoles": [ # User role collection.
+      { # Contains properties of auser role, which is used to manage user access.
+          "defaultUserRole": True or False, # Whether this is a default user role. Default user roles are created by the system for the account/subaccount and cannot be modified or deleted. Each default user role comes with a basic set of preassigned permissions.
+          "kind": "dfareporting#userRole", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRole".
+          "subaccountId": "A String", # Subaccount ID of this user role. This is a read-only field that can be left blank.
+          "name": "A String", # Name of this user role. This is a required field. Must be less than 256 characters long. If this user role is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this user role is a top-level user role, and the name must be unique among top-level user roles of the same account.
+          "parentUserRoleId": "A String", # ID of the user role that this user role is based on or copied from. This is a required field.
+          "permissions": [ # List of permissions associated with this user role.
+            { # Contains properties of a user role permission.
+              "permissionGroupId": "A String", # ID of the permission group that this user role permission belongs to.
+              "kind": "dfareporting#userRolePermission", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermission".
+              "availability": "A String", # Levels of availability for a user role permission.
+              "name": "A String", # Name of this user role permission.
+              "id": "A String", # ID of this user role permission.
+            },
+          ],
+          "id": "A String", # ID of this user role. This is a read-only, auto-generated field.
+          "accountId": "A String", # Account ID of this user role. This is a read-only field that can be left blank.
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(profileId, id, body) +
Updates an existing user role. This method supports patch semantics.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  id: string, User role ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of auser role, which is used to manage user access.
+    "defaultUserRole": True or False, # Whether this is a default user role. Default user roles are created by the system for the account/subaccount and cannot be modified or deleted. Each default user role comes with a basic set of preassigned permissions.
+    "kind": "dfareporting#userRole", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRole".
+    "subaccountId": "A String", # Subaccount ID of this user role. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this user role. This is a required field. Must be less than 256 characters long. If this user role is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this user role is a top-level user role, and the name must be unique among top-level user roles of the same account.
+    "parentUserRoleId": "A String", # ID of the user role that this user role is based on or copied from. This is a required field.
+    "permissions": [ # List of permissions associated with this user role.
+      { # Contains properties of a user role permission.
+        "permissionGroupId": "A String", # ID of the permission group that this user role permission belongs to.
+        "kind": "dfareporting#userRolePermission", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermission".
+        "availability": "A String", # Levels of availability for a user role permission.
+        "name": "A String", # Name of this user role permission.
+        "id": "A String", # ID of this user role permission.
+      },
+    ],
+    "id": "A String", # ID of this user role. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this user role. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of auser role, which is used to manage user access.
+      "defaultUserRole": True or False, # Whether this is a default user role. Default user roles are created by the system for the account/subaccount and cannot be modified or deleted. Each default user role comes with a basic set of preassigned permissions.
+      "kind": "dfareporting#userRole", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRole".
+      "subaccountId": "A String", # Subaccount ID of this user role. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this user role. This is a required field. Must be less than 256 characters long. If this user role is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this user role is a top-level user role, and the name must be unique among top-level user roles of the same account.
+      "parentUserRoleId": "A String", # ID of the user role that this user role is based on or copied from. This is a required field.
+      "permissions": [ # List of permissions associated with this user role.
+        { # Contains properties of a user role permission.
+          "permissionGroupId": "A String", # ID of the permission group that this user role permission belongs to.
+          "kind": "dfareporting#userRolePermission", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermission".
+          "availability": "A String", # Levels of availability for a user role permission.
+          "name": "A String", # Name of this user role permission.
+          "id": "A String", # ID of this user role permission.
+        },
+      ],
+      "id": "A String", # ID of this user role. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this user role. This is a read-only field that can be left blank.
+    }
+
+ +
+ update(profileId, body) +
Updates an existing user role.
+
+Args:
+  profileId: string, User profile ID associated with this request. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Contains properties of auser role, which is used to manage user access.
+    "defaultUserRole": True or False, # Whether this is a default user role. Default user roles are created by the system for the account/subaccount and cannot be modified or deleted. Each default user role comes with a basic set of preassigned permissions.
+    "kind": "dfareporting#userRole", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRole".
+    "subaccountId": "A String", # Subaccount ID of this user role. This is a read-only field that can be left blank.
+    "name": "A String", # Name of this user role. This is a required field. Must be less than 256 characters long. If this user role is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this user role is a top-level user role, and the name must be unique among top-level user roles of the same account.
+    "parentUserRoleId": "A String", # ID of the user role that this user role is based on or copied from. This is a required field.
+    "permissions": [ # List of permissions associated with this user role.
+      { # Contains properties of a user role permission.
+        "permissionGroupId": "A String", # ID of the permission group that this user role permission belongs to.
+        "kind": "dfareporting#userRolePermission", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermission".
+        "availability": "A String", # Levels of availability for a user role permission.
+        "name": "A String", # Name of this user role permission.
+        "id": "A String", # ID of this user role permission.
+      },
+    ],
+    "id": "A String", # ID of this user role. This is a read-only, auto-generated field.
+    "accountId": "A String", # Account ID of this user role. This is a read-only field that can be left blank.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Contains properties of auser role, which is used to manage user access.
+      "defaultUserRole": True or False, # Whether this is a default user role. Default user roles are created by the system for the account/subaccount and cannot be modified or deleted. Each default user role comes with a basic set of preassigned permissions.
+      "kind": "dfareporting#userRole", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRole".
+      "subaccountId": "A String", # Subaccount ID of this user role. This is a read-only field that can be left blank.
+      "name": "A String", # Name of this user role. This is a required field. Must be less than 256 characters long. If this user role is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this user role is a top-level user role, and the name must be unique among top-level user roles of the same account.
+      "parentUserRoleId": "A String", # ID of the user role that this user role is based on or copied from. This is a required field.
+      "permissions": [ # List of permissions associated with this user role.
+        { # Contains properties of a user role permission.
+          "permissionGroupId": "A String", # ID of the permission group that this user role permission belongs to.
+          "kind": "dfareporting#userRolePermission", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRolePermission".
+          "availability": "A String", # Levels of availability for a user role permission.
+          "name": "A String", # Name of this user role permission.
+          "id": "A String", # ID of this user role permission.
+        },
+      ],
+      "id": "A String", # ID of this user role. This is a read-only, auto-generated field.
+      "accountId": "A String", # Account ID of this user role. This is a read-only field that can be left blank.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/discovery_v1.apis.html b/docs/dyn/discovery_v1.apis.html index 5fbd0cf7551..22c10dd04f2 100644 --- a/docs/dyn/discovery_v1.apis.html +++ b/docs/dyn/discovery_v1.apis.html @@ -389,6 +389,7 @@

Method Details

"name": "A String", # The name of this API. "basePath": "A String", # [DEPRECATED] The base path for REST requests. "title": "A String", # The title of this API. + "exponentialBackoffDefault": True or False, # Enable exponential backoff for suitable methods in the generated clients. "discoveryVersion": "v1", # Indicate the version of the Discovery API used to generate this doc. "documentationLink": "A String", # A link to human readable documentation for the API. }
diff --git a/docs/dyn/dns_v1.managedZones.html b/docs/dyn/dns_v1.managedZones.html index 2e94f50efac..f6bd350b8a9 100644 --- a/docs/dyn/dns_v1.managedZones.html +++ b/docs/dyn/dns_v1.managedZones.html @@ -84,7 +84,7 @@

Instance Methods

get(project, managedZone)

Fetch the representation of an existing ManagedZone.

- list(project, pageToken=None, maxResults=None)

+ list(project, pageToken=None, maxResults=None, dnsName=None)

Enumerate ManagedZones that have been created but not yet deleted.

list_next(previous_request, previous_response)

@@ -166,13 +166,14 @@

Method Details

- list(project, pageToken=None, maxResults=None) + list(project, pageToken=None, maxResults=None, dnsName=None)
Enumerate ManagedZones that have been created but not yet deleted.
 
 Args:
   project: string, Identifies the project addressed by this request. (required)
   pageToken: string, Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.
   maxResults: integer, Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.
+  dnsName: string, Restricts the list to return only zones with this domain name.
 
 Returns:
   An object of the form:
diff --git a/docs/dyn/doubleclicksearch_v2.conversion.html b/docs/dyn/doubleclicksearch_v2.conversion.html
index da35cfb35e4..79eb06b1adc 100644
--- a/docs/dyn/doubleclicksearch_v2.conversion.html
+++ b/docs/dyn/doubleclicksearch_v2.conversion.html
@@ -121,29 +121,31 @@ 

Method Details

], "adGroupId": "A String", # DS ad group ID. "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). - "attributionModel": "A String", # Attribution model name. This field is ignored. + "attributionModel": "A String", # This field is ignored. "campaignId": "A String", # DS campaign ID. "revenueMicros": "A String", # The revenue amount of this TRANSACTION conversion, in micros. "advertiserId": "A String", # DS advertiser ID. - "countMillis": "A String", # The number of conversions, formatted in millis (conversions multiplied by 1000). This field is ignored. + "countMillis": "A String", # This field is ignored. "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. "clickId": "A String", # DS click ID for the conversion. - "dsConversionId": "A String", # DS conversion ID. + "dsConversionId": "A String", # ID that DoubleClick Search generates for each conversion. "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. - "productCountry": "A String", # ISO 3166 code of the product country. + "productCountry": "A String", # The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country. "state": "A String", # The state of the conversion, that is, either ACTIVE or REMOVED. Note: state DELETED is deprecated. - "deviceType": "A String", # The type of device on which the conversion occurred. Valid values are "DESKTOP", "TABLET", "HIGH_END_MOBILE", "OTHER_DEVICE". + "deviceType": "A String", # The type of device on which the conversion occurred. "adId": "A String", # DS ad ID. - "conversionId": "A String", # Advertiser-provided ID for the conversion, also known as the order ID. + "conversionId": "A String", # For offline conversions, this is an ID provided by advertisers. Advertisers can use this property to specify an ID that is meaningful to them. If an advertiser doesn't specify a conversionId, DoubleClick Search generates one. For online conversions, DS copies the dsConversionId or floodlightOrderId into this property depending on the advertiser's Floodlight instructions. "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. - "channel": "A String", # Channel of the product: local or online. + "channel": "A String", # Sales channel for the product. Acceptable values are: + # - "local": a physical store + # - "online": an online store "productId": "A String", # The product ID (SKU). "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). "agencyId": "A String", # DS agency ID. - "storeId": "A String", # The store id for which the product was advertised, when the channel is "local". + "storeId": "A String", # The ID of the local store for which the product was advertised. Applicable only when the channel is "local". "quantityMillis": "A String", # The quantity of this conversion, in millis. "criterionId": "A String", # DS criterion (keyword) ID. - "floodlightOrderId": "A String", # The advertiser-provided order id for the conversion. + "floodlightOrderId": "A String", # The Floodlight order ID provided by the advertiser for the conversion. "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). "customMetric": [ # Custom metrics for the conversion. { # A message containing the custome metric. @@ -154,8 +156,8 @@

Method Details

"engineAccountId": "A String", # DS engine account ID. "type": "A String", # The type of the conversion, that is, either ACTION or TRANSACTION. An ACTION conversion is an action by the user that has no monetarily quantifiable value, while a TRANSACTION conversion is an action that does have a monetarily quantifiable value. Examples are email list signups (ACTION) versus ecommerce purchases (TRANSACTION). "productGroupId": "A String", # DS product group ID. - "feedId": "A String", # DS inventory feed ID. - "productLanguage": "A String", # ISO 639 code of the product language. + "inventoryAccountId": "A String", # ID that DS generates and uses to uniquely identify the inventory account that contains the product. + "productLanguage": "A String", # The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language. }, ], "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. @@ -181,29 +183,31 @@

Method Details

], "adGroupId": "A String", # DS ad group ID. "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). - "attributionModel": "A String", # Attribution model name. This field is ignored. + "attributionModel": "A String", # This field is ignored. "campaignId": "A String", # DS campaign ID. "revenueMicros": "A String", # The revenue amount of this TRANSACTION conversion, in micros. "advertiserId": "A String", # DS advertiser ID. - "countMillis": "A String", # The number of conversions, formatted in millis (conversions multiplied by 1000). This field is ignored. + "countMillis": "A String", # This field is ignored. "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. "clickId": "A String", # DS click ID for the conversion. - "dsConversionId": "A String", # DS conversion ID. + "dsConversionId": "A String", # ID that DoubleClick Search generates for each conversion. "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. - "productCountry": "A String", # ISO 3166 code of the product country. + "productCountry": "A String", # The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country. "state": "A String", # The state of the conversion, that is, either ACTIVE or REMOVED. Note: state DELETED is deprecated. - "deviceType": "A String", # The type of device on which the conversion occurred. Valid values are "DESKTOP", "TABLET", "HIGH_END_MOBILE", "OTHER_DEVICE". + "deviceType": "A String", # The type of device on which the conversion occurred. "adId": "A String", # DS ad ID. - "conversionId": "A String", # Advertiser-provided ID for the conversion, also known as the order ID. + "conversionId": "A String", # For offline conversions, this is an ID provided by advertisers. Advertisers can use this property to specify an ID that is meaningful to them. If an advertiser doesn't specify a conversionId, DoubleClick Search generates one. For online conversions, DS copies the dsConversionId or floodlightOrderId into this property depending on the advertiser's Floodlight instructions. "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. - "channel": "A String", # Channel of the product: local or online. + "channel": "A String", # Sales channel for the product. Acceptable values are: + # - "local": a physical store + # - "online": an online store "productId": "A String", # The product ID (SKU). "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). "agencyId": "A String", # DS agency ID. - "storeId": "A String", # The store id for which the product was advertised, when the channel is "local". + "storeId": "A String", # The ID of the local store for which the product was advertised. Applicable only when the channel is "local". "quantityMillis": "A String", # The quantity of this conversion, in millis. "criterionId": "A String", # DS criterion (keyword) ID. - "floodlightOrderId": "A String", # The advertiser-provided order id for the conversion. + "floodlightOrderId": "A String", # The Floodlight order ID provided by the advertiser for the conversion. "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). "customMetric": [ # Custom metrics for the conversion. { # A message containing the custome metric. @@ -214,8 +218,8 @@

Method Details

"engineAccountId": "A String", # DS engine account ID. "type": "A String", # The type of the conversion, that is, either ACTION or TRANSACTION. An ACTION conversion is an action by the user that has no monetarily quantifiable value, while a TRANSACTION conversion is an action that does have a monetarily quantifiable value. Examples are email list signups (ACTION) versus ecommerce purchases (TRANSACTION). "productGroupId": "A String", # DS product group ID. - "feedId": "A String", # DS inventory feed ID. - "productLanguage": "A String", # ISO 639 code of the product language. + "inventoryAccountId": "A String", # ID that DS generates and uses to uniquely identify the inventory account that contains the product. + "productLanguage": "A String", # The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language. }, ], "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. @@ -236,29 +240,31 @@

Method Details

], "adGroupId": "A String", # DS ad group ID. "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). - "attributionModel": "A String", # Attribution model name. This field is ignored. + "attributionModel": "A String", # This field is ignored. "campaignId": "A String", # DS campaign ID. "revenueMicros": "A String", # The revenue amount of this TRANSACTION conversion, in micros. "advertiserId": "A String", # DS advertiser ID. - "countMillis": "A String", # The number of conversions, formatted in millis (conversions multiplied by 1000). This field is ignored. + "countMillis": "A String", # This field is ignored. "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. "clickId": "A String", # DS click ID for the conversion. - "dsConversionId": "A String", # DS conversion ID. + "dsConversionId": "A String", # ID that DoubleClick Search generates for each conversion. "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. - "productCountry": "A String", # ISO 3166 code of the product country. + "productCountry": "A String", # The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country. "state": "A String", # The state of the conversion, that is, either ACTIVE or REMOVED. Note: state DELETED is deprecated. - "deviceType": "A String", # The type of device on which the conversion occurred. Valid values are "DESKTOP", "TABLET", "HIGH_END_MOBILE", "OTHER_DEVICE". + "deviceType": "A String", # The type of device on which the conversion occurred. "adId": "A String", # DS ad ID. - "conversionId": "A String", # Advertiser-provided ID for the conversion, also known as the order ID. + "conversionId": "A String", # For offline conversions, this is an ID provided by advertisers. Advertisers can use this property to specify an ID that is meaningful to them. If an advertiser doesn't specify a conversionId, DoubleClick Search generates one. For online conversions, DS copies the dsConversionId or floodlightOrderId into this property depending on the advertiser's Floodlight instructions. "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. - "channel": "A String", # Channel of the product: local or online. + "channel": "A String", # Sales channel for the product. Acceptable values are: + # - "local": a physical store + # - "online": an online store "productId": "A String", # The product ID (SKU). "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). "agencyId": "A String", # DS agency ID. - "storeId": "A String", # The store id for which the product was advertised, when the channel is "local". + "storeId": "A String", # The ID of the local store for which the product was advertised. Applicable only when the channel is "local". "quantityMillis": "A String", # The quantity of this conversion, in millis. "criterionId": "A String", # DS criterion (keyword) ID. - "floodlightOrderId": "A String", # The advertiser-provided order id for the conversion. + "floodlightOrderId": "A String", # The Floodlight order ID provided by the advertiser for the conversion. "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). "customMetric": [ # Custom metrics for the conversion. { # A message containing the custome metric. @@ -269,8 +275,8 @@

Method Details

"engineAccountId": "A String", # DS engine account ID. "type": "A String", # The type of the conversion, that is, either ACTION or TRANSACTION. An ACTION conversion is an action by the user that has no monetarily quantifiable value, while a TRANSACTION conversion is an action that does have a monetarily quantifiable value. Examples are email list signups (ACTION) versus ecommerce purchases (TRANSACTION). "productGroupId": "A String", # DS product group ID. - "feedId": "A String", # DS inventory feed ID. - "productLanguage": "A String", # ISO 639 code of the product language. + "inventoryAccountId": "A String", # ID that DS generates and uses to uniquely identify the inventory account that contains the product. + "productLanguage": "A String", # The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language. }, ], "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. @@ -303,29 +309,31 @@

Method Details

], "adGroupId": "A String", # DS ad group ID. "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). - "attributionModel": "A String", # Attribution model name. This field is ignored. + "attributionModel": "A String", # This field is ignored. "campaignId": "A String", # DS campaign ID. "revenueMicros": "A String", # The revenue amount of this TRANSACTION conversion, in micros. "advertiserId": "A String", # DS advertiser ID. - "countMillis": "A String", # The number of conversions, formatted in millis (conversions multiplied by 1000). This field is ignored. + "countMillis": "A String", # This field is ignored. "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. "clickId": "A String", # DS click ID for the conversion. - "dsConversionId": "A String", # DS conversion ID. + "dsConversionId": "A String", # ID that DoubleClick Search generates for each conversion. "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. - "productCountry": "A String", # ISO 3166 code of the product country. + "productCountry": "A String", # The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country. "state": "A String", # The state of the conversion, that is, either ACTIVE or REMOVED. Note: state DELETED is deprecated. - "deviceType": "A String", # The type of device on which the conversion occurred. Valid values are "DESKTOP", "TABLET", "HIGH_END_MOBILE", "OTHER_DEVICE". + "deviceType": "A String", # The type of device on which the conversion occurred. "adId": "A String", # DS ad ID. - "conversionId": "A String", # Advertiser-provided ID for the conversion, also known as the order ID. + "conversionId": "A String", # For offline conversions, this is an ID provided by advertisers. Advertisers can use this property to specify an ID that is meaningful to them. If an advertiser doesn't specify a conversionId, DoubleClick Search generates one. For online conversions, DS copies the dsConversionId or floodlightOrderId into this property depending on the advertiser's Floodlight instructions. "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. - "channel": "A String", # Channel of the product: local or online. + "channel": "A String", # Sales channel for the product. Acceptable values are: + # - "local": a physical store + # - "online": an online store "productId": "A String", # The product ID (SKU). "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). "agencyId": "A String", # DS agency ID. - "storeId": "A String", # The store id for which the product was advertised, when the channel is "local". + "storeId": "A String", # The ID of the local store for which the product was advertised. Applicable only when the channel is "local". "quantityMillis": "A String", # The quantity of this conversion, in millis. "criterionId": "A String", # DS criterion (keyword) ID. - "floodlightOrderId": "A String", # The advertiser-provided order id for the conversion. + "floodlightOrderId": "A String", # The Floodlight order ID provided by the advertiser for the conversion. "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). "customMetric": [ # Custom metrics for the conversion. { # A message containing the custome metric. @@ -336,8 +344,8 @@

Method Details

"engineAccountId": "A String", # DS engine account ID. "type": "A String", # The type of the conversion, that is, either ACTION or TRANSACTION. An ACTION conversion is an action by the user that has no monetarily quantifiable value, while a TRANSACTION conversion is an action that does have a monetarily quantifiable value. Examples are email list signups (ACTION) versus ecommerce purchases (TRANSACTION). "productGroupId": "A String", # DS product group ID. - "feedId": "A String", # DS inventory feed ID. - "productLanguage": "A String", # ISO 639 code of the product language. + "inventoryAccountId": "A String", # ID that DS generates and uses to uniquely identify the inventory account that contains the product. + "productLanguage": "A String", # The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language. }, ], "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. @@ -358,29 +366,31 @@

Method Details

], "adGroupId": "A String", # DS ad group ID. "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). - "attributionModel": "A String", # Attribution model name. This field is ignored. + "attributionModel": "A String", # This field is ignored. "campaignId": "A String", # DS campaign ID. "revenueMicros": "A String", # The revenue amount of this TRANSACTION conversion, in micros. "advertiserId": "A String", # DS advertiser ID. - "countMillis": "A String", # The number of conversions, formatted in millis (conversions multiplied by 1000). This field is ignored. + "countMillis": "A String", # This field is ignored. "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. "clickId": "A String", # DS click ID for the conversion. - "dsConversionId": "A String", # DS conversion ID. + "dsConversionId": "A String", # ID that DoubleClick Search generates for each conversion. "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. - "productCountry": "A String", # ISO 3166 code of the product country. + "productCountry": "A String", # The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country. "state": "A String", # The state of the conversion, that is, either ACTIVE or REMOVED. Note: state DELETED is deprecated. - "deviceType": "A String", # The type of device on which the conversion occurred. Valid values are "DESKTOP", "TABLET", "HIGH_END_MOBILE", "OTHER_DEVICE". + "deviceType": "A String", # The type of device on which the conversion occurred. "adId": "A String", # DS ad ID. - "conversionId": "A String", # Advertiser-provided ID for the conversion, also known as the order ID. + "conversionId": "A String", # For offline conversions, this is an ID provided by advertisers. Advertisers can use this property to specify an ID that is meaningful to them. If an advertiser doesn't specify a conversionId, DoubleClick Search generates one. For online conversions, DS copies the dsConversionId or floodlightOrderId into this property depending on the advertiser's Floodlight instructions. "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. - "channel": "A String", # Channel of the product: local or online. + "channel": "A String", # Sales channel for the product. Acceptable values are: + # - "local": a physical store + # - "online": an online store "productId": "A String", # The product ID (SKU). "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). "agencyId": "A String", # DS agency ID. - "storeId": "A String", # The store id for which the product was advertised, when the channel is "local". + "storeId": "A String", # The ID of the local store for which the product was advertised. Applicable only when the channel is "local". "quantityMillis": "A String", # The quantity of this conversion, in millis. "criterionId": "A String", # DS criterion (keyword) ID. - "floodlightOrderId": "A String", # The advertiser-provided order id for the conversion. + "floodlightOrderId": "A String", # The Floodlight order ID provided by the advertiser for the conversion. "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). "customMetric": [ # Custom metrics for the conversion. { # A message containing the custome metric. @@ -391,8 +401,8 @@

Method Details

"engineAccountId": "A String", # DS engine account ID. "type": "A String", # The type of the conversion, that is, either ACTION or TRANSACTION. An ACTION conversion is an action by the user that has no monetarily quantifiable value, while a TRANSACTION conversion is an action that does have a monetarily quantifiable value. Examples are email list signups (ACTION) versus ecommerce purchases (TRANSACTION). "productGroupId": "A String", # DS product group ID. - "feedId": "A String", # DS inventory feed ID. - "productLanguage": "A String", # ISO 639 code of the product language. + "inventoryAccountId": "A String", # ID that DS generates and uses to uniquely identify the inventory account that contains the product. + "productLanguage": "A String", # The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language. }, ], "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. @@ -418,29 +428,31 @@

Method Details

], "adGroupId": "A String", # DS ad group ID. "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). - "attributionModel": "A String", # Attribution model name. This field is ignored. + "attributionModel": "A String", # This field is ignored. "campaignId": "A String", # DS campaign ID. "revenueMicros": "A String", # The revenue amount of this TRANSACTION conversion, in micros. "advertiserId": "A String", # DS advertiser ID. - "countMillis": "A String", # The number of conversions, formatted in millis (conversions multiplied by 1000). This field is ignored. + "countMillis": "A String", # This field is ignored. "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. "clickId": "A String", # DS click ID for the conversion. - "dsConversionId": "A String", # DS conversion ID. + "dsConversionId": "A String", # ID that DoubleClick Search generates for each conversion. "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. - "productCountry": "A String", # ISO 3166 code of the product country. + "productCountry": "A String", # The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country. "state": "A String", # The state of the conversion, that is, either ACTIVE or REMOVED. Note: state DELETED is deprecated. - "deviceType": "A String", # The type of device on which the conversion occurred. Valid values are "DESKTOP", "TABLET", "HIGH_END_MOBILE", "OTHER_DEVICE". + "deviceType": "A String", # The type of device on which the conversion occurred. "adId": "A String", # DS ad ID. - "conversionId": "A String", # Advertiser-provided ID for the conversion, also known as the order ID. + "conversionId": "A String", # For offline conversions, this is an ID provided by advertisers. Advertisers can use this property to specify an ID that is meaningful to them. If an advertiser doesn't specify a conversionId, DoubleClick Search generates one. For online conversions, DS copies the dsConversionId or floodlightOrderId into this property depending on the advertiser's Floodlight instructions. "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. - "channel": "A String", # Channel of the product: local or online. + "channel": "A String", # Sales channel for the product. Acceptable values are: + # - "local": a physical store + # - "online": an online store "productId": "A String", # The product ID (SKU). "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). "agencyId": "A String", # DS agency ID. - "storeId": "A String", # The store id for which the product was advertised, when the channel is "local". + "storeId": "A String", # The ID of the local store for which the product was advertised. Applicable only when the channel is "local". "quantityMillis": "A String", # The quantity of this conversion, in millis. "criterionId": "A String", # DS criterion (keyword) ID. - "floodlightOrderId": "A String", # The advertiser-provided order id for the conversion. + "floodlightOrderId": "A String", # The Floodlight order ID provided by the advertiser for the conversion. "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). "customMetric": [ # Custom metrics for the conversion. { # A message containing the custome metric. @@ -451,8 +463,8 @@

Method Details

"engineAccountId": "A String", # DS engine account ID. "type": "A String", # The type of the conversion, that is, either ACTION or TRANSACTION. An ACTION conversion is an action by the user that has no monetarily quantifiable value, while a TRANSACTION conversion is an action that does have a monetarily quantifiable value. Examples are email list signups (ACTION) versus ecommerce purchases (TRANSACTION). "productGroupId": "A String", # DS product group ID. - "feedId": "A String", # DS inventory feed ID. - "productLanguage": "A String", # ISO 639 code of the product language. + "inventoryAccountId": "A String", # ID that DS generates and uses to uniquely identify the inventory account that contains the product. + "productLanguage": "A String", # The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language. }, ], "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. @@ -473,29 +485,31 @@

Method Details

], "adGroupId": "A String", # DS ad group ID. "segmentationName": "A String", # The friendly segmentation identifier (for example, DoubleClick Search Floodlight activity name). - "attributionModel": "A String", # Attribution model name. This field is ignored. + "attributionModel": "A String", # This field is ignored. "campaignId": "A String", # DS campaign ID. "revenueMicros": "A String", # The revenue amount of this TRANSACTION conversion, in micros. "advertiserId": "A String", # DS advertiser ID. - "countMillis": "A String", # The number of conversions, formatted in millis (conversions multiplied by 1000). This field is ignored. + "countMillis": "A String", # This field is ignored. "conversionTimestamp": "A String", # The time at which the conversion took place, in epoch millis UTC. "clickId": "A String", # DS click ID for the conversion. - "dsConversionId": "A String", # DS conversion ID. + "dsConversionId": "A String", # ID that DoubleClick Search generates for each conversion. "currencyCode": "A String", # The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. - "productCountry": "A String", # ISO 3166 code of the product country. + "productCountry": "A String", # The country registered for the Merchant Center feed that contains the product. Use an ISO 3166 code to specify a country. "state": "A String", # The state of the conversion, that is, either ACTIVE or REMOVED. Note: state DELETED is deprecated. - "deviceType": "A String", # The type of device on which the conversion occurred. Valid values are "DESKTOP", "TABLET", "HIGH_END_MOBILE", "OTHER_DEVICE". + "deviceType": "A String", # The type of device on which the conversion occurred. "adId": "A String", # DS ad ID. - "conversionId": "A String", # Advertiser-provided ID for the conversion, also known as the order ID. + "conversionId": "A String", # For offline conversions, this is an ID provided by advertisers. Advertisers can use this property to specify an ID that is meaningful to them. If an advertiser doesn't specify a conversionId, DoubleClick Search generates one. For online conversions, DS copies the dsConversionId or floodlightOrderId into this property depending on the advertiser's Floodlight instructions. "conversionModifiedTimestamp": "A String", # The time at which the conversion was last modified, in epoch millis UTC. - "channel": "A String", # Channel of the product: local or online. + "channel": "A String", # Sales channel for the product. Acceptable values are: + # - "local": a physical store + # - "online": an online store "productId": "A String", # The product ID (SKU). "segmentationId": "A String", # The numeric segmentation identifier (for example, DoubleClick Search Floodlight activity ID). "agencyId": "A String", # DS agency ID. - "storeId": "A String", # The store id for which the product was advertised, when the channel is "local". + "storeId": "A String", # The ID of the local store for which the product was advertised. Applicable only when the channel is "local". "quantityMillis": "A String", # The quantity of this conversion, in millis. "criterionId": "A String", # DS criterion (keyword) ID. - "floodlightOrderId": "A String", # The advertiser-provided order id for the conversion. + "floodlightOrderId": "A String", # The Floodlight order ID provided by the advertiser for the conversion. "segmentationType": "A String", # The segmentation type of this conversion (for example, FLOODLIGHT). "customMetric": [ # Custom metrics for the conversion. { # A message containing the custome metric. @@ -506,8 +520,8 @@

Method Details

"engineAccountId": "A String", # DS engine account ID. "type": "A String", # The type of the conversion, that is, either ACTION or TRANSACTION. An ACTION conversion is an action by the user that has no monetarily quantifiable value, while a TRANSACTION conversion is an action that does have a monetarily quantifiable value. Examples are email list signups (ACTION) versus ecommerce purchases (TRANSACTION). "productGroupId": "A String", # DS product group ID. - "feedId": "A String", # DS inventory feed ID. - "productLanguage": "A String", # ISO 639 code of the product language. + "inventoryAccountId": "A String", # ID that DS generates and uses to uniquely identify the inventory account that contains the product. + "productLanguage": "A String", # The language registered for the Merchant Center feed that contains the product. Use an ISO 639 code to specify a language. }, ], "kind": "doubleclicksearch#conversionList", # Identifies this as a ConversionList resource. Value: the fixed string doubleclicksearch#conversionList. diff --git a/docs/dyn/drive_v2.about.html b/docs/dyn/drive_v2.about.html index a2ce3141aff..2ea777abf39 100644 --- a/docs/dyn/drive_v2.about.html +++ b/docs/dyn/drive_v2.about.html @@ -113,10 +113,10 @@

Method Details

"largestChangeId": "A String", # The largest change id. "quotaBytesUsedInTrash": "A String", # The number of quota bytes used by trashed items. "domainSharingPolicy": "A String", # The domain sharing policy for the current user. Possible values are: - # - ALLOWED - # - ALLOWED_WITH_WARNING - # - INCOMING_ONLY - # - DISALLOWED + # - allowed + # - allowedWithWarning + # - incomingOnly + # - disallowed "isCurrentAppInstalled": True or False, # A boolean indicating whether the authenticated app is installed by the authenticated user. "additionalRoleInfo": [ # Information about supported additional roles per file type. The most specific type takes precedence. { diff --git a/docs/dyn/drive_v2.changes.html b/docs/dyn/drive_v2.changes.html index b2a3d06c91f..7285562ba39 100644 --- a/docs/dyn/drive_v2.changes.html +++ b/docs/dyn/drive_v2.changes.html @@ -107,7 +107,7 @@

Method Details

"appDataContents": True or False, # Whether this file is in the Application Data folder. "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours. "labels": { # A group of labels for the file. - "restricted": True or False, # Whether viewers are prevented from downloading this file. + "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file. "hidden": True or False, # Deprecated. "viewed": True or False, # Whether this file has been viewed by this user. "starred": True or False, # Whether this file is starred by the user. @@ -116,7 +116,7 @@

Method Details

"indexableText": { # Indexable text attributes for the file (can only be written) "text": "A String", # The text to be indexed for this file. }, - "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed. + "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. "lastModifyingUserName": "A String", # Name of the last user to modify this file. "writersCanShare": True or False, # Whether writers can share the document with other users. "owners": [ # The owner(s) of this file. @@ -131,6 +131,7 @@

Method Details

"emailAddress": "A String", # The email address of the user. }, ], + "ownedByMe": True or False, # Whether the file is owned by the current user. "id": "A String", # The ID of the file. "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available. "picture": { # The user's profile picture. @@ -159,6 +160,7 @@

Method Details

}, "copyable": True or False, # Whether the file can be copied by the current user. "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette. + "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). "ownerNames": [ # Name(s) of the owner(s) of this file. "A String", ], @@ -206,10 +208,7 @@

Method Details

"selfLink": "A String", # A link back to this permission. }, ], - "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. - "mimeType": "A String", # The MIME type of the thumbnail. - "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. - }, + "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used. "a_key": "A String", }, @@ -244,9 +243,9 @@

Method Details

"webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials. "editable": True or False, # Whether the file can be edited by the current user. "kind": "drive#file", # The type of file. This is always drive#file. - "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). + "canComment": True or False, # Whether the current user can comment on the file. "quotaBytesUsed": "A String", # The number of quota bytes used by this file. - "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive. + "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp). "properties": [ # The list of properties. { # A key-value pair attached to a file that is either public or private to an application. @@ -263,14 +262,18 @@

Method Details

"selfLink": "A String", # The link back to this property. }, ], - "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive. + "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "iconLink": "A String", # A link to the file's icon. "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used. "embedLink": "A String", # A link for embedding the file. "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer. "title": "A String", # The title of this file. "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date. - "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive. + "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. + "mimeType": "A String", # The MIME type of the thumbnail. + "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. + }, + "downloadUrl": "A String", "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file. "withLink": True or False, # Whether the link is required for this permission. "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain. @@ -296,12 +299,13 @@

Method Details

], "selfLink": "A String", # A link back to this permission. }, - "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'. + "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'. "A String", ], - "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive. - "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive. - "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive. + "shareable": True or False, # Whether the file's sharing settings can be modified by the current user. + "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "selfLink": "A String", # A link back to this file. "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set. }, @@ -322,7 +326,7 @@

Method Details

pageToken: string, Page token for changes. maxResults: integer, Maximum number of changes to return. startChangeId: string, Change ID to start listing changes from. - spaces: string, A comma-separated list of spaces to query. Supported values are 'drive' and 'appDataFolder'. + spaces: string, A comma-separated list of spaces to query. Supported values are 'drive', 'appDataFolder' and 'photos'. Returns: An object of the form: @@ -341,7 +345,7 @@

Method Details

"appDataContents": True or False, # Whether this file is in the Application Data folder. "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours. "labels": { # A group of labels for the file. - "restricted": True or False, # Whether viewers are prevented from downloading this file. + "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file. "hidden": True or False, # Deprecated. "viewed": True or False, # Whether this file has been viewed by this user. "starred": True or False, # Whether this file is starred by the user. @@ -350,7 +354,7 @@

Method Details

"indexableText": { # Indexable text attributes for the file (can only be written) "text": "A String", # The text to be indexed for this file. }, - "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed. + "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. "lastModifyingUserName": "A String", # Name of the last user to modify this file. "writersCanShare": True or False, # Whether writers can share the document with other users. "owners": [ # The owner(s) of this file. @@ -365,6 +369,7 @@

Method Details

"emailAddress": "A String", # The email address of the user. }, ], + "ownedByMe": True or False, # Whether the file is owned by the current user. "id": "A String", # The ID of the file. "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available. "picture": { # The user's profile picture. @@ -393,6 +398,7 @@

Method Details

}, "copyable": True or False, # Whether the file can be copied by the current user. "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette. + "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). "ownerNames": [ # Name(s) of the owner(s) of this file. "A String", ], @@ -440,10 +446,7 @@

Method Details

"selfLink": "A String", # A link back to this permission. }, ], - "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. - "mimeType": "A String", # The MIME type of the thumbnail. - "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. - }, + "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used. "a_key": "A String", }, @@ -478,9 +481,9 @@

Method Details

"webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials. "editable": True or False, # Whether the file can be edited by the current user. "kind": "drive#file", # The type of file. This is always drive#file. - "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). + "canComment": True or False, # Whether the current user can comment on the file. "quotaBytesUsed": "A String", # The number of quota bytes used by this file. - "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive. + "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp). "properties": [ # The list of properties. { # A key-value pair attached to a file that is either public or private to an application. @@ -497,14 +500,18 @@

Method Details

"selfLink": "A String", # The link back to this property. }, ], - "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive. + "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "iconLink": "A String", # A link to the file's icon. "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used. "embedLink": "A String", # A link for embedding the file. "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer. "title": "A String", # The title of this file. "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date. - "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive. + "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. + "mimeType": "A String", # The MIME type of the thumbnail. + "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. + }, + "downloadUrl": "A String", "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file. "withLink": True or False, # Whether the link is required for this permission. "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain. @@ -530,12 +537,13 @@

Method Details

], "selfLink": "A String", # A link back to this permission. }, - "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'. + "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'. "A String", ], - "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive. - "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive. - "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive. + "shareable": True or False, # Whether the file's sharing settings can be modified by the current user. + "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "selfLink": "A String", # A link back to this file. "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set. }, @@ -594,7 +602,7 @@

Method Details

pageToken: string, Page token for changes. maxResults: integer, Maximum number of changes to return. startChangeId: string, Change ID to start listing changes from. - spaces: string, A comma-separated list of spaces to query. Supported values are 'drive' and 'appDataFolder'. + spaces: string, A comma-separated list of spaces to query. Supported values are 'drive', 'appDataFolder' and 'photos'. Returns: An object of the form: diff --git a/docs/dyn/drive_v2.children.html b/docs/dyn/drive_v2.children.html index 6babcde77bf..03529abb914 100644 --- a/docs/dyn/drive_v2.children.html +++ b/docs/dyn/drive_v2.children.html @@ -84,7 +84,7 @@

Instance Methods

insert(folderId, body)

Inserts a file into a folder.

- list(folderId, q=None, pageToken=None, maxResults=None)

+ list(folderId, orderBy=None, q=None, pageToken=None, maxResults=None)

Lists a folder's children.

list_next(previous_request, previous_response)

@@ -148,11 +148,12 @@

Method Details

- list(folderId, q=None, pageToken=None, maxResults=None) + list(folderId, orderBy=None, q=None, pageToken=None, maxResults=None)
Lists a folder's children.
 
 Args:
   folderId: string, The ID of the folder. (required)
+  orderBy: string, A comma-separated list of sort keys. Valid keys are 'createdDate', 'folder', 'lastViewedByMeDate', 'modifiedByMeDate', 'modifiedDate', 'quotaBytesUsed', 'recency', 'sharedWithMeDate', 'starred', and 'title'. Each key sorts ascending by default, but may be reversed with the 'desc' modifier. Example usage: ?orderBy=folder,modifiedDate desc,title. Please note that there is a current limitation for users with approximately one million files in which the requested sort order is ignored.
   q: string, Query string for searching children.
   pageToken: string, Page token for children.
   maxResults: integer, Maximum number of children to return.
diff --git a/docs/dyn/drive_v2.files.html b/docs/dyn/drive_v2.files.html
index a931d376f26..fd23ad04511 100644
--- a/docs/dyn/drive_v2.files.html
+++ b/docs/dyn/drive_v2.files.html
@@ -83,6 +83,9 @@ 

Instance Methods

emptyTrash()

Permanently deletes all of the user's trashed files.

+

+ generateIds(space=None, maxResults=None)

+

Generates a set of file IDs which can be provided in insert requests.

get(fileId, projection=None, revisionId=None, acknowledgeAbuse=None, updateViewedDate=None)

Gets a file's metadata by ID.

@@ -93,25 +96,25 @@

Instance Methods

insert(body=None, media_body=None, convert=None, useContentAsIndexableText=None, visibility=None, ocrLanguage=None, ocr=None, timedTextLanguage=None, timedTextTrackName=None, pinned=None)

Insert a new file.

- list(q=None, projection=None, pageToken=None, maxResults=None, spaces=None, corpus=None)

+ list(orderBy=None, q=None, projection=None, pageToken=None, maxResults=None, spaces=None, corpus=None)

Lists the user's files.

list_next(previous_request, previous_response)

Retrieves the next page of results.

- patch(fileId, body, newRevision=None, pinned=None, ocrLanguage=None, ocr=None, addParents=None, removeParents=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)

+ patch(fileId, body, newRevision=None, modifiedDateBehavior=None, pinned=None, ocrLanguage=None, ocr=None, addParents=None, removeParents=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)

Updates file metadata and/or content. This method supports patch semantics.

touch(fileId)

Set the file's updated time to the current server time.

trash(fileId)

-

Moves a file to the trash.

+

Moves a file to the trash. The currently authenticated user must own the file.

untrash(fileId)

Restores a file from the trash.

- update(fileId, body=None, newRevision=None, media_body=None, ocrLanguage=None, ocr=None, pinned=None, addParents=None, removeParents=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)

+ update(fileId, body=None, newRevision=None, modifiedDateBehavior=None, media_body=None, ocrLanguage=None, ocr=None, pinned=None, addParents=None, removeParents=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)

Updates file metadata and/or content.

watch(fileId, body, projection=None, revisionId=None, acknowledgeAbuse=None, updateViewedDate=None)

@@ -136,7 +139,7 @@

Method Details

"appDataContents": True or False, # Whether this file is in the Application Data folder. "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours. "labels": { # A group of labels for the file. - "restricted": True or False, # Whether viewers are prevented from downloading this file. + "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file. "hidden": True or False, # Deprecated. "viewed": True or False, # Whether this file has been viewed by this user. "starred": True or False, # Whether this file is starred by the user. @@ -145,7 +148,7 @@

Method Details

"indexableText": { # Indexable text attributes for the file (can only be written) "text": "A String", # The text to be indexed for this file. }, - "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed. + "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. "lastModifyingUserName": "A String", # Name of the last user to modify this file. "writersCanShare": True or False, # Whether writers can share the document with other users. "owners": [ # The owner(s) of this file. @@ -160,6 +163,7 @@

Method Details

"emailAddress": "A String", # The email address of the user. }, ], + "ownedByMe": True or False, # Whether the file is owned by the current user. "id": "A String", # The ID of the file. "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available. "picture": { # The user's profile picture. @@ -188,6 +192,7 @@

Method Details

}, "copyable": True or False, # Whether the file can be copied by the current user. "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette. + "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). "ownerNames": [ # Name(s) of the owner(s) of this file. "A String", ], @@ -235,10 +240,7 @@

Method Details

"selfLink": "A String", # A link back to this permission. }, ], - "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. - "mimeType": "A String", # The MIME type of the thumbnail. - "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. - }, + "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used. "a_key": "A String", }, @@ -273,9 +275,9 @@

Method Details

"webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials. "editable": True or False, # Whether the file can be edited by the current user. "kind": "drive#file", # The type of file. This is always drive#file. - "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). + "canComment": True or False, # Whether the current user can comment on the file. "quotaBytesUsed": "A String", # The number of quota bytes used by this file. - "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive. + "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp). "properties": [ # The list of properties. { # A key-value pair attached to a file that is either public or private to an application. @@ -292,14 +294,18 @@

Method Details

"selfLink": "A String", # The link back to this property. }, ], - "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive. + "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "iconLink": "A String", # A link to the file's icon. "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used. "embedLink": "A String", # A link for embedding the file. "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer. "title": "A String", # The title of this file. "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date. - "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive. + "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. + "mimeType": "A String", # The MIME type of the thumbnail. + "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. + }, + "downloadUrl": "A String", "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file. "withLink": True or False, # Whether the link is required for this permission. "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain. @@ -325,12 +331,13 @@

Method Details

], "selfLink": "A String", # A link back to this permission. }, - "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'. + "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'. "A String", ], - "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive. - "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive. - "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive. + "shareable": True or False, # Whether the file's sharing settings can be modified by the current user. + "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "selfLink": "A String", # A link back to this file. "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set. } @@ -356,7 +363,7 @@

Method Details

"appDataContents": True or False, # Whether this file is in the Application Data folder. "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours. "labels": { # A group of labels for the file. - "restricted": True or False, # Whether viewers are prevented from downloading this file. + "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file. "hidden": True or False, # Deprecated. "viewed": True or False, # Whether this file has been viewed by this user. "starred": True or False, # Whether this file is starred by the user. @@ -365,7 +372,7 @@

Method Details

"indexableText": { # Indexable text attributes for the file (can only be written) "text": "A String", # The text to be indexed for this file. }, - "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed. + "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. "lastModifyingUserName": "A String", # Name of the last user to modify this file. "writersCanShare": True or False, # Whether writers can share the document with other users. "owners": [ # The owner(s) of this file. @@ -380,6 +387,7 @@

Method Details

"emailAddress": "A String", # The email address of the user. }, ], + "ownedByMe": True or False, # Whether the file is owned by the current user. "id": "A String", # The ID of the file. "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available. "picture": { # The user's profile picture. @@ -408,6 +416,7 @@

Method Details

}, "copyable": True or False, # Whether the file can be copied by the current user. "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette. + "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). "ownerNames": [ # Name(s) of the owner(s) of this file. "A String", ], @@ -455,10 +464,7 @@

Method Details

"selfLink": "A String", # A link back to this permission. }, ], - "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. - "mimeType": "A String", # The MIME type of the thumbnail. - "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. - }, + "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used. "a_key": "A String", }, @@ -493,9 +499,9 @@

Method Details

"webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials. "editable": True or False, # Whether the file can be edited by the current user. "kind": "drive#file", # The type of file. This is always drive#file. - "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). + "canComment": True or False, # Whether the current user can comment on the file. "quotaBytesUsed": "A String", # The number of quota bytes used by this file. - "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive. + "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp). "properties": [ # The list of properties. { # A key-value pair attached to a file that is either public or private to an application. @@ -512,14 +518,18 @@

Method Details

"selfLink": "A String", # The link back to this property. }, ], - "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive. + "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "iconLink": "A String", # A link to the file's icon. "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used. "embedLink": "A String", # A link for embedding the file. "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer. "title": "A String", # The title of this file. "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date. - "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive. + "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. + "mimeType": "A String", # The MIME type of the thumbnail. + "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. + }, + "downloadUrl": "A String", "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file. "withLink": True or False, # Whether the link is required for this permission. "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain. @@ -545,12 +555,13 @@

Method Details

], "selfLink": "A String", # A link back to this permission. }, - "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'. + "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'. "A String", ], - "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive. - "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive. - "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive. + "shareable": True or False, # Whether the file's sharing settings can be modified by the current user. + "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "selfLink": "A String", # A link back to this file. "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set. }
@@ -573,6 +584,26 @@

Method Details

+
+ generateIds(space=None, maxResults=None) +
Generates a set of file IDs which can be provided in insert requests.
+
+Args:
+  space: string, The space in which the IDs can be used to create new files. Supported values are 'drive' and 'appDataFolder'.
+  maxResults: integer, Maximum number of IDs to return.
+
+Returns:
+  An object of the form:
+
+    { # A list of generated IDs which can be provided in insert requests
+    "kind": "drive#generatedIds", # This is always drive#generatedIds
+    "ids": [ # The IDs generated for the requesting user in the specified space.
+      "A String",
+    ],
+    "space": "A String", # The type of file that can be created with these IDs.
+  }
+
+
get(fileId, projection=None, revisionId=None, acknowledgeAbuse=None, updateViewedDate=None)
Gets a file's metadata by ID.
@@ -597,7 +628,7 @@ 

Method Details

"appDataContents": True or False, # Whether this file is in the Application Data folder. "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours. "labels": { # A group of labels for the file. - "restricted": True or False, # Whether viewers are prevented from downloading this file. + "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file. "hidden": True or False, # Deprecated. "viewed": True or False, # Whether this file has been viewed by this user. "starred": True or False, # Whether this file is starred by the user. @@ -606,7 +637,7 @@

Method Details

"indexableText": { # Indexable text attributes for the file (can only be written) "text": "A String", # The text to be indexed for this file. }, - "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed. + "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. "lastModifyingUserName": "A String", # Name of the last user to modify this file. "writersCanShare": True or False, # Whether writers can share the document with other users. "owners": [ # The owner(s) of this file. @@ -621,6 +652,7 @@

Method Details

"emailAddress": "A String", # The email address of the user. }, ], + "ownedByMe": True or False, # Whether the file is owned by the current user. "id": "A String", # The ID of the file. "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available. "picture": { # The user's profile picture. @@ -649,6 +681,7 @@

Method Details

}, "copyable": True or False, # Whether the file can be copied by the current user. "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette. + "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). "ownerNames": [ # Name(s) of the owner(s) of this file. "A String", ], @@ -696,10 +729,7 @@

Method Details

"selfLink": "A String", # A link back to this permission. }, ], - "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. - "mimeType": "A String", # The MIME type of the thumbnail. - "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. - }, + "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used. "a_key": "A String", }, @@ -734,9 +764,9 @@

Method Details

"webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials. "editable": True or False, # Whether the file can be edited by the current user. "kind": "drive#file", # The type of file. This is always drive#file. - "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). + "canComment": True or False, # Whether the current user can comment on the file. "quotaBytesUsed": "A String", # The number of quota bytes used by this file. - "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive. + "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp). "properties": [ # The list of properties. { # A key-value pair attached to a file that is either public or private to an application. @@ -753,14 +783,18 @@

Method Details

"selfLink": "A String", # The link back to this property. }, ], - "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive. + "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "iconLink": "A String", # A link to the file's icon. "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used. "embedLink": "A String", # A link for embedding the file. "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer. "title": "A String", # The title of this file. "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date. - "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive. + "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. + "mimeType": "A String", # The MIME type of the thumbnail. + "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. + }, + "downloadUrl": "A String", "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file. "withLink": True or False, # Whether the link is required for this permission. "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain. @@ -786,12 +820,13 @@

Method Details

], "selfLink": "A String", # A link back to this permission. }, - "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'. + "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'. "A String", ], - "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive. - "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive. - "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive. + "shareable": True or False, # Whether the file's sharing settings can be modified by the current user. + "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "selfLink": "A String", # A link back to this file. "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set. }
@@ -832,7 +867,7 @@

Method Details

"appDataContents": True or False, # Whether this file is in the Application Data folder. "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours. "labels": { # A group of labels for the file. - "restricted": True or False, # Whether viewers are prevented from downloading this file. + "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file. "hidden": True or False, # Deprecated. "viewed": True or False, # Whether this file has been viewed by this user. "starred": True or False, # Whether this file is starred by the user. @@ -841,7 +876,7 @@

Method Details

"indexableText": { # Indexable text attributes for the file (can only be written) "text": "A String", # The text to be indexed for this file. }, - "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed. + "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. "lastModifyingUserName": "A String", # Name of the last user to modify this file. "writersCanShare": True or False, # Whether writers can share the document with other users. "owners": [ # The owner(s) of this file. @@ -856,6 +891,7 @@

Method Details

"emailAddress": "A String", # The email address of the user. }, ], + "ownedByMe": True or False, # Whether the file is owned by the current user. "id": "A String", # The ID of the file. "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available. "picture": { # The user's profile picture. @@ -884,6 +920,7 @@

Method Details

}, "copyable": True or False, # Whether the file can be copied by the current user. "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette. + "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). "ownerNames": [ # Name(s) of the owner(s) of this file. "A String", ], @@ -931,10 +968,7 @@

Method Details

"selfLink": "A String", # A link back to this permission. }, ], - "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. - "mimeType": "A String", # The MIME type of the thumbnail. - "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. - }, + "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used. "a_key": "A String", }, @@ -969,9 +1003,9 @@

Method Details

"webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials. "editable": True or False, # Whether the file can be edited by the current user. "kind": "drive#file", # The type of file. This is always drive#file. - "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). + "canComment": True or False, # Whether the current user can comment on the file. "quotaBytesUsed": "A String", # The number of quota bytes used by this file. - "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive. + "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp). "properties": [ # The list of properties. { # A key-value pair attached to a file that is either public or private to an application. @@ -988,14 +1022,18 @@

Method Details

"selfLink": "A String", # The link back to this property. }, ], - "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive. + "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "iconLink": "A String", # A link to the file's icon. "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used. "embedLink": "A String", # A link for embedding the file. "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer. "title": "A String", # The title of this file. "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date. - "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive. + "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. + "mimeType": "A String", # The MIME type of the thumbnail. + "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. + }, + "downloadUrl": "A String", "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file. "withLink": True or False, # Whether the link is required for this permission. "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain. @@ -1021,12 +1059,13 @@

Method Details

], "selfLink": "A String", # A link back to this permission. }, - "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'. + "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'. "A String", ], - "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive. - "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive. - "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive. + "shareable": True or False, # Whether the file's sharing settings can be modified by the current user. + "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "selfLink": "A String", # A link back to this file. "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set. } @@ -1054,7 +1093,7 @@

Method Details

"appDataContents": True or False, # Whether this file is in the Application Data folder. "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours. "labels": { # A group of labels for the file. - "restricted": True or False, # Whether viewers are prevented from downloading this file. + "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file. "hidden": True or False, # Deprecated. "viewed": True or False, # Whether this file has been viewed by this user. "starred": True or False, # Whether this file is starred by the user. @@ -1063,7 +1102,7 @@

Method Details

"indexableText": { # Indexable text attributes for the file (can only be written) "text": "A String", # The text to be indexed for this file. }, - "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed. + "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. "lastModifyingUserName": "A String", # Name of the last user to modify this file. "writersCanShare": True or False, # Whether writers can share the document with other users. "owners": [ # The owner(s) of this file. @@ -1078,6 +1117,7 @@

Method Details

"emailAddress": "A String", # The email address of the user. }, ], + "ownedByMe": True or False, # Whether the file is owned by the current user. "id": "A String", # The ID of the file. "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available. "picture": { # The user's profile picture. @@ -1106,6 +1146,7 @@

Method Details

}, "copyable": True or False, # Whether the file can be copied by the current user. "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette. + "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). "ownerNames": [ # Name(s) of the owner(s) of this file. "A String", ], @@ -1153,10 +1194,7 @@

Method Details

"selfLink": "A String", # A link back to this permission. }, ], - "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. - "mimeType": "A String", # The MIME type of the thumbnail. - "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. - }, + "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used. "a_key": "A String", }, @@ -1191,9 +1229,9 @@

Method Details

"webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials. "editable": True or False, # Whether the file can be edited by the current user. "kind": "drive#file", # The type of file. This is always drive#file. - "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). + "canComment": True or False, # Whether the current user can comment on the file. "quotaBytesUsed": "A String", # The number of quota bytes used by this file. - "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive. + "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp). "properties": [ # The list of properties. { # A key-value pair attached to a file that is either public or private to an application. @@ -1210,14 +1248,18 @@

Method Details

"selfLink": "A String", # The link back to this property. }, ], - "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive. + "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "iconLink": "A String", # A link to the file's icon. "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used. "embedLink": "A String", # A link for embedding the file. "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer. "title": "A String", # The title of this file. "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date. - "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive. + "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. + "mimeType": "A String", # The MIME type of the thumbnail. + "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. + }, + "downloadUrl": "A String", "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file. "withLink": True or False, # Whether the link is required for this permission. "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain. @@ -1243,22 +1285,24 @@

Method Details

], "selfLink": "A String", # A link back to this permission. }, - "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'. + "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'. "A String", ], - "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive. - "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive. - "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive. + "shareable": True or False, # Whether the file's sharing settings can be modified by the current user. + "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "selfLink": "A String", # A link back to this file. "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set. }
- list(q=None, projection=None, pageToken=None, maxResults=None, spaces=None, corpus=None) + list(orderBy=None, q=None, projection=None, pageToken=None, maxResults=None, spaces=None, corpus=None)
Lists the user's files.
 
 Args:
+  orderBy: string, A comma-separated list of sort keys. Valid keys are 'createdDate', 'folder', 'lastViewedByMeDate', 'modifiedByMeDate', 'modifiedDate', 'quotaBytesUsed', 'recency', 'sharedWithMeDate', 'starred', and 'title'. Each key sorts ascending by default, but may be reversed with the 'desc' modifier. Example usage: ?orderBy=folder,modifiedDate desc,title. Please note that there is a current limitation for users with approximately one million files in which the requested sort order is ignored.
   q: string, Query string for searching files.
   projection: string, This parameter is deprecated and has no function.
     Allowed values
@@ -1266,7 +1310,7 @@ 

Method Details

FULL - Deprecated pageToken: string, Page token for files. maxResults: integer, Maximum number of files to return. - spaces: string, A comma-separated list of spaces to query. Supported values are 'drive' and 'appDataFolder'. + spaces: string, A comma-separated list of spaces to query. Supported values are 'drive', 'appDataFolder' and 'photos'. corpus: string, The body of items (files/documents) to which the query applies. Allowed values DEFAULT - The items that the user has accessed. @@ -1286,7 +1330,7 @@

Method Details

"appDataContents": True or False, # Whether this file is in the Application Data folder. "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours. "labels": { # A group of labels for the file. - "restricted": True or False, # Whether viewers are prevented from downloading this file. + "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file. "hidden": True or False, # Deprecated. "viewed": True or False, # Whether this file has been viewed by this user. "starred": True or False, # Whether this file is starred by the user. @@ -1295,7 +1339,7 @@

Method Details

"indexableText": { # Indexable text attributes for the file (can only be written) "text": "A String", # The text to be indexed for this file. }, - "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed. + "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. "lastModifyingUserName": "A String", # Name of the last user to modify this file. "writersCanShare": True or False, # Whether writers can share the document with other users. "owners": [ # The owner(s) of this file. @@ -1310,6 +1354,7 @@

Method Details

"emailAddress": "A String", # The email address of the user. }, ], + "ownedByMe": True or False, # Whether the file is owned by the current user. "id": "A String", # The ID of the file. "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available. "picture": { # The user's profile picture. @@ -1338,6 +1383,7 @@

Method Details

}, "copyable": True or False, # Whether the file can be copied by the current user. "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette. + "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). "ownerNames": [ # Name(s) of the owner(s) of this file. "A String", ], @@ -1385,10 +1431,7 @@

Method Details

"selfLink": "A String", # A link back to this permission. }, ], - "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. - "mimeType": "A String", # The MIME type of the thumbnail. - "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. - }, + "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used. "a_key": "A String", }, @@ -1423,9 +1466,9 @@

Method Details

"webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials. "editable": True or False, # Whether the file can be edited by the current user. "kind": "drive#file", # The type of file. This is always drive#file. - "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). + "canComment": True or False, # Whether the current user can comment on the file. "quotaBytesUsed": "A String", # The number of quota bytes used by this file. - "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive. + "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp). "properties": [ # The list of properties. { # A key-value pair attached to a file that is either public or private to an application. @@ -1442,14 +1485,18 @@

Method Details

"selfLink": "A String", # The link back to this property. }, ], - "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive. + "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "iconLink": "A String", # A link to the file's icon. "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used. "embedLink": "A String", # A link for embedding the file. "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer. "title": "A String", # The title of this file. "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date. - "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive. + "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. + "mimeType": "A String", # The MIME type of the thumbnail. + "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. + }, + "downloadUrl": "A String", "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file. "withLink": True or False, # Whether the link is required for this permission. "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain. @@ -1475,12 +1522,13 @@

Method Details

], "selfLink": "A String", # A link back to this permission. }, - "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'. + "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'. "A String", ], - "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive. - "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive. - "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive. + "shareable": True or False, # Whether the file's sharing settings can be modified by the current user. + "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "selfLink": "A String", # A link back to this file. "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set. }, @@ -1506,7 +1554,7 @@

Method Details

- patch(fileId, body, newRevision=None, pinned=None, ocrLanguage=None, ocr=None, addParents=None, removeParents=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None) + patch(fileId, body, newRevision=None, modifiedDateBehavior=None, pinned=None, ocrLanguage=None, ocr=None, addParents=None, removeParents=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)
Updates file metadata and/or content. This method supports patch semantics.
 
 Args:
@@ -1521,7 +1569,7 @@ 

Method Details

"appDataContents": True or False, # Whether this file is in the Application Data folder. "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours. "labels": { # A group of labels for the file. - "restricted": True or False, # Whether viewers are prevented from downloading this file. + "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file. "hidden": True or False, # Deprecated. "viewed": True or False, # Whether this file has been viewed by this user. "starred": True or False, # Whether this file is starred by the user. @@ -1530,7 +1578,7 @@

Method Details

"indexableText": { # Indexable text attributes for the file (can only be written) "text": "A String", # The text to be indexed for this file. }, - "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed. + "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. "lastModifyingUserName": "A String", # Name of the last user to modify this file. "writersCanShare": True or False, # Whether writers can share the document with other users. "owners": [ # The owner(s) of this file. @@ -1545,6 +1593,7 @@

Method Details

"emailAddress": "A String", # The email address of the user. }, ], + "ownedByMe": True or False, # Whether the file is owned by the current user. "id": "A String", # The ID of the file. "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available. "picture": { # The user's profile picture. @@ -1573,6 +1622,7 @@

Method Details

}, "copyable": True or False, # Whether the file can be copied by the current user. "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette. + "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). "ownerNames": [ # Name(s) of the owner(s) of this file. "A String", ], @@ -1620,10 +1670,7 @@

Method Details

"selfLink": "A String", # A link back to this permission. }, ], - "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. - "mimeType": "A String", # The MIME type of the thumbnail. - "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. - }, + "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used. "a_key": "A String", }, @@ -1658,9 +1705,9 @@

Method Details

"webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials. "editable": True or False, # Whether the file can be edited by the current user. "kind": "drive#file", # The type of file. This is always drive#file. - "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). + "canComment": True or False, # Whether the current user can comment on the file. "quotaBytesUsed": "A String", # The number of quota bytes used by this file. - "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive. + "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp). "properties": [ # The list of properties. { # A key-value pair attached to a file that is either public or private to an application. @@ -1677,14 +1724,18 @@

Method Details

"selfLink": "A String", # The link back to this property. }, ], - "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive. + "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "iconLink": "A String", # A link to the file's icon. "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used. "embedLink": "A String", # A link for embedding the file. "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer. "title": "A String", # The title of this file. "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date. - "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive. + "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. + "mimeType": "A String", # The MIME type of the thumbnail. + "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. + }, + "downloadUrl": "A String", "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file. "withLink": True or False, # Whether the link is required for this permission. "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain. @@ -1710,17 +1761,26 @@

Method Details

], "selfLink": "A String", # A link back to this permission. }, - "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'. + "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'. "A String", ], - "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive. - "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive. - "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive. + "shareable": True or False, # Whether the file's sharing settings can be modified by the current user. + "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "selfLink": "A String", # A link back to this file. "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set. } - newRevision: boolean, Whether a blob upload should create a new revision. If false, the blob data in the current head revision is replaced. If true or not set, a new blob is created as head revision, and previous unpinned revisions are preserved for a short period of time. Pinned revisions are stored indefinitely, using additional storage quota, up to a maximum of 200 revisions. + newRevision: boolean, Whether a blob upload should create a new revision. If false, the blob data in the current head revision is replaced. If true or not set, a new blob is created as head revision, and previous unpinned revisions are preserved for a short period of time. Pinned revisions are stored indefinitely, using additional storage quota, up to a maximum of 200 revisions. For details on how revisions are retained, see the Drive Help Center. + modifiedDateBehavior: string, Determines the behavior in which modifiedDate is updated. This overrides setModifiedDate. + Allowed values + fromBody - Set modifiedDate to the value provided in the body of the request. No change if no value was provided. + fromBodyIfNeeded - Set modifiedDate to the value provided in the body of the request depending on other contents of the update. + fromBodyOrNow - Set modifiedDate to the value provided in the body of the request, or to the current time if no value was provided. + noChange - Maintain the previous value of modifiedDate. + now - Set modifiedDate to the current time. + nowIfNeeded - Set modifiedDate to the current time depending on contents of the update. pinned: boolean, Whether to pin the new revision. A file can have a maximum of 200 pinned revisions. ocrLanguage: string, If ocr is true, hints at the language to use. Valid values are BCP 47 codes. ocr: boolean, Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads. @@ -1728,7 +1788,7 @@

Method Details

removeParents: string, Comma-separated list of parent IDs to remove. updateViewedDate: boolean, Whether to update the view date after successfully updating the file. timedTextTrackName: string, The timed text track name. - convert: boolean, Whether to convert this file to the corresponding Google Docs format. + convert: boolean, This parameter is deprecated and has no function. useContentAsIndexableText: boolean, Whether to use the content as indexable text. setModifiedDate: boolean, Whether to set the modified date with the supplied modified date. timedTextLanguage: string, The language of the timed text. @@ -1743,7 +1803,7 @@

Method Details

"appDataContents": True or False, # Whether this file is in the Application Data folder. "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours. "labels": { # A group of labels for the file. - "restricted": True or False, # Whether viewers are prevented from downloading this file. + "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file. "hidden": True or False, # Deprecated. "viewed": True or False, # Whether this file has been viewed by this user. "starred": True or False, # Whether this file is starred by the user. @@ -1752,7 +1812,7 @@

Method Details

"indexableText": { # Indexable text attributes for the file (can only be written) "text": "A String", # The text to be indexed for this file. }, - "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed. + "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. "lastModifyingUserName": "A String", # Name of the last user to modify this file. "writersCanShare": True or False, # Whether writers can share the document with other users. "owners": [ # The owner(s) of this file. @@ -1767,6 +1827,7 @@

Method Details

"emailAddress": "A String", # The email address of the user. }, ], + "ownedByMe": True or False, # Whether the file is owned by the current user. "id": "A String", # The ID of the file. "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available. "picture": { # The user's profile picture. @@ -1795,6 +1856,7 @@

Method Details

}, "copyable": True or False, # Whether the file can be copied by the current user. "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette. + "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). "ownerNames": [ # Name(s) of the owner(s) of this file. "A String", ], @@ -1842,10 +1904,7 @@

Method Details

"selfLink": "A String", # A link back to this permission. }, ], - "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. - "mimeType": "A String", # The MIME type of the thumbnail. - "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. - }, + "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used. "a_key": "A String", }, @@ -1880,9 +1939,9 @@

Method Details

"webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials. "editable": True or False, # Whether the file can be edited by the current user. "kind": "drive#file", # The type of file. This is always drive#file. - "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). + "canComment": True or False, # Whether the current user can comment on the file. "quotaBytesUsed": "A String", # The number of quota bytes used by this file. - "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive. + "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp). "properties": [ # The list of properties. { # A key-value pair attached to a file that is either public or private to an application. @@ -1899,14 +1958,18 @@

Method Details

"selfLink": "A String", # The link back to this property. }, ], - "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive. + "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "iconLink": "A String", # A link to the file's icon. "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used. "embedLink": "A String", # A link for embedding the file. "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer. "title": "A String", # The title of this file. "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date. - "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive. + "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. + "mimeType": "A String", # The MIME type of the thumbnail. + "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. + }, + "downloadUrl": "A String", "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file. "withLink": True or False, # Whether the link is required for this permission. "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain. @@ -1932,12 +1995,13 @@

Method Details

], "selfLink": "A String", # A link back to this permission. }, - "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'. + "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'. "A String", ], - "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive. - "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive. - "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive. + "shareable": True or False, # Whether the file's sharing settings can be modified by the current user. + "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "selfLink": "A String", # A link back to this file. "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set. }
@@ -1960,7 +2024,7 @@

Method Details

"appDataContents": True or False, # Whether this file is in the Application Data folder. "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours. "labels": { # A group of labels for the file. - "restricted": True or False, # Whether viewers are prevented from downloading this file. + "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file. "hidden": True or False, # Deprecated. "viewed": True or False, # Whether this file has been viewed by this user. "starred": True or False, # Whether this file is starred by the user. @@ -1969,7 +2033,7 @@

Method Details

"indexableText": { # Indexable text attributes for the file (can only be written) "text": "A String", # The text to be indexed for this file. }, - "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed. + "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. "lastModifyingUserName": "A String", # Name of the last user to modify this file. "writersCanShare": True or False, # Whether writers can share the document with other users. "owners": [ # The owner(s) of this file. @@ -1984,6 +2048,7 @@

Method Details

"emailAddress": "A String", # The email address of the user. }, ], + "ownedByMe": True or False, # Whether the file is owned by the current user. "id": "A String", # The ID of the file. "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available. "picture": { # The user's profile picture. @@ -2012,6 +2077,7 @@

Method Details

}, "copyable": True or False, # Whether the file can be copied by the current user. "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette. + "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). "ownerNames": [ # Name(s) of the owner(s) of this file. "A String", ], @@ -2059,10 +2125,7 @@

Method Details

"selfLink": "A String", # A link back to this permission. }, ], - "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. - "mimeType": "A String", # The MIME type of the thumbnail. - "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. - }, + "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used. "a_key": "A String", }, @@ -2097,9 +2160,9 @@

Method Details

"webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials. "editable": True or False, # Whether the file can be edited by the current user. "kind": "drive#file", # The type of file. This is always drive#file. - "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). + "canComment": True or False, # Whether the current user can comment on the file. "quotaBytesUsed": "A String", # The number of quota bytes used by this file. - "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive. + "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp). "properties": [ # The list of properties. { # A key-value pair attached to a file that is either public or private to an application. @@ -2116,14 +2179,18 @@

Method Details

"selfLink": "A String", # The link back to this property. }, ], - "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive. + "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "iconLink": "A String", # A link to the file's icon. "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used. "embedLink": "A String", # A link for embedding the file. "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer. "title": "A String", # The title of this file. "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date. - "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive. + "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. + "mimeType": "A String", # The MIME type of the thumbnail. + "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. + }, + "downloadUrl": "A String", "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file. "withLink": True or False, # Whether the link is required for this permission. "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain. @@ -2149,12 +2216,13 @@

Method Details

], "selfLink": "A String", # A link back to this permission. }, - "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'. + "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'. "A String", ], - "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive. - "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive. - "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive. + "shareable": True or False, # Whether the file's sharing settings can be modified by the current user. + "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "selfLink": "A String", # A link back to this file. "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set. } @@ -2162,7 +2230,7 @@

Method Details

trash(fileId) -
Moves a file to the trash.
+  
Moves a file to the trash. The currently authenticated user must own the file.
 
 Args:
   fileId: string, The ID of the file to trash. (required)
@@ -2177,7 +2245,7 @@ 

Method Details

"appDataContents": True or False, # Whether this file is in the Application Data folder. "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours. "labels": { # A group of labels for the file. - "restricted": True or False, # Whether viewers are prevented from downloading this file. + "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file. "hidden": True or False, # Deprecated. "viewed": True or False, # Whether this file has been viewed by this user. "starred": True or False, # Whether this file is starred by the user. @@ -2186,7 +2254,7 @@

Method Details

"indexableText": { # Indexable text attributes for the file (can only be written) "text": "A String", # The text to be indexed for this file. }, - "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed. + "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. "lastModifyingUserName": "A String", # Name of the last user to modify this file. "writersCanShare": True or False, # Whether writers can share the document with other users. "owners": [ # The owner(s) of this file. @@ -2201,6 +2269,7 @@

Method Details

"emailAddress": "A String", # The email address of the user. }, ], + "ownedByMe": True or False, # Whether the file is owned by the current user. "id": "A String", # The ID of the file. "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available. "picture": { # The user's profile picture. @@ -2229,6 +2298,7 @@

Method Details

}, "copyable": True or False, # Whether the file can be copied by the current user. "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette. + "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). "ownerNames": [ # Name(s) of the owner(s) of this file. "A String", ], @@ -2276,10 +2346,7 @@

Method Details

"selfLink": "A String", # A link back to this permission. }, ], - "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. - "mimeType": "A String", # The MIME type of the thumbnail. - "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. - }, + "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used. "a_key": "A String", }, @@ -2314,9 +2381,9 @@

Method Details

"webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials. "editable": True or False, # Whether the file can be edited by the current user. "kind": "drive#file", # The type of file. This is always drive#file. - "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). + "canComment": True or False, # Whether the current user can comment on the file. "quotaBytesUsed": "A String", # The number of quota bytes used by this file. - "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive. + "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp). "properties": [ # The list of properties. { # A key-value pair attached to a file that is either public or private to an application. @@ -2333,14 +2400,18 @@

Method Details

"selfLink": "A String", # The link back to this property. }, ], - "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive. + "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "iconLink": "A String", # A link to the file's icon. "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used. "embedLink": "A String", # A link for embedding the file. "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer. "title": "A String", # The title of this file. "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date. - "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive. + "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. + "mimeType": "A String", # The MIME type of the thumbnail. + "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. + }, + "downloadUrl": "A String", "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file. "withLink": True or False, # Whether the link is required for this permission. "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain. @@ -2366,12 +2437,13 @@

Method Details

], "selfLink": "A String", # A link back to this permission. }, - "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'. + "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'. "A String", ], - "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive. - "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive. - "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive. + "shareable": True or False, # Whether the file's sharing settings can be modified by the current user. + "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "selfLink": "A String", # A link back to this file. "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set. }
@@ -2394,7 +2466,7 @@

Method Details

"appDataContents": True or False, # Whether this file is in the Application Data folder. "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours. "labels": { # A group of labels for the file. - "restricted": True or False, # Whether viewers are prevented from downloading this file. + "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file. "hidden": True or False, # Deprecated. "viewed": True or False, # Whether this file has been viewed by this user. "starred": True or False, # Whether this file is starred by the user. @@ -2403,7 +2475,7 @@

Method Details

"indexableText": { # Indexable text attributes for the file (can only be written) "text": "A String", # The text to be indexed for this file. }, - "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed. + "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. "lastModifyingUserName": "A String", # Name of the last user to modify this file. "writersCanShare": True or False, # Whether writers can share the document with other users. "owners": [ # The owner(s) of this file. @@ -2418,6 +2490,7 @@

Method Details

"emailAddress": "A String", # The email address of the user. }, ], + "ownedByMe": True or False, # Whether the file is owned by the current user. "id": "A String", # The ID of the file. "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available. "picture": { # The user's profile picture. @@ -2446,6 +2519,7 @@

Method Details

}, "copyable": True or False, # Whether the file can be copied by the current user. "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette. + "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). "ownerNames": [ # Name(s) of the owner(s) of this file. "A String", ], @@ -2493,10 +2567,7 @@

Method Details

"selfLink": "A String", # A link back to this permission. }, ], - "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. - "mimeType": "A String", # The MIME type of the thumbnail. - "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. - }, + "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used. "a_key": "A String", }, @@ -2531,9 +2602,9 @@

Method Details

"webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials. "editable": True or False, # Whether the file can be edited by the current user. "kind": "drive#file", # The type of file. This is always drive#file. - "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). + "canComment": True or False, # Whether the current user can comment on the file. "quotaBytesUsed": "A String", # The number of quota bytes used by this file. - "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive. + "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp). "properties": [ # The list of properties. { # A key-value pair attached to a file that is either public or private to an application. @@ -2550,14 +2621,18 @@

Method Details

"selfLink": "A String", # The link back to this property. }, ], - "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive. + "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "iconLink": "A String", # A link to the file's icon. "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used. "embedLink": "A String", # A link for embedding the file. "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer. "title": "A String", # The title of this file. "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date. - "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive. + "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. + "mimeType": "A String", # The MIME type of the thumbnail. + "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. + }, + "downloadUrl": "A String", "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file. "withLink": True or False, # Whether the link is required for this permission. "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain. @@ -2583,19 +2658,20 @@

Method Details

], "selfLink": "A String", # A link back to this permission. }, - "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'. + "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'. "A String", ], - "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive. - "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive. - "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive. + "shareable": True or False, # Whether the file's sharing settings can be modified by the current user. + "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "selfLink": "A String", # A link back to this file. "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set. }
- update(fileId, body=None, newRevision=None, media_body=None, ocrLanguage=None, ocr=None, pinned=None, addParents=None, removeParents=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None) + update(fileId, body=None, newRevision=None, modifiedDateBehavior=None, media_body=None, ocrLanguage=None, ocr=None, pinned=None, addParents=None, removeParents=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)
Updates file metadata and/or content.
 
 Args:
@@ -2610,7 +2686,7 @@ 

Method Details

"appDataContents": True or False, # Whether this file is in the Application Data folder. "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours. "labels": { # A group of labels for the file. - "restricted": True or False, # Whether viewers are prevented from downloading this file. + "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file. "hidden": True or False, # Deprecated. "viewed": True or False, # Whether this file has been viewed by this user. "starred": True or False, # Whether this file is starred by the user. @@ -2619,7 +2695,7 @@

Method Details

"indexableText": { # Indexable text attributes for the file (can only be written) "text": "A String", # The text to be indexed for this file. }, - "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed. + "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. "lastModifyingUserName": "A String", # Name of the last user to modify this file. "writersCanShare": True or False, # Whether writers can share the document with other users. "owners": [ # The owner(s) of this file. @@ -2634,6 +2710,7 @@

Method Details

"emailAddress": "A String", # The email address of the user. }, ], + "ownedByMe": True or False, # Whether the file is owned by the current user. "id": "A String", # The ID of the file. "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available. "picture": { # The user's profile picture. @@ -2662,6 +2739,7 @@

Method Details

}, "copyable": True or False, # Whether the file can be copied by the current user. "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette. + "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). "ownerNames": [ # Name(s) of the owner(s) of this file. "A String", ], @@ -2709,10 +2787,7 @@

Method Details

"selfLink": "A String", # A link back to this permission. }, ], - "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. - "mimeType": "A String", # The MIME type of the thumbnail. - "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. - }, + "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used. "a_key": "A String", }, @@ -2747,9 +2822,9 @@

Method Details

"webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials. "editable": True or False, # Whether the file can be edited by the current user. "kind": "drive#file", # The type of file. This is always drive#file. - "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). + "canComment": True or False, # Whether the current user can comment on the file. "quotaBytesUsed": "A String", # The number of quota bytes used by this file. - "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive. + "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp). "properties": [ # The list of properties. { # A key-value pair attached to a file that is either public or private to an application. @@ -2766,14 +2841,18 @@

Method Details

"selfLink": "A String", # The link back to this property. }, ], - "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive. + "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "iconLink": "A String", # A link to the file's icon. "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used. "embedLink": "A String", # A link for embedding the file. "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer. "title": "A String", # The title of this file. "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date. - "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive. + "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. + "mimeType": "A String", # The MIME type of the thumbnail. + "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. + }, + "downloadUrl": "A String", "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file. "withLink": True or False, # Whether the link is required for this permission. "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain. @@ -2799,17 +2878,26 @@

Method Details

], "selfLink": "A String", # A link back to this permission. }, - "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'. + "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'. "A String", ], - "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive. - "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive. - "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive. + "shareable": True or False, # Whether the file's sharing settings can be modified by the current user. + "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "selfLink": "A String", # A link back to this file. "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set. } - newRevision: boolean, Whether a blob upload should create a new revision. If false, the blob data in the current head revision is replaced. If true or not set, a new blob is created as head revision, and previous unpinned revisions are preserved for a short period of time. Pinned revisions are stored indefinitely, using additional storage quota, up to a maximum of 200 revisions. + newRevision: boolean, Whether a blob upload should create a new revision. If false, the blob data in the current head revision is replaced. If true or not set, a new blob is created as head revision, and previous unpinned revisions are preserved for a short period of time. Pinned revisions are stored indefinitely, using additional storage quota, up to a maximum of 200 revisions. For details on how revisions are retained, see the Drive Help Center. + modifiedDateBehavior: string, Determines the behavior in which modifiedDate is updated. This overrides setModifiedDate. + Allowed values + fromBody - Set modifiedDate to the value provided in the body of the request. No change if no value was provided. + fromBodyIfNeeded - Set modifiedDate to the value provided in the body of the request depending on other contents of the update. + fromBodyOrNow - Set modifiedDate to the value provided in the body of the request, or to the current time if no value was provided. + noChange - Maintain the previous value of modifiedDate. + now - Set modifiedDate to the current time. + nowIfNeeded - Set modifiedDate to the current time depending on contents of the update. media_body: string, The filename of the media request body, or an instance of a MediaUpload object. ocrLanguage: string, If ocr is true, hints at the language to use. Valid values are BCP 47 codes. ocr: boolean, Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads. @@ -2818,7 +2906,7 @@

Method Details

removeParents: string, Comma-separated list of parent IDs to remove. updateViewedDate: boolean, Whether to update the view date after successfully updating the file. timedTextTrackName: string, The timed text track name. - convert: boolean, Whether to convert this file to the corresponding Google Docs format. + convert: boolean, This parameter is deprecated and has no function. useContentAsIndexableText: boolean, Whether to use the content as indexable text. setModifiedDate: boolean, Whether to set the modified date with the supplied modified date. timedTextLanguage: string, The language of the timed text. @@ -2833,7 +2921,7 @@

Method Details

"appDataContents": True or False, # Whether this file is in the Application Data folder. "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours. "labels": { # A group of labels for the file. - "restricted": True or False, # Whether viewers are prevented from downloading this file. + "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file. "hidden": True or False, # Deprecated. "viewed": True or False, # Whether this file has been viewed by this user. "starred": True or False, # Whether this file is starred by the user. @@ -2842,7 +2930,7 @@

Method Details

"indexableText": { # Indexable text attributes for the file (can only be written) "text": "A String", # The text to be indexed for this file. }, - "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed. + "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. "lastModifyingUserName": "A String", # Name of the last user to modify this file. "writersCanShare": True or False, # Whether writers can share the document with other users. "owners": [ # The owner(s) of this file. @@ -2857,6 +2945,7 @@

Method Details

"emailAddress": "A String", # The email address of the user. }, ], + "ownedByMe": True or False, # Whether the file is owned by the current user. "id": "A String", # The ID of the file. "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available. "picture": { # The user's profile picture. @@ -2885,6 +2974,7 @@

Method Details

}, "copyable": True or False, # Whether the file can be copied by the current user. "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette. + "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). "ownerNames": [ # Name(s) of the owner(s) of this file. "A String", ], @@ -2932,10 +3022,7 @@

Method Details

"selfLink": "A String", # A link back to this permission. }, ], - "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. - "mimeType": "A String", # The MIME type of the thumbnail. - "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. - }, + "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used. "a_key": "A String", }, @@ -2970,9 +3057,9 @@

Method Details

"webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials. "editable": True or False, # Whether the file can be edited by the current user. "kind": "drive#file", # The type of file. This is always drive#file. - "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp). + "canComment": True or False, # Whether the current user can comment on the file. "quotaBytesUsed": "A String", # The number of quota bytes used by this file. - "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive. + "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp). "properties": [ # The list of properties. { # A key-value pair attached to a file that is either public or private to an application. @@ -2989,14 +3076,18 @@

Method Details

"selfLink": "A String", # The link back to this property. }, ], - "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive. + "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "iconLink": "A String", # A link to the file's icon. "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used. "embedLink": "A String", # A link for embedding the file. "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer. "title": "A String", # The title of this file. "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date. - "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive. + "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. + "mimeType": "A String", # The MIME type of the thumbnail. + "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. + }, + "downloadUrl": "A String", "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file. "withLink": True or False, # Whether the link is required for this permission. "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain. @@ -3022,12 +3113,13 @@

Method Details

], "selfLink": "A String", # A link back to this permission. }, - "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'. + "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'. "A String", ], - "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive. - "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive. - "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive. + "shareable": True or False, # Whether the file's sharing settings can be modified by the current user. + "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. + "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files. "selfLink": "A String", # A link back to this file. "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set. }
diff --git a/docs/dyn/drive_v2.permissions.html b/docs/dyn/drive_v2.permissions.html index f209b5af3ee..b59b6980bf3 100644 --- a/docs/dyn/drive_v2.permissions.html +++ b/docs/dyn/drive_v2.permissions.html @@ -91,7 +91,7 @@

Instance Methods

Lists a file's permissions.

patch(fileId, permissionId, body, transferOwnership=None)

-

Updates a permission. This method supports patch semantics.

+

Updates a permission using patch semantics.

update(fileId, permissionId, body, transferOwnership=None)

Updates a permission.

@@ -274,7 +274,7 @@

Method Details

patch(fileId, permissionId, body, transferOwnership=None) -
Updates a permission. This method supports patch semantics.
+  
Updates a permission using patch semantics.
 
 Args:
   fileId: string, The ID for the file. (required)
diff --git a/docs/dyn/fitness_v1.users.dataSources.datasets.html b/docs/dyn/fitness_v1.users.dataSources.datasets.html
index ca6a6fcc4b1..b00ed2fcd9c 100644
--- a/docs/dyn/fitness_v1.users.dataSources.datasets.html
+++ b/docs/dyn/fitness_v1.users.dataSources.datasets.html
@@ -135,8 +135,19 @@ 

Method Details

{ # Holder object for the value of a single field in a data point. # # A field value has a particular format and is only ever set to one of an integer or a floating point value. - "fpVal": 3.14, # Floating point value. When this is set, intVal must not be set. - "intVal": 42, # Integer value. When this is set, fpVal must not be set. + "mapVal": [ # Map value. The valid key space and units for the corresponding value of each entry should be documented as part of the data type definition. Keys should be kept small whenever possible. Data streams with large keys and high data frequency may be down sampled. + { + "value": { # Holder object for the value of an entry in a map field of a data point. + # + # A map value supports a subset of the formats that the regular Value supports. + "fpVal": 3.14, # Floating point value. + }, + "key": "A String", + }, + ], + "fpVal": 3.14, # Floating point value. When this is set, other values must not be set. + "intVal": 42, # Integer value. When this is set, other values must not be set. + "stringVal": "A String", # String value. When this is set, other values must not be set. Strings should be kept small whenever possible. Data streams with large string values and high data frequency may be down sampled. }, ], "computationTimeMillis": "A String", # Used for version checking during transformation; that is, a datapoint can only replace another datapoint that has an older computation time stamp. @@ -193,8 +204,19 @@

Method Details

{ # Holder object for the value of a single field in a data point. # # A field value has a particular format and is only ever set to one of an integer or a floating point value. - "fpVal": 3.14, # Floating point value. When this is set, intVal must not be set. - "intVal": 42, # Integer value. When this is set, fpVal must not be set. + "mapVal": [ # Map value. The valid key space and units for the corresponding value of each entry should be documented as part of the data type definition. Keys should be kept small whenever possible. Data streams with large keys and high data frequency may be down sampled. + { + "value": { # Holder object for the value of an entry in a map field of a data point. + # + # A map value supports a subset of the formats that the regular Value supports. + "fpVal": 3.14, # Floating point value. + }, + "key": "A String", + }, + ], + "fpVal": 3.14, # Floating point value. When this is set, other values must not be set. + "intVal": 42, # Integer value. When this is set, other values must not be set. + "stringVal": "A String", # String value. When this is set, other values must not be set. Strings should be kept small whenever possible. Data streams with large string values and high data frequency may be down sampled. }, ], "computationTimeMillis": "A String", # Used for version checking during transformation; that is, a datapoint can only replace another datapoint that has an older computation time stamp. @@ -230,8 +252,19 @@

Method Details

{ # Holder object for the value of a single field in a data point. # # A field value has a particular format and is only ever set to one of an integer or a floating point value. - "fpVal": 3.14, # Floating point value. When this is set, intVal must not be set. - "intVal": 42, # Integer value. When this is set, fpVal must not be set. + "mapVal": [ # Map value. The valid key space and units for the corresponding value of each entry should be documented as part of the data type definition. Keys should be kept small whenever possible. Data streams with large keys and high data frequency may be down sampled. + { + "value": { # Holder object for the value of an entry in a map field of a data point. + # + # A map value supports a subset of the formats that the regular Value supports. + "fpVal": 3.14, # Floating point value. + }, + "key": "A String", + }, + ], + "fpVal": 3.14, # Floating point value. When this is set, other values must not be set. + "intVal": 42, # Integer value. When this is set, other values must not be set. + "stringVal": "A String", # String value. When this is set, other values must not be set. Strings should be kept small whenever possible. Data streams with large string values and high data frequency may be down sampled. }, ], "computationTimeMillis": "A String", # Used for version checking during transformation; that is, a datapoint can only replace another datapoint that has an older computation time stamp. diff --git a/docs/dyn/fitness_v1.users.dataset.html b/docs/dyn/fitness_v1.users.dataset.html index 586596290f7..fe29d0fc069 100644 --- a/docs/dyn/fitness_v1.users.dataset.html +++ b/docs/dyn/fitness_v1.users.dataset.html @@ -76,41 +76,39 @@

Fitness . user

Instance Methods

aggregate(userId, body)

-

A description of how to use this function

+

Aggregates data of a certain type or stream into buckets divided by a given type of boundary. Multiple data sets of multiple types and from multiple sources can be aggreated into exactly one bucket type per request.

Method Details

aggregate(userId, body) -
A description of how to use this function
+  
Aggregates data of a certain type or stream into buckets divided by a given type of boundary. Multiple data sets of multiple types and from multiple sources can be aggreated into exactly one bucket type per request.
 
 Args:
-  userId: string, A parameter (required)
+  userId: string, Aggregate data for the person identified. Use me to indicate the authenticated user. Only me is supported at this time. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
 {
-    "aggregateBy": [
-      {
-        "outputDataTypeName": "A String",
-        "dataSourceId": "A String",
-        "dataTypeName": "A String", # by dataype or by datasource
-        "outputDataSourceId": "A String",
+    "aggregateBy": [ # The specification of data to be aggregated. At least one aggregateBy spec must be provided. All data that is specified will be aggregated using the same bucketing criteria. There will be one dataset in the response for every aggregateBy spec.
+      { # The specification of which data to aggregate.
+        "dataSourceId": "A String", # A data source ID to aggregate. Mutually exclusive of dataTypeName. Only data from the specified data source ID will be included in the aggregation. The dataset in the response will have the same data source ID.
+        "dataTypeName": "A String", # The data type to aggregate. All data sources providing this data type will contribute data to the aggregation. The response will contain a single dataset for this data type name. The dataset will have a data source ID of derived:com.google.:com.google.android.gms:aggregated
       },
     ],
-    "bucketByActivitySegment": {
-      "activityDataSourceId": "A String", # default activity stream will be used if not specified
-      "minDurationMillis": "A String", # Only activity segments of duration longer than this is used
+    "bucketByActivitySegment": { # Specifies that data be aggregated each activity segment recored for a user. Similar to bucketByActivitySegment, but bucketing is done for each activity segment rather than all segments of the same type. Mutually exclusive of other bucketing specifications.
+      "activityDataSourceId": "A String", # The default activity stream will be used if a specific activityDataSourceId is not specified.
+      "minDurationMillis": "A String", # Specifies that only activity segments of duration longer than minDurationMillis are considered and used as a container for aggregated data.
     },
-    "endTimeMillis": "A String",
-    "bucketBySession": {
-      "minDurationMillis": "A String", # Only sessions of duration longer than this is used
+    "endTimeMillis": "A String", # The end of a window of time. Data that intersects with this time window will be aggregated. The time is in milliseconds since epoch, inclusive.
+    "bucketBySession": { # Specifies that data be aggregated by user sessions. Data that does not fall within the time range of a session will not be included in the response. Mutually exclusive of other bucketing specifications.
+      "minDurationMillis": "A String", # Specifies that only sessions of duration longer than minDurationMillis are considered and used as a container for aggregated data.
     },
-    "bucketByActivityType": {
-      "activityDataSourceId": "A String", # default activity stream will be used if not specified
-      "minDurationMillis": "A String", # Only activity segments of duration longer than this is used
+    "bucketByActivityType": { # Specifies that data be aggregated by the type of activity being performed when the data was recorded. All data that was recorded during a certain activity type (for the given time range) will be aggregated into the same bucket. Data that was recorded while the user was not active will not be included in the response. Mutually exclusive of other bucketing specifications.
+      "activityDataSourceId": "A String", # The default activity stream will be used if a specific activityDataSourceId is not specified.
+      "minDurationMillis": "A String", # Specifies that only activity segments of duration longer than minDurationMillis are considered and used as a container for aggregated data.
     },
-    "startTimeMillis": "A String", # required time range
-    "bucketByTime": { # apparently oneof is not supported by reduced_nano_proto
-      "durationMillis": "A String",
+    "startTimeMillis": "A String", # The start of a window of time. Data that intersects with this time window will be aggregated. The time is in milliseconds since epoch, inclusive.
+    "bucketByTime": { # Specifies that data be aggregated by a single time interval. Mutually exclusive of other bucketing specifications.
+      "durationMillis": "A String", # Specifies that result buckets aggregate data by exactly durationMillis time frames. Time frames that contain no data will be included in the response with an empty dataset.
     },
   }
 
@@ -119,10 +117,10 @@ 

Method Details

An object of the form: { - "bucket": [ + "bucket": [ # A list of buckets containing the aggregated data. { - "endTimeMillis": "A String", - "dataset": [ # There will be one dataset per datatype/datasource + "endTimeMillis": "A String", # The end time for the aggregated data, in milliseconds since epoch, inclusive. + "dataset": [ # There will be one dataset per AggregateBy in the request. { # A dataset represents a projection container for data points. They do not carry any info of their own. Datasets represent a set of data points from a particular data source. A data point can be found in more than one dataset. "minStartTimeNs": "A String", # The smallest start time of all data points in this possibly partial representation of the dataset. Time is in nanoseconds from epoch. This should also match the first part of the dataset identifier. "nextPageToken": "A String", # This token will be set when a dataset is received in response to a GET request and the dataset is too large to be included in a single response. Provide this value in a subsequent GET request to return the next page of data points within this dataset. @@ -144,8 +142,19 @@

Method Details

{ # Holder object for the value of a single field in a data point. # # A field value has a particular format and is only ever set to one of an integer or a floating point value. - "fpVal": 3.14, # Floating point value. When this is set, intVal must not be set. - "intVal": 42, # Integer value. When this is set, fpVal must not be set. + "mapVal": [ # Map value. The valid key space and units for the corresponding value of each entry should be documented as part of the data type definition. Keys should be kept small whenever possible. Data streams with large keys and high data frequency may be down sampled. + { + "value": { # Holder object for the value of an entry in a map field of a data point. + # + # A map value supports a subset of the formats that the regular Value supports. + "fpVal": 3.14, # Floating point value. + }, + "key": "A String", + }, + ], + "fpVal": 3.14, # Floating point value. When this is set, other values must not be set. + "intVal": 42, # Integer value. When this is set, other values must not be set. + "stringVal": "A String", # String value. When this is set, other values must not be set. Strings should be kept small whenever possible. Data streams with large string values and high data frequency may be down sampled. }, ], "computationTimeMillis": "A String", # Used for version checking during transformation; that is, a datapoint can only replace another datapoint that has an older computation time stamp. @@ -155,7 +164,7 @@

Method Details

], }, ], - "session": { # Sessions contain metadata, such as a user-friendly name and time interval information. # available for Bucket.Type.SESSION + "session": { # Sessions contain metadata, such as a user-friendly name and time interval information. # Available for Bucket.Type.SESSION "modifiedTimeMillis": "A String", # A timestamp that indicates when the session was last modified. "endTimeMillis": "A String", # An end time, in milliseconds since epoch, inclusive. "description": "A String", # A description for this session. @@ -171,8 +180,8 @@

Method Details

"id": "A String", # A client-generated identifier that is unique across all sessions owned by this particular user. "name": "A String", # A human readable name of the session. }, - "activity": 42, # available for Bucket.Type.ACTIVITY_TYPE, Bucket.Type.ACTIVITY_SEGMENT - "startTimeMillis": "A String", + "activity": 42, # Available for Bucket.Type.ACTIVITY_TYPE, Bucket.Type.ACTIVITY_SEGMENT + "startTimeMillis": "A String", # The start time for the aggregated data, in milliseconds since epoch, inclusive. "type": "A String", # The type of a bucket signifies how the data aggregation is performed in the bucket. }, ], diff --git a/docs/dyn/genomics_v1.callsets.html b/docs/dyn/genomics_v1.callsets.html new file mode 100644 index 00000000000..eb358d5afb0 --- /dev/null +++ b/docs/dyn/genomics_v1.callsets.html @@ -0,0 +1,268 @@ + + + +

Genomics API . callsets

+

Instance Methods

+

+ create(body, x__xgafv=None)

+

Creates a new call set.

+

+ delete(callSetId, x__xgafv=None)

+

Deletes a call set.

+

+ get(callSetId, x__xgafv=None)

+

Gets a call set by ID.

+

+ patch(callSetId, body, updateMask=None, x__xgafv=None)

+

Updates a call set. This method supports patch semantics.

+

+ search(body, x__xgafv=None)

+

Gets a list of call sets matching the criteria. Implements [GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L178).

+

Method Details

+
+ create(body, x__xgafv=None) +
Creates a new call set.
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A call set is a collection of variant calls, typically for one sample. It belongs to a variant set.
+  "info": { # A map of additional call set information. This must be of the form map (string key mapping to a list of string values).
+    "a_key": [
+      "",
+    ],
+  },
+  "name": "A String", # The call set name.
+  "created": "A String", # The date this call set was created in milliseconds from the epoch.
+  "sampleId": "A String", # The sample ID this call set corresponds to.
+  "variantSetIds": [ # The IDs of the variant sets this call set belongs to. This field must have exactly length one, as a call set belongs to a single variant set. This field is repeated for compatibility with the [GA4GH 0.5.1 API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76).
+    "A String",
+  ],
+  "id": "A String", # The server-generated call set ID, unique across all call sets.
+}
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A call set is a collection of variant calls, typically for one sample. It belongs to a variant set.
+    "info": { # A map of additional call set information. This must be of the form map (string key mapping to a list of string values).
+      "a_key": [
+        "",
+      ],
+    },
+    "name": "A String", # The call set name.
+    "created": "A String", # The date this call set was created in milliseconds from the epoch.
+    "sampleId": "A String", # The sample ID this call set corresponds to.
+    "variantSetIds": [ # The IDs of the variant sets this call set belongs to. This field must have exactly length one, as a call set belongs to a single variant set. This field is repeated for compatibility with the [GA4GH 0.5.1 API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76).
+      "A String",
+    ],
+    "id": "A String", # The server-generated call set ID, unique across all call sets.
+  }
+
+ +
+ delete(callSetId, x__xgafv=None) +
Deletes a call set.
+
+Args:
+  callSetId: string, The ID of the call set to be deleted. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ get(callSetId, x__xgafv=None) +
Gets a call set by ID.
+
+Args:
+  callSetId: string, The ID of the call set. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A call set is a collection of variant calls, typically for one sample. It belongs to a variant set.
+    "info": { # A map of additional call set information. This must be of the form map (string key mapping to a list of string values).
+      "a_key": [
+        "",
+      ],
+    },
+    "name": "A String", # The call set name.
+    "created": "A String", # The date this call set was created in milliseconds from the epoch.
+    "sampleId": "A String", # The sample ID this call set corresponds to.
+    "variantSetIds": [ # The IDs of the variant sets this call set belongs to. This field must have exactly length one, as a call set belongs to a single variant set. This field is repeated for compatibility with the [GA4GH 0.5.1 API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76).
+      "A String",
+    ],
+    "id": "A String", # The server-generated call set ID, unique across all call sets.
+  }
+
+ +
+ patch(callSetId, body, updateMask=None, x__xgafv=None) +
Updates a call set. This method supports patch semantics.
+
+Args:
+  callSetId: string, The ID of the call set to be updated. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A call set is a collection of variant calls, typically for one sample. It belongs to a variant set.
+  "info": { # A map of additional call set information. This must be of the form map (string key mapping to a list of string values).
+    "a_key": [
+      "",
+    ],
+  },
+  "name": "A String", # The call set name.
+  "created": "A String", # The date this call set was created in milliseconds from the epoch.
+  "sampleId": "A String", # The sample ID this call set corresponds to.
+  "variantSetIds": [ # The IDs of the variant sets this call set belongs to. This field must have exactly length one, as a call set belongs to a single variant set. This field is repeated for compatibility with the [GA4GH 0.5.1 API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76).
+    "A String",
+  ],
+  "id": "A String", # The server-generated call set ID, unique across all call sets.
+}
+
+  updateMask: string, An optional mask specifying which fields to update. At this time, the only mutable field is [name][google.genomics.v1.CallSet.name]. The only acceptable value is "name". If unspecified, all mutable fields will be updated.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A call set is a collection of variant calls, typically for one sample. It belongs to a variant set.
+    "info": { # A map of additional call set information. This must be of the form map (string key mapping to a list of string values).
+      "a_key": [
+        "",
+      ],
+    },
+    "name": "A String", # The call set name.
+    "created": "A String", # The date this call set was created in milliseconds from the epoch.
+    "sampleId": "A String", # The sample ID this call set corresponds to.
+    "variantSetIds": [ # The IDs of the variant sets this call set belongs to. This field must have exactly length one, as a call set belongs to a single variant set. This field is repeated for compatibility with the [GA4GH 0.5.1 API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76).
+      "A String",
+    ],
+    "id": "A String", # The server-generated call set ID, unique across all call sets.
+  }
+
+ +
+ search(body, x__xgafv=None) +
Gets a list of call sets matching the criteria. Implements [GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L178).
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # The call set search request.
+    "pageToken": "A String", # The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.
+    "variantSetIds": [ # Restrict the query to call sets within the given variant sets. At least one ID must be provided.
+      "A String",
+    ],
+    "name": "A String", # Only return call sets for which a substring of the name matches this string.
+    "pageSize": 42, # The maximum number of call sets to return. If unspecified, defaults to 1000.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # The call set search response.
+    "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results.
+    "callSets": [ # The list of matching call sets.
+      { # A call set is a collection of variant calls, typically for one sample. It belongs to a variant set.
+        "info": { # A map of additional call set information. This must be of the form map (string key mapping to a list of string values).
+          "a_key": [
+            "",
+          ],
+        },
+        "name": "A String", # The call set name.
+        "created": "A String", # The date this call set was created in milliseconds from the epoch.
+        "sampleId": "A String", # The sample ID this call set corresponds to.
+        "variantSetIds": [ # The IDs of the variant sets this call set belongs to. This field must have exactly length one, as a call set belongs to a single variant set. This field is repeated for compatibility with the [GA4GH 0.5.1 API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76).
+          "A String",
+        ],
+        "id": "A String", # The server-generated call set ID, unique across all call sets.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/genomics_v1.datasets.html b/docs/dyn/genomics_v1.datasets.html new file mode 100644 index 00000000000..14ca86cfa0b --- /dev/null +++ b/docs/dyn/genomics_v1.datasets.html @@ -0,0 +1,366 @@ + + + +

Genomics API . datasets

+

Instance Methods

+

+ create(body, x__xgafv=None)

+

Creates a new dataset.

+

+ delete(datasetId, x__xgafv=None)

+

Deletes a dataset.

+

+ get(datasetId, x__xgafv=None)

+

Gets a dataset by ID.

+

+ getIamPolicy(resource, body, x__xgafv=None)

+

+

+ list(pageSize=None, projectId=None, pageToken=None, x__xgafv=None)

+

Lists datasets within a project.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(datasetId, body, updateMask=None, x__xgafv=None)

+

Updates a dataset. This method supports patch semantics.

+

+ setIamPolicy(resource, body, x__xgafv=None)

+

+

+ testIamPermissions(resource, body, x__xgafv=None)

+

+

+ undelete(datasetId, body, x__xgafv=None)

+

Undeletes a dataset by restoring a dataset which was deleted via this API. This operation is only possible for a week after the deletion occurred.

+

Method Details

+
+ create(body, x__xgafv=None) +
Creates a new dataset.
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A Dataset is a collection of genomic data.
+  "projectId": "A String", # The Google Developers Console project ID that this dataset belongs to.
+  "id": "A String", # The server-generated dataset ID, unique across all datasets.
+  "createTime": "A String", # The time this dataset was created, in seconds from the epoch.
+  "name": "A String", # The dataset name.
+}
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A Dataset is a collection of genomic data.
+    "projectId": "A String", # The Google Developers Console project ID that this dataset belongs to.
+    "id": "A String", # The server-generated dataset ID, unique across all datasets.
+    "createTime": "A String", # The time this dataset was created, in seconds from the epoch.
+    "name": "A String", # The dataset name.
+  }
+
+ +
+ delete(datasetId, x__xgafv=None) +
Deletes a dataset.
+
+Args:
+  datasetId: string, The ID of the dataset to be deleted. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ get(datasetId, x__xgafv=None) +
Gets a dataset by ID.
+
+Args:
+  datasetId: string, The ID of the dataset. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A Dataset is a collection of genomic data.
+    "projectId": "A String", # The Google Developers Console project ID that this dataset belongs to.
+    "id": "A String", # The server-generated dataset ID, unique across all datasets.
+    "createTime": "A String", # The time this dataset was created, in seconds from the epoch.
+    "name": "A String", # The dataset name.
+  }
+
+ +
+ getIamPolicy(resource, body, x__xgafv=None) +
+
+Args:
+  resource: string, REQUIRED: The resource for which policy is being specified. Format is `datasets/`. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request message for `GetIamPolicy` method.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@appspot.gserviceaccount.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] } For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).
+    "bindings": [ # Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.
+      { # Associates `members` with a `role`.
+        "role": "A String", # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required
+        "members": [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.
+          "A String",
+        ],
+      },
+    ],
+    "version": 42, # Version of the `Policy`. The default version is 0.
+    "etag": "A String", # Can be used to perform a read-modify-write.
+  }
+
+ +
+ list(pageSize=None, projectId=None, pageToken=None, x__xgafv=None) +
Lists datasets within a project.
+
+Args:
+  pageSize: integer, The maximum number of results returned by this request. If unspecified, defaults to 50. The maximum value is 1024.
+  projectId: string, Required. The project to list datasets for.
+  pageToken: string, The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # The dataset list response.
+    "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results.
+    "datasets": [ # The list of matching Datasets.
+      { # A Dataset is a collection of genomic data.
+        "projectId": "A String", # The Google Developers Console project ID that this dataset belongs to.
+        "id": "A String", # The server-generated dataset ID, unique across all datasets.
+        "createTime": "A String", # The time this dataset was created, in seconds from the epoch.
+        "name": "A String", # The dataset name.
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(datasetId, body, updateMask=None, x__xgafv=None) +
Updates a dataset. This method supports patch semantics.
+
+Args:
+  datasetId: string, The ID of the dataset to be updated. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A Dataset is a collection of genomic data.
+  "projectId": "A String", # The Google Developers Console project ID that this dataset belongs to.
+  "id": "A String", # The server-generated dataset ID, unique across all datasets.
+  "createTime": "A String", # The time this dataset was created, in seconds from the epoch.
+  "name": "A String", # The dataset name.
+}
+
+  updateMask: string, An optional mask specifying which fields to update. At this time, the only mutable field is [name][google.genomics.v1.Dataset.name]. The only acceptable value is "name". If unspecified, all mutable fields will be updated.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A Dataset is a collection of genomic data.
+    "projectId": "A String", # The Google Developers Console project ID that this dataset belongs to.
+    "id": "A String", # The server-generated dataset ID, unique across all datasets.
+    "createTime": "A String", # The time this dataset was created, in seconds from the epoch.
+    "name": "A String", # The dataset name.
+  }
+
+ +
+ setIamPolicy(resource, body, x__xgafv=None) +
+
+Args:
+  resource: string, REQUIRED: The resource for which policy is being specified. Format is `datasets/`. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request message for `SetIamPolicy` method.
+    "policy": { # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@appspot.gserviceaccount.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] } For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam). # REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.
+      "bindings": [ # Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.
+        { # Associates `members` with a `role`.
+          "role": "A String", # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required
+          "members": [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.
+            "A String",
+          ],
+        },
+      ],
+      "version": 42, # Version of the `Policy`. The default version is 0.
+      "etag": "A String", # Can be used to perform a read-modify-write.
+    },
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources. A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `members` to a `role`, where the members can be user accounts, Google groups, Google domains, and service accounts. A `role` is a named list of permissions defined by IAM. **Example** { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@appspot.gserviceaccount.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] } For a description of IAM and its features, see the [IAM developer's guide](https://cloud.google.com/iam).
+    "bindings": [ # Associates a list of `members` to a `role`. Multiple `bindings` must not be specified for the same `role`. `bindings` with no members will result in an error.
+      { # Associates `members` with a `role`.
+        "role": "A String", # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Required
+        "members": [ # Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following formats: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain name that represents all the users of that domain. For example, `google.com` or `example.com`.
+          "A String",
+        ],
+      },
+    ],
+    "version": 42, # Version of the `Policy`. The default version is 0.
+    "etag": "A String", # Can be used to perform a read-modify-write.
+  }
+
+ +
+ testIamPermissions(resource, body, x__xgafv=None) +
+
+Args:
+  resource: string, REQUIRED: The resource for which policy is being specified. Format is `datasets/`. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request message for `TestIamPermissions` method.
+    "permissions": [ # REQUIRED: The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. Allowed permissions are: * `genomics.datasets.create` * `genomics.datasets.delete` * `genomics.datasets.get` * `genomics.datasets.list` * `genomics.datasets.update` * `genomics.datasets.getIamPolicy` * `genomics.datasets.setIamPolicy`
+      "A String",
+    ],
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response message for `TestIamPermissions` method.
+    "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
+      "A String",
+    ],
+  }
+
+ +
+ undelete(datasetId, body, x__xgafv=None) +
Undeletes a dataset by restoring a dataset which was deleted via this API. This operation is only possible for a week after the deletion occurred.
+
+Args:
+  datasetId: string, The ID of the dataset to be undeleted. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A Dataset is a collection of genomic data.
+    "projectId": "A String", # The Google Developers Console project ID that this dataset belongs to.
+    "id": "A String", # The server-generated dataset ID, unique across all datasets.
+    "createTime": "A String", # The time this dataset was created, in seconds from the epoch.
+    "name": "A String", # The dataset name.
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/genomics_v1.html b/docs/dyn/genomics_v1.html index 523caee0b26..500feb374ea 100644 --- a/docs/dyn/genomics_v1.html +++ b/docs/dyn/genomics_v1.html @@ -74,6 +74,51 @@

Genomics API

Instance Methods

+

+ callsets() +

+

Returns the callsets Resource.

+ +

+ datasets() +

+

Returns the datasets Resource.

+ +

+ operations() +

+

Returns the operations Resource.

+ +

+ readgroupsets() +

+

Returns the readgroupsets Resource.

+ +

+ reads() +

+

Returns the reads Resource.

+ +

+ references() +

+

Returns the references Resource.

+ +

+ referencesets() +

+

Returns the referencesets Resource.

+ +

+ variants() +

+

Returns the variants Resource.

+ +

+ variantsets() +

+

Returns the variantsets Resource.

+

new_batch_http_request()

Create a BatchHttpRequest object based on the discovery document.

diff --git a/docs/dyn/genomics_v1.operations.html b/docs/dyn/genomics_v1.operations.html new file mode 100644 index 00000000000..9ca849e2231 --- /dev/null +++ b/docs/dyn/genomics_v1.operations.html @@ -0,0 +1,215 @@ + + + +

Genomics API . operations

+

Instance Methods

+

+ cancel(name, body, x__xgafv=None)

+

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients may use [Operations.GetOperation][google.longrunning.Operations.GetOperation] or [Operations.ListOperations][google.longrunning.Operations.ListOperations] to check whether the cancellation succeeded or the operation completed despite cancellation.

+

+ delete(name, x__xgafv=None)

+

This method is not implemented. To cancel an operation, please use [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].

+

+ get(name, x__xgafv=None)

+

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

+

+ list(name, pageSize=None, filter=None, pageToken=None, x__xgafv=None)

+

Lists operations that match the specified filter in the request.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ cancel(name, body, x__xgafv=None) +
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients may use [Operations.GetOperation][google.longrunning.Operations.GetOperation] or [Operations.ListOperations][google.longrunning.Operations.ListOperations] to check whether the cancellation succeeded or the operation completed despite cancellation.
+
+Args:
+  name: string, The name of the operation resource to be cancelled. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # The request message for [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ delete(name, x__xgafv=None) +
This method is not implemented. To cancel an operation, please use [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].
+
+Args:
+  name: string, The name of the operation resource to be deleted. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ get(name, x__xgafv=None) +
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
+
+Args:
+  name: string, The name of the operation resource. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+    "response": { # If importing [ReadGroupSets][google.genomics.v1.ReadGroupSet], an [ImportReadGroupSetsResponse][google.genomics.v1.ImportReadGroupSetsResponse] is returned. If importing [Variants][google.genomics.v1.Variant], an [ImportVariantsResponse][google.genomics.v1.ImportVariantsResponse] is returned. For exports, an empty response is returned.
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+    "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error result of the operation in case of failure.
+      "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+      "code": 42, # The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
+      "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
+        {
+          "a_key": "", # Properties of the object. Contains field @ype with type URL.
+        },
+      ],
+    },
+    "done": True or False, # If the value is `false`, it means the operation is still in progress. If true, the operation is completed, and either `error` or `response` is available.
+    "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`
+    "metadata": { # An [OperationMetadata][google.genomics.v1.OperationMetadata] object. This will always be returned with the [Operation][google.longrunning.Operation].
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+  }
+
+ +
+ list(name, pageSize=None, filter=None, pageToken=None, x__xgafv=None) +
Lists operations that match the specified filter in the request.
+
+Args:
+  name: string, The name of the operation collection. (required)
+  pageSize: integer, The maximum number of results to return. If unspecified, defaults to 256. The maximum value is 2048.
+  filter: string, A string for filtering [Operations][google.longrunning.Operation]. The following filter fields are supported: * projectId: Required. Corresponds to [OperationMetadata.projectId][google.genomics.v1.OperationMetadata.project_id]. * createTime: The time this job was created, in seconds from the [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `= 1432140000` * `projectId = my-project AND createTime >= 1432140000 AND createTime <= 1432150000 AND status = RUNNING`
+  pageToken: string, The standard list page token.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].
+    "operations": [ # A list of operations that matches the specified filter in the request.
+      { # This resource represents a long-running operation that is the result of a network API call.
+        "response": { # If importing [ReadGroupSets][google.genomics.v1.ReadGroupSet], an [ImportReadGroupSetsResponse][google.genomics.v1.ImportReadGroupSetsResponse] is returned. If importing [Variants][google.genomics.v1.Variant], an [ImportVariantsResponse][google.genomics.v1.ImportVariantsResponse] is returned. For exports, an empty response is returned.
+          "a_key": "", # Properties of the object. Contains field @ype with type URL.
+        },
+        "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error result of the operation in case of failure.
+          "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+          "code": 42, # The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
+          "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
+            {
+              "a_key": "", # Properties of the object. Contains field @ype with type URL.
+            },
+          ],
+        },
+        "done": True or False, # If the value is `false`, it means the operation is still in progress. If true, the operation is completed, and either `error` or `response` is available.
+        "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`
+        "metadata": { # An [OperationMetadata][google.genomics.v1.OperationMetadata] object. This will always be returned with the [Operation][google.longrunning.Operation].
+          "a_key": "", # Properties of the object. Contains field @ype with type URL.
+        },
+      },
+    ],
+    "nextPageToken": "A String", # The standard List next-page token.
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/genomics_v1.readgroupsets.coveragebuckets.html b/docs/dyn/genomics_v1.readgroupsets.coveragebuckets.html new file mode 100644 index 00000000000..90234f6e716 --- /dev/null +++ b/docs/dyn/genomics_v1.readgroupsets.coveragebuckets.html @@ -0,0 +1,131 @@ + + + +

Genomics API . readgroupsets . coveragebuckets

+

Instance Methods

+

+ list(readGroupSetId, targetBucketWidth=None, pageSize=None, x__xgafv=None, end=None, start=None, referenceName=None, pageToken=None)

+

Lists fixed width coverage buckets for a read group set, each of which correspond to a range of a reference sequence. Each bucket summarizes coverage information across its corresponding genomic range. Coverage is defined as the number of reads which are aligned to a given base in the reference sequence. Coverage buckets are available at several precomputed bucket widths, enabling retrieval of various coverage 'zoom levels'. The caller must have READ permissions for the target read group set.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ list(readGroupSetId, targetBucketWidth=None, pageSize=None, x__xgafv=None, end=None, start=None, referenceName=None, pageToken=None) +
Lists fixed width coverage buckets for a read group set, each of which correspond to a range of a reference sequence. Each bucket summarizes coverage information across its corresponding genomic range. Coverage is defined as the number of reads which are aligned to a given base in the reference sequence. Coverage buckets are available at several precomputed bucket widths, enabling retrieval of various coverage 'zoom levels'. The caller must have READ permissions for the target read group set.
+
+Args:
+  readGroupSetId: string, Required. The ID of the read group set over which coverage is requested. (required)
+  targetBucketWidth: string, The desired width of each reported coverage bucket in base pairs. This will be rounded down to the nearest precomputed bucket width; the value of which is returned as `bucketWidth` in the response. Defaults to infinity (each bucket spans an entire reference sequence) or the length of the target range, if specified. The smallest precomputed `bucketWidth` is currently 2048 base pairs; this is subject to change.
+  pageSize: integer, The maximum number of results to return in a single page. If unspecified, defaults to 1024. The maximum value is 2048.
+  x__xgafv: string, V1 error format.
+  end: string, The end position of the range on the reference, 0-based exclusive. If specified, `referenceName` must also be specified. If unset or 0, defaults to the length of the reference.
+  start: string, The start position of the range on the reference, 0-based inclusive. If specified, `referenceName` must also be specified. Defaults to 0.
+  referenceName: string, The name of the reference to query, within the reference set associated with this query. Optional.
+  pageToken: string, The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.
+
+Returns:
+  An object of the form:
+
+    {
+    "coverageBuckets": [ # The coverage buckets. The list of buckets is sparse; a bucket with 0 overlapping reads is not returned. A bucket never crosses more than one reference sequence. Each bucket has width `bucketWidth`, unless its end is the end of the reference sequence.
+      { # A bucket over which read coverage has been precomputed. A bucket corresponds to a specific range of the reference sequence.
+        "meanCoverage": 3.14, # The average number of reads which are aligned to each individual reference base in this bucket.
+        "range": { # A 0-based half-open genomic coordinate range for search requests. # The genomic coordinate range spanned by this bucket.
+          "start": "A String", # The start position of the range on the reference, 0-based inclusive.
+          "end": "A String", # The end position of the range on the reference, 0-based exclusive.
+          "referenceName": "A String", # The reference sequence name, for example `chr1`, `1`, or `chrX`.
+        },
+      },
+    ],
+    "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results.
+    "bucketWidth": "A String", # The length of each coverage bucket in base pairs. Note that buckets at the end of a reference sequence may be shorter. This value is omitted if the bucket width is infinity (the default behaviour, with no range or `targetBucketWidth`).
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/genomics_v1.readgroupsets.html b/docs/dyn/genomics_v1.readgroupsets.html new file mode 100644 index 00000000000..80782eab482 --- /dev/null +++ b/docs/dyn/genomics_v1.readgroupsets.html @@ -0,0 +1,434 @@ + + + +

Genomics API . readgroupsets

+

Instance Methods

+

+ coveragebuckets() +

+

Returns the coveragebuckets Resource.

+ +

+ delete(readGroupSetId, x__xgafv=None)

+

Deletes a read group set.

+

+ export(readGroupSetId, body, x__xgafv=None)

+

Exports a read group set to a BAM file in Google Cloud Storage. Note that currently there may be some differences between exported BAM files and the original BAM file at the time of import. See [ImportReadGroupSets](google.genomics.v1.ReadServiceV1.ImportReadGroupSets) for caveats.

+

+ get(readGroupSetId, x__xgafv=None)

+

Gets a read group set by ID.

+

+ import_(body, x__xgafv=None)

+

Creates read group sets by asynchronously importing the provided information. The caller must have WRITE permissions to the dataset. ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import - Tags will be converted to strings - tag types are not preserved - Comments (`@CO`) in the input file header will not be preserved - Original header order of references (`@SQ`) will not be preserved - Any reverse stranded unmapped reads will be reverse complemented, and their qualities (and "BQ" tag, if any) will be reversed - Unmapped reads will be stripped of positional information (reference name and position)

+

+ patch(readGroupSetId, body, updateMask=None, x__xgafv=None)

+

Updates a read group set. This method supports patch semantics.

+

+ search(body, x__xgafv=None)

+

Searches for read group sets matching the criteria. Implements [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135).

+

Method Details

+
+ delete(readGroupSetId, x__xgafv=None) +
Deletes a read group set.
+
+Args:
+  readGroupSetId: string, The ID of the read group set to be deleted. The caller must have WRITE permissions to the dataset associated with this read group set. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ export(readGroupSetId, body, x__xgafv=None) +
Exports a read group set to a BAM file in Google Cloud Storage. Note that currently there may be some differences between exported BAM files and the original BAM file at the time of import. See [ImportReadGroupSets](google.genomics.v1.ReadServiceV1.ImportReadGroupSets) for caveats.
+
+Args:
+  readGroupSetId: string, Required. The ID of the read group set to export. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # The read group set export request.
+    "projectId": "A String", # Required. The Google Developers Console project ID that owns this export.
+    "referenceNames": [ # The reference names to export. If this is not specified, all reference sequences, including unmapped reads, are exported. Use `*` to export only unmapped reads.
+      "A String",
+    ],
+    "exportUri": "A String", # Required. A Google Cloud Storage URI for the exported BAM file. The currently authenticated user must have write access to the new file. An error will be returned if the URI already contains data.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+    "response": { # If importing [ReadGroupSets][google.genomics.v1.ReadGroupSet], an [ImportReadGroupSetsResponse][google.genomics.v1.ImportReadGroupSetsResponse] is returned. If importing [Variants][google.genomics.v1.Variant], an [ImportVariantsResponse][google.genomics.v1.ImportVariantsResponse] is returned. For exports, an empty response is returned.
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+    "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error result of the operation in case of failure.
+      "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+      "code": 42, # The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
+      "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
+        {
+          "a_key": "", # Properties of the object. Contains field @ype with type URL.
+        },
+      ],
+    },
+    "done": True or False, # If the value is `false`, it means the operation is still in progress. If true, the operation is completed, and either `error` or `response` is available.
+    "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`
+    "metadata": { # An [OperationMetadata][google.genomics.v1.OperationMetadata] object. This will always be returned with the [Operation][google.longrunning.Operation].
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+  }
+
+ +
+ get(readGroupSetId, x__xgafv=None) +
Gets a read group set by ID.
+
+Args:
+  readGroupSetId: string, The ID of the read group set. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A read group set is a logical collection of read groups, which are collections of reads produced by a sequencer. A read group set typically models reads corresponding to one sample, sequenced one way, and aligned one way. * A read group set belongs to one dataset. * A read group belongs to one read group set. * A read belongs to one read group.
+    "info": { # A map of additional read group set information.
+      "a_key": [
+        "",
+      ],
+    },
+    "name": "A String", # The read group set name. By default this will be initialized to the sample name of the sequenced data contained in this set.
+    "readGroups": [ # The read groups in this set. There are typically 1-10 read groups in a read group set.
+      { # A read group is all the data that's processed the same way by the sequencer.
+        "info": { # A map of additional read group information. This must be of the form map (string key mapping to a list of string values).
+          "a_key": [
+            "",
+          ],
+        },
+        "predictedInsertSize": 42, # The predicted insert size of this read group. The insert size is the length the sequenced DNA fragment from end-to-end, not including the adapters.
+        "description": "A String", # A free-form text description of this read group.
+        "programs": [ # The programs used to generate this read group. Programs are always identical for all read groups within a read group set. For this reason, only the first read group in a returned set will have this field populated.
+          {
+            "commandLine": "A String", # The command line used to run this program.
+            "prevProgramId": "A String", # The ID of the program run before this one.
+            "id": "A String", # The user specified locally unique ID of the program. Used along with `prevProgramId` to define an ordering between programs.
+            "version": "A String", # The version of the program run.
+            "name": "A String", # The name of the program.
+          },
+        ],
+        "sampleId": "A String", # The sample this read group's data was generated from. Note: This is not an actual ID within this repository, but rather an identifier for a sample which may be meaningful to some external system.
+        "experiment": { # The experiment used to generate this read group.
+          "sequencingCenter": "A String", # The sequencing center used as part of this experiment.
+          "libraryId": "A String", # The library used as part of this experiment. Note: This is not an actual ID within this repository, but rather an identifier for a library which may be meaningful to some external system.
+          "instrumentModel": "A String", # The instrument model used as part of this experiment. This maps to sequencing technology in BAM.
+          "platformUnit": "A String", # The platform unit used as part of this experiment e.g. flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the @RG PU field in the SAM spec.
+        },
+        "referenceSetId": "A String", # The reference set the reads in this read group are aligned to. Required if there are any read alignments.
+        "id": "A String", # The server-generated read group ID, unique for all read groups. Note: This is different than the `@RG ID` field in the SAM spec. For that value, see the `name` field.
+        "datasetId": "A String", # The ID of the dataset this read group belongs to.
+        "name": "A String", # The read group name. This corresponds to the @RG ID field in the SAM spec.
+      },
+    ],
+    "filename": "A String", # The filename of the original source file for this read group set, if any.
+    "referenceSetId": "A String", # The reference set the reads in this read group set are aligned to.
+    "id": "A String", # The server-generated read group set ID, unique for all read group sets.
+    "datasetId": "A String", # The dataset ID.
+  }
+
+ +
+ import_(body, x__xgafv=None) +
Creates read group sets by asynchronously importing the provided information. The caller must have WRITE permissions to the dataset. ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import - Tags will be converted to strings - tag types are not preserved - Comments (`@CO`) in the input file header will not be preserved - Original header order of references (`@SQ`) will not be preserved - Any reverse stranded unmapped reads will be reverse complemented, and their qualities (and "BQ" tag, if any) will be reversed - Unmapped reads will be stripped of positional information (reference name and position)
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # The read group set import request.
+    "sourceUris": [ # A list of URIs pointing at [BAM files](https://samtools.github.io/hts-specs/SAMv1.pdf) in Google Cloud Storage.
+      "A String",
+    ],
+    "referenceSetId": "A String", # The reference set to which the imported read group sets are aligned to, if any. The reference names of this reference set must be a superset of those found in the imported file headers. If no reference set id is provided, a best effort is made to associate with a matching reference set.
+    "partitionStrategy": "A String", # The partition strategy describes how read groups are partitioned into read group sets.
+    "datasetId": "A String", # Required. The ID of the dataset these read group sets will belong to. The caller must have WRITE permissions to this dataset.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+    "response": { # If importing [ReadGroupSets][google.genomics.v1.ReadGroupSet], an [ImportReadGroupSetsResponse][google.genomics.v1.ImportReadGroupSetsResponse] is returned. If importing [Variants][google.genomics.v1.Variant], an [ImportVariantsResponse][google.genomics.v1.ImportVariantsResponse] is returned. For exports, an empty response is returned.
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+    "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error result of the operation in case of failure.
+      "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+      "code": 42, # The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
+      "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
+        {
+          "a_key": "", # Properties of the object. Contains field @ype with type URL.
+        },
+      ],
+    },
+    "done": True or False, # If the value is `false`, it means the operation is still in progress. If true, the operation is completed, and either `error` or `response` is available.
+    "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`
+    "metadata": { # An [OperationMetadata][google.genomics.v1.OperationMetadata] object. This will always be returned with the [Operation][google.longrunning.Operation].
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+  }
+
+ +
+ patch(readGroupSetId, body, updateMask=None, x__xgafv=None) +
Updates a read group set. This method supports patch semantics.
+
+Args:
+  readGroupSetId: string, The ID of the read group set to be updated. The caller must have WRITE permissions to the dataset associated with this read group set. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A read group set is a logical collection of read groups, which are collections of reads produced by a sequencer. A read group set typically models reads corresponding to one sample, sequenced one way, and aligned one way. * A read group set belongs to one dataset. * A read group belongs to one read group set. * A read belongs to one read group.
+  "info": { # A map of additional read group set information.
+    "a_key": [
+      "",
+    ],
+  },
+  "name": "A String", # The read group set name. By default this will be initialized to the sample name of the sequenced data contained in this set.
+  "readGroups": [ # The read groups in this set. There are typically 1-10 read groups in a read group set.
+    { # A read group is all the data that's processed the same way by the sequencer.
+      "info": { # A map of additional read group information. This must be of the form map (string key mapping to a list of string values).
+        "a_key": [
+          "",
+        ],
+      },
+      "predictedInsertSize": 42, # The predicted insert size of this read group. The insert size is the length the sequenced DNA fragment from end-to-end, not including the adapters.
+      "description": "A String", # A free-form text description of this read group.
+      "programs": [ # The programs used to generate this read group. Programs are always identical for all read groups within a read group set. For this reason, only the first read group in a returned set will have this field populated.
+        {
+          "commandLine": "A String", # The command line used to run this program.
+          "prevProgramId": "A String", # The ID of the program run before this one.
+          "id": "A String", # The user specified locally unique ID of the program. Used along with `prevProgramId` to define an ordering between programs.
+          "version": "A String", # The version of the program run.
+          "name": "A String", # The name of the program.
+        },
+      ],
+      "sampleId": "A String", # The sample this read group's data was generated from. Note: This is not an actual ID within this repository, but rather an identifier for a sample which may be meaningful to some external system.
+      "experiment": { # The experiment used to generate this read group.
+        "sequencingCenter": "A String", # The sequencing center used as part of this experiment.
+        "libraryId": "A String", # The library used as part of this experiment. Note: This is not an actual ID within this repository, but rather an identifier for a library which may be meaningful to some external system.
+        "instrumentModel": "A String", # The instrument model used as part of this experiment. This maps to sequencing technology in BAM.
+        "platformUnit": "A String", # The platform unit used as part of this experiment e.g. flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the @RG PU field in the SAM spec.
+      },
+      "referenceSetId": "A String", # The reference set the reads in this read group are aligned to. Required if there are any read alignments.
+      "id": "A String", # The server-generated read group ID, unique for all read groups. Note: This is different than the `@RG ID` field in the SAM spec. For that value, see the `name` field.
+      "datasetId": "A String", # The ID of the dataset this read group belongs to.
+      "name": "A String", # The read group name. This corresponds to the @RG ID field in the SAM spec.
+    },
+  ],
+  "filename": "A String", # The filename of the original source file for this read group set, if any.
+  "referenceSetId": "A String", # The reference set the reads in this read group set are aligned to.
+  "id": "A String", # The server-generated read group set ID, unique for all read group sets.
+  "datasetId": "A String", # The dataset ID.
+}
+
+  updateMask: string, An optional mask specifying which fields to update. At this time, mutable fields are [referenceSetId][google.genomics.v1.ReadGroupSet.reference_set_id] and [name][google.genomics.v1.ReadGroupSet.name]. Acceptable values are "referenceSetId" and "name". If unspecified, all mutable fields will be updated.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A read group set is a logical collection of read groups, which are collections of reads produced by a sequencer. A read group set typically models reads corresponding to one sample, sequenced one way, and aligned one way. * A read group set belongs to one dataset. * A read group belongs to one read group set. * A read belongs to one read group.
+    "info": { # A map of additional read group set information.
+      "a_key": [
+        "",
+      ],
+    },
+    "name": "A String", # The read group set name. By default this will be initialized to the sample name of the sequenced data contained in this set.
+    "readGroups": [ # The read groups in this set. There are typically 1-10 read groups in a read group set.
+      { # A read group is all the data that's processed the same way by the sequencer.
+        "info": { # A map of additional read group information. This must be of the form map (string key mapping to a list of string values).
+          "a_key": [
+            "",
+          ],
+        },
+        "predictedInsertSize": 42, # The predicted insert size of this read group. The insert size is the length the sequenced DNA fragment from end-to-end, not including the adapters.
+        "description": "A String", # A free-form text description of this read group.
+        "programs": [ # The programs used to generate this read group. Programs are always identical for all read groups within a read group set. For this reason, only the first read group in a returned set will have this field populated.
+          {
+            "commandLine": "A String", # The command line used to run this program.
+            "prevProgramId": "A String", # The ID of the program run before this one.
+            "id": "A String", # The user specified locally unique ID of the program. Used along with `prevProgramId` to define an ordering between programs.
+            "version": "A String", # The version of the program run.
+            "name": "A String", # The name of the program.
+          },
+        ],
+        "sampleId": "A String", # The sample this read group's data was generated from. Note: This is not an actual ID within this repository, but rather an identifier for a sample which may be meaningful to some external system.
+        "experiment": { # The experiment used to generate this read group.
+          "sequencingCenter": "A String", # The sequencing center used as part of this experiment.
+          "libraryId": "A String", # The library used as part of this experiment. Note: This is not an actual ID within this repository, but rather an identifier for a library which may be meaningful to some external system.
+          "instrumentModel": "A String", # The instrument model used as part of this experiment. This maps to sequencing technology in BAM.
+          "platformUnit": "A String", # The platform unit used as part of this experiment e.g. flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the @RG PU field in the SAM spec.
+        },
+        "referenceSetId": "A String", # The reference set the reads in this read group are aligned to. Required if there are any read alignments.
+        "id": "A String", # The server-generated read group ID, unique for all read groups. Note: This is different than the `@RG ID` field in the SAM spec. For that value, see the `name` field.
+        "datasetId": "A String", # The ID of the dataset this read group belongs to.
+        "name": "A String", # The read group name. This corresponds to the @RG ID field in the SAM spec.
+      },
+    ],
+    "filename": "A String", # The filename of the original source file for this read group set, if any.
+    "referenceSetId": "A String", # The reference set the reads in this read group set are aligned to.
+    "id": "A String", # The server-generated read group set ID, unique for all read group sets.
+    "datasetId": "A String", # The dataset ID.
+  }
+
+ +
+ search(body, x__xgafv=None) +
Searches for read group sets matching the criteria. Implements [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135).
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # The read group set search request.
+    "pageToken": "A String", # The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.
+    "datasetIds": [ # Restricts this query to read group sets within the given datasets. At least one ID must be provided.
+      "A String",
+    ],
+    "name": "A String", # Only return read group sets for which a substring of the name matches this string.
+    "pageSize": 42, # Specifies number of results to return in a single page. If unspecified, it will default to 256. The maximum value is 1024.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # The read group set search response.
+    "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results.
+    "readGroupSets": [ # The list of matching read group sets.
+      { # A read group set is a logical collection of read groups, which are collections of reads produced by a sequencer. A read group set typically models reads corresponding to one sample, sequenced one way, and aligned one way. * A read group set belongs to one dataset. * A read group belongs to one read group set. * A read belongs to one read group.
+        "info": { # A map of additional read group set information.
+          "a_key": [
+            "",
+          ],
+        },
+        "name": "A String", # The read group set name. By default this will be initialized to the sample name of the sequenced data contained in this set.
+        "readGroups": [ # The read groups in this set. There are typically 1-10 read groups in a read group set.
+          { # A read group is all the data that's processed the same way by the sequencer.
+            "info": { # A map of additional read group information. This must be of the form map (string key mapping to a list of string values).
+              "a_key": [
+                "",
+              ],
+            },
+            "predictedInsertSize": 42, # The predicted insert size of this read group. The insert size is the length the sequenced DNA fragment from end-to-end, not including the adapters.
+            "description": "A String", # A free-form text description of this read group.
+            "programs": [ # The programs used to generate this read group. Programs are always identical for all read groups within a read group set. For this reason, only the first read group in a returned set will have this field populated.
+              {
+                "commandLine": "A String", # The command line used to run this program.
+                "prevProgramId": "A String", # The ID of the program run before this one.
+                "id": "A String", # The user specified locally unique ID of the program. Used along with `prevProgramId` to define an ordering between programs.
+                "version": "A String", # The version of the program run.
+                "name": "A String", # The name of the program.
+              },
+            ],
+            "sampleId": "A String", # The sample this read group's data was generated from. Note: This is not an actual ID within this repository, but rather an identifier for a sample which may be meaningful to some external system.
+            "experiment": { # The experiment used to generate this read group.
+              "sequencingCenter": "A String", # The sequencing center used as part of this experiment.
+              "libraryId": "A String", # The library used as part of this experiment. Note: This is not an actual ID within this repository, but rather an identifier for a library which may be meaningful to some external system.
+              "instrumentModel": "A String", # The instrument model used as part of this experiment. This maps to sequencing technology in BAM.
+              "platformUnit": "A String", # The platform unit used as part of this experiment e.g. flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the @RG PU field in the SAM spec.
+            },
+            "referenceSetId": "A String", # The reference set the reads in this read group are aligned to. Required if there are any read alignments.
+            "id": "A String", # The server-generated read group ID, unique for all read groups. Note: This is different than the `@RG ID` field in the SAM spec. For that value, see the `name` field.
+            "datasetId": "A String", # The ID of the dataset this read group belongs to.
+            "name": "A String", # The read group name. This corresponds to the @RG ID field in the SAM spec.
+          },
+        ],
+        "filename": "A String", # The filename of the original source file for this read group set, if any.
+        "referenceSetId": "A String", # The reference set the reads in this read group set are aligned to.
+        "id": "A String", # The server-generated read group set ID, unique for all read group sets.
+        "datasetId": "A String", # The dataset ID.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/genomics_v1.reads.html b/docs/dyn/genomics_v1.reads.html new file mode 100644 index 00000000000..a785ae07387 --- /dev/null +++ b/docs/dyn/genomics_v1.reads.html @@ -0,0 +1,158 @@ + + + +

Genomics API . reads

+

Instance Methods

+

+ search(body, x__xgafv=None)

+

Gets a list of reads for one or more read group sets. Reads search operates over a genomic coordinate space of reference sequence & position defined over the reference sequences to which the requested read group sets are aligned. If a target positional range is specified, search returns all reads whose alignment to the reference genome overlap the range. A query which specifies only read group set IDs yields all reads in those read group sets, including unmapped reads. All reads returned (including reads on subsequent pages) are ordered by genomic coordinate (reference sequence & position). Reads with equivalent genomic coordinates are returned in a deterministic order. Implements [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85).

+

Method Details

+
+ search(body, x__xgafv=None) +
Gets a list of reads for one or more read group sets. Reads search operates over a genomic coordinate space of reference sequence & position defined over the reference sequences to which the requested read group sets are aligned. If a target positional range is specified, search returns all reads whose alignment to the reference genome overlap the range. A query which specifies only read group set IDs yields all reads in those read group sets, including unmapped reads. All reads returned (including reads on subsequent pages) are ordered by genomic coordinate (reference sequence & position). Reads with equivalent genomic coordinates are returned in a deterministic order. Implements [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L85).
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # The read search request.
+    "end": "A String", # The end position of the range on the reference, 0-based exclusive. If specified, `referenceName` must also be specified.
+    "readGroupIds": [ # The IDs of the read groups within which to search for reads. All specified read groups must belong to the same read group sets. Must specify one of `readGroupSetIds` or `readGroupIds`.
+      "A String",
+    ],
+    "pageSize": 42, # Specifies number of results to return in a single page. If unspecified, it will default to 256. The maximum value is 2048.
+    "pageToken": "A String", # The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.
+    "start": "A String", # The start position of the range on the reference, 0-based inclusive. If specified, `referenceName` must also be specified.
+    "referenceName": "A String", # The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to *, only unmapped reads are returned.
+    "readGroupSetIds": [ # The IDs of the read groups sets within which to search for reads. All specified read group sets must be aligned against a common set of reference sequences; this defines the genomic coordinates for the query. Must specify one of `readGroupSetIds` or `readGroupIds`.
+      "A String",
+    ],
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # The read search response.
+    "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results.
+    "alignments": [ # The list of matching alignments sorted by mapped genomic coordinate, if any, ascending in position within the same reference. Unmapped reads, which have no position, are returned contiguously and are sorted in ascending lexicographic order by fragment name.
+      { # A read alignment describes a linear alignment of a string of DNA to a [reference sequence][google.genomics.v1.Reference], in addition to metadata about the fragment (the molecule of DNA sequenced) and the read (the bases which were read by the sequencer). A read is equivalent to a line in a SAM file. A read belongs to exactly one read group and exactly one [read group set][google.genomics.v1.ReadGroupSet]. ### Generating a reference-aligned sequence string When interacting with mapped reads, it's often useful to produce a string representing the local alignment of the read to reference. The following pseudocode demonstrates one way of doing this: out = "" offset = 0 for c in read.alignment.cigar { switch c.operation { case "ALIGNMENT_MATCH", "SEQUENCE_MATCH", "SEQUENCE_MISMATCH": out += read.alignedSequence[offset:offset+c.operationLength] offset += c.operationLength break case "CLIP_SOFT", "INSERT": offset += c.operationLength break case "PAD": out += repeat("*", c.operationLength) break case "DELETE": out += repeat("-", c.operationLength) break case "SKIP": out += repeat(" ", c.operationLength) break case "CLIP_HARD": break } } return out ### Converting to SAM's CIGAR string The following pseudocode generates a SAM CIGAR string from the `cigar` field. Note that this is a lossy conversion (`cigar.referenceSequence` is lost). cigarMap = { "ALIGNMENT_MATCH": "M", "INSERT": "I", "DELETE": "D", "SKIP": "N", "CLIP_SOFT": "S", "CLIP_HARD": "H", "PAD": "P", "SEQUENCE_MATCH": "=", "SEQUENCE_MISMATCH": "X", } cigarStr = "" for c in read.alignment.cigar { cigarStr += c.operationLength + cigarMap[c.operation] } return cigarStr
+        "info": { # A map of additional read alignment information. This must be of the form map (string key mapping to a list of string values).
+          "a_key": [
+            "",
+          ],
+        },
+        "duplicateFragment": True or False, # The fragment is a PCR or optical duplicate (SAM flag 0x400)
+        "nextMatePosition": { # An abstraction for referring to a genomic position, in relation to some already known reference. For now, represents a genomic position as a reference name, a base number on that reference (0-based), and a determination of forward or reverse strand. # The mapping of the primary alignment of the `(readNumber+1)%numberReads` read in the fragment. It replaces mate position and mate strand in SAM.
+          "position": "A String", # The 0-based offset from the start of the forward strand for that reference.
+          "reverseStrand": True or False, # Whether this position is on the reverse strand, as opposed to the forward strand.
+          "referenceName": "A String", # The name of the reference in whatever reference set is being used.
+        },
+        "readGroupSetId": "A String", # The ID of the read group set this read belongs to. (Every read must belong to exactly one read group set.)
+        "numberReads": 42, # The number of reads in the fragment (extension to SAM flag 0x1).
+        "failedVendorQualityChecks": True or False, # SAM flag 0x200
+        "fragmentName": "A String", # The fragment name. Equivalent to QNAME (query template name) in SAM.
+        "readNumber": 42, # The read number in sequencing. 0-based and less than numberReads. This field replaces SAM flag 0x40 and 0x80.
+        "properPlacement": True or False, # The orientation and the distance between reads from the fragment are consistent with the sequencing protocol (SAM flag 0x2)
+        "readGroupId": "A String", # The ID of the read group this read belongs to. (Every read must belong to exactly one read group.)
+        "supplementaryAlignment": True or False, # Whether this alignment is supplementary. Equivalent to SAM flag 0x800. Supplementary alignments are used in the representation of a chimeric alignment. In a chimeric alignment, a read is split into multiple linear alignments that map to different reference contigs. The first linear alignment in the read will be designated as the representative alignment; the remaining linear alignments will be designated as supplementary alignments. These alignments may have different mapping quality scores. In each linear alignment in a chimeric alignment, the read will be hard clipped. The `alignedSequence` and `alignedQuality` fields in the alignment record will only represent the bases for its respective linear alignment.
+        "alignedQuality": [ # The quality of the read sequence contained in this alignment record. `alignedSequence` and `alignedQuality` may be shorter than the full read sequence and quality. This will occur if the alignment is part of a chimeric alignment, or if the read was trimmed. When this occurs, the CIGAR for this read will begin/end with a hard clip operator that will indicate the length of the excised sequence.
+          42,
+        ],
+        "fragmentLength": 42, # The observed length of the fragment, equivalent to TLEN in SAM.
+        "alignedSequence": "A String", # The bases of the read sequence contained in this alignment record, *without CIGAR operations applied*. `alignedSequence` and `alignedQuality` may be shorter than the full read sequence and quality. This will occur if the alignment is part of a chimeric alignment, or if the read was trimmed. When this occurs, the CIGAR for this read will begin/end with a hard clip operator that will indicate the length of the excised sequence.
+        "id": "A String", # The server-generated read ID, unique across all reads. This is different from the `fragmentName`.
+        "alignment": { # A linear alignment can be represented by one CIGAR string. Describes the mapped position and local alignment of the read to the reference. # The linear alignment for this alignment record. This field will be null if the read is unmapped.
+          "position": { # An abstraction for referring to a genomic position, in relation to some already known reference. For now, represents a genomic position as a reference name, a base number on that reference (0-based), and a determination of forward or reverse strand. # The position of this alignment.
+            "position": "A String", # The 0-based offset from the start of the forward strand for that reference.
+            "reverseStrand": True or False, # Whether this position is on the reverse strand, as opposed to the forward strand.
+            "referenceName": "A String", # The name of the reference in whatever reference set is being used.
+          },
+          "cigar": [ # Represents the local alignment of this sequence (alignment matches, indels, etc) against the reference.
+            { # A single CIGAR operation.
+              "referenceSequence": "A String", # `referenceSequence` is only used at mismatches (`SEQUENCE_MISMATCH`) and deletions (`DELETE`). Filling this field replaces SAM's MD tag. If the relevant information is not available, this field is unset.
+              "operation": "A String",
+              "operationLength": "A String", # The number of genomic bases that the operation runs for. Required.
+            },
+          ],
+          "mappingQuality": 42, # The mapping quality of this alignment. Represents how likely the read maps to this position as opposed to other locations.
+        },
+        "secondaryAlignment": True or False, # Whether this alignment is secondary. Equivalent to SAM flag 0x100. A secondary alignment represents an alternative to the primary alignment for this read. Aligners may return secondary alignments if a read can map ambiguously to multiple coordinates in the genome. By convention, each read has one and only one alignment where both `secondaryAlignment` and `supplementaryAlignment` are false.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/genomics_v1.references.bases.html b/docs/dyn/genomics_v1.references.bases.html new file mode 100644 index 00000000000..3c589050dff --- /dev/null +++ b/docs/dyn/genomics_v1.references.bases.html @@ -0,0 +1,120 @@ + + + +

Genomics API . references . bases

+

Instance Methods

+

+ list(referenceId, end=None, pageSize=None, x__xgafv=None, pageToken=None, start=None)

+

Lists the bases in a reference, optionally restricted to a range. Implements [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221).

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ list(referenceId, end=None, pageSize=None, x__xgafv=None, pageToken=None, start=None) +
Lists the bases in a reference, optionally restricted to a range. Implements [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221).
+
+Args:
+  referenceId: string, The ID of the reference. (required)
+  end: string, The end position (0-based, exclusive) of this query. Defaults to the length of this reference.
+  pageSize: integer, Specifies the maximum number of bases to return in a single page.
+  x__xgafv: string, V1 error format.
+  pageToken: string, The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.
+  start: string, The start position (0-based) of this query. Defaults to 0.
+
+Returns:
+  An object of the form:
+
+    {
+    "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results.
+    "sequence": "A String", # A substring of the bases that make up this reference.
+    "offset": "A String", # The offset position (0-based) of the given `sequence` from the start of this `Reference`. This value will differ for each page in a paginated request.
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/genomics_v1.references.html b/docs/dyn/genomics_v1.references.html new file mode 100644 index 00000000000..bd0ac736a66 --- /dev/null +++ b/docs/dyn/genomics_v1.references.html @@ -0,0 +1,156 @@ + + + +

Genomics API . references

+

Instance Methods

+

+ bases() +

+

Returns the bases Resource.

+ +

+ get(referenceId, x__xgafv=None)

+

Gets a reference. Implements [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158).

+

+ search(body, x__xgafv=None)

+

Searches for references which match the given criteria. Implements [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146).

+

Method Details

+
+ get(referenceId, x__xgafv=None) +
Gets a reference. Implements [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L158).
+
+Args:
+  referenceId: string, The ID of the reference. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A reference is a canonical assembled DNA sequence, intended to act as a reference coordinate space for other genomic annotations. A single reference might represent the human chromosome 1 or mitochandrial DNA, for instance. A reference belongs to one or more reference sets.
+    "name": "A String", # The name of this reference, for example `22`.
+    "sourceUri": "A String", # The URI from which the sequence was obtained. Specifies a FASTA format file/string with one name, sequence pair.
+    "sourceAccessions": [ # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally with a version number, for example `GCF_000001405.26`.
+      "A String",
+    ],
+    "length": "A String", # The length of this reference's sequence.
+    "ncbiTaxonId": 42, # ID from http://www.ncbi.nlm.nih.gov/taxonomy (e.g. 9606->human) if not specified by the containing reference set.
+    "id": "A String", # The server-generated reference ID, unique across all references.
+    "md5checksum": "A String", # MD5 of the upper-case sequence excluding all whitespace characters (this is equivalent to SQ:M5 in SAM). This value is represented in lower case hexadecimal format.
+  }
+
+ +
+ search(body, x__xgafv=None) +
Searches for references which match the given criteria. Implements [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L146).
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "md5checksums": [ # If present, return references for which the `md5checksum` matches. See `Reference.md5checksum` for construction details.
+      "A String",
+    ],
+    "pageToken": "A String", # The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.
+    "referenceSetId": "A String", # If present, return only references which belong to this reference set.
+    "accessions": [ # If present, return references for which the accession matches this string. Best to give a version number, for example `GCF_000001405.26`. If only the main accession number is given then all records with that main accession will be returned, whichever version. Note that different versions will have different sequences.
+      "A String",
+    ],
+    "pageSize": 42, # Specifies the maximum number of results to return in a single page.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    {
+    "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results.
+    "references": [ # The matching references.
+      { # A reference is a canonical assembled DNA sequence, intended to act as a reference coordinate space for other genomic annotations. A single reference might represent the human chromosome 1 or mitochandrial DNA, for instance. A reference belongs to one or more reference sets.
+        "name": "A String", # The name of this reference, for example `22`.
+        "sourceUri": "A String", # The URI from which the sequence was obtained. Specifies a FASTA format file/string with one name, sequence pair.
+        "sourceAccessions": [ # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally with a version number, for example `GCF_000001405.26`.
+          "A String",
+        ],
+        "length": "A String", # The length of this reference's sequence.
+        "ncbiTaxonId": 42, # ID from http://www.ncbi.nlm.nih.gov/taxonomy (e.g. 9606->human) if not specified by the containing reference set.
+        "id": "A String", # The server-generated reference ID, unique across all references.
+        "md5checksum": "A String", # MD5 of the upper-case sequence excluding all whitespace characters (this is equivalent to SQ:M5 in SAM). This value is represented in lower case hexadecimal format.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/genomics_v1.referencesets.html b/docs/dyn/genomics_v1.referencesets.html new file mode 100644 index 00000000000..7bcbcc2b01f --- /dev/null +++ b/docs/dyn/genomics_v1.referencesets.html @@ -0,0 +1,157 @@ + + + +

Genomics API . referencesets

+

Instance Methods

+

+ get(referenceSetId, x__xgafv=None)

+

Gets a reference set. Implements [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83).

+

+ search(body, x__xgafv=None)

+

Searches for reference sets which match the given criteria. Implements [GlobalAllianceApi.searchReferenceSets](http://ga4gh.org/documentation/api/v0.5.1/ga4gh_api.html#/schema/org.ga4gh.searchReferenceSets).

+

Method Details

+
+ get(referenceSetId, x__xgafv=None) +
Gets a reference set. Implements [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L83).
+
+Args:
+  referenceSetId: string, The ID of the reference set. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A reference set is a set of references which typically comprise a reference assembly for a species, such as `GRCh38` which is representative of the human genome. A reference set defines a common coordinate space for comparing reference-aligned experimental data. A reference set contains 1 or more references.
+    "description": "A String", # Free text description of this reference set.
+    "sourceUri": "A String", # The URI from which the references were obtained.
+    "referenceIds": [ # The IDs of the reference objects that are part of this set. `Reference.md5checksum` must be unique within this set.
+      "A String",
+    ],
+    "assemblyId": "A String", # Public id of this reference set, such as `GRCh37`.
+    "sourceAccessions": [ # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally with a version number, for example `NC_000001.11`.
+      "A String",
+    ],
+    "md5checksum": "A String", # Order-independent MD5 checksum which identifies this reference set. The checksum is computed by sorting all lower case hexidecimal string `reference.md5checksum` (for all reference in this set) in ascending lexicographic order, concatenating, and taking the MD5 of that value. The resulting value is represented in lower case hexadecimal format.
+    "id": "A String", # The server-generated reference set ID, unique across all reference sets.
+    "ncbiTaxonId": 42, # ID from http://www.ncbi.nlm.nih.gov/taxonomy (e.g. 9606->human) indicating the species which this assembly is intended to model. Note that contained references may specify a different `ncbiTaxonId`, as assemblies may contain reference sequences which do not belong to the modeled species, e.g. EBV in a human reference genome.
+  }
+
+ +
+ search(body, x__xgafv=None) +
Searches for reference sets which match the given criteria. Implements [GlobalAllianceApi.searchReferenceSets](http://ga4gh.org/documentation/api/v0.5.1/ga4gh_api.html#/schema/org.ga4gh.searchReferenceSets).
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "md5checksums": [ # If present, return references for which the `md5checksum` matches. See `ReferenceSet.md5checksum` for details.
+      "A String",
+    ],
+    "assemblyId": "A String", # If present, return reference sets for which a substring of their `assemblyId` matches this string (case insensitive).
+    "accessions": [ # If present, return references for which the accession matches any of these strings. Best to give a version number, for example `GCF_000001405.26`. If only the main accession number is given then all records with that main accession will be returned, whichever version. Note that different versions will have different sequences.
+      "A String",
+    ],
+    "pageSize": 42, # Specifies the maximum number of results to return in a single page.
+    "pageToken": "A String", # The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    {
+    "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results.
+    "referenceSets": [ # The matching references sets.
+      { # A reference set is a set of references which typically comprise a reference assembly for a species, such as `GRCh38` which is representative of the human genome. A reference set defines a common coordinate space for comparing reference-aligned experimental data. A reference set contains 1 or more references.
+        "description": "A String", # Free text description of this reference set.
+        "sourceUri": "A String", # The URI from which the references were obtained.
+        "referenceIds": [ # The IDs of the reference objects that are part of this set. `Reference.md5checksum` must be unique within this set.
+          "A String",
+        ],
+        "assemblyId": "A String", # Public id of this reference set, such as `GRCh37`.
+        "sourceAccessions": [ # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally with a version number, for example `NC_000001.11`.
+          "A String",
+        ],
+        "md5checksum": "A String", # Order-independent MD5 checksum which identifies this reference set. The checksum is computed by sorting all lower case hexidecimal string `reference.md5checksum` (for all reference in this set) in ascending lexicographic order, concatenating, and taking the MD5 of that value. The resulting value is represented in lower case hexadecimal format.
+        "id": "A String", # The server-generated reference set ID, unique across all reference sets.
+        "ncbiTaxonId": 42, # ID from http://www.ncbi.nlm.nih.gov/taxonomy (e.g. 9606->human) indicating the species which this assembly is intended to model. Note that contained references may specify a different `ncbiTaxonId`, as assemblies may contain reference sequences which do not belong to the modeled species, e.g. EBV in a human reference genome.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/genomics_v1.variants.html b/docs/dyn/genomics_v1.variants.html new file mode 100644 index 00000000000..4606cb2e9b3 --- /dev/null +++ b/docs/dyn/genomics_v1.variants.html @@ -0,0 +1,489 @@ + + + +

Genomics API . variants

+

Instance Methods

+

+ create(body, x__xgafv=None)

+

Creates a new variant.

+

+ delete(variantId, x__xgafv=None)

+

Deletes a variant.

+

+ get(variantId, x__xgafv=None)

+

Gets a variant by ID.

+

+ import_(body, x__xgafv=None)

+

Creates variant data by asynchronously importing the provided information. The variants for import will be merged with any existing variant that matches its reference sequence, start, end, reference bases, and alternative bases. If no such variant exists, a new one will be created. When variants are merged, the call information from the new variant is added to the existing variant, and other fields (such as key/value pairs) are discarded. In particular, this means for merged VCF variants that have conflicting INFO fields, some data will be arbitrarily discarded. As a special case, for single-sample VCF files, QUAL and FILTER fields will be moved to the call level; these are sometimes interpreted in a call-specific context. Imported VCF headers are appended to the metadata already in a variant set.

+

+ patch(variantId, body, x__xgafv=None, updateMask=None)

+

Updates a variant. This method supports patch semantics. Returns the modified variant without its calls.

+

+ search(body, x__xgafv=None)

+

Gets a list of variants matching the criteria. Implements [GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L126).

+

Method Details

+
+ create(body, x__xgafv=None) +
Creates a new variant.
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A variant represents a change in DNA sequence relative to a reference sequence. For example, a variant could represent a SNP or an insertion. Variants belong to a variant set. Each of the calls on a variant represent a determination of genotype with respect to that variant. For example, a call might assign probability of 0.32 to the occurrence of a SNP named rs1234 in a sample named NA12345. A call belongs to a call set, which contains related calls typically from one sample.
+  "info": { # A map of additional variant information. This must be of the form map (string key mapping to a list of string values).
+    "a_key": [
+      "",
+    ],
+  },
+  "variantSetId": "A String", # The ID of the variant set this variant belongs to.
+  "end": "A String", # The end position (0-based) of this variant. This corresponds to the first base after the last base in the reference allele. So, the length of the reference allele is (end - start). This is useful for variants that don't explicitly give alternate bases, for example large deletions.
+  "calls": [ # The variant calls for this particular variant. Each one represents the determination of genotype with respect to this variant.
+    { # A call represents the determination of genotype with respect to a particular variant. It may include associated information such as quality and phasing. For example, a call might assign a probability of 0.32 to the occurrence of a SNP named rs1234 in a call set with the name NA12345.
+      "info": { # A map of additional variant call information. This must be of the form map (string key mapping to a list of string values).
+        "a_key": [
+          "",
+        ],
+      },
+      "genotype": [ # The genotype of this variant call. Each value represents either the value of the `referenceBases` field or a 1-based index into `alternateBases`. If a variant had a `referenceBases` value of `T` and an `alternateBases` value of `["A", "C"]`, and the `genotype` was `[2, 1]`, that would mean the call represented the heterozygous value `CA` for this variant. If the `genotype` was instead `[0, 1]`, the represented value would be `TA`. Ordering of the genotype values is important if the `phaseset` is present. If a genotype is not called (that is, a `.` is present in the GT string) -1 is returned.
+        42,
+      ],
+      "callSetId": "A String", # The ID of the call set this variant call belongs to.
+      "phaseset": "A String", # If this field is present, this variant call's genotype ordering implies the phase of the bases and is consistent with any other variant calls in the same reference sequence which have the same phaseset value. When importing data from VCF, if the genotype data was phased but no phase set was specified this field will be set to `*`.
+      "genotypeLikelihood": [ # The genotype likelihoods for this variant call. Each array entry represents how likely a specific genotype is for this call. The value ordering is defined by the GL tag in the VCF spec. If Phred-scaled genotype likelihood scores (PL) are available and log10(P) genotype likelihood scores (GL) are not, PL scores are converted to GL scores. If both are available, PL scores are stored in `info`.
+        3.14,
+      ],
+      "callSetName": "A String", # The name of the call set this variant call belongs to.
+    },
+  ],
+  "created": "A String", # The date this variant was created, in milliseconds from the epoch.
+  "referenceBases": "A String", # The reference bases for this variant. They start at the given position.
+  "filter": [ # A list of filters (normally quality filters) this variant has failed. `PASS` indicates this variant has passed all filters.
+    "A String",
+  ],
+  "start": "A String", # The position at which this variant occurs (0-based). This corresponds to the first base of the string of reference bases.
+  "names": [ # Names for the variant, for example a RefSNP ID.
+    "A String",
+  ],
+  "alternateBases": [ # The bases that appear instead of the reference bases.
+    "A String",
+  ],
+  "referenceName": "A String", # The reference on which this variant occurs. (such as `chr20` or `X`)
+  "quality": 3.14, # A measure of how likely this variant is to be real. A higher value is better.
+  "id": "A String", # The server-generated variant ID, unique across all variants.
+}
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A variant represents a change in DNA sequence relative to a reference sequence. For example, a variant could represent a SNP or an insertion. Variants belong to a variant set. Each of the calls on a variant represent a determination of genotype with respect to that variant. For example, a call might assign probability of 0.32 to the occurrence of a SNP named rs1234 in a sample named NA12345. A call belongs to a call set, which contains related calls typically from one sample.
+    "info": { # A map of additional variant information. This must be of the form map (string key mapping to a list of string values).
+      "a_key": [
+        "",
+      ],
+    },
+    "variantSetId": "A String", # The ID of the variant set this variant belongs to.
+    "end": "A String", # The end position (0-based) of this variant. This corresponds to the first base after the last base in the reference allele. So, the length of the reference allele is (end - start). This is useful for variants that don't explicitly give alternate bases, for example large deletions.
+    "calls": [ # The variant calls for this particular variant. Each one represents the determination of genotype with respect to this variant.
+      { # A call represents the determination of genotype with respect to a particular variant. It may include associated information such as quality and phasing. For example, a call might assign a probability of 0.32 to the occurrence of a SNP named rs1234 in a call set with the name NA12345.
+        "info": { # A map of additional variant call information. This must be of the form map (string key mapping to a list of string values).
+          "a_key": [
+            "",
+          ],
+        },
+        "genotype": [ # The genotype of this variant call. Each value represents either the value of the `referenceBases` field or a 1-based index into `alternateBases`. If a variant had a `referenceBases` value of `T` and an `alternateBases` value of `["A", "C"]`, and the `genotype` was `[2, 1]`, that would mean the call represented the heterozygous value `CA` for this variant. If the `genotype` was instead `[0, 1]`, the represented value would be `TA`. Ordering of the genotype values is important if the `phaseset` is present. If a genotype is not called (that is, a `.` is present in the GT string) -1 is returned.
+          42,
+        ],
+        "callSetId": "A String", # The ID of the call set this variant call belongs to.
+        "phaseset": "A String", # If this field is present, this variant call's genotype ordering implies the phase of the bases and is consistent with any other variant calls in the same reference sequence which have the same phaseset value. When importing data from VCF, if the genotype data was phased but no phase set was specified this field will be set to `*`.
+        "genotypeLikelihood": [ # The genotype likelihoods for this variant call. Each array entry represents how likely a specific genotype is for this call. The value ordering is defined by the GL tag in the VCF spec. If Phred-scaled genotype likelihood scores (PL) are available and log10(P) genotype likelihood scores (GL) are not, PL scores are converted to GL scores. If both are available, PL scores are stored in `info`.
+          3.14,
+        ],
+        "callSetName": "A String", # The name of the call set this variant call belongs to.
+      },
+    ],
+    "created": "A String", # The date this variant was created, in milliseconds from the epoch.
+    "referenceBases": "A String", # The reference bases for this variant. They start at the given position.
+    "filter": [ # A list of filters (normally quality filters) this variant has failed. `PASS` indicates this variant has passed all filters.
+      "A String",
+    ],
+    "start": "A String", # The position at which this variant occurs (0-based). This corresponds to the first base of the string of reference bases.
+    "names": [ # Names for the variant, for example a RefSNP ID.
+      "A String",
+    ],
+    "alternateBases": [ # The bases that appear instead of the reference bases.
+      "A String",
+    ],
+    "referenceName": "A String", # The reference on which this variant occurs. (such as `chr20` or `X`)
+    "quality": 3.14, # A measure of how likely this variant is to be real. A higher value is better.
+    "id": "A String", # The server-generated variant ID, unique across all variants.
+  }
+
+ +
+ delete(variantId, x__xgafv=None) +
Deletes a variant.
+
+Args:
+  variantId: string, The ID of the variant to be deleted. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ get(variantId, x__xgafv=None) +
Gets a variant by ID.
+
+Args:
+  variantId: string, The ID of the variant. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A variant represents a change in DNA sequence relative to a reference sequence. For example, a variant could represent a SNP or an insertion. Variants belong to a variant set. Each of the calls on a variant represent a determination of genotype with respect to that variant. For example, a call might assign probability of 0.32 to the occurrence of a SNP named rs1234 in a sample named NA12345. A call belongs to a call set, which contains related calls typically from one sample.
+    "info": { # A map of additional variant information. This must be of the form map (string key mapping to a list of string values).
+      "a_key": [
+        "",
+      ],
+    },
+    "variantSetId": "A String", # The ID of the variant set this variant belongs to.
+    "end": "A String", # The end position (0-based) of this variant. This corresponds to the first base after the last base in the reference allele. So, the length of the reference allele is (end - start). This is useful for variants that don't explicitly give alternate bases, for example large deletions.
+    "calls": [ # The variant calls for this particular variant. Each one represents the determination of genotype with respect to this variant.
+      { # A call represents the determination of genotype with respect to a particular variant. It may include associated information such as quality and phasing. For example, a call might assign a probability of 0.32 to the occurrence of a SNP named rs1234 in a call set with the name NA12345.
+        "info": { # A map of additional variant call information. This must be of the form map (string key mapping to a list of string values).
+          "a_key": [
+            "",
+          ],
+        },
+        "genotype": [ # The genotype of this variant call. Each value represents either the value of the `referenceBases` field or a 1-based index into `alternateBases`. If a variant had a `referenceBases` value of `T` and an `alternateBases` value of `["A", "C"]`, and the `genotype` was `[2, 1]`, that would mean the call represented the heterozygous value `CA` for this variant. If the `genotype` was instead `[0, 1]`, the represented value would be `TA`. Ordering of the genotype values is important if the `phaseset` is present. If a genotype is not called (that is, a `.` is present in the GT string) -1 is returned.
+          42,
+        ],
+        "callSetId": "A String", # The ID of the call set this variant call belongs to.
+        "phaseset": "A String", # If this field is present, this variant call's genotype ordering implies the phase of the bases and is consistent with any other variant calls in the same reference sequence which have the same phaseset value. When importing data from VCF, if the genotype data was phased but no phase set was specified this field will be set to `*`.
+        "genotypeLikelihood": [ # The genotype likelihoods for this variant call. Each array entry represents how likely a specific genotype is for this call. The value ordering is defined by the GL tag in the VCF spec. If Phred-scaled genotype likelihood scores (PL) are available and log10(P) genotype likelihood scores (GL) are not, PL scores are converted to GL scores. If both are available, PL scores are stored in `info`.
+          3.14,
+        ],
+        "callSetName": "A String", # The name of the call set this variant call belongs to.
+      },
+    ],
+    "created": "A String", # The date this variant was created, in milliseconds from the epoch.
+    "referenceBases": "A String", # The reference bases for this variant. They start at the given position.
+    "filter": [ # A list of filters (normally quality filters) this variant has failed. `PASS` indicates this variant has passed all filters.
+      "A String",
+    ],
+    "start": "A String", # The position at which this variant occurs (0-based). This corresponds to the first base of the string of reference bases.
+    "names": [ # Names for the variant, for example a RefSNP ID.
+      "A String",
+    ],
+    "alternateBases": [ # The bases that appear instead of the reference bases.
+      "A String",
+    ],
+    "referenceName": "A String", # The reference on which this variant occurs. (such as `chr20` or `X`)
+    "quality": 3.14, # A measure of how likely this variant is to be real. A higher value is better.
+    "id": "A String", # The server-generated variant ID, unique across all variants.
+  }
+
+ +
+ import_(body, x__xgafv=None) +
Creates variant data by asynchronously importing the provided information. The variants for import will be merged with any existing variant that matches its reference sequence, start, end, reference bases, and alternative bases. If no such variant exists, a new one will be created. When variants are merged, the call information from the new variant is added to the existing variant, and other fields (such as key/value pairs) are discarded. In particular, this means for merged VCF variants that have conflicting INFO fields, some data will be arbitrarily discarded. As a special case, for single-sample VCF files, QUAL and FILTER fields will be moved to the call level; these are sometimes interpreted in a call-specific context. Imported VCF headers are appended to the metadata already in a variant set.
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # The variant data import request.
+    "variantSetId": "A String", # Required. The variant set to which variant data should be imported.
+    "normalizeReferenceNames": True or False, # Convert reference names to the canonical representation. hg19 haploytypes (those reference names containing "_hap") are not modified in any way. All other reference names are modified according to the following rules: The reference name is capitalized. The "chr" prefix is dropped for all autosomes and sex chromsomes. For example "chr17" becomes "17" and "chrX" becomes "X". All mitochondrial chromosomes ("chrM", "chrMT", etc) become "MT".
+    "sourceUris": [ # A list of URIs referencing variant files in Google Cloud Storage. URIs can include wildcards [as described here](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). Note that recursive wildcards ('**') are not supported.
+      "A String",
+    ],
+    "format": "A String", # The format of the variant data being imported. If unspecified, defaults to to `VCF`.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+    "response": { # If importing [ReadGroupSets][google.genomics.v1.ReadGroupSet], an [ImportReadGroupSetsResponse][google.genomics.v1.ImportReadGroupSetsResponse] is returned. If importing [Variants][google.genomics.v1.Variant], an [ImportVariantsResponse][google.genomics.v1.ImportVariantsResponse] is returned. For exports, an empty response is returned.
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+    "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error result of the operation in case of failure.
+      "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+      "code": 42, # The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
+      "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
+        {
+          "a_key": "", # Properties of the object. Contains field @ype with type URL.
+        },
+      ],
+    },
+    "done": True or False, # If the value is `false`, it means the operation is still in progress. If true, the operation is completed, and either `error` or `response` is available.
+    "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`
+    "metadata": { # An [OperationMetadata][google.genomics.v1.OperationMetadata] object. This will always be returned with the [Operation][google.longrunning.Operation].
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+  }
+
+ +
+ patch(variantId, body, x__xgafv=None, updateMask=None) +
Updates a variant. This method supports patch semantics. Returns the modified variant without its calls.
+
+Args:
+  variantId: string, The ID of the variant to be updated. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A variant represents a change in DNA sequence relative to a reference sequence. For example, a variant could represent a SNP or an insertion. Variants belong to a variant set. Each of the calls on a variant represent a determination of genotype with respect to that variant. For example, a call might assign probability of 0.32 to the occurrence of a SNP named rs1234 in a sample named NA12345. A call belongs to a call set, which contains related calls typically from one sample.
+  "info": { # A map of additional variant information. This must be of the form map (string key mapping to a list of string values).
+    "a_key": [
+      "",
+    ],
+  },
+  "variantSetId": "A String", # The ID of the variant set this variant belongs to.
+  "end": "A String", # The end position (0-based) of this variant. This corresponds to the first base after the last base in the reference allele. So, the length of the reference allele is (end - start). This is useful for variants that don't explicitly give alternate bases, for example large deletions.
+  "calls": [ # The variant calls for this particular variant. Each one represents the determination of genotype with respect to this variant.
+    { # A call represents the determination of genotype with respect to a particular variant. It may include associated information such as quality and phasing. For example, a call might assign a probability of 0.32 to the occurrence of a SNP named rs1234 in a call set with the name NA12345.
+      "info": { # A map of additional variant call information. This must be of the form map (string key mapping to a list of string values).
+        "a_key": [
+          "",
+        ],
+      },
+      "genotype": [ # The genotype of this variant call. Each value represents either the value of the `referenceBases` field or a 1-based index into `alternateBases`. If a variant had a `referenceBases` value of `T` and an `alternateBases` value of `["A", "C"]`, and the `genotype` was `[2, 1]`, that would mean the call represented the heterozygous value `CA` for this variant. If the `genotype` was instead `[0, 1]`, the represented value would be `TA`. Ordering of the genotype values is important if the `phaseset` is present. If a genotype is not called (that is, a `.` is present in the GT string) -1 is returned.
+        42,
+      ],
+      "callSetId": "A String", # The ID of the call set this variant call belongs to.
+      "phaseset": "A String", # If this field is present, this variant call's genotype ordering implies the phase of the bases and is consistent with any other variant calls in the same reference sequence which have the same phaseset value. When importing data from VCF, if the genotype data was phased but no phase set was specified this field will be set to `*`.
+      "genotypeLikelihood": [ # The genotype likelihoods for this variant call. Each array entry represents how likely a specific genotype is for this call. The value ordering is defined by the GL tag in the VCF spec. If Phred-scaled genotype likelihood scores (PL) are available and log10(P) genotype likelihood scores (GL) are not, PL scores are converted to GL scores. If both are available, PL scores are stored in `info`.
+        3.14,
+      ],
+      "callSetName": "A String", # The name of the call set this variant call belongs to.
+    },
+  ],
+  "created": "A String", # The date this variant was created, in milliseconds from the epoch.
+  "referenceBases": "A String", # The reference bases for this variant. They start at the given position.
+  "filter": [ # A list of filters (normally quality filters) this variant has failed. `PASS` indicates this variant has passed all filters.
+    "A String",
+  ],
+  "start": "A String", # The position at which this variant occurs (0-based). This corresponds to the first base of the string of reference bases.
+  "names": [ # Names for the variant, for example a RefSNP ID.
+    "A String",
+  ],
+  "alternateBases": [ # The bases that appear instead of the reference bases.
+    "A String",
+  ],
+  "referenceName": "A String", # The reference on which this variant occurs. (such as `chr20` or `X`)
+  "quality": 3.14, # A measure of how likely this variant is to be real. A higher value is better.
+  "id": "A String", # The server-generated variant ID, unique across all variants.
+}
+
+  x__xgafv: string, V1 error format.
+  updateMask: string, An optional mask specifying which fields to update. At this time, mutable fields are [names][google.genomics.v1.Variant.names] and [info][google.genomics.v1.Variant.info]. Acceptable values are "names" and "info". If unspecified, all mutable fields will be updated.
+
+Returns:
+  An object of the form:
+
+    { # A variant represents a change in DNA sequence relative to a reference sequence. For example, a variant could represent a SNP or an insertion. Variants belong to a variant set. Each of the calls on a variant represent a determination of genotype with respect to that variant. For example, a call might assign probability of 0.32 to the occurrence of a SNP named rs1234 in a sample named NA12345. A call belongs to a call set, which contains related calls typically from one sample.
+    "info": { # A map of additional variant information. This must be of the form map (string key mapping to a list of string values).
+      "a_key": [
+        "",
+      ],
+    },
+    "variantSetId": "A String", # The ID of the variant set this variant belongs to.
+    "end": "A String", # The end position (0-based) of this variant. This corresponds to the first base after the last base in the reference allele. So, the length of the reference allele is (end - start). This is useful for variants that don't explicitly give alternate bases, for example large deletions.
+    "calls": [ # The variant calls for this particular variant. Each one represents the determination of genotype with respect to this variant.
+      { # A call represents the determination of genotype with respect to a particular variant. It may include associated information such as quality and phasing. For example, a call might assign a probability of 0.32 to the occurrence of a SNP named rs1234 in a call set with the name NA12345.
+        "info": { # A map of additional variant call information. This must be of the form map (string key mapping to a list of string values).
+          "a_key": [
+            "",
+          ],
+        },
+        "genotype": [ # The genotype of this variant call. Each value represents either the value of the `referenceBases` field or a 1-based index into `alternateBases`. If a variant had a `referenceBases` value of `T` and an `alternateBases` value of `["A", "C"]`, and the `genotype` was `[2, 1]`, that would mean the call represented the heterozygous value `CA` for this variant. If the `genotype` was instead `[0, 1]`, the represented value would be `TA`. Ordering of the genotype values is important if the `phaseset` is present. If a genotype is not called (that is, a `.` is present in the GT string) -1 is returned.
+          42,
+        ],
+        "callSetId": "A String", # The ID of the call set this variant call belongs to.
+        "phaseset": "A String", # If this field is present, this variant call's genotype ordering implies the phase of the bases and is consistent with any other variant calls in the same reference sequence which have the same phaseset value. When importing data from VCF, if the genotype data was phased but no phase set was specified this field will be set to `*`.
+        "genotypeLikelihood": [ # The genotype likelihoods for this variant call. Each array entry represents how likely a specific genotype is for this call. The value ordering is defined by the GL tag in the VCF spec. If Phred-scaled genotype likelihood scores (PL) are available and log10(P) genotype likelihood scores (GL) are not, PL scores are converted to GL scores. If both are available, PL scores are stored in `info`.
+          3.14,
+        ],
+        "callSetName": "A String", # The name of the call set this variant call belongs to.
+      },
+    ],
+    "created": "A String", # The date this variant was created, in milliseconds from the epoch.
+    "referenceBases": "A String", # The reference bases for this variant. They start at the given position.
+    "filter": [ # A list of filters (normally quality filters) this variant has failed. `PASS` indicates this variant has passed all filters.
+      "A String",
+    ],
+    "start": "A String", # The position at which this variant occurs (0-based). This corresponds to the first base of the string of reference bases.
+    "names": [ # Names for the variant, for example a RefSNP ID.
+      "A String",
+    ],
+    "alternateBases": [ # The bases that appear instead of the reference bases.
+      "A String",
+    ],
+    "referenceName": "A String", # The reference on which this variant occurs. (such as `chr20` or `X`)
+    "quality": 3.14, # A measure of how likely this variant is to be real. A higher value is better.
+    "id": "A String", # The server-generated variant ID, unique across all variants.
+  }
+
+ +
+ search(body, x__xgafv=None) +
Gets a list of variants matching the criteria. Implements [GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L126).
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # The variant search request.
+    "end": "A String", # The end of the window, 0-based exclusive. If unspecified or 0, defaults to the length of the reference.
+    "pageSize": 42, # The maximum number of variants to return. If unspecified, defaults to 5000.
+    "pageToken": "A String", # The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.
+    "maxCalls": 42, # The maximum number of calls to return. However, at least one variant will always be returned, even if it has more calls than this limit. If unspecified, defaults to 5000.
+    "start": "A String", # The beginning of the window (0-based, inclusive) for which overlapping variants should be returned. If unspecified, defaults to 0.
+    "callSetIds": [ # Only return variant calls which belong to call sets with these ids. Leaving this blank returns all variant calls. If a variant has no calls belonging to any of these call sets, it won't be returned at all. Currently, variants with no calls from any call set will never be returned.
+      "A String",
+    ],
+    "variantName": "A String", # Only return variants which have exactly this name.
+    "referenceName": "A String", # Required. Only return variants in this reference sequence.
+    "variantSetIds": [ # At most one variant set ID must be provided. Only variants from this variant set will be returned. If omitted, a call set id must be included in the request.
+      "A String",
+    ],
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # The variant search response.
+    "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results.
+    "variants": [ # The list of matching Variants.
+      { # A variant represents a change in DNA sequence relative to a reference sequence. For example, a variant could represent a SNP or an insertion. Variants belong to a variant set. Each of the calls on a variant represent a determination of genotype with respect to that variant. For example, a call might assign probability of 0.32 to the occurrence of a SNP named rs1234 in a sample named NA12345. A call belongs to a call set, which contains related calls typically from one sample.
+        "info": { # A map of additional variant information. This must be of the form map (string key mapping to a list of string values).
+          "a_key": [
+            "",
+          ],
+        },
+        "variantSetId": "A String", # The ID of the variant set this variant belongs to.
+        "end": "A String", # The end position (0-based) of this variant. This corresponds to the first base after the last base in the reference allele. So, the length of the reference allele is (end - start). This is useful for variants that don't explicitly give alternate bases, for example large deletions.
+        "calls": [ # The variant calls for this particular variant. Each one represents the determination of genotype with respect to this variant.
+          { # A call represents the determination of genotype with respect to a particular variant. It may include associated information such as quality and phasing. For example, a call might assign a probability of 0.32 to the occurrence of a SNP named rs1234 in a call set with the name NA12345.
+            "info": { # A map of additional variant call information. This must be of the form map (string key mapping to a list of string values).
+              "a_key": [
+                "",
+              ],
+            },
+            "genotype": [ # The genotype of this variant call. Each value represents either the value of the `referenceBases` field or a 1-based index into `alternateBases`. If a variant had a `referenceBases` value of `T` and an `alternateBases` value of `["A", "C"]`, and the `genotype` was `[2, 1]`, that would mean the call represented the heterozygous value `CA` for this variant. If the `genotype` was instead `[0, 1]`, the represented value would be `TA`. Ordering of the genotype values is important if the `phaseset` is present. If a genotype is not called (that is, a `.` is present in the GT string) -1 is returned.
+              42,
+            ],
+            "callSetId": "A String", # The ID of the call set this variant call belongs to.
+            "phaseset": "A String", # If this field is present, this variant call's genotype ordering implies the phase of the bases and is consistent with any other variant calls in the same reference sequence which have the same phaseset value. When importing data from VCF, if the genotype data was phased but no phase set was specified this field will be set to `*`.
+            "genotypeLikelihood": [ # The genotype likelihoods for this variant call. Each array entry represents how likely a specific genotype is for this call. The value ordering is defined by the GL tag in the VCF spec. If Phred-scaled genotype likelihood scores (PL) are available and log10(P) genotype likelihood scores (GL) are not, PL scores are converted to GL scores. If both are available, PL scores are stored in `info`.
+              3.14,
+            ],
+            "callSetName": "A String", # The name of the call set this variant call belongs to.
+          },
+        ],
+        "created": "A String", # The date this variant was created, in milliseconds from the epoch.
+        "referenceBases": "A String", # The reference bases for this variant. They start at the given position.
+        "filter": [ # A list of filters (normally quality filters) this variant has failed. `PASS` indicates this variant has passed all filters.
+          "A String",
+        ],
+        "start": "A String", # The position at which this variant occurs (0-based). This corresponds to the first base of the string of reference bases.
+        "names": [ # Names for the variant, for example a RefSNP ID.
+          "A String",
+        ],
+        "alternateBases": [ # The bases that appear instead of the reference bases.
+          "A String",
+        ],
+        "referenceName": "A String", # The reference on which this variant occurs. (such as `chr20` or `X`)
+        "quality": 3.14, # A measure of how likely this variant is to be real. A higher value is better.
+        "id": "A String", # The server-generated variant ID, unique across all variants.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/genomics_v1.variantsets.html b/docs/dyn/genomics_v1.variantsets.html new file mode 100644 index 00000000000..e10d83478d0 --- /dev/null +++ b/docs/dyn/genomics_v1.variantsets.html @@ -0,0 +1,381 @@ + + + +

Genomics API . variantsets

+

Instance Methods

+

+ create(body, x__xgafv=None)

+

Creates a new variant set. The provided variant set must have a valid `datasetId` set - all other fields are optional. Note that the `id` field will be ignored, as this is assigned by the server.

+

+ delete(variantSetId, x__xgafv=None)

+

Deletes the contents of a variant set. The variant set object is not deleted.

+

+ export(variantSetId, body, x__xgafv=None)

+

Exports variant set data to an external destination.

+

+ get(variantSetId, x__xgafv=None)

+

Gets a variant set by ID.

+

+ patch(variantSetId, body, updateMask=None, x__xgafv=None)

+

Updates a variant set. This method supports patch semantics.

+

+ search(body, x__xgafv=None)

+

Returns a list of all variant sets matching search criteria. Implements [GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L49).

+

Method Details

+
+ create(body, x__xgafv=None) +
Creates a new variant set. The provided variant set must have a valid `datasetId` set - all other fields are optional. Note that the `id` field will be ignored, as this is assigned by the server.
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A variant set is a collection of call sets and variants. It contains summary statistics of those contents. A variant set belongs to a dataset.
+  "metadata": [ # The metadata associated with this variant set.
+    { # Metadata describes a single piece of variant call metadata. These data include a top level key and either a single value string (value) or a list of key-value pairs (info.) Value and info are mutually exclusive.
+      "info": { # Remaining structured metadata key-value pairs. This must be of the form map (string key mapping to a list of string values).
+        "a_key": [
+          "",
+        ],
+      },
+      "description": "A String", # A textual description of this metadata.
+      "number": "A String", # The number of values that can be included in a field described by this metadata.
+      "value": "A String", # The value field for simple metadata
+      "key": "A String", # The top-level key.
+      "type": "A String", # The type of data. Possible types include: Integer, Float, Flag, Character, and String.
+      "id": "A String", # User-provided ID field, not enforced by this API. Two or more pieces of structured metadata with identical id and key fields are considered equivalent.
+    },
+  ],
+  "id": "A String", # The server-generated variant set ID, unique across all variant sets.
+  "datasetId": "A String", # The dataset to which this variant set belongs.
+  "referenceBounds": [ # A list of all references used by the variants in a variant set with associated coordinate upper bounds for each one.
+    { # ReferenceBound records an upper bound for the starting coordinate of variants in a particular reference.
+      "upperBound": "A String", # An upper bound (inclusive) on the starting coordinate of any variant in the reference sequence.
+      "referenceName": "A String", # The reference the bound is associate with.
+    },
+  ],
+}
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A variant set is a collection of call sets and variants. It contains summary statistics of those contents. A variant set belongs to a dataset.
+    "metadata": [ # The metadata associated with this variant set.
+      { # Metadata describes a single piece of variant call metadata. These data include a top level key and either a single value string (value) or a list of key-value pairs (info.) Value and info are mutually exclusive.
+        "info": { # Remaining structured metadata key-value pairs. This must be of the form map (string key mapping to a list of string values).
+          "a_key": [
+            "",
+          ],
+        },
+        "description": "A String", # A textual description of this metadata.
+        "number": "A String", # The number of values that can be included in a field described by this metadata.
+        "value": "A String", # The value field for simple metadata
+        "key": "A String", # The top-level key.
+        "type": "A String", # The type of data. Possible types include: Integer, Float, Flag, Character, and String.
+        "id": "A String", # User-provided ID field, not enforced by this API. Two or more pieces of structured metadata with identical id and key fields are considered equivalent.
+      },
+    ],
+    "id": "A String", # The server-generated variant set ID, unique across all variant sets.
+    "datasetId": "A String", # The dataset to which this variant set belongs.
+    "referenceBounds": [ # A list of all references used by the variants in a variant set with associated coordinate upper bounds for each one.
+      { # ReferenceBound records an upper bound for the starting coordinate of variants in a particular reference.
+        "upperBound": "A String", # An upper bound (inclusive) on the starting coordinate of any variant in the reference sequence.
+        "referenceName": "A String", # The reference the bound is associate with.
+      },
+    ],
+  }
+
+ +
+ delete(variantSetId, x__xgafv=None) +
Deletes the contents of a variant set. The variant set object is not deleted.
+
+Args:
+  variantSetId: string, The ID of the variant set to be deleted. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ export(variantSetId, body, x__xgafv=None) +
Exports variant set data to an external destination.
+
+Args:
+  variantSetId: string, Required. The ID of the variant set that contains variant data which should be exported. The caller must have READ access to this variant set. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # The variant data export request.
+    "projectId": "A String", # Required. The Google Cloud project ID that owns the destination BigQuery dataset. The caller must have WRITE access to this project. This project will also own the resulting export job.
+    "bigqueryTable": "A String", # Required. The BigQuery table to export data to. If the table doesn't exist, it will be created. If it already exists, it will be overwritten.
+    "bigqueryDataset": "A String", # Required. The BigQuery dataset to export data to. This dataset must already exist. Note that this is distinct from the Genomics concept of "dataset".
+    "callSetIds": [ # If provided, only variant call information from the specified call sets will be exported. By default all variant calls are exported.
+      "A String",
+    ],
+    "format": "A String", # The format for the exported data.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+    "response": { # If importing [ReadGroupSets][google.genomics.v1.ReadGroupSet], an [ImportReadGroupSetsResponse][google.genomics.v1.ImportReadGroupSetsResponse] is returned. If importing [Variants][google.genomics.v1.Variant], an [ImportVariantsResponse][google.genomics.v1.ImportVariantsResponse] is returned. For exports, an empty response is returned.
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+    "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error result of the operation in case of failure.
+      "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+      "code": 42, # The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
+      "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
+        {
+          "a_key": "", # Properties of the object. Contains field @ype with type URL.
+        },
+      ],
+    },
+    "done": True or False, # If the value is `false`, it means the operation is still in progress. If true, the operation is completed, and either `error` or `response` is available.
+    "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`
+    "metadata": { # An [OperationMetadata][google.genomics.v1.OperationMetadata] object. This will always be returned with the [Operation][google.longrunning.Operation].
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+  }
+
+ +
+ get(variantSetId, x__xgafv=None) +
Gets a variant set by ID.
+
+Args:
+  variantSetId: string, Required. The ID of the variant set. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A variant set is a collection of call sets and variants. It contains summary statistics of those contents. A variant set belongs to a dataset.
+    "metadata": [ # The metadata associated with this variant set.
+      { # Metadata describes a single piece of variant call metadata. These data include a top level key and either a single value string (value) or a list of key-value pairs (info.) Value and info are mutually exclusive.
+        "info": { # Remaining structured metadata key-value pairs. This must be of the form map (string key mapping to a list of string values).
+          "a_key": [
+            "",
+          ],
+        },
+        "description": "A String", # A textual description of this metadata.
+        "number": "A String", # The number of values that can be included in a field described by this metadata.
+        "value": "A String", # The value field for simple metadata
+        "key": "A String", # The top-level key.
+        "type": "A String", # The type of data. Possible types include: Integer, Float, Flag, Character, and String.
+        "id": "A String", # User-provided ID field, not enforced by this API. Two or more pieces of structured metadata with identical id and key fields are considered equivalent.
+      },
+    ],
+    "id": "A String", # The server-generated variant set ID, unique across all variant sets.
+    "datasetId": "A String", # The dataset to which this variant set belongs.
+    "referenceBounds": [ # A list of all references used by the variants in a variant set with associated coordinate upper bounds for each one.
+      { # ReferenceBound records an upper bound for the starting coordinate of variants in a particular reference.
+        "upperBound": "A String", # An upper bound (inclusive) on the starting coordinate of any variant in the reference sequence.
+        "referenceName": "A String", # The reference the bound is associate with.
+      },
+    ],
+  }
+
+ +
+ patch(variantSetId, body, updateMask=None, x__xgafv=None) +
Updates a variant set. This method supports patch semantics.
+
+Args:
+  variantSetId: string, The ID of the variant to be updated (must already exist). (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A variant set is a collection of call sets and variants. It contains summary statistics of those contents. A variant set belongs to a dataset.
+  "metadata": [ # The metadata associated with this variant set.
+    { # Metadata describes a single piece of variant call metadata. These data include a top level key and either a single value string (value) or a list of key-value pairs (info.) Value and info are mutually exclusive.
+      "info": { # Remaining structured metadata key-value pairs. This must be of the form map (string key mapping to a list of string values).
+        "a_key": [
+          "",
+        ],
+      },
+      "description": "A String", # A textual description of this metadata.
+      "number": "A String", # The number of values that can be included in a field described by this metadata.
+      "value": "A String", # The value field for simple metadata
+      "key": "A String", # The top-level key.
+      "type": "A String", # The type of data. Possible types include: Integer, Float, Flag, Character, and String.
+      "id": "A String", # User-provided ID field, not enforced by this API. Two or more pieces of structured metadata with identical id and key fields are considered equivalent.
+    },
+  ],
+  "id": "A String", # The server-generated variant set ID, unique across all variant sets.
+  "datasetId": "A String", # The dataset to which this variant set belongs.
+  "referenceBounds": [ # A list of all references used by the variants in a variant set with associated coordinate upper bounds for each one.
+    { # ReferenceBound records an upper bound for the starting coordinate of variants in a particular reference.
+      "upperBound": "A String", # An upper bound (inclusive) on the starting coordinate of any variant in the reference sequence.
+      "referenceName": "A String", # The reference the bound is associate with.
+    },
+  ],
+}
+
+  updateMask: string, An optional mask specifying which fields to update. At this time, the only mutable field is [metadata][google.genomics.v1.VariantSet.metadata]. The only acceptable value is "metadata". If unspecified, all mutable fields will be updated.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A variant set is a collection of call sets and variants. It contains summary statistics of those contents. A variant set belongs to a dataset.
+    "metadata": [ # The metadata associated with this variant set.
+      { # Metadata describes a single piece of variant call metadata. These data include a top level key and either a single value string (value) or a list of key-value pairs (info.) Value and info are mutually exclusive.
+        "info": { # Remaining structured metadata key-value pairs. This must be of the form map (string key mapping to a list of string values).
+          "a_key": [
+            "",
+          ],
+        },
+        "description": "A String", # A textual description of this metadata.
+        "number": "A String", # The number of values that can be included in a field described by this metadata.
+        "value": "A String", # The value field for simple metadata
+        "key": "A String", # The top-level key.
+        "type": "A String", # The type of data. Possible types include: Integer, Float, Flag, Character, and String.
+        "id": "A String", # User-provided ID field, not enforced by this API. Two or more pieces of structured metadata with identical id and key fields are considered equivalent.
+      },
+    ],
+    "id": "A String", # The server-generated variant set ID, unique across all variant sets.
+    "datasetId": "A String", # The dataset to which this variant set belongs.
+    "referenceBounds": [ # A list of all references used by the variants in a variant set with associated coordinate upper bounds for each one.
+      { # ReferenceBound records an upper bound for the starting coordinate of variants in a particular reference.
+        "upperBound": "A String", # An upper bound (inclusive) on the starting coordinate of any variant in the reference sequence.
+        "referenceName": "A String", # The reference the bound is associate with.
+      },
+    ],
+  }
+
+ +
+ search(body, x__xgafv=None) +
Returns a list of all variant sets matching search criteria. Implements [GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L49).
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # The search variant sets request.
+    "pageToken": "A String", # The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.
+    "datasetIds": [ # Exactly one dataset ID must be provided here. Only variant sets which belong to this dataset will be returned.
+      "A String",
+    ],
+    "pageSize": 42, # The maximum number of variant sets to return in a request.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # The search variant sets response.
+    "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results.
+    "variantSets": [ # The variant sets belonging to the requested dataset.
+      { # A variant set is a collection of call sets and variants. It contains summary statistics of those contents. A variant set belongs to a dataset.
+        "metadata": [ # The metadata associated with this variant set.
+          { # Metadata describes a single piece of variant call metadata. These data include a top level key and either a single value string (value) or a list of key-value pairs (info.) Value and info are mutually exclusive.
+            "info": { # Remaining structured metadata key-value pairs. This must be of the form map (string key mapping to a list of string values).
+              "a_key": [
+                "",
+              ],
+            },
+            "description": "A String", # A textual description of this metadata.
+            "number": "A String", # The number of values that can be included in a field described by this metadata.
+            "value": "A String", # The value field for simple metadata
+            "key": "A String", # The top-level key.
+            "type": "A String", # The type of data. Possible types include: Integer, Float, Flag, Character, and String.
+            "id": "A String", # User-provided ID field, not enforced by this API. Two or more pieces of structured metadata with identical id and key fields are considered equivalent.
+          },
+        ],
+        "id": "A String", # The server-generated variant set ID, unique across all variant sets.
+        "datasetId": "A String", # The dataset to which this variant set belongs.
+        "referenceBounds": [ # A list of all references used by the variants in a variant set with associated coordinate upper bounds for each one.
+          { # ReferenceBound records an upper bound for the starting coordinate of variants in a particular reference.
+            "upperBound": "A String", # An upper bound (inclusive) on the starting coordinate of any variant in the reference sequence.
+            "referenceName": "A String", # The reference the bound is associate with.
+          },
+        ],
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/genomics_v1beta2.datasets.html b/docs/dyn/genomics_v1beta2.datasets.html index 8f616012932..951deda8ea5 100644 --- a/docs/dyn/genomics_v1beta2.datasets.html +++ b/docs/dyn/genomics_v1beta2.datasets.html @@ -109,9 +109,10 @@

Method Details

{ # A Dataset is a collection of genomic data. "isPublic": True or False, # Flag indicating whether or not a dataset is publicly viewable. If a dataset is not public, it inherits viewing permissions from its project. - "id": "A String", # The Google generated ID of the dataset, immutable. "projectNumber": "A String", # The Google Developers Console project number that this dataset belongs to. + "createTime": "A String", # The time this dataset was created, in seconds from the epoch. "name": "A String", # The dataset name. + "id": "A String", # The Google generated ID of the dataset, immutable. } @@ -120,9 +121,10 @@

Method Details

{ # A Dataset is a collection of genomic data. "isPublic": True or False, # Flag indicating whether or not a dataset is publicly viewable. If a dataset is not public, it inherits viewing permissions from its project. - "id": "A String", # The Google generated ID of the dataset, immutable. "projectNumber": "A String", # The Google Developers Console project number that this dataset belongs to. + "createTime": "A String", # The time this dataset was created, in seconds from the epoch. "name": "A String", # The dataset name. + "id": "A String", # The Google generated ID of the dataset, immutable. }
@@ -147,9 +149,10 @@

Method Details

{ # A Dataset is a collection of genomic data. "isPublic": True or False, # Flag indicating whether or not a dataset is publicly viewable. If a dataset is not public, it inherits viewing permissions from its project. - "id": "A String", # The Google generated ID of the dataset, immutable. "projectNumber": "A String", # The Google Developers Console project number that this dataset belongs to. + "createTime": "A String", # The time this dataset was created, in seconds from the epoch. "name": "A String", # The dataset name. + "id": "A String", # The Google generated ID of the dataset, immutable. }
@@ -159,7 +162,7 @@

Method Details

Args: pageToken: string, The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response. - projectNumber: string, The project to list datasets for. + projectNumber: string, Required. The project to list datasets for. pageSize: integer, The maximum number of results returned by this request. If unspecified, defaults to 50. Returns: @@ -170,9 +173,10 @@

Method Details

"datasets": [ # The list of matching Datasets. { # A Dataset is a collection of genomic data. "isPublic": True or False, # Flag indicating whether or not a dataset is publicly viewable. If a dataset is not public, it inherits viewing permissions from its project. - "id": "A String", # The Google generated ID of the dataset, immutable. "projectNumber": "A String", # The Google Developers Console project number that this dataset belongs to. + "createTime": "A String", # The time this dataset was created, in seconds from the epoch. "name": "A String", # The dataset name. + "id": "A String", # The Google generated ID of the dataset, immutable. }, ], } @@ -203,9 +207,10 @@

Method Details

{ # A Dataset is a collection of genomic data. "isPublic": True or False, # Flag indicating whether or not a dataset is publicly viewable. If a dataset is not public, it inherits viewing permissions from its project. - "id": "A String", # The Google generated ID of the dataset, immutable. "projectNumber": "A String", # The Google Developers Console project number that this dataset belongs to. + "createTime": "A String", # The time this dataset was created, in seconds from the epoch. "name": "A String", # The dataset name. + "id": "A String", # The Google generated ID of the dataset, immutable. } @@ -214,9 +219,10 @@

Method Details

{ # A Dataset is a collection of genomic data. "isPublic": True or False, # Flag indicating whether or not a dataset is publicly viewable. If a dataset is not public, it inherits viewing permissions from its project. - "id": "A String", # The Google generated ID of the dataset, immutable. "projectNumber": "A String", # The Google Developers Console project number that this dataset belongs to. + "createTime": "A String", # The time this dataset was created, in seconds from the epoch. "name": "A String", # The dataset name. + "id": "A String", # The Google generated ID of the dataset, immutable. }
@@ -232,9 +238,10 @@

Method Details

{ # A Dataset is a collection of genomic data. "isPublic": True or False, # Flag indicating whether or not a dataset is publicly viewable. If a dataset is not public, it inherits viewing permissions from its project. - "id": "A String", # The Google generated ID of the dataset, immutable. "projectNumber": "A String", # The Google Developers Console project number that this dataset belongs to. + "createTime": "A String", # The time this dataset was created, in seconds from the epoch. "name": "A String", # The dataset name. + "id": "A String", # The Google generated ID of the dataset, immutable. }
@@ -249,9 +256,10 @@

Method Details

{ # A Dataset is a collection of genomic data. "isPublic": True or False, # Flag indicating whether or not a dataset is publicly viewable. If a dataset is not public, it inherits viewing permissions from its project. - "id": "A String", # The Google generated ID of the dataset, immutable. "projectNumber": "A String", # The Google Developers Console project number that this dataset belongs to. + "createTime": "A String", # The time this dataset was created, in seconds from the epoch. "name": "A String", # The dataset name. + "id": "A String", # The Google generated ID of the dataset, immutable. } @@ -260,9 +268,10 @@

Method Details

{ # A Dataset is a collection of genomic data. "isPublic": True or False, # Flag indicating whether or not a dataset is publicly viewable. If a dataset is not public, it inherits viewing permissions from its project. - "id": "A String", # The Google generated ID of the dataset, immutable. "projectNumber": "A String", # The Google Developers Console project number that this dataset belongs to. + "createTime": "A String", # The time this dataset was created, in seconds from the epoch. "name": "A String", # The dataset name. + "id": "A String", # The Google generated ID of the dataset, immutable. }
diff --git a/docs/dyn/genomics_v1beta2.readgroupsets.html b/docs/dyn/genomics_v1beta2.readgroupsets.html index ca00d29567a..c52c1fd2137 100644 --- a/docs/dyn/genomics_v1beta2.readgroupsets.html +++ b/docs/dyn/genomics_v1beta2.readgroupsets.html @@ -96,7 +96,7 @@

Instance Methods

Gets a read group set by ID.

import_(body)

-

Creates read group sets by asynchronously importing the provided information.

+

Creates read group sets by asynchronously importing the provided information. The caller must have WRITE permissions to the dataset.

patch(readGroupSetId, body)

Updates a read group set. This method supports patch semantics.

@@ -197,7 +197,7 @@

Method Details

export(body)
Exports read group sets to a BAM file in Google Cloud Storage.
 
-Note that currently there may be some differences between exported BAM files and the original BAM file at the time of import. In particular, comments in the input file header will not be preserved, some custom tags will be converted to strings, and original reference sequence order is not necessarily preserved.
+Note that currently there may be some differences between exported BAM files and the original BAM file at the time of import. See ImportReadGroupSets for details.
 
 Args:
   body: object, The request body. (required)
@@ -283,9 +283,14 @@ 

Method Details

import_(body) -
Creates read group sets by asynchronously importing the provided information.
-
-Note that currently comments in the input file header are not imported and some custom tags will be converted to strings, rather than preserving tag types. The caller must have WRITE permissions to the dataset.
+  
Creates read group sets by asynchronously importing the provided information. The caller must have WRITE permissions to the dataset.
+
+Notes on BAM import:  
+- Tags will be converted to strings - tag types are not preserved
+- Comments (@CO) in the input file header are not imported
+- Original order of reference headers is not preserved
+- Any reverse stranded unmapped reads will be reverse complemented, and their qualities (and "BQ" tag, if any) will be reversed
+- Unmapped reads will be stripped of positional information (referenceName and position)
 
 Args:
   body: object, The request body. (required)
diff --git a/docs/dyn/genomics_v1beta2.reads.html b/docs/dyn/genomics_v1beta2.reads.html
index 777cbeb9784..50352f78077 100644
--- a/docs/dyn/genomics_v1beta2.reads.html
+++ b/docs/dyn/genomics_v1beta2.reads.html
@@ -112,7 +112,7 @@ 

Method Details

{ # The read search response. "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results. - "alignments": [ # The list of matching alignments sorted by mapped genomic coordinate, if any, ascending in position within the same reference. Unmapped reads, which have no position, are returned last and are further sorted in ascending lexicographic order by fragment name. + "alignments": [ # The list of matching alignments sorted by mapped genomic coordinate, if any, ascending in position within the same reference. Unmapped reads, which have no position, are returned contiguously and are sorted in ascending lexicographic order by fragment name. { # A read alignment describes a linear alignment of a string of DNA to a reference sequence, in addition to metadata about the fragment (the molecule of DNA sequenced) and the read (the bases which were read by the sequencer). A read is equivalent to a line in a SAM file. A read belongs to exactly one read group and exactly one read group set. Generating a reference-aligned sequence string When interacting with mapped reads, it's often useful to produce a string representing the local alignment of the read to reference. The following pseudocode demonstrates one way of doing this: # out = "" offset = 0 for c in read.alignment.cigar { switch c.operation { case "ALIGNMENT_MATCH", "SEQUENCE_MATCH", "SEQUENCE_MISMATCH": out += read.alignedSequence[offset:offset+c.operationLength] offset += c.operationLength break case "CLIP_SOFT", "INSERT": offset += c.operationLength break case "PAD": out += repeat("*", c.operationLength) break case "DELETE": out += repeat("-", c.operationLength) break case "SKIP": out += repeat(" ", c.operationLength) break case "CLIP_HARD": break } } return out # Converting to SAM's CIGAR string The following pseudocode generates a SAM CIGAR string from the cigar field. Note that this is a lossy conversion (cigar.referenceSequence is lost). diff --git a/docs/dyn/genomics_v1beta2.variantsets.html b/docs/dyn/genomics_v1beta2.variantsets.html index 82029038c03..7dc73e3f5a3 100644 --- a/docs/dyn/genomics_v1beta2.variantsets.html +++ b/docs/dyn/genomics_v1beta2.variantsets.html @@ -74,6 +74,9 @@

Genomics API . variantsets

Instance Methods

+

+ create(body)

+

Creates a new variant set (only necessary in v1).

delete(variantSetId)

Deletes the contents of a variant set. The variant set object is not deleted.

@@ -99,6 +102,73 @@

Instance Methods

update(variantSetId, body)

Updates a variant set's metadata. All other modifications are silently ignored.

Method Details

+
+ create(body) +
Creates a new variant set (only necessary in v1).
+
+The provided variant set must have a valid datasetId set - all other fields are optional. Note that the id field will be ignored, as this is assigned by the server.
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A variant set is a collection of call sets and variants. It contains summary statistics of those contents. A variant set belongs to a dataset.
+  "referenceBounds": [ # A list of all references used by the variants in a variant set with associated coordinate upper bounds for each one.
+    { # ReferenceBound records an upper bound for the starting coordinate of variants in a particular reference.
+      "upperBound": "A String", # An upper bound (inclusive) on the starting coordinate of any variant in the reference sequence.
+      "referenceName": "A String", # The reference the bound is associate with.
+    },
+  ],
+  "id": "A String", # The Google-generated ID of the variant set. Immutable.
+  "datasetId": "A String", # The dataset to which this variant set belongs. Immutable.
+  "metadata": [ # The metadata associated with this variant set.
+    { # Metadata describes a single piece of variant call metadata. These data include a top level key and either a single value string (value) or a list of key-value pairs (info.) Value and info are mutually exclusive.
+      "info": { # A string which maps to an array of values.
+        "a_key": [ # A string which maps to an array of values.
+          "A String",
+        ],
+      },
+      "description": "A String", # A textual description of this metadata.
+      "number": "A String", # The number of values that can be included in a field described by this metadata.
+      "value": "A String", # The value field for simple metadata
+      "key": "A String", # The top-level key.
+      "type": "A String", # The type of data. Possible types include: Integer, Float, Flag, Character, and String.
+      "id": "A String", # User-provided ID field, not enforced by this API. Two or more pieces of structured metadata with identical id and key fields are considered equivalent.
+    },
+  ],
+}
+
+
+Returns:
+  An object of the form:
+
+    { # A variant set is a collection of call sets and variants. It contains summary statistics of those contents. A variant set belongs to a dataset.
+    "referenceBounds": [ # A list of all references used by the variants in a variant set with associated coordinate upper bounds for each one.
+      { # ReferenceBound records an upper bound for the starting coordinate of variants in a particular reference.
+        "upperBound": "A String", # An upper bound (inclusive) on the starting coordinate of any variant in the reference sequence.
+        "referenceName": "A String", # The reference the bound is associate with.
+      },
+    ],
+    "id": "A String", # The Google-generated ID of the variant set. Immutable.
+    "datasetId": "A String", # The dataset to which this variant set belongs. Immutable.
+    "metadata": [ # The metadata associated with this variant set.
+      { # Metadata describes a single piece of variant call metadata. These data include a top level key and either a single value string (value) or a list of key-value pairs (info.) Value and info are mutually exclusive.
+        "info": { # A string which maps to an array of values.
+          "a_key": [ # A string which maps to an array of values.
+            "A String",
+          ],
+        },
+        "description": "A String", # A textual description of this metadata.
+        "number": "A String", # The number of values that can be included in a field described by this metadata.
+        "value": "A String", # The value field for simple metadata
+        "key": "A String", # The top-level key.
+        "type": "A String", # The type of data. Possible types include: Integer, Float, Flag, Character, and String.
+        "id": "A String", # User-provided ID field, not enforced by this API. Two or more pieces of structured metadata with identical id and key fields are considered equivalent.
+      },
+    ],
+  }
+
+
delete(variantSetId)
Deletes the contents of a variant set. The variant set object is not deleted.
diff --git a/docs/dyn/gmail_v1.users.drafts.html b/docs/dyn/gmail_v1.users.drafts.html
index 52f481b3947..2c5fdc58ebb 100644
--- a/docs/dyn/gmail_v1.users.drafts.html
+++ b/docs/dyn/gmail_v1.users.drafts.html
@@ -107,6 +107,7 @@ 

Method Details

{ # A draft email in the user's mailbox. "message": { # An email message. # The message content of the draft. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -149,6 +150,7 @@

Method Details

{ # A draft email in the user's mailbox. "message": { # An email message. # The message content of the draft. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -214,6 +216,7 @@

Method Details

{ # A draft email in the user's mailbox. "message": { # An email message. # The message content of the draft. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -268,6 +271,7 @@

Method Details

"drafts": [ # List of drafts. { # A draft email in the user's mailbox. "message": { # An email message. # The message content of the draft. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -331,6 +335,7 @@

Method Details

{ # A draft email in the user's mailbox. "message": { # An email message. # The message content of the draft. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -372,6 +377,7 @@

Method Details

An object of the form: { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -418,6 +424,7 @@

Method Details

{ # A draft email in the user's mailbox. "message": { # An email message. # The message content of the draft. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -460,6 +467,7 @@

Method Details

{ # A draft email in the user's mailbox. "message": { # An email message. # The message content of the draft. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. diff --git a/docs/dyn/gmail_v1.users.history.html b/docs/dyn/gmail_v1.users.history.html index 6cd3932fdcd..ae0040d03fe 100644 --- a/docs/dyn/gmail_v1.users.history.html +++ b/docs/dyn/gmail_v1.users.history.html @@ -89,7 +89,7 @@

Method Details

userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required) pageToken: string, Page token to retrieve a specific page of results in the list. maxResults: integer, The maximum number of history records to return. - startHistoryId: string, Required. Returns history records after the specified startHistoryId. The supplied startHistoryId should be obtained from the historyId of a message, thread, or previous list response. History IDs increase chronologically but are not contiguous with random gaps in between valid IDs. Supplying an invalid or out of date startHistoryId typically returns an HTTP 404 error code. A historyId is typically valid for at least a week, but in some circumstances may be valid for only a few hours. If you receive an HTTP 404 error response, your application should perform a full sync. If you receive no nextPageToken in the response, there are no updates to retrieve and you can store the returned historyId for a future request. + startHistoryId: string, Required. Returns history records after the specified startHistoryId. The supplied startHistoryId should be obtained from the historyId of a message, thread, or previous list response. History IDs increase chronologically but are not contiguous with random gaps in between valid IDs. Supplying an invalid or out of date startHistoryId typically returns an HTTP 404 error code. A historyId is typically valid for at least a week, but in some rare circumstances may be valid for only a few hours. If you receive an HTTP 404 error response, your application should perform a full sync. If you receive no nextPageToken in the response, there are no updates to retrieve and you can store the returned historyId for a future request. labelId: string, Only return messages with a label matching the ID. Returns: @@ -106,6 +106,7 @@

Method Details

"A String", ], "message": { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -142,6 +143,7 @@

Method Details

], "messages": [ # List of messages changed in this history record. The fields for specific change types, such as messagesAdded may duplicate messages in this field. We recommend using the specific change-type fields instead of this. { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -178,6 +180,7 @@

Method Details

"messagesAdded": [ # Messages added to the mailbox in this history record. { "message": { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -218,6 +221,7 @@

Method Details

"A String", ], "message": { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -255,6 +259,7 @@

Method Details

"messagesDeleted": [ # Messages deleted (not Trashed) from the mailbox in this history record. { "message": { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. diff --git a/docs/dyn/gmail_v1.users.html b/docs/dyn/gmail_v1.users.html index 1ec240fd960..4fe522290ce 100644 --- a/docs/dyn/gmail_v1.users.html +++ b/docs/dyn/gmail_v1.users.html @@ -149,9 +149,9 @@

Method Details

"labelIds": [ # List of label_ids to restrict notifications about. By default, if unspecified, all changes are pushed out. If specified then dictates which labels are required for a push notification to be generated. "A String", ], - "topicName": "A String", # Fully qualified Cloud PubSub API topic name to publish events to. This topic name should already exist in Cloud PubSub and you should have already granted gmail "publish" privileges on it. For example, "projects/my-project-identifier/topics/my-topic-name" (using the new Cloud PubSub "v1beta2" topic naming format). + "topicName": "A String", # A fully qualified Google Cloud Pub/Sub API topic name to publish the events to. This topic name **must** already exist in Cloud Pub/Sub and you **must** have already granted gmail "publish" permission on it. For example, "projects/my-project-identifier/topics/my-topic-name" (using the new Cloud Pub/Sub "v1beta2" topic naming format). # - # Note that the "my-project-identifier" portion must exactly match your developer console project id (the one executing this watch request). + # Note that the "my-project-identifier" portion must exactly match your Google developer project id (the one executing this watch request). "labelFilterAction": "A String", # Filtering behavior of labelIds list specified. } @@ -160,7 +160,7 @@

Method Details

An object of the form: { # Push notification watch response. - "expiration": "A String", # When Gmail will stop sending notifications for mailbox updates. Call watch again before this time to renew the subscription. + "expiration": "A String", # When Gmail will stop sending notifications for mailbox updates (epoch millis). Call watch again before this time to renew the watch. "historyId": "A String", # The ID of the mailbox's current history record. }
diff --git a/docs/dyn/gmail_v1.users.messages.html b/docs/dyn/gmail_v1.users.messages.html index b712e94c115..a514067d8af 100644 --- a/docs/dyn/gmail_v1.users.messages.html +++ b/docs/dyn/gmail_v1.users.messages.html @@ -139,6 +139,7 @@

Method Details

An object of the form: { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -183,6 +184,7 @@

Method Details

The object takes the form of: { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -229,6 +231,7 @@

Method Details

An object of the form: { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -273,6 +276,7 @@

Method Details

The object takes the form of: { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -317,6 +321,7 @@

Method Details

An object of the form: { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -371,6 +376,7 @@

Method Details

"resultSizeEstimate": 42, # Estimated total number of results. "messages": [ # List of messages. { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -445,6 +451,7 @@

Method Details

An object of the form: { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -489,6 +496,7 @@

Method Details

The object takes the form of: { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -528,6 +536,7 @@

Method Details

An object of the form: { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -574,6 +583,7 @@

Method Details

An object of the form: { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -620,6 +630,7 @@

Method Details

An object of the form: { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. diff --git a/docs/dyn/gmail_v1.users.threads.html b/docs/dyn/gmail_v1.users.threads.html index b748a070f13..334231ce877 100644 --- a/docs/dyn/gmail_v1.users.threads.html +++ b/docs/dyn/gmail_v1.users.threads.html @@ -127,6 +127,7 @@

Method Details

"snippet": "A String", # A short part of the message text. "messages": [ # The list of messages in the thread. { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -188,6 +189,7 @@

Method Details

"snippet": "A String", # A short part of the message text. "messages": [ # The list of messages in the thread. { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -269,6 +271,7 @@

Method Details

"snippet": "A String", # A short part of the message text. "messages": [ # The list of messages in the thread. { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -322,6 +325,7 @@

Method Details

"snippet": "A String", # A short part of the message text. "messages": [ # The list of messages in the thread. { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. @@ -375,6 +379,7 @@

Method Details

"snippet": "A String", # A short part of the message text. "messages": [ # The list of messages in the thread. { # An email message. + "internalDate": "A String", # The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header. "historyId": "A String", # The ID of the last history record that modified this message. "payload": { # A single MIME message part. # The parsed email structure in the message parts. "body": { # The body of a single MIME message part. # The message part body for this part, which may be empty for container MIME message parts. diff --git a/docs/dyn/identitytoolkit_v3.relyingparty.html b/docs/dyn/identitytoolkit_v3.relyingparty.html index c829479bf09..b5325ea20ad 100644 --- a/docs/dyn/identitytoolkit_v3.relyingparty.html +++ b/docs/dyn/identitytoolkit_v3.relyingparty.html @@ -378,10 +378,10 @@

Method Details

An object of the form: { # Respone of setting the account information. - "idToken": "A String", # The Gitkit id token to login the newly sign up user. "kind": "identitytoolkit#SetAccountInfoResponse", # The fixed string "identitytoolkit#SetAccountInfoResponse". "displayName": "A String", # The name of the user. - "email": "A String", # The email of the user. + "newEmail": "A String", # The new email the user attempts to change to. + "idToken": "A String", # The Gitkit id token to login the newly sign up user. "providerUserInfo": [ # The user's profiles at the associated IdPs. { "providerId": "A String", # The IdP ID. For whitelisted IdPs it's a short domain name, e.g., google.com, aol.com, live.net and yahoo.com. For other OpenID IdPs it's the OP identifier. @@ -389,6 +389,7 @@

Method Details

"photoUrl": "A String", # The user's photo url at the IDP. }, ], + "email": "A String", # The email of the user. }
@@ -525,9 +526,12 @@

Method Details

"kind": "identitytoolkit#VerifyPasswordResponse", # The fixed string "identitytoolkit#VerifyPasswordResponse". "displayName": "A String", # The name of the user. "localId": "A String", # The RP local ID if it's already been mapped to the IdP account identified by the federated ID. + "oauthAccessToken": "A String", # The OAuth2 access token. "photoUrl": "A String", # The URI of the user's photo at IdP + "oauthExpireIn": 42, # The lifetime in seconds of the OAuth2 access token. "idToken": "A String", # The GITKit token for authenticated user. "registered": True or False, # Whether the email is registered. + "oauthAuthorizationCode": "A String", # The OAuth2 authorization code. "email": "A String", # The email returned by the IdP. NOTE: The federated login user may not own the email. }
diff --git a/docs/dyn/logging_v1beta3.projects.html b/docs/dyn/logging_v1beta3.projects.html index ebc41c06747..644df0ead23 100644 --- a/docs/dyn/logging_v1beta3.projects.html +++ b/docs/dyn/logging_v1beta3.projects.html @@ -84,4 +84,9 @@

Instance Methods

Returns the logs Resource.

+

+ sinks() +

+

Returns the sinks Resource.

+ \ No newline at end of file diff --git a/docs/dyn/logging_v1beta3.projects.logServices.html b/docs/dyn/logging_v1beta3.projects.logServices.html index bc16fe5334f..0ff29b68e4c 100644 --- a/docs/dyn/logging_v1beta3.projects.logServices.html +++ b/docs/dyn/logging_v1beta3.projects.logServices.html @@ -86,18 +86,18 @@

Instance Methods

list(projectsId, log=None, pageSize=None, pageToken=None, x__xgafv=None)

-

Lists log services associated with log entries ingested for a project.

+

Lists the log services that have log entries in this project.

list_next(previous_request, previous_response)

Retrieves the next page of results.

Method Details

list(projectsId, log=None, pageSize=None, pageToken=None, x__xgafv=None) -
Lists log services associated with log entries ingested for a project.
+  
Lists the log services that have log entries in this project.
 
 Args:
-  projectsId: string, Part of `projectName`. The project resource whose services are to be listed. (required)
-  log: string, The name of the log resource whose services are to be listed. log for which to list services. When empty, all services are listed.
+  projectsId: string, Part of `projectName`. The resource name of the project whose services are to be listed. (required)
+  log: string, If empty, all log services contributing log entries to the project are listed. Otherwise, this field must be the resource name of a log, such as `"projects/my-project/appengine.googleapis.com%2Frequest_log"`, and then the only services listed are those associated with entries in the log. A service is associated with an entry if its name is in the entry's `LogEntryMetadata.serviceName` field.
   pageSize: integer, The maximum number of `LogService` objects to return in one operation.
   pageToken: string, An opaque token, returned as `nextPageToken` by a prior `ListLogServices` operation. If `pageToken` is supplied, then the other fields of this request are ignored, and instead the previous `ListLogServices` operation is continued.
   x__xgafv: string, V1 error format.
@@ -108,11 +108,11 @@ 

Method Details

{ # Result returned from `ListLogServicesRequest`. "nextPageToken": "A String", # If there are more results, then `nextPageToken` is returned in the response. To get the next batch of services, use the value of `nextPageToken` as `pageToken` in the next call of `ListLogServices`. If `nextPageToken` is empty, then there are no more results. "logServices": [ # A list of log services. - { # A log service object. - "indexKeys": [ # Label keys used when labeling log entries for this service. The order of the keys is significant, with higher priority keys coming earlier in the list. + { # _Output only._ Describes a service that writes log entries. + "indexKeys": [ # A list of the names of the keys used to index and label individual log entries from this service. The first two keys are used as the primary and secondary index, respectively. Additional keys may be used to label the entries. For example, App Engine indexes its entries by module and by version, so its `indexKeys` field is the following: [ "appengine.googleapis.com/module_id", "appengine.googleapis.com/version_id" ] "A String", ], - "name": "A String", # The service's name. + "name": "A String", # The service's name. Example: `"appengine.googleapis.com"`. Log names beginning with this string are reserved for this service. This value can appear in the `LogEntry.metadata.serviceName` field of log entries associated with this log service. }, ], }
diff --git a/docs/dyn/logging_v1beta3.projects.logServices.indexes.html b/docs/dyn/logging_v1beta3.projects.logServices.indexes.html index 92f3494ae30..98903b06e53 100644 --- a/docs/dyn/logging_v1beta3.projects.logServices.indexes.html +++ b/docs/dyn/logging_v1beta3.projects.logServices.indexes.html @@ -75,32 +75,32 @@

Google Cloud Logging API . projects . logServices . indexes

Instance Methods

- list(projectsId, logServicesId, log=None, pageSize=None, depth=None, indexPrefix=None, pageToken=None, x__xgafv=None)

-

Lists log service indexes associated with a log service.

+ list(projectsId, logServicesId, pageSize=None, indexPrefix=None, x__xgafv=None, pageToken=None, log=None, depth=None)

+

Lists the current index values for a log service.

list_next(previous_request, previous_response)

Retrieves the next page of results.

Method Details

- list(projectsId, logServicesId, log=None, pageSize=None, depth=None, indexPrefix=None, pageToken=None, x__xgafv=None) -
Lists log service indexes associated with a log service.
+    list(projectsId, logServicesId, pageSize=None, indexPrefix=None, x__xgafv=None, pageToken=None, log=None, depth=None)
+  
Lists the current index values for a log service.
 
 Args:
-  projectsId: string, Part of `serviceName`. A log service resource of the form `/projects/*/logServices/*`. The service indexes of the log service are returned. Example: `"/projects/myProj/logServices/appengine.googleapis.com"`. (required)
+  projectsId: string, Part of `serviceName`. The resource name of a log service whose service indexes are requested. Example: `"projects/my-project-id/logServices/appengine.googleapis.com"`. (required)
   logServicesId: string, Part of `serviceName`. See documentation of `projectsId`. (required)
-  log: string, A log resource like `/projects/project_id/logs/log_name`, identifying the log for which to list service indexes.
   pageSize: integer, The maximum number of log service index resources to return in one operation.
-  depth: integer, A limit to the number of levels of the index hierarchy that are expanded. If `depth` is 0, it defaults to the level specified by the prefix field (the number of slash separators). The default empty prefix implies a `depth` of 1. It is an error for `depth` to be any non-zero value less than the number of components in `indexPrefix`.
-  indexPrefix: string, Restricts the indexes returned to be those with a specified prefix. The prefix has the form `"/label_value/label_value/..."`, in order corresponding to the [`LogService indexKeys`][google.logging.v1.LogService.index_keys]. Non-empty prefixes must begin with `/` . Example prefixes: + `"/myModule/"` retrieves App Engine versions associated with `myModule`. The trailing slash terminates the value. + `"/myModule"` retrieves App Engine modules with names beginning with `myModule`. + `""` retrieves all indexes.
-  pageToken: string, An opaque token, returned as `nextPageToken` by a prior `ListLogServiceIndexes` operation. If `pageToken` is supplied, then the other fields of this request are ignored, and instead the previous `ListLogServiceIndexes` operation is continued.
+  indexPrefix: string, Restricts the index values returned to be those with a specified prefix for each index key. This field has the form `"/prefix1/prefix2/..."`, in order corresponding to the [`LogService indexKeys`][google.logging.v1.LogService.index_keys]. Non-empty prefixes must begin with `/`. For example, App Engine's two keys are the module ID and the version ID. Following is the effect of using various values for `indexPrefix`: + `"/Mod/"` retrieves `/Mod/10` and `/Mod/11` but not `/ModA/10`. + `"/Mod` retrieves `/Mod/10`, `/Mod/11` and `/ModA/10` but not `/XXX/33`. + `"/Mod/1"` retrieves `/Mod/10` and `/Mod/11` but not `/ModA/10`. + `"/Mod/10/"` retrieves `/Mod/10` only. + An empty prefix or `"/"` retrieves all values.
   x__xgafv: string, V1 error format.
+  pageToken: string, An opaque token, returned as `nextPageToken` by a prior `ListLogServiceIndexes` operation. If `pageToken` is supplied, then the other fields of this request are ignored, and instead the previous `ListLogServiceIndexes` operation is continued.
+  log: string, _Optional_. The resource name of a log, such as `"projects/project_id/logs/log_name"`. If present, indexes are returned for any service associated with entries in the log.
+  depth: integer, A non-negative integer that limits the number of levels of the index hierarchy that are returned. If `depth` is 1 (default), only the first index key value is returned. If `depth` is 2, both primary and secondary key values are returned. If `depth` is 0, the depth is the number of slash-separators in the `indexPrefix` field, not counting a slash appearing as the last character of the prefix. If the `indexPrefix` field is empty, the default depth is 1. It is an error for `depth` to be any positive value less than the number of components in `indexPrefix`.
 
 Returns:
   An object of the form:
 
     { # Result returned from ListLogServiceIndexesRequest.
-    "nextPageToken": "A String", # If there are more results, then `nextPageToken` is returned in the response. To get the next batch of indexes, use the value of `nextPageToken` as `pageToken` in the next call of `ListLogServiceIndexess`. If `nextPageToken` is empty, then there are no more results.
-    "serviceIndexPrefixes": [ # A list of log service index prefixes.
+    "nextPageToken": "A String", # If there are more results, then `nextPageToken` is returned in the response. To get the next batch of indexes, use the value of `nextPageToken` as `pageToken` in the next call of `ListLogServiceIndexes`. If `nextPageToken` is empty, then there are no more results.
+    "serviceIndexPrefixes": [ # A list of log service index values. Each index value has the form `"/value1/value2/..."`, where `value1` is a value in the primary index, `value2` is a value in the secondary index, and so forth.
       "A String",
     ],
   }
diff --git a/docs/dyn/logging_v1beta3.projects.logServices.sinks.html b/docs/dyn/logging_v1beta3.projects.logServices.sinks.html index 537b61ee8a3..dda274c6b0d 100644 --- a/docs/dyn/logging_v1beta3.projects.logServices.sinks.html +++ b/docs/dyn/logging_v1beta3.projects.logServices.sinks.html @@ -76,35 +76,36 @@

Google Cloud Logging API . create(projectsId, logServicesId, body, x__xgafv=None)

-

Creates the specified log service sink resource.

+

Creates a log service sink. All log entries from a specified log service are written to the destination.

delete(projectsId, logServicesId, sinksId, x__xgafv=None)

-

Deletes the specified log service sink.

+

Deletes a log service sink. After deletion, no new log entries are written to the destination.

get(projectsId, logServicesId, sinksId, x__xgafv=None)

-

Gets the specified log service sink resource.

+

Gets a log service sink.

list(projectsId, logServicesId, x__xgafv=None)

-

Lists log service sinks associated with the specified service.

+

Lists log service sinks associated with a log service.

update(projectsId, logServicesId, sinksId, body, x__xgafv=None)

-

Creates or update the specified log service sink resource.

+

Updates a log service sink. If the sink does not exist, it is created.

Method Details

create(projectsId, logServicesId, body, x__xgafv=None) -
Creates the specified log service sink resource.
+  
Creates a log service sink. All log entries from a specified log service are written to the destination.
 
 Args:
-  projectsId: string, Part of `serviceName`. The name of the service in which to create a sink. (required)
+  projectsId: string, Part of `serviceName`. The resource name of the log service to which the sink is bound. (required)
   logServicesId: string, Part of `serviceName`. See documentation of `projectsId`. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
-{ # An object that describes where a log may be written.
-    "errors": [ # _Output only._ All active errors found for this sink.
-      { # A problem in a sink or the sink's configuration.
-        "status": { # Represents the RPC error status for Google APIs. See http://go/errormodel for details. # The description of the last error observed.
-          "message": "A String", # A developer-facing error message, which should be in English. The user-facing error message should be localized and stored in the [google.rpc.Status.details][google.rpc.Status.details] field.
+{ # Describes where log entries are written outside of Cloud Logging.
+    "filter": "A String", # An advanced logs filter. If present, only log entries matching the filter are written. Only project sinks use this field; log sinks and log service sinks must not include a filter.
+    "errors": [ # _Output only._ If any errors occur when invoking a sink method, then this field contains descriptions of the errors.
+      { # Describes a problem with a logging resource or operation.
+        "status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error description, including a classification code, an error message, and other details.
+          "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
           "code": 42, # The status code, which should be an enum value of [google.rpc.Code][].
           "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
             {
@@ -112,12 +113,12 @@ 

Method Details

}, ], }, - "timeNanos": "A String", # The last time the error was observed, in nanoseconds since the Unix epoch. - "resource": "A String", # The resource associated with the error. It may be different from the sink destination. For example, the sink may point to a BigQuery dataset, but the error may refer to a table resource inside the dataset. + "timeNanos": "A String", # The time the error was observed, in nanoseconds since the Unix epoch. + "resource": "A String", # A resource name associated with this error. For example, the name of a Cloud Storage bucket that has insufficient permissions to be a destination for log entries. }, ], - "destination": "A String", # The resource to send log entries to. The supported sink resource types are: + Google Cloud Storage: `storage.googleapis.com/BUCKET` or `BUCKET.storage.googleapis.com/` + Google BigQuery: `bigquery.googleapis.com/projects/PROJECT/datasets/DATASET` Currently the Cloud Logging API supports at most one sink for each resource type per log or log service resource. - "name": "A String", # The name of this sink. This is a client-assigned identifier for the resource. This is ignored by UpdateLogSink and UpdateLogServicesSink. + "destination": "A String", # The resource name of the destination. Cloud Logging writes designated log entries to this destination. For example, `"storage.googleapis.com/my-output-bucket"`. + "name": "A String", # The client-assigned name of this sink. For example, `"my-syslog-sink"`. The name must be unique among the sinks of a similar kind in the project. } x__xgafv: string, V1 error format. @@ -125,11 +126,12 @@

Method Details

Returns: An object of the form: - { # An object that describes where a log may be written. - "errors": [ # _Output only._ All active errors found for this sink. - { # A problem in a sink or the sink's configuration. - "status": { # Represents the RPC error status for Google APIs. See http://go/errormodel for details. # The description of the last error observed. - "message": "A String", # A developer-facing error message, which should be in English. The user-facing error message should be localized and stored in the [google.rpc.Status.details][google.rpc.Status.details] field. + { # Describes where log entries are written outside of Cloud Logging. + "filter": "A String", # An advanced logs filter. If present, only log entries matching the filter are written. Only project sinks use this field; log sinks and log service sinks must not include a filter. + "errors": [ # _Output only._ If any errors occur when invoking a sink method, then this field contains descriptions of the errors. + { # Describes a problem with a logging resource or operation. + "status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error description, including a classification code, an error message, and other details. + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. "code": 42, # The status code, which should be an enum value of [google.rpc.Code][]. "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use. { @@ -137,21 +139,21 @@

Method Details

}, ], }, - "timeNanos": "A String", # The last time the error was observed, in nanoseconds since the Unix epoch. - "resource": "A String", # The resource associated with the error. It may be different from the sink destination. For example, the sink may point to a BigQuery dataset, but the error may refer to a table resource inside the dataset. + "timeNanos": "A String", # The time the error was observed, in nanoseconds since the Unix epoch. + "resource": "A String", # A resource name associated with this error. For example, the name of a Cloud Storage bucket that has insufficient permissions to be a destination for log entries. }, ], - "destination": "A String", # The resource to send log entries to. The supported sink resource types are: + Google Cloud Storage: `storage.googleapis.com/BUCKET` or `BUCKET.storage.googleapis.com/` + Google BigQuery: `bigquery.googleapis.com/projects/PROJECT/datasets/DATASET` Currently the Cloud Logging API supports at most one sink for each resource type per log or log service resource. - "name": "A String", # The name of this sink. This is a client-assigned identifier for the resource. This is ignored by UpdateLogSink and UpdateLogServicesSink. + "destination": "A String", # The resource name of the destination. Cloud Logging writes designated log entries to this destination. For example, `"storage.googleapis.com/my-output-bucket"`. + "name": "A String", # The client-assigned name of this sink. For example, `"my-syslog-sink"`. The name must be unique among the sinks of a similar kind in the project. }
delete(projectsId, logServicesId, sinksId, x__xgafv=None) -
Deletes the specified log service sink.
+  
Deletes a log service sink. After deletion, no new log entries are written to the destination.
 
 Args:
-  projectsId: string, Part of `sinkName`. The name of the sink to delete. (required)
+  projectsId: string, Part of `sinkName`. The resource name of the log service sink to delete. (required)
   logServicesId: string, Part of `sinkName`. See documentation of `projectsId`. (required)
   sinksId: string, Part of `sinkName`. See documentation of `projectsId`. (required)
   x__xgafv: string, V1 error format.
@@ -159,16 +161,16 @@ 

Method Details

Returns: An object of the form: - { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`. }
get(projectsId, logServicesId, sinksId, x__xgafv=None) -
Gets the specified log service sink resource.
+  
Gets a log service sink.
 
 Args:
-  projectsId: string, Part of `sinkName`. The name of the sink to return. (required)
+  projectsId: string, Part of `sinkName`. The resource name of the log service sink to return. (required)
   logServicesId: string, Part of `sinkName`. See documentation of `projectsId`. (required)
   sinksId: string, Part of `sinkName`. See documentation of `projectsId`. (required)
   x__xgafv: string, V1 error format.
@@ -176,11 +178,12 @@ 

Method Details

Returns: An object of the form: - { # An object that describes where a log may be written. - "errors": [ # _Output only._ All active errors found for this sink. - { # A problem in a sink or the sink's configuration. - "status": { # Represents the RPC error status for Google APIs. See http://go/errormodel for details. # The description of the last error observed. - "message": "A String", # A developer-facing error message, which should be in English. The user-facing error message should be localized and stored in the [google.rpc.Status.details][google.rpc.Status.details] field. + { # Describes where log entries are written outside of Cloud Logging. + "filter": "A String", # An advanced logs filter. If present, only log entries matching the filter are written. Only project sinks use this field; log sinks and log service sinks must not include a filter. + "errors": [ # _Output only._ If any errors occur when invoking a sink method, then this field contains descriptions of the errors. + { # Describes a problem with a logging resource or operation. + "status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error description, including a classification code, an error message, and other details. + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. "code": 42, # The status code, which should be an enum value of [google.rpc.Code][]. "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use. { @@ -188,21 +191,21 @@

Method Details

}, ], }, - "timeNanos": "A String", # The last time the error was observed, in nanoseconds since the Unix epoch. - "resource": "A String", # The resource associated with the error. It may be different from the sink destination. For example, the sink may point to a BigQuery dataset, but the error may refer to a table resource inside the dataset. + "timeNanos": "A String", # The time the error was observed, in nanoseconds since the Unix epoch. + "resource": "A String", # A resource name associated with this error. For example, the name of a Cloud Storage bucket that has insufficient permissions to be a destination for log entries. }, ], - "destination": "A String", # The resource to send log entries to. The supported sink resource types are: + Google Cloud Storage: `storage.googleapis.com/BUCKET` or `BUCKET.storage.googleapis.com/` + Google BigQuery: `bigquery.googleapis.com/projects/PROJECT/datasets/DATASET` Currently the Cloud Logging API supports at most one sink for each resource type per log or log service resource. - "name": "A String", # The name of this sink. This is a client-assigned identifier for the resource. This is ignored by UpdateLogSink and UpdateLogServicesSink. + "destination": "A String", # The resource name of the destination. Cloud Logging writes designated log entries to this destination. For example, `"storage.googleapis.com/my-output-bucket"`. + "name": "A String", # The client-assigned name of this sink. For example, `"my-syslog-sink"`. The name must be unique among the sinks of a similar kind in the project. }
list(projectsId, logServicesId, x__xgafv=None) -
Lists log service sinks associated with the specified service.
+  
Lists log service sinks associated with a log service.
 
 Args:
-  projectsId: string, Part of `serviceName`. The name of the service for which to list sinks. (required)
+  projectsId: string, Part of `serviceName`. The log service whose sinks are wanted. (required)
   logServicesId: string, Part of `serviceName`. See documentation of `projectsId`. (required)
   x__xgafv: string, V1 error format.
 
@@ -210,12 +213,13 @@ 

Method Details

An object of the form: { # Result returned from `ListLogServiceSinks`. - "sinks": [ # The requested log service sinks. If any of the returned `LogSink` objects have an empty `destination` field, then call `logServices.sinks.get` to retrieve the complete `LogSink` object. - { # An object that describes where a log may be written. - "errors": [ # _Output only._ All active errors found for this sink. - { # A problem in a sink or the sink's configuration. - "status": { # Represents the RPC error status for Google APIs. See http://go/errormodel for details. # The description of the last error observed. - "message": "A String", # A developer-facing error message, which should be in English. The user-facing error message should be localized and stored in the [google.rpc.Status.details][google.rpc.Status.details] field. + "sinks": [ # The requested log service sinks. If a returned `LogSink` object has an empty `destination` field, the client can retrieve the complete `LogSink` object by calling `logServices.sinks.get`. + { # Describes where log entries are written outside of Cloud Logging. + "filter": "A String", # An advanced logs filter. If present, only log entries matching the filter are written. Only project sinks use this field; log sinks and log service sinks must not include a filter. + "errors": [ # _Output only._ If any errors occur when invoking a sink method, then this field contains descriptions of the errors. + { # Describes a problem with a logging resource or operation. + "status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error description, including a classification code, an error message, and other details. + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. "code": 42, # The status code, which should be an enum value of [google.rpc.Code][]. "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use. { @@ -223,12 +227,12 @@

Method Details

}, ], }, - "timeNanos": "A String", # The last time the error was observed, in nanoseconds since the Unix epoch. - "resource": "A String", # The resource associated with the error. It may be different from the sink destination. For example, the sink may point to a BigQuery dataset, but the error may refer to a table resource inside the dataset. + "timeNanos": "A String", # The time the error was observed, in nanoseconds since the Unix epoch. + "resource": "A String", # A resource name associated with this error. For example, the name of a Cloud Storage bucket that has insufficient permissions to be a destination for log entries. }, ], - "destination": "A String", # The resource to send log entries to. The supported sink resource types are: + Google Cloud Storage: `storage.googleapis.com/BUCKET` or `BUCKET.storage.googleapis.com/` + Google BigQuery: `bigquery.googleapis.com/projects/PROJECT/datasets/DATASET` Currently the Cloud Logging API supports at most one sink for each resource type per log or log service resource. - "name": "A String", # The name of this sink. This is a client-assigned identifier for the resource. This is ignored by UpdateLogSink and UpdateLogServicesSink. + "destination": "A String", # The resource name of the destination. Cloud Logging writes designated log entries to this destination. For example, `"storage.googleapis.com/my-output-bucket"`. + "name": "A String", # The client-assigned name of this sink. For example, `"my-syslog-sink"`. The name must be unique among the sinks of a similar kind in the project. }, ], }
@@ -236,20 +240,21 @@

Method Details

update(projectsId, logServicesId, sinksId, body, x__xgafv=None) -
Creates or update the specified log service sink resource.
+  
Updates a log service sink. If the sink does not exist, it is created.
 
 Args:
-  projectsId: string, Part of `sinkName`. The name of the sink to update. (required)
+  projectsId: string, Part of `sinkName`. The resource name of the log service sink to update. (required)
   logServicesId: string, Part of `sinkName`. See documentation of `projectsId`. (required)
   sinksId: string, Part of `sinkName`. See documentation of `projectsId`. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
-{ # An object that describes where a log may be written.
-    "errors": [ # _Output only._ All active errors found for this sink.
-      { # A problem in a sink or the sink's configuration.
-        "status": { # Represents the RPC error status for Google APIs. See http://go/errormodel for details. # The description of the last error observed.
-          "message": "A String", # A developer-facing error message, which should be in English. The user-facing error message should be localized and stored in the [google.rpc.Status.details][google.rpc.Status.details] field.
+{ # Describes where log entries are written outside of Cloud Logging.
+    "filter": "A String", # An advanced logs filter. If present, only log entries matching the filter are written. Only project sinks use this field; log sinks and log service sinks must not include a filter.
+    "errors": [ # _Output only._ If any errors occur when invoking a sink method, then this field contains descriptions of the errors.
+      { # Describes a problem with a logging resource or operation.
+        "status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error description, including a classification code, an error message, and other details.
+          "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
           "code": 42, # The status code, which should be an enum value of [google.rpc.Code][].
           "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
             {
@@ -257,12 +262,12 @@ 

Method Details

}, ], }, - "timeNanos": "A String", # The last time the error was observed, in nanoseconds since the Unix epoch. - "resource": "A String", # The resource associated with the error. It may be different from the sink destination. For example, the sink may point to a BigQuery dataset, but the error may refer to a table resource inside the dataset. + "timeNanos": "A String", # The time the error was observed, in nanoseconds since the Unix epoch. + "resource": "A String", # A resource name associated with this error. For example, the name of a Cloud Storage bucket that has insufficient permissions to be a destination for log entries. }, ], - "destination": "A String", # The resource to send log entries to. The supported sink resource types are: + Google Cloud Storage: `storage.googleapis.com/BUCKET` or `BUCKET.storage.googleapis.com/` + Google BigQuery: `bigquery.googleapis.com/projects/PROJECT/datasets/DATASET` Currently the Cloud Logging API supports at most one sink for each resource type per log or log service resource. - "name": "A String", # The name of this sink. This is a client-assigned identifier for the resource. This is ignored by UpdateLogSink and UpdateLogServicesSink. + "destination": "A String", # The resource name of the destination. Cloud Logging writes designated log entries to this destination. For example, `"storage.googleapis.com/my-output-bucket"`. + "name": "A String", # The client-assigned name of this sink. For example, `"my-syslog-sink"`. The name must be unique among the sinks of a similar kind in the project. } x__xgafv: string, V1 error format. @@ -270,11 +275,12 @@

Method Details

Returns: An object of the form: - { # An object that describes where a log may be written. - "errors": [ # _Output only._ All active errors found for this sink. - { # A problem in a sink or the sink's configuration. - "status": { # Represents the RPC error status for Google APIs. See http://go/errormodel for details. # The description of the last error observed. - "message": "A String", # A developer-facing error message, which should be in English. The user-facing error message should be localized and stored in the [google.rpc.Status.details][google.rpc.Status.details] field. + { # Describes where log entries are written outside of Cloud Logging. + "filter": "A String", # An advanced logs filter. If present, only log entries matching the filter are written. Only project sinks use this field; log sinks and log service sinks must not include a filter. + "errors": [ # _Output only._ If any errors occur when invoking a sink method, then this field contains descriptions of the errors. + { # Describes a problem with a logging resource or operation. + "status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error description, including a classification code, an error message, and other details. + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. "code": 42, # The status code, which should be an enum value of [google.rpc.Code][]. "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use. { @@ -282,12 +288,12 @@

Method Details

}, ], }, - "timeNanos": "A String", # The last time the error was observed, in nanoseconds since the Unix epoch. - "resource": "A String", # The resource associated with the error. It may be different from the sink destination. For example, the sink may point to a BigQuery dataset, but the error may refer to a table resource inside the dataset. + "timeNanos": "A String", # The time the error was observed, in nanoseconds since the Unix epoch. + "resource": "A String", # A resource name associated with this error. For example, the name of a Cloud Storage bucket that has insufficient permissions to be a destination for log entries. }, ], - "destination": "A String", # The resource to send log entries to. The supported sink resource types are: + Google Cloud Storage: `storage.googleapis.com/BUCKET` or `BUCKET.storage.googleapis.com/` + Google BigQuery: `bigquery.googleapis.com/projects/PROJECT/datasets/DATASET` Currently the Cloud Logging API supports at most one sink for each resource type per log or log service resource. - "name": "A String", # The name of this sink. This is a client-assigned identifier for the resource. This is ignored by UpdateLogSink and UpdateLogServicesSink. + "destination": "A String", # The resource name of the destination. Cloud Logging writes designated log entries to this destination. For example, `"storage.googleapis.com/my-output-bucket"`. + "name": "A String", # The client-assigned name of this sink. For example, `"my-syslog-sink"`. The name must be unique among the sinks of a similar kind in the project. }
diff --git a/docs/dyn/logging_v1beta3.projects.logs.entries.html b/docs/dyn/logging_v1beta3.projects.logs.entries.html index adf523ccf36..55f5447b0b7 100644 --- a/docs/dyn/logging_v1beta3.projects.logs.entries.html +++ b/docs/dyn/logging_v1beta3.projects.logs.entries.html @@ -76,24 +76,34 @@

Google Cloud Logging API . write(projectsId, logsId, body, x__xgafv=None)

-

Creates one or more log entries in a log. You must supply a list of `LogEntry` objects, named `entries`. Each `LogEntry` object must contain a payload object and a `LogEntryMetadata` object that describes the entry. You must fill in all the fields of the entry, metadata, and payload. You can also supply a map, `commonLabels`, that supplies default (key, value) data for the `entries[].metadata.labels` maps, saving you the trouble of creating identical copies for each entry.

+

Writes log entries to Cloud Logging. Each entry consists of a `LogEntry` object. You must fill in all the fields of the object, including one of the payload fields. You may supply a map, `commonLabels`, that holds default (key, value) data for the `entries[].metadata.labels` map in each entry, saving you the trouble of creating identical copies for each entry.

Method Details

write(projectsId, logsId, body, x__xgafv=None) -
Creates one or more log entries in a log. You must supply a list of `LogEntry` objects, named `entries`. Each `LogEntry` object must contain a payload object and a `LogEntryMetadata` object that describes the entry. You must fill in all the fields of the entry, metadata, and payload. You can also supply a map, `commonLabels`, that supplies default (key, value) data for the `entries[].metadata.labels` maps, saving you the trouble of creating identical copies for each entry.
+  
Writes log entries to Cloud Logging. Each entry consists of a `LogEntry` object. You must fill in all the fields of the object, including one of the payload fields. You may supply a map, `commonLabels`, that holds default (key, value) data for the `entries[].metadata.labels` map in each entry, saving you the trouble of creating identical copies for each entry.
 
 Args:
-  projectsId: string, Part of `logName`. The name of the log resource into which to insert the log entries. (required)
+  projectsId: string, Part of `logName`. The resource name of the log that will receive the log entries. (required)
   logsId: string, Part of `logName`. See documentation of `projectsId`. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
 { # The parameters to WriteLogEntries.
-    "commonLabels": { # Metadata labels that apply to all entries in this request. If one of the log entries contains a (key, value) with the same key that is in `commonLabels`, then the entry's (key, value) overrides the one in `commonLabels`.
+    "commonLabels": { # Metadata labels that apply to all log entries in this request, so that you don't have to repeat them in each log entry's `metadata.labels` field. If any of the log entries contains a (key, value) with the same key that is in `commonLabels`, then the entry's (key, value) overrides the one in `commonLabels`.
       "a_key": "A String",
     },
     "entries": [ # Log entries to insert.
       { # An individual entry in a log.
+        "httpRequest": { # A common proto for logging HTTP requests. # Information about the HTTP request associated with this log entry, if applicable.
+          "status": 42, # A response code indicates the status of response, e.g., 200.
+          "requestUrl": "A String", # Contains the scheme (http|https), the host name, the path and the query portion of the URL that was requested.
+          "requestMethod": "A String", # Request method, such as `GET`, `HEAD`, `PUT` or `POST`.
+          "referer": "A String", # Referer (a.k.a. referrer) URL of request, as defined in http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html.
+          "remoteIp": "A String", # IP address of the client who issues the HTTP request. Could be either IPv4 or IPv6.
+          "userAgent": "A String", # User agent sent by the client, e.g., "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET CLR 1.0.3705)".
+          "requestSize": "A String", # Size of the HTTP request message in bytes, including request headers and the request body.
+          "responseSize": "A String", # Size of the HTTP response message in bytes sent back to the client, including response headers and response body.
+        },
         "log": "A String", # The log to which this entry belongs. When a log entry is ingested, the value of this field is set by the logging system.
         "textPayload": "A String", # The log entry payload, represented as a text string.
         "structPayload": { # The log entry payload, represented as a structure that is expressed as a JSON object.
diff --git a/docs/dyn/logging_v1beta3.projects.logs.html b/docs/dyn/logging_v1beta3.projects.logs.html
index 54a118ca961..c8316e93ddf 100644
--- a/docs/dyn/logging_v1beta3.projects.logs.html
+++ b/docs/dyn/logging_v1beta3.projects.logs.html
@@ -86,52 +86,52 @@ 

Instance Methods

delete(projectsId, logsId, x__xgafv=None)

-

Deletes the specified log resource and all log entries contained in it.

+

Deletes a log and all its log entries. The log will reappear if it receives new entries.

list(projectsId, pageSize=None, serviceName=None, pageToken=None, x__xgafv=None, serviceIndexPrefix=None)

-

Lists log resources belonging to the specified project.

+

Lists the logs in the project. Only logs that have entries are listed.

list_next(previous_request, previous_response)

Retrieves the next page of results.

Method Details

delete(projectsId, logsId, x__xgafv=None) -
Deletes the specified log resource and all log entries contained in it.
+  
Deletes a log and all its log entries. The log will reappear if it receives new entries.
 
 Args:
-  projectsId: string, Part of `logName`. The log resource to delete. (required)
+  projectsId: string, Part of `logName`. The resource name of the log to be deleted. (required)
   logsId: string, Part of `logName`. See documentation of `projectsId`. (required)
   x__xgafv: string, V1 error format.
 
 Returns:
   An object of the form:
 
-    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
   }
list(projectsId, pageSize=None, serviceName=None, pageToken=None, x__xgafv=None, serviceIndexPrefix=None) -
Lists log resources belonging to the specified project.
+  
Lists the logs in the project. Only logs that have entries are listed.
 
 Args:
-  projectsId: string, Part of `projectName`. The project name for which to list the log resources. (required)
+  projectsId: string, Part of `projectName`. The resource name of the project whose logs are requested. If both `serviceName` and `serviceIndexPrefix` are empty, then all logs with entries in this project are listed. (required)
   pageSize: integer, The maximum number of results to return.
-  serviceName: string, A service name for which to list logs. Only logs containing entries whose metadata includes this service name are returned. If `serviceName` and `serviceIndexPrefix` are both empty, then all log names are returned. To list all log names, regardless of service, leave both the `serviceName` and `serviceIndexPrefix` empty. To list log names containing entries with a particular service name (or explicitly empty service name) set `serviceName` to the desired value and `serviceIndexPrefix` to `"/"`.
+  serviceName: string, If not empty, this field must be a log service name such as `"compute.googleapis.com"`. Only logs associated with that that log service are listed.
   pageToken: string, An opaque token, returned as `nextPageToken` by a prior `ListLogs` operation. If `pageToken` is supplied, then the other fields of this request are ignored, and instead the previous `ListLogs` operation is continued.
   x__xgafv: string, V1 error format.
-  serviceIndexPrefix: string, A log service index prefix for which to list logs. Only logs containing entries whose metadata that includes these label values (associated with index keys) are returned. The prefix is a slash separated list of values, and need not specify all index labels. An empty index (or a single slash) matches all log service indexes.
+  serviceIndexPrefix: string, The purpose of this field is to restrict the listed logs to those with entries of a certain kind. If `serviceName` is the name of a log service, then this field may contain values for the log service's indexes. Only logs that have entries whose indexes include the values are listed. The format for this field is `"/val1/val2.../valN"`, where `val1` is a value for the first index, `val2` for the second index, etc. An empty value (a single slash) for an index matches all values, and you can omit values for later indexes entirely.
 
 Returns:
   An object of the form:
 
     { # Result returned from ListLogs.
     "nextPageToken": "A String", # If there are more results, then `nextPageToken` is returned in the response. To get the next batch of logs, use the value of `nextPageToken` as `pageToken` in the next call of `ListLogs`. If `nextPageToken` is empty, then there are no more results.
-    "logs": [ # A list of log resources.
-      { # A log object.
-        "payloadType": "A String", # Type URL describing the expected payload type for the log.
-        "displayName": "A String", # Name used when displaying the log to the user (for example, in a UI). Example: `"activity_log"`
-        "name": "A String", # REQUIRED: The log's name name. Example: `"compute.googleapis.com/activity_log"`.
+    "logs": [ # A list of log descriptions matching the criteria.
+      { # _Output only._ Describes a log, which is a named stream of log entries.
+        "payloadType": "A String", # _Optional_. A URI representing the expected payload type for log entries.
+        "displayName": "A String", # _Optional._ The common name of the log. Example: `"request_log"`.
+        "name": "A String", # The resource name of the log. Example: `"/projects/my-gcp-project-id/logs/LOG_NAME"`, where `LOG_NAME` is the URL-encoded given name of the log. The log includes those log entries whose `LogEntry.log` field contains this given name. To avoid name collisions, it is a best practice to prefix the given log name with the service name, but this is not required. Examples of log given names: `"appengine.googleapis.com/request_log"`, `"apache-access"`.
       },
     ],
   }
diff --git a/docs/dyn/logging_v1beta3.projects.logs.sinks.html b/docs/dyn/logging_v1beta3.projects.logs.sinks.html index 8fd7fac85c5..0795844aed4 100644 --- a/docs/dyn/logging_v1beta3.projects.logs.sinks.html +++ b/docs/dyn/logging_v1beta3.projects.logs.sinks.html @@ -76,35 +76,36 @@

Google Cloud Logging API . create(projectsId, logsId, body, x__xgafv=None)

-

Creates the specified log sink resource.

+

Creates a log sink. All log entries for a specified log are written to the destination.

delete(projectsId, logsId, sinksId, x__xgafv=None)

-

Deletes the specified log sink resource.

+

Deletes a log sink. After deletion, no new log entries are written to the destination.

get(projectsId, logsId, sinksId, x__xgafv=None)

-

Gets the specified log sink resource.

+

Gets a log sink.

list(projectsId, logsId, x__xgafv=None)

-

Lists log sinks associated with the specified log.

+

Lists log sinks associated with a log.

update(projectsId, logsId, sinksId, body, x__xgafv=None)

-

Creates or updates the specified log sink resource.

+

Updates a log sink. If the sink does not exist, it is created.

Method Details

create(projectsId, logsId, body, x__xgafv=None) -
Creates the specified log sink resource.
+  
Creates a log sink. All log entries for a specified log are written to the destination.
 
 Args:
-  projectsId: string, Part of `logName`. The log in which to create a sink resource. (required)
+  projectsId: string, Part of `logName`. The resource name of the log to which to the sink is bound. (required)
   logsId: string, Part of `logName`. See documentation of `projectsId`. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
-{ # An object that describes where a log may be written.
-    "errors": [ # _Output only._ All active errors found for this sink.
-      { # A problem in a sink or the sink's configuration.
-        "status": { # Represents the RPC error status for Google APIs. See http://go/errormodel for details. # The description of the last error observed.
-          "message": "A String", # A developer-facing error message, which should be in English. The user-facing error message should be localized and stored in the [google.rpc.Status.details][google.rpc.Status.details] field.
+{ # Describes where log entries are written outside of Cloud Logging.
+    "filter": "A String", # An advanced logs filter. If present, only log entries matching the filter are written. Only project sinks use this field; log sinks and log service sinks must not include a filter.
+    "errors": [ # _Output only._ If any errors occur when invoking a sink method, then this field contains descriptions of the errors.
+      { # Describes a problem with a logging resource or operation.
+        "status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error description, including a classification code, an error message, and other details.
+          "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
           "code": 42, # The status code, which should be an enum value of [google.rpc.Code][].
           "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
             {
@@ -112,12 +113,12 @@ 

Method Details

}, ], }, - "timeNanos": "A String", # The last time the error was observed, in nanoseconds since the Unix epoch. - "resource": "A String", # The resource associated with the error. It may be different from the sink destination. For example, the sink may point to a BigQuery dataset, but the error may refer to a table resource inside the dataset. + "timeNanos": "A String", # The time the error was observed, in nanoseconds since the Unix epoch. + "resource": "A String", # A resource name associated with this error. For example, the name of a Cloud Storage bucket that has insufficient permissions to be a destination for log entries. }, ], - "destination": "A String", # The resource to send log entries to. The supported sink resource types are: + Google Cloud Storage: `storage.googleapis.com/BUCKET` or `BUCKET.storage.googleapis.com/` + Google BigQuery: `bigquery.googleapis.com/projects/PROJECT/datasets/DATASET` Currently the Cloud Logging API supports at most one sink for each resource type per log or log service resource. - "name": "A String", # The name of this sink. This is a client-assigned identifier for the resource. This is ignored by UpdateLogSink and UpdateLogServicesSink. + "destination": "A String", # The resource name of the destination. Cloud Logging writes designated log entries to this destination. For example, `"storage.googleapis.com/my-output-bucket"`. + "name": "A String", # The client-assigned name of this sink. For example, `"my-syslog-sink"`. The name must be unique among the sinks of a similar kind in the project. } x__xgafv: string, V1 error format. @@ -125,11 +126,12 @@

Method Details

Returns: An object of the form: - { # An object that describes where a log may be written. - "errors": [ # _Output only._ All active errors found for this sink. - { # A problem in a sink or the sink's configuration. - "status": { # Represents the RPC error status for Google APIs. See http://go/errormodel for details. # The description of the last error observed. - "message": "A String", # A developer-facing error message, which should be in English. The user-facing error message should be localized and stored in the [google.rpc.Status.details][google.rpc.Status.details] field. + { # Describes where log entries are written outside of Cloud Logging. + "filter": "A String", # An advanced logs filter. If present, only log entries matching the filter are written. Only project sinks use this field; log sinks and log service sinks must not include a filter. + "errors": [ # _Output only._ If any errors occur when invoking a sink method, then this field contains descriptions of the errors. + { # Describes a problem with a logging resource or operation. + "status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error description, including a classification code, an error message, and other details. + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. "code": 42, # The status code, which should be an enum value of [google.rpc.Code][]. "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use. { @@ -137,21 +139,21 @@

Method Details

}, ], }, - "timeNanos": "A String", # The last time the error was observed, in nanoseconds since the Unix epoch. - "resource": "A String", # The resource associated with the error. It may be different from the sink destination. For example, the sink may point to a BigQuery dataset, but the error may refer to a table resource inside the dataset. + "timeNanos": "A String", # The time the error was observed, in nanoseconds since the Unix epoch. + "resource": "A String", # A resource name associated with this error. For example, the name of a Cloud Storage bucket that has insufficient permissions to be a destination for log entries. }, ], - "destination": "A String", # The resource to send log entries to. The supported sink resource types are: + Google Cloud Storage: `storage.googleapis.com/BUCKET` or `BUCKET.storage.googleapis.com/` + Google BigQuery: `bigquery.googleapis.com/projects/PROJECT/datasets/DATASET` Currently the Cloud Logging API supports at most one sink for each resource type per log or log service resource. - "name": "A String", # The name of this sink. This is a client-assigned identifier for the resource. This is ignored by UpdateLogSink and UpdateLogServicesSink. + "destination": "A String", # The resource name of the destination. Cloud Logging writes designated log entries to this destination. For example, `"storage.googleapis.com/my-output-bucket"`. + "name": "A String", # The client-assigned name of this sink. For example, `"my-syslog-sink"`. The name must be unique among the sinks of a similar kind in the project. }
delete(projectsId, logsId, sinksId, x__xgafv=None) -
Deletes the specified log sink resource.
+  
Deletes a log sink. After deletion, no new log entries are written to the destination.
 
 Args:
-  projectsId: string, Part of `sinkName`. The name of the sink to delete. (required)
+  projectsId: string, Part of `sinkName`. The resource name of the log sink to delete. (required)
   logsId: string, Part of `sinkName`. See documentation of `projectsId`. (required)
   sinksId: string, Part of `sinkName`. See documentation of `projectsId`. (required)
   x__xgafv: string, V1 error format.
@@ -159,16 +161,16 @@ 

Method Details

Returns: An object of the form: - { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } + { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`. }
get(projectsId, logsId, sinksId, x__xgafv=None) -
Gets the specified log sink resource.
+  
Gets a log sink.
 
 Args:
-  projectsId: string, Part of `sinkName`. The name of the sink resource to return. (required)
+  projectsId: string, Part of `sinkName`. The resource name of the log sink to return. (required)
   logsId: string, Part of `sinkName`. See documentation of `projectsId`. (required)
   sinksId: string, Part of `sinkName`. See documentation of `projectsId`. (required)
   x__xgafv: string, V1 error format.
@@ -176,11 +178,12 @@ 

Method Details

Returns: An object of the form: - { # An object that describes where a log may be written. - "errors": [ # _Output only._ All active errors found for this sink. - { # A problem in a sink or the sink's configuration. - "status": { # Represents the RPC error status for Google APIs. See http://go/errormodel for details. # The description of the last error observed. - "message": "A String", # A developer-facing error message, which should be in English. The user-facing error message should be localized and stored in the [google.rpc.Status.details][google.rpc.Status.details] field. + { # Describes where log entries are written outside of Cloud Logging. + "filter": "A String", # An advanced logs filter. If present, only log entries matching the filter are written. Only project sinks use this field; log sinks and log service sinks must not include a filter. + "errors": [ # _Output only._ If any errors occur when invoking a sink method, then this field contains descriptions of the errors. + { # Describes a problem with a logging resource or operation. + "status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error description, including a classification code, an error message, and other details. + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. "code": 42, # The status code, which should be an enum value of [google.rpc.Code][]. "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use. { @@ -188,21 +191,21 @@

Method Details

}, ], }, - "timeNanos": "A String", # The last time the error was observed, in nanoseconds since the Unix epoch. - "resource": "A String", # The resource associated with the error. It may be different from the sink destination. For example, the sink may point to a BigQuery dataset, but the error may refer to a table resource inside the dataset. + "timeNanos": "A String", # The time the error was observed, in nanoseconds since the Unix epoch. + "resource": "A String", # A resource name associated with this error. For example, the name of a Cloud Storage bucket that has insufficient permissions to be a destination for log entries. }, ], - "destination": "A String", # The resource to send log entries to. The supported sink resource types are: + Google Cloud Storage: `storage.googleapis.com/BUCKET` or `BUCKET.storage.googleapis.com/` + Google BigQuery: `bigquery.googleapis.com/projects/PROJECT/datasets/DATASET` Currently the Cloud Logging API supports at most one sink for each resource type per log or log service resource. - "name": "A String", # The name of this sink. This is a client-assigned identifier for the resource. This is ignored by UpdateLogSink and UpdateLogServicesSink. + "destination": "A String", # The resource name of the destination. Cloud Logging writes designated log entries to this destination. For example, `"storage.googleapis.com/my-output-bucket"`. + "name": "A String", # The client-assigned name of this sink. For example, `"my-syslog-sink"`. The name must be unique among the sinks of a similar kind in the project. }
list(projectsId, logsId, x__xgafv=None) -
Lists log sinks associated with the specified log.
+  
Lists log sinks associated with a log.
 
 Args:
-  projectsId: string, Part of `logName`. The log for which to list sinks. (required)
+  projectsId: string, Part of `logName`. The log whose sinks are wanted. For example, `"compute.google.com/syslog"`. (required)
   logsId: string, Part of `logName`. See documentation of `projectsId`. (required)
   x__xgafv: string, V1 error format.
 
@@ -210,12 +213,13 @@ 

Method Details

An object of the form: { # Result returned from `ListLogSinks`. - "sinks": [ # The requested log sinks. If any of the returned `LogSink` objects have an empty `destination` field, then call `logServices.sinks.get` to retrieve the complete `LogSink` object. - { # An object that describes where a log may be written. - "errors": [ # _Output only._ All active errors found for this sink. - { # A problem in a sink or the sink's configuration. - "status": { # Represents the RPC error status for Google APIs. See http://go/errormodel for details. # The description of the last error observed. - "message": "A String", # A developer-facing error message, which should be in English. The user-facing error message should be localized and stored in the [google.rpc.Status.details][google.rpc.Status.details] field. + "sinks": [ # The requested log sinks. If a returned `LogSink` object has an empty `destination` field, the client can retrieve the complete `LogSink` object by calling `log.sinks.get`. + { # Describes where log entries are written outside of Cloud Logging. + "filter": "A String", # An advanced logs filter. If present, only log entries matching the filter are written. Only project sinks use this field; log sinks and log service sinks must not include a filter. + "errors": [ # _Output only._ If any errors occur when invoking a sink method, then this field contains descriptions of the errors. + { # Describes a problem with a logging resource or operation. + "status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error description, including a classification code, an error message, and other details. + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. "code": 42, # The status code, which should be an enum value of [google.rpc.Code][]. "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use. { @@ -223,12 +227,12 @@

Method Details

}, ], }, - "timeNanos": "A String", # The last time the error was observed, in nanoseconds since the Unix epoch. - "resource": "A String", # The resource associated with the error. It may be different from the sink destination. For example, the sink may point to a BigQuery dataset, but the error may refer to a table resource inside the dataset. + "timeNanos": "A String", # The time the error was observed, in nanoseconds since the Unix epoch. + "resource": "A String", # A resource name associated with this error. For example, the name of a Cloud Storage bucket that has insufficient permissions to be a destination for log entries. }, ], - "destination": "A String", # The resource to send log entries to. The supported sink resource types are: + Google Cloud Storage: `storage.googleapis.com/BUCKET` or `BUCKET.storage.googleapis.com/` + Google BigQuery: `bigquery.googleapis.com/projects/PROJECT/datasets/DATASET` Currently the Cloud Logging API supports at most one sink for each resource type per log or log service resource. - "name": "A String", # The name of this sink. This is a client-assigned identifier for the resource. This is ignored by UpdateLogSink and UpdateLogServicesSink. + "destination": "A String", # The resource name of the destination. Cloud Logging writes designated log entries to this destination. For example, `"storage.googleapis.com/my-output-bucket"`. + "name": "A String", # The client-assigned name of this sink. For example, `"my-syslog-sink"`. The name must be unique among the sinks of a similar kind in the project. }, ], }
@@ -236,20 +240,21 @@

Method Details

update(projectsId, logsId, sinksId, body, x__xgafv=None) -
Creates or updates the specified log sink resource.
+  
Updates a log sink. If the sink does not exist, it is created.
 
 Args:
-  projectsId: string, Part of `sinkName`. The name of the sink to update. (required)
+  projectsId: string, Part of `sinkName`. The resource name of the sink to update. (required)
   logsId: string, Part of `sinkName`. See documentation of `projectsId`. (required)
   sinksId: string, Part of `sinkName`. See documentation of `projectsId`. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
-{ # An object that describes where a log may be written.
-    "errors": [ # _Output only._ All active errors found for this sink.
-      { # A problem in a sink or the sink's configuration.
-        "status": { # Represents the RPC error status for Google APIs. See http://go/errormodel for details. # The description of the last error observed.
-          "message": "A String", # A developer-facing error message, which should be in English. The user-facing error message should be localized and stored in the [google.rpc.Status.details][google.rpc.Status.details] field.
+{ # Describes where log entries are written outside of Cloud Logging.
+    "filter": "A String", # An advanced logs filter. If present, only log entries matching the filter are written. Only project sinks use this field; log sinks and log service sinks must not include a filter.
+    "errors": [ # _Output only._ If any errors occur when invoking a sink method, then this field contains descriptions of the errors.
+      { # Describes a problem with a logging resource or operation.
+        "status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error description, including a classification code, an error message, and other details.
+          "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
           "code": 42, # The status code, which should be an enum value of [google.rpc.Code][].
           "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
             {
@@ -257,12 +262,12 @@ 

Method Details

}, ], }, - "timeNanos": "A String", # The last time the error was observed, in nanoseconds since the Unix epoch. - "resource": "A String", # The resource associated with the error. It may be different from the sink destination. For example, the sink may point to a BigQuery dataset, but the error may refer to a table resource inside the dataset. + "timeNanos": "A String", # The time the error was observed, in nanoseconds since the Unix epoch. + "resource": "A String", # A resource name associated with this error. For example, the name of a Cloud Storage bucket that has insufficient permissions to be a destination for log entries. }, ], - "destination": "A String", # The resource to send log entries to. The supported sink resource types are: + Google Cloud Storage: `storage.googleapis.com/BUCKET` or `BUCKET.storage.googleapis.com/` + Google BigQuery: `bigquery.googleapis.com/projects/PROJECT/datasets/DATASET` Currently the Cloud Logging API supports at most one sink for each resource type per log or log service resource. - "name": "A String", # The name of this sink. This is a client-assigned identifier for the resource. This is ignored by UpdateLogSink and UpdateLogServicesSink. + "destination": "A String", # The resource name of the destination. Cloud Logging writes designated log entries to this destination. For example, `"storage.googleapis.com/my-output-bucket"`. + "name": "A String", # The client-assigned name of this sink. For example, `"my-syslog-sink"`. The name must be unique among the sinks of a similar kind in the project. } x__xgafv: string, V1 error format. @@ -270,11 +275,12 @@

Method Details

Returns: An object of the form: - { # An object that describes where a log may be written. - "errors": [ # _Output only._ All active errors found for this sink. - { # A problem in a sink or the sink's configuration. - "status": { # Represents the RPC error status for Google APIs. See http://go/errormodel for details. # The description of the last error observed. - "message": "A String", # A developer-facing error message, which should be in English. The user-facing error message should be localized and stored in the [google.rpc.Status.details][google.rpc.Status.details] field. + { # Describes where log entries are written outside of Cloud Logging. + "filter": "A String", # An advanced logs filter. If present, only log entries matching the filter are written. Only project sinks use this field; log sinks and log service sinks must not include a filter. + "errors": [ # _Output only._ If any errors occur when invoking a sink method, then this field contains descriptions of the errors. + { # Describes a problem with a logging resource or operation. + "status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error description, including a classification code, an error message, and other details. + "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. "code": 42, # The status code, which should be an enum value of [google.rpc.Code][]. "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use. { @@ -282,12 +288,12 @@

Method Details

}, ], }, - "timeNanos": "A String", # The last time the error was observed, in nanoseconds since the Unix epoch. - "resource": "A String", # The resource associated with the error. It may be different from the sink destination. For example, the sink may point to a BigQuery dataset, but the error may refer to a table resource inside the dataset. + "timeNanos": "A String", # The time the error was observed, in nanoseconds since the Unix epoch. + "resource": "A String", # A resource name associated with this error. For example, the name of a Cloud Storage bucket that has insufficient permissions to be a destination for log entries. }, ], - "destination": "A String", # The resource to send log entries to. The supported sink resource types are: + Google Cloud Storage: `storage.googleapis.com/BUCKET` or `BUCKET.storage.googleapis.com/` + Google BigQuery: `bigquery.googleapis.com/projects/PROJECT/datasets/DATASET` Currently the Cloud Logging API supports at most one sink for each resource type per log or log service resource. - "name": "A String", # The name of this sink. This is a client-assigned identifier for the resource. This is ignored by UpdateLogSink and UpdateLogServicesSink. + "destination": "A String", # The resource name of the destination. Cloud Logging writes designated log entries to this destination. For example, `"storage.googleapis.com/my-output-bucket"`. + "name": "A String", # The client-assigned name of this sink. For example, `"my-syslog-sink"`. The name must be unique among the sinks of a similar kind in the project. }
diff --git a/docs/dyn/logging_v1beta3.projects.sinks.html b/docs/dyn/logging_v1beta3.projects.sinks.html new file mode 100644 index 00000000000..14a89138432 --- /dev/null +++ b/docs/dyn/logging_v1beta3.projects.sinks.html @@ -0,0 +1,295 @@ + + + +

Google Cloud Logging API . projects . sinks

+

Instance Methods

+

+ create(projectsId, body, x__xgafv=None)

+

Creates a project sink. A logs filter determines which log entries are written to the destination.

+

+ delete(projectsId, sinksId, x__xgafv=None)

+

Deletes a project sink. After deletion, no new log entries are written to the destination.

+

+ get(projectsId, sinksId, x__xgafv=None)

+

Gets a project sink.

+

+ list(projectsId, x__xgafv=None)

+

Lists project sinks associated with a project.

+

+ update(projectsId, sinksId, body, x__xgafv=None)

+

Updates a project sink. If the sink does not exist, it is created. The destination, filter, or both may be updated.

+

Method Details

+
+ create(projectsId, body, x__xgafv=None) +
Creates a project sink. A logs filter determines which log entries are written to the destination.
+
+Args:
+  projectsId: string, Part of `projectName`. The resource name of the project to which the sink is bound. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Describes where log entries are written outside of Cloud Logging.
+    "filter": "A String", # An advanced logs filter. If present, only log entries matching the filter are written. Only project sinks use this field; log sinks and log service sinks must not include a filter.
+    "errors": [ # _Output only._ If any errors occur when invoking a sink method, then this field contains descriptions of the errors.
+      { # Describes a problem with a logging resource or operation.
+        "status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error description, including a classification code, an error message, and other details.
+          "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+          "code": 42, # The status code, which should be an enum value of [google.rpc.Code][].
+          "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
+            {
+              "a_key": "", # Properties of the object. Contains field @ype with type URL.
+            },
+          ],
+        },
+        "timeNanos": "A String", # The time the error was observed, in nanoseconds since the Unix epoch.
+        "resource": "A String", # A resource name associated with this error. For example, the name of a Cloud Storage bucket that has insufficient permissions to be a destination for log entries.
+      },
+    ],
+    "destination": "A String", # The resource name of the destination. Cloud Logging writes designated log entries to this destination. For example, `"storage.googleapis.com/my-output-bucket"`.
+    "name": "A String", # The client-assigned name of this sink. For example, `"my-syslog-sink"`. The name must be unique among the sinks of a similar kind in the project.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Describes where log entries are written outside of Cloud Logging.
+      "filter": "A String", # An advanced logs filter. If present, only log entries matching the filter are written. Only project sinks use this field; log sinks and log service sinks must not include a filter.
+      "errors": [ # _Output only._ If any errors occur when invoking a sink method, then this field contains descriptions of the errors.
+        { # Describes a problem with a logging resource or operation.
+          "status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error description, including a classification code, an error message, and other details.
+            "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+            "code": 42, # The status code, which should be an enum value of [google.rpc.Code][].
+            "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
+              {
+                "a_key": "", # Properties of the object. Contains field @ype with type URL.
+              },
+            ],
+          },
+          "timeNanos": "A String", # The time the error was observed, in nanoseconds since the Unix epoch.
+          "resource": "A String", # A resource name associated with this error. For example, the name of a Cloud Storage bucket that has insufficient permissions to be a destination for log entries.
+        },
+      ],
+      "destination": "A String", # The resource name of the destination. Cloud Logging writes designated log entries to this destination. For example, `"storage.googleapis.com/my-output-bucket"`.
+      "name": "A String", # The client-assigned name of this sink. For example, `"my-syslog-sink"`. The name must be unique among the sinks of a similar kind in the project.
+    }
+
+ +
+ delete(projectsId, sinksId, x__xgafv=None) +
Deletes a project sink. After deletion, no new log entries are written to the destination.
+
+Args:
+  projectsId: string, Part of `sinkName`. The resource name of the project sink to delete. (required)
+  sinksId: string, Part of `sinkName`. See documentation of `projectsId`. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ get(projectsId, sinksId, x__xgafv=None) +
Gets a project sink.
+
+Args:
+  projectsId: string, Part of `sinkName`. The resource name of the project sink to return. (required)
+  sinksId: string, Part of `sinkName`. See documentation of `projectsId`. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Describes where log entries are written outside of Cloud Logging.
+      "filter": "A String", # An advanced logs filter. If present, only log entries matching the filter are written. Only project sinks use this field; log sinks and log service sinks must not include a filter.
+      "errors": [ # _Output only._ If any errors occur when invoking a sink method, then this field contains descriptions of the errors.
+        { # Describes a problem with a logging resource or operation.
+          "status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error description, including a classification code, an error message, and other details.
+            "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+            "code": 42, # The status code, which should be an enum value of [google.rpc.Code][].
+            "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
+              {
+                "a_key": "", # Properties of the object. Contains field @ype with type URL.
+              },
+            ],
+          },
+          "timeNanos": "A String", # The time the error was observed, in nanoseconds since the Unix epoch.
+          "resource": "A String", # A resource name associated with this error. For example, the name of a Cloud Storage bucket that has insufficient permissions to be a destination for log entries.
+        },
+      ],
+      "destination": "A String", # The resource name of the destination. Cloud Logging writes designated log entries to this destination. For example, `"storage.googleapis.com/my-output-bucket"`.
+      "name": "A String", # The client-assigned name of this sink. For example, `"my-syslog-sink"`. The name must be unique among the sinks of a similar kind in the project.
+    }
+
+ +
+ list(projectsId, x__xgafv=None) +
Lists project sinks associated with a project.
+
+Args:
+  projectsId: string, Part of `projectName`. The project whose sinks are wanted. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Result returned from `ListSinks`.
+    "sinks": [ # The requested sinks. If a returned `LogSink` object has an empty `destination` field, the client can retrieve the complete `LogSink` object by calling `projects.sinks.get`.
+      { # Describes where log entries are written outside of Cloud Logging.
+          "filter": "A String", # An advanced logs filter. If present, only log entries matching the filter are written. Only project sinks use this field; log sinks and log service sinks must not include a filter.
+          "errors": [ # _Output only._ If any errors occur when invoking a sink method, then this field contains descriptions of the errors.
+            { # Describes a problem with a logging resource or operation.
+              "status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error description, including a classification code, an error message, and other details.
+                "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+                "code": 42, # The status code, which should be an enum value of [google.rpc.Code][].
+                "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
+                  {
+                    "a_key": "", # Properties of the object. Contains field @ype with type URL.
+                  },
+                ],
+              },
+              "timeNanos": "A String", # The time the error was observed, in nanoseconds since the Unix epoch.
+              "resource": "A String", # A resource name associated with this error. For example, the name of a Cloud Storage bucket that has insufficient permissions to be a destination for log entries.
+            },
+          ],
+          "destination": "A String", # The resource name of the destination. Cloud Logging writes designated log entries to this destination. For example, `"storage.googleapis.com/my-output-bucket"`.
+          "name": "A String", # The client-assigned name of this sink. For example, `"my-syslog-sink"`. The name must be unique among the sinks of a similar kind in the project.
+        },
+    ],
+  }
+
+ +
+ update(projectsId, sinksId, body, x__xgafv=None) +
Updates a project sink. If the sink does not exist, it is created. The destination, filter, or both may be updated.
+
+Args:
+  projectsId: string, Part of `sinkName`. The resource name of the project sink to update. (required)
+  sinksId: string, Part of `sinkName`. See documentation of `projectsId`. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Describes where log entries are written outside of Cloud Logging.
+    "filter": "A String", # An advanced logs filter. If present, only log entries matching the filter are written. Only project sinks use this field; log sinks and log service sinks must not include a filter.
+    "errors": [ # _Output only._ If any errors occur when invoking a sink method, then this field contains descriptions of the errors.
+      { # Describes a problem with a logging resource or operation.
+        "status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error description, including a classification code, an error message, and other details.
+          "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+          "code": 42, # The status code, which should be an enum value of [google.rpc.Code][].
+          "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
+            {
+              "a_key": "", # Properties of the object. Contains field @ype with type URL.
+            },
+          ],
+        },
+        "timeNanos": "A String", # The time the error was observed, in nanoseconds since the Unix epoch.
+        "resource": "A String", # A resource name associated with this error. For example, the name of a Cloud Storage bucket that has insufficient permissions to be a destination for log entries.
+      },
+    ],
+    "destination": "A String", # The resource name of the destination. Cloud Logging writes designated log entries to this destination. For example, `"storage.googleapis.com/my-output-bucket"`.
+    "name": "A String", # The client-assigned name of this sink. For example, `"my-syslog-sink"`. The name must be unique among the sinks of a similar kind in the project.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Describes where log entries are written outside of Cloud Logging.
+      "filter": "A String", # An advanced logs filter. If present, only log entries matching the filter are written. Only project sinks use this field; log sinks and log service sinks must not include a filter.
+      "errors": [ # _Output only._ If any errors occur when invoking a sink method, then this field contains descriptions of the errors.
+        { # Describes a problem with a logging resource or operation.
+          "status": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error description, including a classification code, an error message, and other details.
+            "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+            "code": 42, # The status code, which should be an enum value of [google.rpc.Code][].
+            "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
+              {
+                "a_key": "", # Properties of the object. Contains field @ype with type URL.
+              },
+            ],
+          },
+          "timeNanos": "A String", # The time the error was observed, in nanoseconds since the Unix epoch.
+          "resource": "A String", # A resource name associated with this error. For example, the name of a Cloud Storage bucket that has insufficient permissions to be a destination for log entries.
+        },
+      ],
+      "destination": "A String", # The resource name of the destination. Cloud Logging writes designated log entries to this destination. For example, `"storage.googleapis.com/my-output-bucket"`.
+      "name": "A String", # The client-assigned name of this sink. For example, `"my-syslog-sink"`. The name must be unique among the sinks of a similar kind in the project.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/partners_v2.clientMessages.html b/docs/dyn/partners_v2.clientMessages.html new file mode 100644 index 00000000000..b27253ad2bc --- /dev/null +++ b/docs/dyn/partners_v2.clientMessages.html @@ -0,0 +1,128 @@ + + + +

Google Partners API . clientMessages

+

Instance Methods

+

+ log(body, x__xgafv=None)

+

Logs a generic message from the client, such as `Failed to render component`, `Profile page is running slow`, `More than 500 users have accessed this result.`, etc.

+

Method Details

+
+ log(body, x__xgafv=None) +
Logs a generic message from the client, such as `Failed to render component`, `Profile page is running slow`, `More than 500 users have accessed this result.`, etc.
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request message for [LogClientMessage][google.partners.v2.ClientAuditor.LogClientMessage].
+    "clientInfo": { # Map of client info, such as URL, browser navigator, browser platform, etc.
+      "a_key": "A String",
+    },
+    "requestMetadata": { # Common data that is in each API request. # Current request metadata.
+      "locale": "A String", # Locale to use for the current request.
+      "partnersSessionId": "A String", # Google Partners session ID.
+      "trafficSource": { # Source of traffic for the current request. # Source of traffic for the current request.
+        "trafficSubId": "A String", # Second level identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.
+        "trafficSourceId": "A String", # Identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.
+      },
+      "userOverrides": { # Values to use instead of the user's respective defaults. These are only honored by whitelisted products. # Values to use instead of the user's respective defaults for the current request. These are only honored by whitelisted products.
+        "userId": "A String", # Logged-in user ID to impersonate instead of the user's ID.
+        "ipAddress": "A String", # IP address to use instead of the user's geo-located IP address.
+      },
+      "experimentIds": [ # Experiment IDs the current request belongs to.
+        "A String",
+      ],
+    },
+    "details": "A String", # Details about the client message.
+    "level": "A String", # Message level of client message.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response message for [LogClientMessage][google.partners.v2.ClientAuditor.LogClientMessage].
+    "responseMetadata": { # Common data that is in each API response. # Current response metadata.
+      "debugInfo": { # Debug information about this request. # Debug information about this request.
+        "serverTraceInfo": "A String", # Server-side debug stack trace.
+        "serviceUrl": "A String", # URL of the service that handled this request.
+        "serverInfo": "A String", # Info about the server that serviced this request.
+      },
+    },
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/partners_v2.companies.html b/docs/dyn/partners_v2.companies.html new file mode 100644 index 00000000000..533d90d0829 --- /dev/null +++ b/docs/dyn/partners_v2.companies.html @@ -0,0 +1,315 @@ + + + +

Google Partners API . companies

+

Instance Methods

+

+ leads() +

+

Returns the leads Resource.

+ +

+ get(companyId, orderBy=None, requestMetadata_userOverrides_ipAddress=None, requestMetadata_trafficSource_trafficSubId=None, requestMetadata_userOverrides_userId=None, x__xgafv=None, currencyCode=None, address=None, requestMetadata_locale=None, requestMetadata_experimentIds=None, requestMetadata_trafficSource_trafficSourceId=None, requestMetadata_partnersSessionId=None, view=None)

+

Gets a company.

+

+ list(orderBy=None, maxMonthlyBudget_units=None, requestMetadata_userOverrides_userId=None, pageSize=None, requestMetadata_userOverrides_ipAddress=None, maxMonthlyBudget_currencyCode=None, minMonthlyBudget_nanos=None, languageCodes=None, x__xgafv=None, industries=None, requestMetadata_locale=None, pageToken=None, minMonthlyBudget_currencyCode=None, companyName=None, maxMonthlyBudget_nanos=None, requestMetadata_trafficSource_trafficSubId=None, address=None, services=None, gpsMotivations=None, requestMetadata_experimentIds=None, requestMetadata_trafficSource_trafficSourceId=None, websiteUrl=None, requestMetadata_partnersSessionId=None, minMonthlyBudget_units=None, view=None)

+

Lists companies.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ get(companyId, orderBy=None, requestMetadata_userOverrides_ipAddress=None, requestMetadata_trafficSource_trafficSubId=None, requestMetadata_userOverrides_userId=None, x__xgafv=None, currencyCode=None, address=None, requestMetadata_locale=None, requestMetadata_experimentIds=None, requestMetadata_trafficSource_trafficSourceId=None, requestMetadata_partnersSessionId=None, view=None) +
Gets a company.
+
+Args:
+  companyId: string, The ID of the company to retrieve. (required)
+  orderBy: string, How to order addresses within the returned company. Currently, only `address` and `address desc` is supported which will sorted by closest to farthest in distance from given address and farthest to closest distance from given address respectively.
+  requestMetadata_userOverrides_ipAddress: string, IP address to use instead of the user's geo-located IP address.
+  requestMetadata_trafficSource_trafficSubId: string, Second level identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.
+  requestMetadata_userOverrides_userId: string, Logged-in user ID to impersonate instead of the user's ID.
+  x__xgafv: string, V1 error format.
+  currencyCode: string, If the company's budget is in a different currency code than this one, then the converted budget is converted to this currency code.
+  address: string, The address to use for sorting the company's addresses by proximity. If not given, the geo-located address of the request is used. Used when order_by is set.
+  requestMetadata_locale: string, Locale to use for the current request.
+  requestMetadata_experimentIds: string, Experiment IDs the current request belongs to. (repeated)
+  requestMetadata_trafficSource_trafficSourceId: string, Identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.
+  requestMetadata_partnersSessionId: string, Google Partners session ID.
+  view: string, The view of `Company` resource to be returned. This must not be `COMPANY_VIEW_UNSPECIFIED`.
+
+Returns:
+  An object of the form:
+
+    { # Response message for [GetCompany][google.partners.v2.Partner.GetCompany].
+    "company": { # A company resource in the Google Partners API. Once certified, it qualifies for being searched by advertisers. # The company.
+      "industries": [ # Industries the company can help with.
+        "A String",
+      ],
+      "originalMinMonthlyBudget": { # Represents an amount of money with its currency type. # The unconverted minimum monthly budget that the company accepts for partner business.
+        "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+        "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+        "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+      },
+      "publicProfile": { # Basic information from a public profile. # Basic information from the company's public profile.
+        "url": "A String", # The URL of the public profile.
+        "displayImageUrl": "A String", # The URL to the main display image of the public profile.
+        "displayName": "A String", # The display name of the public profile.
+        "id": "A String", # The ID which can be used to retrieve more details about the public profile.
+      },
+      "name": "A String", # The name of the company.
+      "localizedInfos": [ # The list of localized info for the company.
+        { # The localized company information.
+          "countryCodes": [ # List of country codes for the localized company info.
+            "A String",
+          ],
+          "languageCode": "A String", # Language code of the localized company info, as defined by BCP 47 (IETF BCP 47, "Tags for Identifying Languages").
+          "displayName": "A String", # Localized display name.
+          "overview": "A String", # Localized brief description that the company uses to advertise themselves.
+        },
+      ],
+      "locations": [ # The list of company locations.
+        { # A location with address and geographic coordinates.
+          "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges. Example of normalization code in Python: def NormalizeLongitude(longitude): """Wrapsdecimal degrees longitude to [-180.0, 180.0].""" q, r = divmod(longitude, 360.0) if r > 180.0 or (r == 180.0 and q <= -1.0): return r - 360.0 return r def NormalizeLatLng(latitude, longitude): """Wraps decimal degrees latitude and longitude to [-180.0, 180.0] and [-90.0, 90.0], respectively.""" r = latitude % 360.0 if r = 270.0: return r - 360, NormalizeLongitude(longitude) else: return 180 - r, NormalizeLongitude(longitude + 180.0) assert 180.0 == NormalizeLongitude(180.0) assert -180.0 == NormalizeLongitude(-180.0) assert -179.0 == NormalizeLongitude(181.0) assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0) assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0) assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0) assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0) assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0) assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0) # The latitude and longitude of the location, in degrees.
+            "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+            "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+          },
+          "address": "A String", # The complete address of the location.
+        },
+      ],
+      "websiteUrl": "A String", # URL of the company's website.
+      "ranks": [ # Information related to the ranking of the company within the list of companies.
+        { # Information related to ranking of results.
+          "type": "A String", # The type of rank.
+          "value": 3.14, # The numerical value of the rank.
+        },
+      ],
+      "services": [ # Services the company can help with.
+        "A String",
+      ],
+      "certificationStatuses": [ # The list of Google Partners certification statuses for the company.
+        { # Google Partners certification status.
+          "isCertified": True or False, # Whether certification is passing.
+          "type": "A String", # The type of the certification.
+          "examStatuses": [ # List of certification exam statuses.
+            { # Status for a Google Partners certification exam.
+              "numberUsersPass": 42, # The number of people who have passed the certification exam.
+              "type": "A String", # The type of certification exam.
+            },
+          ],
+        },
+      ],
+      "convertedMinMonthlyBudget": { # Represents an amount of money with its currency type. # The minimum monthly budget that the company accepts for partner business, converted to the requested currency code.
+        "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+        "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+        "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+      },
+      "id": "A String", # The ID of the company.
+    },
+    "responseMetadata": { # Common data that is in each API response. # Current response metadata.
+      "debugInfo": { # Debug information about this request. # Debug information about this request.
+        "serverTraceInfo": "A String", # Server-side debug stack trace.
+        "serviceUrl": "A String", # URL of the service that handled this request.
+        "serverInfo": "A String", # Info about the server that serviced this request.
+      },
+    },
+  }
+
+ +
+ list(orderBy=None, maxMonthlyBudget_units=None, requestMetadata_userOverrides_userId=None, pageSize=None, requestMetadata_userOverrides_ipAddress=None, maxMonthlyBudget_currencyCode=None, minMonthlyBudget_nanos=None, languageCodes=None, x__xgafv=None, industries=None, requestMetadata_locale=None, pageToken=None, minMonthlyBudget_currencyCode=None, companyName=None, maxMonthlyBudget_nanos=None, requestMetadata_trafficSource_trafficSubId=None, address=None, services=None, gpsMotivations=None, requestMetadata_experimentIds=None, requestMetadata_trafficSource_trafficSourceId=None, websiteUrl=None, requestMetadata_partnersSessionId=None, minMonthlyBudget_units=None, view=None) +
Lists companies.
+
+Args:
+  orderBy: string, How to order addresses within the returned companies. Currently, only `address` and `address desc` is supported which will sorted by closest to farthest in distance from given address and farthest to closest distance from given address respectively.
+  maxMonthlyBudget_units: string, The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+  requestMetadata_userOverrides_userId: string, Logged-in user ID to impersonate instead of the user's ID.
+  pageSize: integer, Requested page size. Server may return fewer companies than requested. If unspecified, server picks an appropriate default.
+  requestMetadata_userOverrides_ipAddress: string, IP address to use instead of the user's geo-located IP address.
+  maxMonthlyBudget_currencyCode: string, The 3-letter currency code defined in ISO 4217.
+  minMonthlyBudget_nanos: integer, Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+  languageCodes: string, List of language codes that company can support. Only primary language subtags are accepted as defined by BCP 47 (IETF BCP 47, "Tags for Identifying Languages"). (repeated)
+  x__xgafv: string, V1 error format.
+  industries: string, List of industries the company can help with. (repeated)
+  requestMetadata_locale: string, Locale to use for the current request.
+  pageToken: string, A token identifying a page of results that the server returns. Typically, this is the value of `ListCompaniesResponse.next_page_token` returned from the previous call to [ListCompanies][google.partners.v2.Partner.ListCompanies].
+  minMonthlyBudget_currencyCode: string, The 3-letter currency code defined in ISO 4217.
+  companyName: string, Company name to search for.
+  maxMonthlyBudget_nanos: integer, Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+  requestMetadata_trafficSource_trafficSubId: string, Second level identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.
+  address: string, The address to use when searching for companies. If not given, the geo-located address of the request is used.
+  services: string, List of services the company can help with. (repeated)
+  gpsMotivations: string, List of reasons for using Google Partner Search to get companies. (repeated)
+  requestMetadata_experimentIds: string, Experiment IDs the current request belongs to. (repeated)
+  requestMetadata_trafficSource_trafficSourceId: string, Identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.
+  websiteUrl: string, Website URL that will help to find a better matched company. .
+  requestMetadata_partnersSessionId: string, Google Partners session ID.
+  minMonthlyBudget_units: string, The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+  view: string, The view of the `Company` resource to be returned. This must not be `COMPANY_VIEW_UNSPECIFIED`.
+
+Returns:
+  An object of the form:
+
+    { # Response message for [ListCompanies][google.partners.v2.Partner.ListCompanies].
+    "nextPageToken": "A String", # A token to retrieve next page of results. Pass this value in the `ListCompaniesRequest.page_token` field in the subsequent call to [ListCompanies][google.partners.v2.Partner.ListCompanies] to retrieve the next page of results.
+    "companies": [ # The list of companies.
+      { # A company resource in the Google Partners API. Once certified, it qualifies for being searched by advertisers.
+        "industries": [ # Industries the company can help with.
+          "A String",
+        ],
+        "originalMinMonthlyBudget": { # Represents an amount of money with its currency type. # The unconverted minimum monthly budget that the company accepts for partner business.
+          "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+          "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+          "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+        },
+        "publicProfile": { # Basic information from a public profile. # Basic information from the company's public profile.
+          "url": "A String", # The URL of the public profile.
+          "displayImageUrl": "A String", # The URL to the main display image of the public profile.
+          "displayName": "A String", # The display name of the public profile.
+          "id": "A String", # The ID which can be used to retrieve more details about the public profile.
+        },
+        "name": "A String", # The name of the company.
+        "localizedInfos": [ # The list of localized info for the company.
+          { # The localized company information.
+            "countryCodes": [ # List of country codes for the localized company info.
+              "A String",
+            ],
+            "languageCode": "A String", # Language code of the localized company info, as defined by BCP 47 (IETF BCP 47, "Tags for Identifying Languages").
+            "displayName": "A String", # Localized display name.
+            "overview": "A String", # Localized brief description that the company uses to advertise themselves.
+          },
+        ],
+        "locations": [ # The list of company locations.
+          { # A location with address and geographic coordinates.
+            "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges. Example of normalization code in Python: def NormalizeLongitude(longitude): """Wrapsdecimal degrees longitude to [-180.0, 180.0].""" q, r = divmod(longitude, 360.0) if r > 180.0 or (r == 180.0 and q <= -1.0): return r - 360.0 return r def NormalizeLatLng(latitude, longitude): """Wraps decimal degrees latitude and longitude to [-180.0, 180.0] and [-90.0, 90.0], respectively.""" r = latitude % 360.0 if r = 270.0: return r - 360, NormalizeLongitude(longitude) else: return 180 - r, NormalizeLongitude(longitude + 180.0) assert 180.0 == NormalizeLongitude(180.0) assert -180.0 == NormalizeLongitude(-180.0) assert -179.0 == NormalizeLongitude(181.0) assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0) assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0) assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0) assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0) assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0) assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0) # The latitude and longitude of the location, in degrees.
+              "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+              "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+            },
+            "address": "A String", # The complete address of the location.
+          },
+        ],
+        "websiteUrl": "A String", # URL of the company's website.
+        "ranks": [ # Information related to the ranking of the company within the list of companies.
+          { # Information related to ranking of results.
+            "type": "A String", # The type of rank.
+            "value": 3.14, # The numerical value of the rank.
+          },
+        ],
+        "services": [ # Services the company can help with.
+          "A String",
+        ],
+        "certificationStatuses": [ # The list of Google Partners certification statuses for the company.
+          { # Google Partners certification status.
+            "isCertified": True or False, # Whether certification is passing.
+            "type": "A String", # The type of the certification.
+            "examStatuses": [ # List of certification exam statuses.
+              { # Status for a Google Partners certification exam.
+                "numberUsersPass": 42, # The number of people who have passed the certification exam.
+                "type": "A String", # The type of certification exam.
+              },
+            ],
+          },
+        ],
+        "convertedMinMonthlyBudget": { # Represents an amount of money with its currency type. # The minimum monthly budget that the company accepts for partner business, converted to the requested currency code.
+          "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+          "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+          "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+        },
+        "id": "A String", # The ID of the company.
+      },
+    ],
+    "responseMetadata": { # Common data that is in each API response. # Current response metadata.
+      "debugInfo": { # Debug information about this request. # Debug information about this request.
+        "serverTraceInfo": "A String", # Server-side debug stack trace.
+        "serviceUrl": "A String", # URL of the service that handled this request.
+        "serverInfo": "A String", # Info about the server that serviced this request.
+      },
+    },
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/partners_v2.companies.leads.html b/docs/dyn/partners_v2.companies.leads.html new file mode 100644 index 00000000000..4478798b0a4 --- /dev/null +++ b/docs/dyn/partners_v2.companies.leads.html @@ -0,0 +1,165 @@ + + + +

Google Partners API . companies . leads

+

Instance Methods

+

+ create(companyId, body, x__xgafv=None)

+

Creates an advertiser lead for the given company ID.

+

Method Details

+
+ create(companyId, body, x__xgafv=None) +
Creates an advertiser lead for the given company ID.
+
+Args:
+  companyId: string, The ID of the company to contact. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request message for [CreateLead][google.partners.v2.Partner.CreateLead].
+    "requestMetadata": { # Common data that is in each API request. # Current request metadata.
+      "locale": "A String", # Locale to use for the current request.
+      "partnersSessionId": "A String", # Google Partners session ID.
+      "trafficSource": { # Source of traffic for the current request. # Source of traffic for the current request.
+        "trafficSubId": "A String", # Second level identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.
+        "trafficSourceId": "A String", # Identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.
+      },
+      "userOverrides": { # Values to use instead of the user's respective defaults. These are only honored by whitelisted products. # Values to use instead of the user's respective defaults for the current request. These are only honored by whitelisted products.
+        "userId": "A String", # Logged-in user ID to impersonate instead of the user's ID.
+        "ipAddress": "A String", # IP address to use instead of the user's geo-located IP address.
+      },
+      "experimentIds": [ # Experiment IDs the current request belongs to.
+        "A String",
+      ],
+    },
+    "recaptchaChallenge": { # reCaptcha challenge info. # reCaptcha challenge info.
+      "id": "A String", # The ID of the reCaptcha challenge.
+      "response": "A String", # The response to the reCaptcha challenge.
+    },
+    "lead": { # A lead resource that represents an advertiser contact for a `Company`. These are usually generated via Google Partner Search (the advertiser portal). # The lead resource. The `LeadType` must not be `LEAD_TYPE_UNSPECIFIED` and either `email` or `phone_number` must be provided.
+      "gpsMotivations": [ # List of reasons for using Google Partner Search and creating a lead.
+        "A String",
+      ],
+      "familyName": "A String", # Last name of lead source.
+      "minMonthlyBudget": { # Represents an amount of money with its currency type. # The minimum monthly budget lead source is willing to spend.
+        "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+        "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+        "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+      },
+      "comments": "A String", # Comments lead source gave.
+      "email": "A String", # Email address of lead source.
+      "websiteUrl": "A String", # Website URL of lead source.
+      "phoneNumber": "A String", # Phone number of lead source.
+      "givenName": "A String", # First name of lead source.
+      "type": "A String", # Type of lead.
+      "id": "A String", # ID of the lead.
+    },
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response message for [CreateLead][google.partners.v2.Partner.CreateLead]. Debug information about this request.
+    "recaptchaStatus": "A String", # The outcome of reCaptcha validation.
+    "lead": { # A lead resource that represents an advertiser contact for a `Company`. These are usually generated via Google Partner Search (the advertiser portal). # Lead that was created depending on the outcome of reCaptcha validation.
+      "gpsMotivations": [ # List of reasons for using Google Partner Search and creating a lead.
+        "A String",
+      ],
+      "familyName": "A String", # Last name of lead source.
+      "minMonthlyBudget": { # Represents an amount of money with its currency type. # The minimum monthly budget lead source is willing to spend.
+        "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+        "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+        "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+      },
+      "comments": "A String", # Comments lead source gave.
+      "email": "A String", # Email address of lead source.
+      "websiteUrl": "A String", # Website URL of lead source.
+      "phoneNumber": "A String", # Phone number of lead source.
+      "givenName": "A String", # First name of lead source.
+      "type": "A String", # Type of lead.
+      "id": "A String", # ID of the lead.
+    },
+    "responseMetadata": { # Common data that is in each API response. # Current response metadata.
+      "debugInfo": { # Debug information about this request. # Debug information about this request.
+        "serverTraceInfo": "A String", # Server-side debug stack trace.
+        "serviceUrl": "A String", # URL of the service that handled this request.
+        "serverInfo": "A String", # Info about the server that serviced this request.
+      },
+    },
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/partners_v2.html b/docs/dyn/partners_v2.html new file mode 100644 index 00000000000..7bd0855d11e --- /dev/null +++ b/docs/dyn/partners_v2.html @@ -0,0 +1,118 @@ + + + +

Google Partners API

+

Instance Methods

+

+ clientMessages() +

+

Returns the clientMessages Resource.

+ +

+ companies() +

+

Returns the companies Resource.

+ +

+ userEvents() +

+

Returns the userEvents Resource.

+ +

+ userStates() +

+

Returns the userStates Resource.

+ +

+ new_batch_http_request()

+

Create a BatchHttpRequest object based on the discovery document.

+

Method Details

+
+ new_batch_http_request() +
Create a BatchHttpRequest object based on the discovery document.
+
+        Args:
+          callback: callable, A callback to be called for each response, of the
+            form callback(id, response, exception). The first parameter is the
+            request id, and the second is the deserialized response object. The
+            third is an apiclient.errors.HttpError exception object if an HTTP
+            error occurred while processing the request, or None if no error
+            occurred.
+
+        Returns:
+          A BatchHttpRequest object based on the discovery document.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/partners_v2.userEvents.html b/docs/dyn/partners_v2.userEvents.html new file mode 100644 index 00000000000..99ff4153807 --- /dev/null +++ b/docs/dyn/partners_v2.userEvents.html @@ -0,0 +1,153 @@ + + + +

Google Partners API . userEvents

+

Instance Methods

+

+ log(body, x__xgafv=None)

+

Logs a user event.

+

Method Details

+
+ log(body, x__xgafv=None) +
Logs a user event.
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request message for [LogUserEvent][google.partners.v2.ClientAuditor.LogUserEvent].
+    "lead": { # A lead resource that represents an advertiser contact for a `Company`. These are usually generated via Google Partner Search (the advertiser portal). # Advertiser lead information.
+      "gpsMotivations": [ # List of reasons for using Google Partner Search and creating a lead.
+        "A String",
+      ],
+      "familyName": "A String", # Last name of lead source.
+      "minMonthlyBudget": { # Represents an amount of money with its currency type. # The minimum monthly budget lead source is willing to spend.
+        "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
+        "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
+        "currencyCode": "A String", # The 3-letter currency code defined in ISO 4217.
+      },
+      "comments": "A String", # Comments lead source gave.
+      "email": "A String", # Email address of lead source.
+      "websiteUrl": "A String", # Website URL of lead source.
+      "phoneNumber": "A String", # Phone number of lead source.
+      "givenName": "A String", # First name of lead source.
+      "type": "A String", # Type of lead.
+      "id": "A String", # ID of the lead.
+    },
+    "url": "A String", # The URL where the event occurred.
+    "eventDatas": [ # List of event data for the event.
+      { # Key value data pair for an event.
+        "values": [ # Data values.
+          "A String",
+        ],
+        "key": "A String", # Data type.
+      },
+    ],
+    "eventAction": "A String", # The action that occurred.
+    "eventCategory": "A String", # The category the action belongs to.
+    "requestMetadata": { # Common data that is in each API request. # Current request metadata.
+      "locale": "A String", # Locale to use for the current request.
+      "partnersSessionId": "A String", # Google Partners session ID.
+      "trafficSource": { # Source of traffic for the current request. # Source of traffic for the current request.
+        "trafficSubId": "A String", # Second level identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.
+        "trafficSourceId": "A String", # Identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.
+      },
+      "userOverrides": { # Values to use instead of the user's respective defaults. These are only honored by whitelisted products. # Values to use instead of the user's respective defaults for the current request. These are only honored by whitelisted products.
+        "userId": "A String", # Logged-in user ID to impersonate instead of the user's ID.
+        "ipAddress": "A String", # IP address to use instead of the user's geo-located IP address.
+      },
+      "experimentIds": [ # Experiment IDs the current request belongs to.
+        "A String",
+      ],
+    },
+    "eventScope": "A String", # The scope of the event.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response message for [LogUserEvent][google.partners.v2.ClientAuditor.LogUserEvent].
+    "responseMetadata": { # Common data that is in each API response. # Current response metadata.
+      "debugInfo": { # Debug information about this request. # Debug information about this request.
+        "serverTraceInfo": "A String", # Server-side debug stack trace.
+        "serviceUrl": "A String", # URL of the service that handled this request.
+        "serverInfo": "A String", # Info about the server that serviced this request.
+      },
+    },
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/partners_v2.userStates.html b/docs/dyn/partners_v2.userStates.html new file mode 100644 index 00000000000..d0fdac43563 --- /dev/null +++ b/docs/dyn/partners_v2.userStates.html @@ -0,0 +1,112 @@ + + + +

Google Partners API . userStates

+

Instance Methods

+

+ list(requestMetadata_userOverrides_ipAddress=None, requestMetadata_trafficSource_trafficSubId=None, requestMetadata_userOverrides_userId=None, x__xgafv=None, requestMetadata_locale=None, requestMetadata_experimentIds=None, requestMetadata_trafficSource_trafficSourceId=None, requestMetadata_partnersSessionId=None)

+

Lists states for current user.

+

Method Details

+
+ list(requestMetadata_userOverrides_ipAddress=None, requestMetadata_trafficSource_trafficSubId=None, requestMetadata_userOverrides_userId=None, x__xgafv=None, requestMetadata_locale=None, requestMetadata_experimentIds=None, requestMetadata_trafficSource_trafficSourceId=None, requestMetadata_partnersSessionId=None) +
Lists states for current user.
+
+Args:
+  requestMetadata_userOverrides_ipAddress: string, IP address to use instead of the user's geo-located IP address.
+  requestMetadata_trafficSource_trafficSubId: string, Second level identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.
+  requestMetadata_userOverrides_userId: string, Logged-in user ID to impersonate instead of the user's ID.
+  x__xgafv: string, V1 error format.
+  requestMetadata_locale: string, Locale to use for the current request.
+  requestMetadata_experimentIds: string, Experiment IDs the current request belongs to. (repeated)
+  requestMetadata_trafficSource_trafficSourceId: string, Identifier to indicate where the traffic comes from. An identifier has multiple letters created by a team which redirected the traffic to us.
+  requestMetadata_partnersSessionId: string, Google Partners session ID.
+
+Returns:
+  An object of the form:
+
+    { # Response message for [ListUserStates][google.partners.v2.ClientAuditor.ListUserStates].
+    "userStates": [ # User's states.
+      "A String",
+    ],
+    "responseMetadata": { # Common data that is in each API response. # Current response metadata.
+      "debugInfo": { # Debug information about this request. # Debug information about this request.
+        "serverTraceInfo": "A String", # Server-side debug stack trace.
+        "serviceUrl": "A String", # URL of the service that handled this request.
+        "serverInfo": "A String", # Info about the server that serviced this request.
+      },
+    },
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/playmoviespartner_v1.accounts.avails.html b/docs/dyn/playmoviespartner_v1.accounts.avails.html new file mode 100644 index 00000000000..678ba195f07 --- /dev/null +++ b/docs/dyn/playmoviespartner_v1.accounts.avails.html @@ -0,0 +1,160 @@ + + + +

Google Play Movies Partner API . accounts . avails

+

Instance Methods

+

+ list(accountId, pphNames=None, pageSize=None, territories=None, x__xgafv=None, title=None, studioNames=None, pageToken=None, videoIds=None, altId=None)

+

List Avails owned or managed by the partner. See _Authentication and Authorization rules_ and _List methods rules_ for more information about this method.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ list(accountId, pphNames=None, pageSize=None, territories=None, x__xgafv=None, title=None, studioNames=None, pageToken=None, videoIds=None, altId=None) +
List Avails owned or managed by the partner. See _Authentication and Authorization rules_ and _List methods rules_ for more information about this method.
+
+Args:
+  accountId: string, REQUIRED. See _General rules_ for more information about this field. (required)
+  pphNames: string, See _List methods rules_ for info about this field. (repeated)
+  pageSize: integer, See _List methods rules_ for info about this field.
+  territories: string, Filter Avails that match (case-insensitive) any of the given country codes, using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us"). (repeated)
+  x__xgafv: string, V1 error format.
+  title: string, Filter Avails that match a case-insensitive substring of the default Title name.
+  studioNames: string, See _List methods rules_ for info about this field. (repeated)
+  pageToken: string, See _List methods rules_ for info about this field.
+  videoIds: string, Filter Avails that match any of the given `video_id`s. (repeated)
+  altId: string, Filter Avails that match a case-insensitive, partner-specific custom id.
+
+Returns:
+  An object of the form:
+
+    { # Response to the 'ListAvails' method.
+    "nextPageToken": "A String", # See _List methods rules_ for info about this field.
+    "avails": [ # List of Avails that match the request criteria.
+      { # An Avail describes the Availability Window of a specific Edit in a given country, which means the period Google is allowed to sell or rent the Edit. Avails are exposed in EMA format Version 1.6b (available at http://www.movielabs.com/md/avails/) Studios can see the Avails for the Titles they own. Post-production houses cannot see any Avails.
+        "pphNames": [ # Name of the post-production houses that manage the Avail. Not part of EMA Specs.
+          "A String",
+        ],
+        "licenseType": "A String", # Type of transaction.
+        "captionIncluded": True or False, # Communicating if caption file will be delivered.
+        "releaseDate": "A String", # Release date of the Title in earliest released territory. Typically it is just the year, but it is free-form as per EMA spec. Examples: "1979", "Oct 2014"
+        "episodeAltId": "A String", # Other identifier referring to the episode, as defined by partner. Only available on TV avails. Example: "rs_googlers_s1_3".
+        "episodeTitleInternalAlias": "A String", # OPTIONAL.TV Only. Title used by involved parties to refer to this episode. Only available on TV Avails. Example: "Coding at Google".
+        "episodeNumber": "A String", # The number assigned to the episode within a season. Only available on TV Avails. Example: "3".
+        "end": "A String", # End of term in YYYY-MM-DD format in the timezone of the country of the Avail. "Open" if no end date is available. Example: "2019-02-17"
+        "altId": "A String", # Other identifier referring to the Edit, as defined by partner. Example: "GOOGLER_2006"
+        "seriesAltId": "A String", # Other identifier referring to the series, as defined by partner. Only available on TV avails. Example: "rs_googlers".
+        "start": "A String", # Start of term in YYYY-MM-DD format in the timezone of the country of the Avail. Example: "2013-05-14".
+        "titleInternalAlias": "A String", # Title used by involved parties to refer to this content. Example: "Googlers, The". Only available on Movie Avails.
+        "seasonTitleInternalAlias": "A String", # Title used by involved parties to refer to this season. Only available on TV Avails. Example: "Googlers, The".
+        "territory": "A String", # ISO 3166-1 alpha-2 country code for the country or territory of this Avail. For Avails, we use Territory in lieu of Country to comply with EMA specifications. But please note that Territory and Country identify the same thing. Example: "US".
+        "productId": "A String", # Edit Identifier. This should be the Edit Level EIDR. Example: "10.2340/1489-49A2-3956-4B2D-FE16-6"
+        "storeLanguage": "A String", # Spoken language of the intended audience. Language shall be encoded in accordance with RFC 5646. Example: "fr".
+        "seasonNumber": "A String", # The number assigned to the season within a series. Only available on TV Avails. Example: "1".
+        "ratingValue": "A String", # Value representing the rating. Ratings should be formatted as per http://www.movielabs.com/md/ratings/ Example: "PG"
+        "formatProfile": "A String", # Indicates the format profile covered by the transaction.
+        "priceValue": "A String", # Value to be applied to the pricing type. Example: "4" or "2.99"
+        "videoId": "A String", # Google-generated ID identifying the video linked to this Avail, once delivered. Not part of EMA Specs. Example: 'gtry456_xc'
+        "ratingReason": "A String", # Value representing the rating reason. Rating reasons should be formatted as per [EMA ratings spec](http://www.movielabs.com/md/ratings/) and comma-separated for inclusion of multiple reasons. Example: "L, S, V"
+        "captionExemption": "A String", # Communicating an exempt category as defined by FCC regulations. It is not required for non-US Avails. Example: "1"
+        "workType": "A String", # Work type as enumerated in EMA.
+        "displayName": "A String", # The name of the studio that owns the Edit referred in the Avail. This is the equivalent of `studio_name` in other resources, but it follows the EMA nomenclature. Example: "Google Films".
+        "seasonAltId": "A String", # Other identifier referring to the season, as defined by partner. Only available on TV avails. Example: "rs_googlers_s1".
+        "contentId": "A String", # Title Identifier. This should be the Title Level EIDR. Example: "10.5240/1489-49A2-3956-4B2D-FE16-5".
+        "ratingSystem": "A String", # Rating system applied to the version of title within territory of Avail. Rating systems should be formatted as per [EMA ratings spec](http://www.movielabs.com/md/ratings/) Example: "MPAA"
+        "encodeId": "A String", # Manifestation Identifier. This should be the Manifestation Level EIDR. Example: "10.2340/1489-49A2-3956-4B2D-FE16-7"
+        "seriesTitleInternalAlias": "A String", # Title used by involved parties to refer to this series. Only available on TV Avails. Example: "Googlers, The".
+        "suppressionLiftDate": "A String", # First date an Edit could be publically announced as becoming available at a specific future date in territory of Avail. *Not* the Avail start date or pre-order start date. Format is YYYY-MM-DD. Only available for pre-orders. Example: "2012-12-10"
+        "priceType": "A String", # Type of pricing that should be applied to this Avail based on how the partner classify them. Example: "Tier", "WSP", "SRP", or "Category".
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/playmoviespartner_v1.accounts.experienceLocales.html b/docs/dyn/playmoviespartner_v1.accounts.experienceLocales.html new file mode 100644 index 00000000000..f0856e6919a --- /dev/null +++ b/docs/dyn/playmoviespartner_v1.accounts.experienceLocales.html @@ -0,0 +1,200 @@ + + + +

Google Play Movies Partner API . accounts . experienceLocales

+

Instance Methods

+

+ get(accountId, elId, x__xgafv=None)

+

Get an ExperienceLocale given its id. See _Authentication and Authorization rules_ and _Get methods rules_ for more information about this method.

+

+ list(accountId, pphNames=None, pageSize=None, editLevelEidr=None, x__xgafv=None, studioNames=None, pageToken=None, customId=None, status=None, titleLevelEidr=None, altCutId=None)

+

List ExperienceLocales owned or managed by the partner. See _Authentication and Authorization rules_ and _List methods rules_ for more information about this method.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ get(accountId, elId, x__xgafv=None) +
Get an ExperienceLocale given its id. See _Authentication and Authorization rules_ and _Get methods rules_ for more information about this method.
+
+Args:
+  accountId: string, REQUIRED. See _General rules_ for more information about this field. (required)
+  elId: string, REQUIRED. ExperienceLocale ID, as defined by Google. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # An ExperienceLocale tracks the fulfillment of a Title in a country using a specific language, when delivered using component-based delivery. For example, a Title in Switzerland might have 3 ExperienceLocales: they both share the same country ("CH"), but each has different languages ("de", "fr", and "it"). Each ExperienceLocale is uniquely identified by an `el_id`, which is generated by Google. Externally, an ExperienceLocale can also be identified by partners using its EIDR IDs, AltCutID or `custom_id` (when provided).
+    "pphNames": [ # Name of the post-production houses that manage the ExperienceLocale.
+      "A String",
+    ],
+    "channelId": "A String", # YouTube Channel ID linked to the ExperienceLocale. Example: "UCRG64darCZhb".
+    "studioName": "A String", # Name of the studio that owns the ExperienceLocale.
+    "editLevelEidr": "A String", # Edit-level EIDR ID. Example: "10.5240/1489-49A2-3956-4B2D-FE16-6".
+    "playableSequenceId": "A String", # PlayableSequenceID as defined in the EMA specs.
+    "presentationId": "A String", # PresentationID as defined in the EMA specs.
+    "priority": 3.14, # ExperienceLocale priority, as defined by Google. The higher the value, the higher the priority. Example: 90
+    "type": "A String", # Type of the Edit linked to the ExperienceLocale.
+    "status": "A String", # High-level status of the ExperienceLocale.
+    "titleLevelEidr": "A String", # Title-level EIDR ID. Example: "10.5240/1489-49A2-3956-4B2D-FE16-5".
+    "trailerId": "A String", # Trailer ID, as defined by Google, linked to the trailer video in the ExperienceLocale. Example: 'gtry457_tr'.
+    "videoId": "A String", # Video ID, as defined by Google, linked to the feature video in the ExperienceLocale. Example: 'gtry456_xc'.
+    "approvedTime": "A String", # Timestamp when the ExperienceLocale was approved.
+    "inventoryId": "A String", # InventoryID as defined in the EMA specs.
+    "altCutId": "A String", # Alternative Cut ID, sometimes available in lieu of the main Edit-level EIDR ID. This is not an EIDR ID, but a Partner-provided ID. Example: "206346_79838".
+    "earliestAvailStartTime": "A String", # Timestamp of the earliest start date of the Avails linked to this ExperienceLocale.
+    "elId": "A String", # ID internally generated by Google to uniquely identify a ExperienceLocale. Example: 'KRZiVjY9h7t'
+    "name": "A String", # Default Edit name, usually in the language of the country of origin. Example: "Googlers, The".
+    "language": "A String", # Language of the ExperienceLocale, using the "BCP 47" format. Examples: "en", "en-US", "es", "es-419".
+    "country": "A String", # Country where the ExperienceLocale is available, using the "ISO 3166-1 alpha-2" format. Example: "US".
+    "customIds": [ # List of custom IDs (defined by the partner) linked to this ExperienceLocale. Example: "R86241"
+      "A String",
+    ],
+    "normalizedPriority": "A String", # A simpler representation of the priority.
+    "createdTime": "A String", # Timestamp when the ExperienceLocale was created.
+  }
+
+ +
+ list(accountId, pphNames=None, pageSize=None, editLevelEidr=None, x__xgafv=None, studioNames=None, pageToken=None, customId=None, status=None, titleLevelEidr=None, altCutId=None) +
List ExperienceLocales owned or managed by the partner. See _Authentication and Authorization rules_ and _List methods rules_ for more information about this method.
+
+Args:
+  accountId: string, REQUIRED. See _General rules_ for more information about this field. (required)
+  pphNames: string, See _List methods rules_ for info about this field. (repeated)
+  pageSize: integer, See _List methods rules_ for info about this field.
+  editLevelEidr: string, Filter ExperienceLocales that match a given edit-level EIDR.
+  x__xgafv: string, V1 error format.
+  studioNames: string, See _List methods rules_ for info about this field. (repeated)
+  pageToken: string, See _List methods rules_ for info about this field.
+  customId: string, Filter ExperienceLocales that match a case-insensitive, partner-specific custom id.
+  status: string, Filter ExperienceLocales that match one of the given status. (repeated)
+  titleLevelEidr: string, Filter ExperienceLocales that match a given title-level EIDR.
+  altCutId: string, Filter ExperienceLocales that match a case-insensitive, partner-specific Alternative Cut ID.
+
+Returns:
+  An object of the form:
+
+    { # Response to the 'ListExperienceLocales' method.
+    "nextPageToken": "A String", # See _List methods rules_ for info about this field.
+    "experienceLocales": [ # List of ExperienceLocales that match the request criteria.
+      { # An ExperienceLocale tracks the fulfillment of a Title in a country using a specific language, when delivered using component-based delivery. For example, a Title in Switzerland might have 3 ExperienceLocales: they both share the same country ("CH"), but each has different languages ("de", "fr", and "it"). Each ExperienceLocale is uniquely identified by an `el_id`, which is generated by Google. Externally, an ExperienceLocale can also be identified by partners using its EIDR IDs, AltCutID or `custom_id` (when provided).
+        "pphNames": [ # Name of the post-production houses that manage the ExperienceLocale.
+          "A String",
+        ],
+        "channelId": "A String", # YouTube Channel ID linked to the ExperienceLocale. Example: "UCRG64darCZhb".
+        "studioName": "A String", # Name of the studio that owns the ExperienceLocale.
+        "editLevelEidr": "A String", # Edit-level EIDR ID. Example: "10.5240/1489-49A2-3956-4B2D-FE16-6".
+        "playableSequenceId": "A String", # PlayableSequenceID as defined in the EMA specs.
+        "presentationId": "A String", # PresentationID as defined in the EMA specs.
+        "priority": 3.14, # ExperienceLocale priority, as defined by Google. The higher the value, the higher the priority. Example: 90
+        "type": "A String", # Type of the Edit linked to the ExperienceLocale.
+        "status": "A String", # High-level status of the ExperienceLocale.
+        "titleLevelEidr": "A String", # Title-level EIDR ID. Example: "10.5240/1489-49A2-3956-4B2D-FE16-5".
+        "trailerId": "A String", # Trailer ID, as defined by Google, linked to the trailer video in the ExperienceLocale. Example: 'gtry457_tr'.
+        "videoId": "A String", # Video ID, as defined by Google, linked to the feature video in the ExperienceLocale. Example: 'gtry456_xc'.
+        "approvedTime": "A String", # Timestamp when the ExperienceLocale was approved.
+        "inventoryId": "A String", # InventoryID as defined in the EMA specs.
+        "altCutId": "A String", # Alternative Cut ID, sometimes available in lieu of the main Edit-level EIDR ID. This is not an EIDR ID, but a Partner-provided ID. Example: "206346_79838".
+        "earliestAvailStartTime": "A String", # Timestamp of the earliest start date of the Avails linked to this ExperienceLocale.
+        "elId": "A String", # ID internally generated by Google to uniquely identify a ExperienceLocale. Example: 'KRZiVjY9h7t'
+        "name": "A String", # Default Edit name, usually in the language of the country of origin. Example: "Googlers, The".
+        "language": "A String", # Language of the ExperienceLocale, using the "BCP 47" format. Examples: "en", "en-US", "es", "es-419".
+        "country": "A String", # Country where the ExperienceLocale is available, using the "ISO 3166-1 alpha-2" format. Example: "US".
+        "customIds": [ # List of custom IDs (defined by the partner) linked to this ExperienceLocale. Example: "R86241"
+          "A String",
+        ],
+        "normalizedPriority": "A String", # A simpler representation of the priority.
+        "createdTime": "A String", # Timestamp when the ExperienceLocale was created.
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/playmoviespartner_v1.accounts.html b/docs/dyn/playmoviespartner_v1.accounts.html new file mode 100644 index 00000000000..d3eaa885906 --- /dev/null +++ b/docs/dyn/playmoviespartner_v1.accounts.html @@ -0,0 +1,97 @@ + + + +

Google Play Movies Partner API . accounts

+

Instance Methods

+

+ avails() +

+

Returns the avails Resource.

+ +

+ experienceLocales() +

+

Returns the experienceLocales Resource.

+ +

+ orders() +

+

Returns the orders Resource.

+ +

+ storeInfos() +

+

Returns the storeInfos Resource.

+ + \ No newline at end of file diff --git a/docs/dyn/playmoviespartner_v1.accounts.orders.html b/docs/dyn/playmoviespartner_v1.accounts.orders.html new file mode 100644 index 00000000000..ef842d6abd6 --- /dev/null +++ b/docs/dyn/playmoviespartner_v1.accounts.orders.html @@ -0,0 +1,194 @@ + + + +

Google Play Movies Partner API . accounts . orders

+

Instance Methods

+

+ get(accountId, orderId, x__xgafv=None)

+

Get an Order given its id. See _Authentication and Authorization rules_ and _Get methods rules_ for more information about this method.

+

+ list(accountId, pphNames=None, pageSize=None, x__xgafv=None, studioNames=None, pageToken=None, customId=None, status=None, name=None)

+

List Orders owned or managed by the partner. See _Authentication and Authorization rules_ and _List methods rules_ for more information about this method.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ get(accountId, orderId, x__xgafv=None) +
Get an Order given its id. See _Authentication and Authorization rules_ and _Get methods rules_ for more information about this method.
+
+Args:
+  accountId: string, REQUIRED. See _General rules_ for more information about this field. (required)
+  orderId: string, REQUIRED. Order ID. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # An Order tracks the fulfillment of an Edit when delivered using the legacy, non-component-based delivery. Each Order is uniquely identified by an `order_id`, which is generated by Google. Externally, Orders can also be identified by partners using its `custom_id` (when provided).
+    "status": "A String", # High-level status of the order.
+    "channelId": "A String", # YouTube Channel ID that should be used to fulfill the Order. Example: "UCRG64darCZhb".
+    "studioName": "A String", # Name of the studio that owns the Edit ordered.
+    "rejectionNote": "A String", # Field explaining why an Order has been rejected. Example: "Trailer audio is 2ch mono, please re-deliver in stereo".
+    "episodeName": "A String", # Default Episode name, usually in the language of the country of origin. Only available for TV Edits Example: "Googlers, The - Pilot".
+    "receivedTime": "A String", # Timestamp when the Order was fulfilled.
+    "priority": 3.14, # Order priority, as defined by Google. The higher the value, the higher the priority. Example: 90
+    "customId": "A String", # ID that can be used to externally identify an Order. This ID is provided by partners when submitting the Avails. Example: 'GOOGLER_2006'
+    "channelName": "A String", # YouTube Channel Name that should be used to fulfill the Order. Example: "Google_channel".
+    "type": "A String", # Type of the Edit linked to the Order.
+    "orderId": "A String", # ID internally generated by Google to uniquely identify an Order. Example: 'abcde12_x'
+    "videoId": "A String", # Google-generated ID identifying the video linked to this Order, once delivered. Example: 'gtry456_xc'.
+    "statusDetail": "A String", # Detailed status of the order
+    "approvedTime": "A String", # Timestamp when the Order was approved.
+    "earliestAvailStartTime": "A String", # Timestamp of the earliest start date of the Avails linked to this Order.
+    "name": "A String", # Default Edit name, usually in the language of the country of origin. Example: "Googlers, The".
+    "countries": [ # Countries where the Order is available, using the "ISO 3166-1 alpha-2" format (example: "US").
+      "A String",
+    ],
+    "normalizedPriority": "A String", # A simpler representation of the priority.
+    "orderedTime": "A String", # Timestamp when the Order was created.
+    "pphName": "A String", # Name of the post-production house that manages the Edit ordered.
+    "seasonName": "A String", # Default Season name, usually in the language of the country of origin. Only available for TV Edits Example: "Googlers, The - A Brave New World".
+    "legacyPriority": "A String", # Legacy Order priority, as defined by Google. Example: 'P0'
+    "showName": "A String", # Default Show name, usually in the language of the country of origin. Only available for TV Edits Example: "Googlers, The".
+  }
+
+ +
+ list(accountId, pphNames=None, pageSize=None, x__xgafv=None, studioNames=None, pageToken=None, customId=None, status=None, name=None) +
List Orders owned or managed by the partner. See _Authentication and Authorization rules_ and _List methods rules_ for more information about this method.
+
+Args:
+  accountId: string, REQUIRED. See _General rules_ for more information about this field. (required)
+  pphNames: string, See _List methods rules_ for info about this field. (repeated)
+  pageSize: integer, See _List methods rules_ for info about this field.
+  x__xgafv: string, V1 error format.
+  studioNames: string, See _List methods rules_ for info about this field. (repeated)
+  pageToken: string, See _List methods rules_ for info about this field.
+  customId: string, Filter Orders that match a case-insensitive, partner-specific custom id.
+  status: string, Filter Orders that match one of the given status. (repeated)
+  name: string, Filter Orders that match a title name (case-insensitive, sub-string match).
+
+Returns:
+  An object of the form:
+
+    { # Response to the 'ListOrders' method.
+    "nextPageToken": "A String", # See _List methods rules_ for info about this field.
+    "orders": [ # List of Orders that match the request criteria.
+      { # An Order tracks the fulfillment of an Edit when delivered using the legacy, non-component-based delivery. Each Order is uniquely identified by an `order_id`, which is generated by Google. Externally, Orders can also be identified by partners using its `custom_id` (when provided).
+        "status": "A String", # High-level status of the order.
+        "channelId": "A String", # YouTube Channel ID that should be used to fulfill the Order. Example: "UCRG64darCZhb".
+        "studioName": "A String", # Name of the studio that owns the Edit ordered.
+        "rejectionNote": "A String", # Field explaining why an Order has been rejected. Example: "Trailer audio is 2ch mono, please re-deliver in stereo".
+        "episodeName": "A String", # Default Episode name, usually in the language of the country of origin. Only available for TV Edits Example: "Googlers, The - Pilot".
+        "receivedTime": "A String", # Timestamp when the Order was fulfilled.
+        "priority": 3.14, # Order priority, as defined by Google. The higher the value, the higher the priority. Example: 90
+        "customId": "A String", # ID that can be used to externally identify an Order. This ID is provided by partners when submitting the Avails. Example: 'GOOGLER_2006'
+        "channelName": "A String", # YouTube Channel Name that should be used to fulfill the Order. Example: "Google_channel".
+        "type": "A String", # Type of the Edit linked to the Order.
+        "orderId": "A String", # ID internally generated by Google to uniquely identify an Order. Example: 'abcde12_x'
+        "videoId": "A String", # Google-generated ID identifying the video linked to this Order, once delivered. Example: 'gtry456_xc'.
+        "statusDetail": "A String", # Detailed status of the order
+        "approvedTime": "A String", # Timestamp when the Order was approved.
+        "earliestAvailStartTime": "A String", # Timestamp of the earliest start date of the Avails linked to this Order.
+        "name": "A String", # Default Edit name, usually in the language of the country of origin. Example: "Googlers, The".
+        "countries": [ # Countries where the Order is available, using the "ISO 3166-1 alpha-2" format (example: "US").
+          "A String",
+        ],
+        "normalizedPriority": "A String", # A simpler representation of the priority.
+        "orderedTime": "A String", # Timestamp when the Order was created.
+        "pphName": "A String", # Name of the post-production house that manages the Edit ordered.
+        "seasonName": "A String", # Default Season name, usually in the language of the country of origin. Only available for TV Edits Example: "Googlers, The - A Brave New World".
+        "legacyPriority": "A String", # Legacy Order priority, as defined by Google. Example: 'P0'
+        "showName": "A String", # Default Show name, usually in the language of the country of origin. Only available for TV Edits Example: "Googlers, The".
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/playmoviespartner_v1.accounts.storeInfos.country.html b/docs/dyn/playmoviespartner_v1.accounts.storeInfos.country.html new file mode 100644 index 00000000000..a041976e70e --- /dev/null +++ b/docs/dyn/playmoviespartner_v1.accounts.storeInfos.country.html @@ -0,0 +1,129 @@ + + + +

Google Play Movies Partner API . accounts . storeInfos . country

+

Instance Methods

+

+ get(accountId, videoId, country, x__xgafv=None)

+

Get a StoreInfo given its video id and country. See _Authentication and Authorization rules_ and _Get methods rules_ for more information about this method.

+

Method Details

+
+ get(accountId, videoId, country, x__xgafv=None) +
Get a StoreInfo given its video id and country. See _Authentication and Authorization rules_ and _Get methods rules_ for more information about this method.
+
+Args:
+  accountId: string, REQUIRED. See _General rules_ for more information about this field. (required)
+  videoId: string, REQUIRED. Video ID. (required)
+  country: string, REQUIRED. Edit country. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Information about a playable sequence (video) associated with an Edit and available at the Google Play Store. Internally, each StoreInfo is uniquely identified by a `video_id` and `country`. Externally, Title-level EIDR or Edit-level EIDR, if provided, can also be used to identify a specific title or edit in a country.
+    "pphNames": [ # Name of the post-production houses that manage the Edit.
+      "A String",
+    ],
+    "hasEstOffer": True or False, # Whether the Edit has a EST offer.
+    "studioName": "A String", # Name of the studio that owns the Edit ordered.
+    "hasHdOffer": True or False, # Whether the Edit has a HD offer.
+    "editLevelEidr": "A String", # Edit-level EIDR ID. Example: "10.5240/1489-49A2-3956-4B2D-FE16-6".
+    "episodeNumber": "A String", # The number assigned to the episode within a season. Only available on TV Edits. Example: "1".
+    "mid": "A String", # Knowledge Graph ID associated to this Edit, if available. This ID links the Edit to its knowledge entity, externally accessible at http://freebase.com. In the absense of Title EIDR or Edit EIDR, this ID helps link together multiple Edits across countries. Example: '/m/0ffx29'
+    "hasAudio51": True or False, # Whether the Edit has a 5.1 channel audio track.
+    "hasInfoCards": True or False, # Whether the Edit has info cards.
+    "type": "A String", # Edit type, like Movie, Episode or Season.
+    "seasonId": "A String", # Google-generated ID identifying the season linked to the Edit. Only available for TV Edits. Example: 'ster23ex'
+    "titleLevelEidr": "A String", # Title-level EIDR ID. Example: "10.5240/1489-49A2-3956-4B2D-FE16-5".
+    "hasSdOffer": True or False, # Whether the Edit has a SD offer.
+    "seasonNumber": "A String", # The number assigned to the season within a show. Only available on TV Edits. Example: "1".
+    "liveTime": "A String", # Timestamp when the Edit went live on the Store.
+    "trailerId": "A String", # Google-generated ID identifying the trailer linked to the Edit. Example: 'bhd_4e_cx'
+    "videoId": "A String", # Google-generated ID identifying the video linked to the Edit. Example: 'gtry456_xc'
+    "subtitles": [ # Subtitles available for this Edit.
+      "A String",
+    ],
+    "showId": "A String", # Google-generated ID identifying the show linked to the Edit. Only available for TV Edits. Example: 'et2hsue_x'
+    "name": "A String", # Default Edit name, usually in the language of the country of origin. Example: "Googlers, The".
+    "country": "A String", # Country where Edit is available in ISO 3166-1 alpha-2 country code. Example: "US".
+    "seasonName": "A String", # Default Season name, usually in the language of the country of origin. Only available for TV Edits Example: "Googlers, The - A Brave New World".
+    "audioTracks": [ # Audio tracks available for this Edit.
+      "A String",
+    ],
+    "hasVodOffer": True or False, # Whether the Edit has a VOD offer.
+    "showName": "A String", # Default Show name, usually in the language of the country of origin. Only available for TV Edits Example: "Googlers, The".
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/playmoviespartner_v1.accounts.storeInfos.html b/docs/dyn/playmoviespartner_v1.accounts.storeInfos.html new file mode 100644 index 00000000000..c9d1a969372 --- /dev/null +++ b/docs/dyn/playmoviespartner_v1.accounts.storeInfos.html @@ -0,0 +1,162 @@ + + + +

Google Play Movies Partner API . accounts . storeInfos

+

Instance Methods

+

+ country() +

+

Returns the country Resource.

+ +

+ list(accountId, pphNames=None, pageSize=None, x__xgafv=None, studioNames=None, pageToken=None, videoId=None, videoIds=None, name=None, countries=None)

+

List StoreInfos owned or managed by the partner. See _Authentication and Authorization rules_ and _List methods rules_ for more information about this method.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ list(accountId, pphNames=None, pageSize=None, x__xgafv=None, studioNames=None, pageToken=None, videoId=None, videoIds=None, name=None, countries=None) +
List StoreInfos owned or managed by the partner. See _Authentication and Authorization rules_ and _List methods rules_ for more information about this method.
+
+Args:
+  accountId: string, REQUIRED. See _General rules_ for more information about this field. (required)
+  pphNames: string, See _List methods rules_ for info about this field. (repeated)
+  pageSize: integer, See _List methods rules_ for info about this field.
+  x__xgafv: string, V1 error format.
+  studioNames: string, See _List methods rules_ for info about this field. (repeated)
+  pageToken: string, See _List methods rules_ for info about this field.
+  videoId: string, Filter StoreInfos that match a given `video_id`. NOTE: this field is deprecated and will be removed on V2; `video_ids` should be used instead.
+  videoIds: string, Filter StoreInfos that match any of the given `video_id`s. (repeated)
+  name: string, Filter StoreInfos that match a case-insensitive substring of the default name.
+  countries: string, Filter StoreInfos that match (case-insensitive) any of the given country codes, using the "ISO 3166-1 alpha-2" format (examples: "US", "us", "Us"). (repeated)
+
+Returns:
+  An object of the form:
+
+    { # Response to the 'ListStoreInfos' method.
+    "storeInfos": [ # List of StoreInfos that match the request criteria.
+      { # Information about a playable sequence (video) associated with an Edit and available at the Google Play Store. Internally, each StoreInfo is uniquely identified by a `video_id` and `country`. Externally, Title-level EIDR or Edit-level EIDR, if provided, can also be used to identify a specific title or edit in a country.
+        "pphNames": [ # Name of the post-production houses that manage the Edit.
+          "A String",
+        ],
+        "hasEstOffer": True or False, # Whether the Edit has a EST offer.
+        "studioName": "A String", # Name of the studio that owns the Edit ordered.
+        "hasHdOffer": True or False, # Whether the Edit has a HD offer.
+        "editLevelEidr": "A String", # Edit-level EIDR ID. Example: "10.5240/1489-49A2-3956-4B2D-FE16-6".
+        "episodeNumber": "A String", # The number assigned to the episode within a season. Only available on TV Edits. Example: "1".
+        "mid": "A String", # Knowledge Graph ID associated to this Edit, if available. This ID links the Edit to its knowledge entity, externally accessible at http://freebase.com. In the absense of Title EIDR or Edit EIDR, this ID helps link together multiple Edits across countries. Example: '/m/0ffx29'
+        "hasAudio51": True or False, # Whether the Edit has a 5.1 channel audio track.
+        "hasInfoCards": True or False, # Whether the Edit has info cards.
+        "type": "A String", # Edit type, like Movie, Episode or Season.
+        "seasonId": "A String", # Google-generated ID identifying the season linked to the Edit. Only available for TV Edits. Example: 'ster23ex'
+        "titleLevelEidr": "A String", # Title-level EIDR ID. Example: "10.5240/1489-49A2-3956-4B2D-FE16-5".
+        "hasSdOffer": True or False, # Whether the Edit has a SD offer.
+        "seasonNumber": "A String", # The number assigned to the season within a show. Only available on TV Edits. Example: "1".
+        "liveTime": "A String", # Timestamp when the Edit went live on the Store.
+        "trailerId": "A String", # Google-generated ID identifying the trailer linked to the Edit. Example: 'bhd_4e_cx'
+        "videoId": "A String", # Google-generated ID identifying the video linked to the Edit. Example: 'gtry456_xc'
+        "subtitles": [ # Subtitles available for this Edit.
+          "A String",
+        ],
+        "showId": "A String", # Google-generated ID identifying the show linked to the Edit. Only available for TV Edits. Example: 'et2hsue_x'
+        "name": "A String", # Default Edit name, usually in the language of the country of origin. Example: "Googlers, The".
+        "country": "A String", # Country where Edit is available in ISO 3166-1 alpha-2 country code. Example: "US".
+        "seasonName": "A String", # Default Season name, usually in the language of the country of origin. Only available for TV Edits Example: "Googlers, The - A Brave New World".
+        "audioTracks": [ # Audio tracks available for this Edit.
+          "A String",
+        ],
+        "hasVodOffer": True or False, # Whether the Edit has a VOD offer.
+        "showName": "A String", # Default Show name, usually in the language of the country of origin. Only available for TV Edits Example: "Googlers, The".
+      },
+    ],
+    "nextPageToken": "A String", # See 'List methods rules' for info about this field.
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/playmoviespartner_v1.html b/docs/dyn/playmoviespartner_v1.html new file mode 100644 index 00000000000..edefb8df590 --- /dev/null +++ b/docs/dyn/playmoviespartner_v1.html @@ -0,0 +1,103 @@ + + + +

Google Play Movies Partner API

+

Instance Methods

+

+ accounts() +

+

Returns the accounts Resource.

+ +

+ new_batch_http_request()

+

Create a BatchHttpRequest object based on the discovery document.

+

Method Details

+
+ new_batch_http_request() +
Create a BatchHttpRequest object based on the discovery document.
+
+        Args:
+          callback: callable, A callback to be called for each response, of the
+            form callback(id, response, exception). The first parameter is the
+            request id, and the second is the deserialized response object. The
+            third is an apiclient.errors.HttpError exception object if an HTTP
+            error occurred while processing the request, or None if no error
+            occurred.
+
+        Returns:
+          A BatchHttpRequest object based on the discovery document.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/plusDomains_v1.activities.html b/docs/dyn/plusDomains_v1.activities.html index 1dc3790f0e8..ded9adc1e3b 100644 --- a/docs/dyn/plusDomains_v1.activities.html +++ b/docs/dyn/plusDomains_v1.activities.html @@ -170,6 +170,9 @@

Method Details

}, "displayName": "A String", # The original actor's name, which is suitable for display. "id": "A String", # ID of the original actor. + "verification": { # Verification status of actor. + "adHocVerified": "A String", # Verification for one-time or manual processes. + }, }, "content": "A String", # The HTML-formatted content, which is suitable for display. "url": "A String", # The URL that points to the linked resource. @@ -191,16 +194,19 @@

Method Details

}, "placeId": "A String", # ID of the place where this activity occurred. "actor": { # The person who performed this activity. - "url": "A String", # The link to the actor's Google profile. - "image": { # The image representation of the actor. - "url": "A String", # The URL of the actor's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. - }, "displayName": "A String", # The name of the actor, suitable for display. - "id": "A String", # The ID of the actor's Person resource. "name": { # An object representation of the individual components of name. "givenName": "A String", # The given name ("first name") of the actor. "familyName": "A String", # The family name ("last name") of the actor. }, + "url": "A String", # The link to the actor's Google profile. + "image": { # The image representation of the actor. + "url": "A String", # The URL of the actor's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. + }, + "verification": { # Verification status of actor. + "adHocVerified": "A String", # Verification for one-time or manual processes. + }, + "id": "A String", # The ID of the actor's Person resource. }, "id": "A String", # The ID of this activity. "access": { # Identifies who has access to see this activity. @@ -327,6 +333,9 @@

Method Details

}, "displayName": "A String", # The original actor's name, which is suitable for display. "id": "A String", # ID of the original actor. + "verification": { # Verification status of actor. + "adHocVerified": "A String", # Verification for one-time or manual processes. + }, }, "content": "A String", # The HTML-formatted content, which is suitable for display. "url": "A String", # The URL that points to the linked resource. @@ -348,16 +357,19 @@

Method Details

}, "placeId": "A String", # ID of the place where this activity occurred. "actor": { # The person who performed this activity. - "url": "A String", # The link to the actor's Google profile. - "image": { # The image representation of the actor. - "url": "A String", # The URL of the actor's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. - }, "displayName": "A String", # The name of the actor, suitable for display. - "id": "A String", # The ID of the actor's Person resource. "name": { # An object representation of the individual components of name. "givenName": "A String", # The given name ("first name") of the actor. "familyName": "A String", # The family name ("last name") of the actor. }, + "url": "A String", # The link to the actor's Google profile. + "image": { # The image representation of the actor. + "url": "A String", # The URL of the actor's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. + }, + "verification": { # Verification status of actor. + "adHocVerified": "A String", # Verification for one-time or manual processes. + }, + "id": "A String", # The ID of the actor's Person resource. }, "id": "A String", # The ID of this activity. "access": { # Identifies who has access to see this activity. @@ -479,6 +491,9 @@

Method Details

}, "displayName": "A String", # The original actor's name, which is suitable for display. "id": "A String", # ID of the original actor. + "verification": { # Verification status of actor. + "adHocVerified": "A String", # Verification for one-time or manual processes. + }, }, "content": "A String", # The HTML-formatted content, which is suitable for display. "url": "A String", # The URL that points to the linked resource. @@ -500,16 +515,19 @@

Method Details

}, "placeId": "A String", # ID of the place where this activity occurred. "actor": { # The person who performed this activity. - "url": "A String", # The link to the actor's Google profile. - "image": { # The image representation of the actor. - "url": "A String", # The URL of the actor's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. - }, "displayName": "A String", # The name of the actor, suitable for display. - "id": "A String", # The ID of the actor's Person resource. "name": { # An object representation of the individual components of name. "givenName": "A String", # The given name ("first name") of the actor. "familyName": "A String", # The family name ("last name") of the actor. }, + "url": "A String", # The link to the actor's Google profile. + "image": { # The image representation of the actor. + "url": "A String", # The URL of the actor's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. + }, + "verification": { # Verification status of actor. + "adHocVerified": "A String", # Verification for one-time or manual processes. + }, + "id": "A String", # The ID of the actor's Person resource. }, "id": "A String", # The ID of this activity. "access": { # Identifies who has access to see this activity. @@ -647,6 +665,9 @@

Method Details

}, "displayName": "A String", # The original actor's name, which is suitable for display. "id": "A String", # ID of the original actor. + "verification": { # Verification status of actor. + "adHocVerified": "A String", # Verification for one-time or manual processes. + }, }, "content": "A String", # The HTML-formatted content, which is suitable for display. "url": "A String", # The URL that points to the linked resource. @@ -668,16 +689,19 @@

Method Details

}, "placeId": "A String", # ID of the place where this activity occurred. "actor": { # The person who performed this activity. - "url": "A String", # The link to the actor's Google profile. - "image": { # The image representation of the actor. - "url": "A String", # The URL of the actor's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. - }, "displayName": "A String", # The name of the actor, suitable for display. - "id": "A String", # The ID of the actor's Person resource. "name": { # An object representation of the individual components of name. "givenName": "A String", # The given name ("first name") of the actor. "familyName": "A String", # The family name ("last name") of the actor. }, + "url": "A String", # The link to the actor's Google profile. + "image": { # The image representation of the actor. + "url": "A String", # The URL of the actor's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. + }, + "verification": { # Verification status of actor. + "adHocVerified": "A String", # Verification for one-time or manual processes. + }, + "id": "A String", # The ID of the actor's Person resource. }, "id": "A String", # The ID of this activity. "access": { # Identifies who has access to see this activity. diff --git a/docs/dyn/plusDomains_v1.comments.html b/docs/dyn/plusDomains_v1.comments.html index 6aefd3f5e59..15825436b5a 100644 --- a/docs/dyn/plusDomains_v1.comments.html +++ b/docs/dyn/plusDomains_v1.comments.html @@ -122,6 +122,9 @@

Method Details

}, "displayName": "A String", # The name of this actor, suitable for display. "id": "A String", # The ID of the actor. + "verification": { # Verification status of actor. + "adHocVerified": "A String", # Verification for one-time or manual processes. + }, }, "verb": "post", # This comment's verb, indicating what action was performed. Possible values are: # - "post" - Publish content to the stream. @@ -166,6 +169,9 @@

Method Details

}, "displayName": "A String", # The name of this actor, suitable for display. "id": "A String", # The ID of the actor. + "verification": { # Verification status of actor. + "adHocVerified": "A String", # Verification for one-time or manual processes. + }, }, "verb": "post", # This comment's verb, indicating what action was performed. Possible values are: # - "post" - Publish content to the stream. @@ -204,6 +210,9 @@

Method Details

}, "displayName": "A String", # The name of this actor, suitable for display. "id": "A String", # The ID of the actor. + "verification": { # Verification status of actor. + "adHocVerified": "A String", # Verification for one-time or manual processes. + }, }, "verb": "post", # This comment's verb, indicating what action was performed. Possible values are: # - "post" - Publish content to the stream. @@ -260,6 +269,9 @@

Method Details

}, "displayName": "A String", # The name of this actor, suitable for display. "id": "A String", # The ID of the actor. + "verification": { # Verification status of actor. + "adHocVerified": "A String", # Verification for one-time or manual processes. + }, }, "verb": "post", # This comment's verb, indicating what action was performed. Possible values are: # - "post" - Publish content to the stream. diff --git a/docs/dyn/plus_v1.activities.html b/docs/dyn/plus_v1.activities.html index 7f33bf5cb4f..d52a12b2666 100644 --- a/docs/dyn/plus_v1.activities.html +++ b/docs/dyn/plus_v1.activities.html @@ -109,7 +109,6 @@

Method Details

}, "title": "A String", # Title of this activity. "url": "A String", # The link to this activity. - "geocode": "A String", # Latitude and longitude where this activity occurred. Format is latitude followed by longitude, space separated. "object": { # The object of this activity. "resharers": { # People who reshared this activity. "totalItems": 42, # Total number of people who reshared this activity. @@ -117,66 +116,64 @@

Method Details

}, "attachments": [ # The media objects attached to this activity. { - "displayName": "A String", # The title of the attachment, such as a photo caption or an article title. - "thumbnails": [ # If the attachment is an album, this property is a list of potential additional thumbnails from the album. - { - "url": "A String", # URL of the webpage containing the image. - "image": { # Image resource. - "url": "A String", # Image url. - "width": 42, # The width, in pixels, of the linked resource. - "type": "A String", # Media type of the link. - "height": 42, # The height, in pixels, of the linked resource. - }, - "description": "A String", # Potential name of the thumbnail. - }, - ], - "fullImage": { # The full image URL for photo attachments. - "url": "A String", # URL of the image. + "displayName": "A String", # The title of the attachment (such as a photo caption or an article title). + "contentsource": { # If the attachment is audio, the link to the content. + "url": "A String", # URL of the link. + "type": "A String", # Media type of the link. + }, + "fullImage": { # The full image url for photo attachments. + "url": "A String", # URL of the link. "width": 42, # The width, in pixels, of the linked resource. "type": "A String", # Media type of the link. "height": 42, # The height, in pixels, of the linked resource. }, - "url": "A String", # The link to the attachment, which should be of type text/html. + "url": "A String", # The link to the attachment, should be of type text/html. "image": { # The preview image for photos or videos. - "url": "A String", # Image URL. + "url": "A String", # URL of the link. "width": 42, # The width, in pixels, of the linked resource. "type": "A String", # Media type of the link. "height": 42, # The height, in pixels, of the linked resource. }, - "content": "A String", # If the attachment is an article, this property contains a snippet of text from the article. It can also include descriptions for other types. + "content": "A String", # If the attachment is an article, this property contains a snippet of text from the article. "embed": { # If the attachment is a video, the embeddable link. "url": "A String", # URL of the link. "type": "A String", # Media type of the link. }, - "id": "A String", # The ID of the attachment. - "objectType": "A String", # The type of media object. Possible values include, but are not limited to, the following values: + "id": "A String", # The ID of the media object's resource. + "categories": [ # Specifies zero or more categories the attachment belongs to. + { + "term": "A String", # The tag, e.g. album. + "schema": "A String", # Domain of schema, e.g. http://google.com. + "label": "A String", # The category label, suitable for display (e.g. "album cover"). + }, + ], + "objectType": "A String", # The type of media object. Possible values are: # - "photo" - A photo. - # - "album" - A photo album. # - "video" - A video. # - "article" - An article, specified by a link. }, ], - "originalContent": "A String", # The content (text) as provided by the author, which is stored without any HTML formatting. When creating or updating an activity, this value must be supplied as plain text in the request. + "originalContent": "A String", # The content (text) as provided by the author, stored without any HTML formatting. When updating an activity's content, use the value of originalContent as the starting point from which to make edits. "plusoners": { # People who +1'd this activity. "totalItems": 42, # Total number of people who +1'd this activity. "selfLink": "A String", # The URL for the collection of people who +1'd this activity. }, - "actor": { # If this activity's object is itself another activity, such as when a person reshares an activity, this property specifies the original activity's actor. + "actor": { # If this activity's object is itself another activity (for example, when a person reshares an activity), this property specifies the original activity's actor. "url": "A String", # A link to the original actor's Google profile. "image": { # The image representation of the original actor. "url": "A String", # A URL that points to a thumbnail photo of the original actor. }, - "displayName": "A String", # The original actor's name, which is suitable for display. + "displayName": "A String", # The original actor's name, suitable for display. "id": "A String", # ID of the original actor. }, - "content": "A String", # The HTML-formatted content, which is suitable for display. + "content": "A String", # The HTML-formatted content, suitable for display. When creating or updating an activity, this value must be supplied as plain text in the request. If successful, the response will contain the HTML-formatted content. When updating an activity, use originalContent as the starting value, then assign the updated text to this property. "url": "A String", # The URL that points to the linked resource. "replies": { # Comments in reply to this activity. "totalItems": 42, # Total number of comments on this activity. "selfLink": "A String", # The URL for the collection of comments in reply to this activity. }, - "id": "A String", # The ID of the object. When resharing an activity, this is the ID of the activity that is being reshared. - "objectType": "A String", # The type of the object. Possible values include, but are not limited to, the following values: + "id": "A String", # The ID of the object. When resharing an activity, this is the ID of the activity being reshared. + "objectType": "A String", # The type of the object. Possible values are: # - "note" - Textual content. # - "activity" - A Google+ activity. }, @@ -184,14 +181,10 @@

Method Details

"actor": { # The person who performed this activity. "url": "A String", # The link to the actor's Google profile. "image": { # The image representation of the actor. - "url": "A String", # The URL of the actor's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. + "url": "A String", # The URL of the actor's profile photo. To re-size the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. }, "displayName": "A String", # The name of the actor, suitable for display. - "id": "A String", # The ID of the actor's Person resource. - "name": { # An object representation of the individual components of name. - "givenName": "A String", # The given name ("first name") of the actor. - "familyName": "A String", # The family name ("last name") of the actor. - }, + "id": "A String", # The ID of the actor's person resource. }, "id": "A String", # The ID of this activity. "access": { # Identifies who has access to see this activity. @@ -201,35 +194,23 @@

Method Details

# - "person" - Access to an individual. # - "circle" - Access to members of a circle. # - "myCircles" - Access to members of all the person's circles. - # - "extendedCircles" - Access to members of all the person's circles, plus all of the people in their circles. - # - "domain" - Access to members of the person's Google Apps domain. + # - "extendedCircles" - Access to members of everyone in a person's circles, plus all of the people in their circles. # - "public" - Access to anyone on the web. - "displayName": "A String", # A descriptive name for this entry. Suitable for display. "id": "A String", # The ID of the entry. For entries of type "person" or "circle", this is the ID of the resource. For other types, this property is not set. }, ], "kind": "plus#acl", # Identifies this resource as a collection of access controls. Value: "plus#acl". "description": "A String", # Description of the access granted, suitable for display. }, - "verb": "A String", # This activity's verb, which indicates the action that was performed. Possible values include, but are not limited to, the following values: + "verb": "A String", # This activity's verb, indicating what action was performed. Possible values are: # - "post" - Publish content to the stream. + # - "checkin" - Check in to a location. # - "share" - Reshare an activity. - "etag": "A String", # ETag of this response for caching purposes. + "geocode": "A String", # Latitude and longitude where this activity occurred. Format is latitude followed by longitude, space separated. "radius": "A String", # Radius, in meters, of the region where this activity occurred, centered at the latitude and longitude identified in geocode. - "location": { # The location where this activity occurred. - "position": { # The position of the place. - "latitude": 3.14, # The latitude of this position. - "longitude": 3.14, # The longitude of this position. - }, - "kind": "plus#place", # Identifies this resource as a place. Value: "plus#place". - "displayName": "A String", # The display name of the place. - "id": "A String", # The id of the place. - "address": { # The physical address of the place. - "formatted": "A String", # The formatted address for display. - }, - }, "address": "A String", # Street address where this activity occurred. "crosspostSource": "A String", # If this activity is a crosspost from another system, this property specifies the ID of the original activity. + "placeholder": True or False, # True if this activity is a placeholder. "annotation": "A String", # Additional content added by the person who shared this activity, applicable only when resharing an activity. "published": "A String", # The time at which this activity was initially published. Formatted as an RFC 3339 timestamp. }
@@ -244,16 +225,16 @@

Method Details

collection: string, The collection of activities to list. (required) Allowed values public - All public activities created by the specified user. - pageToken: string, The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response. - maxResults: integer, The maximum number of activities to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults. + pageToken: string, The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response. + maxResults: integer, The maximum number of activities to include in the response, used for paging. For any response, the actual number returned may be less than the specified maxResults. Returns: An object of the form: { - "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. + "nextPageToken": "A String", # The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. "kind": "plus#activityFeed", # Identifies this resource as a collection of activities. Value: "plus#activityFeed". - "title": "A String", # The title of this collection of activities, which is a truncated portion of the content. + "title": "A String", # The title of this collection of activities. "items": [ # The activities in this page of results. { "placeName": "A String", # Name of the place where this activity occurred. @@ -264,7 +245,6 @@

Method Details

}, "title": "A String", # Title of this activity. "url": "A String", # The link to this activity. - "geocode": "A String", # Latitude and longitude where this activity occurred. Format is latitude followed by longitude, space separated. "object": { # The object of this activity. "resharers": { # People who reshared this activity. "totalItems": 42, # Total number of people who reshared this activity. @@ -272,66 +252,64 @@

Method Details

}, "attachments": [ # The media objects attached to this activity. { - "displayName": "A String", # The title of the attachment, such as a photo caption or an article title. - "thumbnails": [ # If the attachment is an album, this property is a list of potential additional thumbnails from the album. - { - "url": "A String", # URL of the webpage containing the image. - "image": { # Image resource. - "url": "A String", # Image url. - "width": 42, # The width, in pixels, of the linked resource. - "type": "A String", # Media type of the link. - "height": 42, # The height, in pixels, of the linked resource. - }, - "description": "A String", # Potential name of the thumbnail. - }, - ], - "fullImage": { # The full image URL for photo attachments. - "url": "A String", # URL of the image. + "displayName": "A String", # The title of the attachment (such as a photo caption or an article title). + "contentsource": { # If the attachment is audio, the link to the content. + "url": "A String", # URL of the link. + "type": "A String", # Media type of the link. + }, + "fullImage": { # The full image url for photo attachments. + "url": "A String", # URL of the link. "width": 42, # The width, in pixels, of the linked resource. "type": "A String", # Media type of the link. "height": 42, # The height, in pixels, of the linked resource. }, - "url": "A String", # The link to the attachment, which should be of type text/html. + "url": "A String", # The link to the attachment, should be of type text/html. "image": { # The preview image for photos or videos. - "url": "A String", # Image URL. + "url": "A String", # URL of the link. "width": 42, # The width, in pixels, of the linked resource. "type": "A String", # Media type of the link. "height": 42, # The height, in pixels, of the linked resource. }, - "content": "A String", # If the attachment is an article, this property contains a snippet of text from the article. It can also include descriptions for other types. + "content": "A String", # If the attachment is an article, this property contains a snippet of text from the article. "embed": { # If the attachment is a video, the embeddable link. "url": "A String", # URL of the link. "type": "A String", # Media type of the link. }, - "id": "A String", # The ID of the attachment. - "objectType": "A String", # The type of media object. Possible values include, but are not limited to, the following values: + "id": "A String", # The ID of the media object's resource. + "categories": [ # Specifies zero or more categories the attachment belongs to. + { + "term": "A String", # The tag, e.g. album. + "schema": "A String", # Domain of schema, e.g. http://google.com. + "label": "A String", # The category label, suitable for display (e.g. "album cover"). + }, + ], + "objectType": "A String", # The type of media object. Possible values are: # - "photo" - A photo. - # - "album" - A photo album. # - "video" - A video. # - "article" - An article, specified by a link. }, ], - "originalContent": "A String", # The content (text) as provided by the author, which is stored without any HTML formatting. When creating or updating an activity, this value must be supplied as plain text in the request. + "originalContent": "A String", # The content (text) as provided by the author, stored without any HTML formatting. When updating an activity's content, use the value of originalContent as the starting point from which to make edits. "plusoners": { # People who +1'd this activity. "totalItems": 42, # Total number of people who +1'd this activity. "selfLink": "A String", # The URL for the collection of people who +1'd this activity. }, - "actor": { # If this activity's object is itself another activity, such as when a person reshares an activity, this property specifies the original activity's actor. + "actor": { # If this activity's object is itself another activity (for example, when a person reshares an activity), this property specifies the original activity's actor. "url": "A String", # A link to the original actor's Google profile. "image": { # The image representation of the original actor. "url": "A String", # A URL that points to a thumbnail photo of the original actor. }, - "displayName": "A String", # The original actor's name, which is suitable for display. + "displayName": "A String", # The original actor's name, suitable for display. "id": "A String", # ID of the original actor. }, - "content": "A String", # The HTML-formatted content, which is suitable for display. + "content": "A String", # The HTML-formatted content, suitable for display. When creating or updating an activity, this value must be supplied as plain text in the request. If successful, the response will contain the HTML-formatted content. When updating an activity, use originalContent as the starting value, then assign the updated text to this property. "url": "A String", # The URL that points to the linked resource. "replies": { # Comments in reply to this activity. "totalItems": 42, # Total number of comments on this activity. "selfLink": "A String", # The URL for the collection of comments in reply to this activity. }, - "id": "A String", # The ID of the object. When resharing an activity, this is the ID of the activity that is being reshared. - "objectType": "A String", # The type of the object. Possible values include, but are not limited to, the following values: + "id": "A String", # The ID of the object. When resharing an activity, this is the ID of the activity being reshared. + "objectType": "A String", # The type of the object. Possible values are: # - "note" - Textual content. # - "activity" - A Google+ activity. }, @@ -339,14 +317,10 @@

Method Details

"actor": { # The person who performed this activity. "url": "A String", # The link to the actor's Google profile. "image": { # The image representation of the actor. - "url": "A String", # The URL of the actor's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. + "url": "A String", # The URL of the actor's profile photo. To re-size the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. }, "displayName": "A String", # The name of the actor, suitable for display. - "id": "A String", # The ID of the actor's Person resource. - "name": { # An object representation of the individual components of name. - "givenName": "A String", # The given name ("first name") of the actor. - "familyName": "A String", # The family name ("last name") of the actor. - }, + "id": "A String", # The ID of the actor's person resource. }, "id": "A String", # The ID of this activity. "access": { # Identifies who has access to see this activity. @@ -356,43 +330,30 @@

Method Details

# - "person" - Access to an individual. # - "circle" - Access to members of a circle. # - "myCircles" - Access to members of all the person's circles. - # - "extendedCircles" - Access to members of all the person's circles, plus all of the people in their circles. - # - "domain" - Access to members of the person's Google Apps domain. + # - "extendedCircles" - Access to members of everyone in a person's circles, plus all of the people in their circles. # - "public" - Access to anyone on the web. - "displayName": "A String", # A descriptive name for this entry. Suitable for display. "id": "A String", # The ID of the entry. For entries of type "person" or "circle", this is the ID of the resource. For other types, this property is not set. }, ], "kind": "plus#acl", # Identifies this resource as a collection of access controls. Value: "plus#acl". "description": "A String", # Description of the access granted, suitable for display. }, - "verb": "A String", # This activity's verb, which indicates the action that was performed. Possible values include, but are not limited to, the following values: + "verb": "A String", # This activity's verb, indicating what action was performed. Possible values are: # - "post" - Publish content to the stream. + # - "checkin" - Check in to a location. # - "share" - Reshare an activity. - "etag": "A String", # ETag of this response for caching purposes. + "geocode": "A String", # Latitude and longitude where this activity occurred. Format is latitude followed by longitude, space separated. "radius": "A String", # Radius, in meters, of the region where this activity occurred, centered at the latitude and longitude identified in geocode. - "location": { # The location where this activity occurred. - "position": { # The position of the place. - "latitude": 3.14, # The latitude of this position. - "longitude": 3.14, # The longitude of this position. - }, - "kind": "plus#place", # Identifies this resource as a place. Value: "plus#place". - "displayName": "A String", # The display name of the place. - "id": "A String", # The id of the place. - "address": { # The physical address of the place. - "formatted": "A String", # The formatted address for display. - }, - }, "address": "A String", # Street address where this activity occurred. "crosspostSource": "A String", # If this activity is a crosspost from another system, this property specifies the ID of the original activity. + "placeholder": True or False, # True if this activity is a placeholder. "annotation": "A String", # Additional content added by the person who shared this activity, applicable only when resharing an activity. "published": "A String", # The time at which this activity was initially published. Formatted as an RFC 3339 timestamp. }, ], "updated": "A String", # The time at which this collection of activities was last updated. Formatted as an RFC 3339 timestamp. "nextLink": "A String", # Link to the next page of activities. - "etag": "A String", # ETag of this response for caching purposes. - "id": "A String", # The ID of this collection of activities. Deprecated. + "id": "A String", # The ID of this collection of activities. "selfLink": "A String", # Link to this activity resource. }
@@ -421,17 +382,17 @@

Method Details

Allowed values best - Sort activities by relevance to the user, most relevant first. recent - Sort activities by published date, most recent first. - language: string, Specify the preferred language to search with. See search language codes for available values. - pageToken: string, The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response. This token can be of any length. - maxResults: integer, The maximum number of activities to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults. + language: string, Specify the preferred language to search with. See Language Codes for available values. + pageToken: string, The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response. This token may be of any length. + maxResults: integer, The maximum number of activities to include in the response, used for paging. For any response, the actual number returned may be less than the specified maxResults. Returns: An object of the form: { - "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. + "nextPageToken": "A String", # The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. "kind": "plus#activityFeed", # Identifies this resource as a collection of activities. Value: "plus#activityFeed". - "title": "A String", # The title of this collection of activities, which is a truncated portion of the content. + "title": "A String", # The title of this collection of activities. "items": [ # The activities in this page of results. { "placeName": "A String", # Name of the place where this activity occurred. @@ -442,7 +403,6 @@

Method Details

}, "title": "A String", # Title of this activity. "url": "A String", # The link to this activity. - "geocode": "A String", # Latitude and longitude where this activity occurred. Format is latitude followed by longitude, space separated. "object": { # The object of this activity. "resharers": { # People who reshared this activity. "totalItems": 42, # Total number of people who reshared this activity. @@ -450,66 +410,64 @@

Method Details

}, "attachments": [ # The media objects attached to this activity. { - "displayName": "A String", # The title of the attachment, such as a photo caption or an article title. - "thumbnails": [ # If the attachment is an album, this property is a list of potential additional thumbnails from the album. - { - "url": "A String", # URL of the webpage containing the image. - "image": { # Image resource. - "url": "A String", # Image url. - "width": 42, # The width, in pixels, of the linked resource. - "type": "A String", # Media type of the link. - "height": 42, # The height, in pixels, of the linked resource. - }, - "description": "A String", # Potential name of the thumbnail. - }, - ], - "fullImage": { # The full image URL for photo attachments. - "url": "A String", # URL of the image. + "displayName": "A String", # The title of the attachment (such as a photo caption or an article title). + "contentsource": { # If the attachment is audio, the link to the content. + "url": "A String", # URL of the link. + "type": "A String", # Media type of the link. + }, + "fullImage": { # The full image url for photo attachments. + "url": "A String", # URL of the link. "width": 42, # The width, in pixels, of the linked resource. "type": "A String", # Media type of the link. "height": 42, # The height, in pixels, of the linked resource. }, - "url": "A String", # The link to the attachment, which should be of type text/html. + "url": "A String", # The link to the attachment, should be of type text/html. "image": { # The preview image for photos or videos. - "url": "A String", # Image URL. + "url": "A String", # URL of the link. "width": 42, # The width, in pixels, of the linked resource. "type": "A String", # Media type of the link. "height": 42, # The height, in pixels, of the linked resource. }, - "content": "A String", # If the attachment is an article, this property contains a snippet of text from the article. It can also include descriptions for other types. + "content": "A String", # If the attachment is an article, this property contains a snippet of text from the article. "embed": { # If the attachment is a video, the embeddable link. "url": "A String", # URL of the link. "type": "A String", # Media type of the link. }, - "id": "A String", # The ID of the attachment. - "objectType": "A String", # The type of media object. Possible values include, but are not limited to, the following values: + "id": "A String", # The ID of the media object's resource. + "categories": [ # Specifies zero or more categories the attachment belongs to. + { + "term": "A String", # The tag, e.g. album. + "schema": "A String", # Domain of schema, e.g. http://google.com. + "label": "A String", # The category label, suitable for display (e.g. "album cover"). + }, + ], + "objectType": "A String", # The type of media object. Possible values are: # - "photo" - A photo. - # - "album" - A photo album. # - "video" - A video. # - "article" - An article, specified by a link. }, ], - "originalContent": "A String", # The content (text) as provided by the author, which is stored without any HTML formatting. When creating or updating an activity, this value must be supplied as plain text in the request. + "originalContent": "A String", # The content (text) as provided by the author, stored without any HTML formatting. When updating an activity's content, use the value of originalContent as the starting point from which to make edits. "plusoners": { # People who +1'd this activity. "totalItems": 42, # Total number of people who +1'd this activity. "selfLink": "A String", # The URL for the collection of people who +1'd this activity. }, - "actor": { # If this activity's object is itself another activity, such as when a person reshares an activity, this property specifies the original activity's actor. + "actor": { # If this activity's object is itself another activity (for example, when a person reshares an activity), this property specifies the original activity's actor. "url": "A String", # A link to the original actor's Google profile. "image": { # The image representation of the original actor. "url": "A String", # A URL that points to a thumbnail photo of the original actor. }, - "displayName": "A String", # The original actor's name, which is suitable for display. + "displayName": "A String", # The original actor's name, suitable for display. "id": "A String", # ID of the original actor. }, - "content": "A String", # The HTML-formatted content, which is suitable for display. + "content": "A String", # The HTML-formatted content, suitable for display. When creating or updating an activity, this value must be supplied as plain text in the request. If successful, the response will contain the HTML-formatted content. When updating an activity, use originalContent as the starting value, then assign the updated text to this property. "url": "A String", # The URL that points to the linked resource. "replies": { # Comments in reply to this activity. "totalItems": 42, # Total number of comments on this activity. "selfLink": "A String", # The URL for the collection of comments in reply to this activity. }, - "id": "A String", # The ID of the object. When resharing an activity, this is the ID of the activity that is being reshared. - "objectType": "A String", # The type of the object. Possible values include, but are not limited to, the following values: + "id": "A String", # The ID of the object. When resharing an activity, this is the ID of the activity being reshared. + "objectType": "A String", # The type of the object. Possible values are: # - "note" - Textual content. # - "activity" - A Google+ activity. }, @@ -517,14 +475,10 @@

Method Details

"actor": { # The person who performed this activity. "url": "A String", # The link to the actor's Google profile. "image": { # The image representation of the actor. - "url": "A String", # The URL of the actor's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. + "url": "A String", # The URL of the actor's profile photo. To re-size the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. }, "displayName": "A String", # The name of the actor, suitable for display. - "id": "A String", # The ID of the actor's Person resource. - "name": { # An object representation of the individual components of name. - "givenName": "A String", # The given name ("first name") of the actor. - "familyName": "A String", # The family name ("last name") of the actor. - }, + "id": "A String", # The ID of the actor's person resource. }, "id": "A String", # The ID of this activity. "access": { # Identifies who has access to see this activity. @@ -534,43 +488,30 @@

Method Details

# - "person" - Access to an individual. # - "circle" - Access to members of a circle. # - "myCircles" - Access to members of all the person's circles. - # - "extendedCircles" - Access to members of all the person's circles, plus all of the people in their circles. - # - "domain" - Access to members of the person's Google Apps domain. + # - "extendedCircles" - Access to members of everyone in a person's circles, plus all of the people in their circles. # - "public" - Access to anyone on the web. - "displayName": "A String", # A descriptive name for this entry. Suitable for display. "id": "A String", # The ID of the entry. For entries of type "person" or "circle", this is the ID of the resource. For other types, this property is not set. }, ], "kind": "plus#acl", # Identifies this resource as a collection of access controls. Value: "plus#acl". "description": "A String", # Description of the access granted, suitable for display. }, - "verb": "A String", # This activity's verb, which indicates the action that was performed. Possible values include, but are not limited to, the following values: + "verb": "A String", # This activity's verb, indicating what action was performed. Possible values are: # - "post" - Publish content to the stream. + # - "checkin" - Check in to a location. # - "share" - Reshare an activity. - "etag": "A String", # ETag of this response for caching purposes. + "geocode": "A String", # Latitude and longitude where this activity occurred. Format is latitude followed by longitude, space separated. "radius": "A String", # Radius, in meters, of the region where this activity occurred, centered at the latitude and longitude identified in geocode. - "location": { # The location where this activity occurred. - "position": { # The position of the place. - "latitude": 3.14, # The latitude of this position. - "longitude": 3.14, # The longitude of this position. - }, - "kind": "plus#place", # Identifies this resource as a place. Value: "plus#place". - "displayName": "A String", # The display name of the place. - "id": "A String", # The id of the place. - "address": { # The physical address of the place. - "formatted": "A String", # The formatted address for display. - }, - }, "address": "A String", # Street address where this activity occurred. "crosspostSource": "A String", # If this activity is a crosspost from another system, this property specifies the ID of the original activity. + "placeholder": True or False, # True if this activity is a placeholder. "annotation": "A String", # Additional content added by the person who shared this activity, applicable only when resharing an activity. "published": "A String", # The time at which this activity was initially published. Formatted as an RFC 3339 timestamp. }, ], "updated": "A String", # The time at which this collection of activities was last updated. Formatted as an RFC 3339 timestamp. "nextLink": "A String", # Link to the next page of activities. - "etag": "A String", # ETag of this response for caching purposes. - "id": "A String", # The ID of this collection of activities. Deprecated. + "id": "A String", # The ID of this collection of activities. "selfLink": "A String", # Link to this activity resource. }
diff --git a/docs/dyn/plus_v1.comments.html b/docs/dyn/plus_v1.comments.html index c078b4f0161..e0e0e1b3e37 100644 --- a/docs/dyn/plus_v1.comments.html +++ b/docs/dyn/plus_v1.comments.html @@ -78,7 +78,7 @@

Instance Methods

get(commentId)

Get a comment.

- list(activityId, pageToken=None, maxResults=None, sortOrder=None)

+ list(activityId, pageToken=None, maxResults=None)

List all of the comments for an activity.

list_next(previous_request, previous_response)

@@ -97,32 +97,27 @@

Method Details

{ "inReplyTo": [ # The activity this comment replied to. { - "url": "A String", # The URL of the activity. - "id": "A String", # The ID of the activity. + "url": "A String", # The url of the activity. + "id": "A String", # The id of the activity. }, ], "kind": "plus#comment", # Identifies this resource as a comment. Value: "plus#comment". - "plusoners": { # People who +1'd this comment. - "totalItems": 42, # Total number of people who +1'd this comment. - }, "object": { # The object of this comment. - "content": "A String", # The HTML-formatted content, suitable for display. - "originalContent": "A String", # The content (text) as provided by the author, stored without any HTML formatting. When creating or updating a comment, this value must be supplied as plain text in the request. + "content": "A String", # The content of this comment. "objectType": "comment", # The object type of this comment. Possible values are: # - "comment" - A comment in reply to an activity. }, "updated": "A String", # The time at which this comment was last updated. Formatted as an RFC 3339 timestamp. "actor": { # The person who posted this comment. - "url": "A String", # A link to the Person resource for this actor. + "url": "A String", # A link to the person resource for this actor. "image": { # The image representation of this actor. - "url": "A String", # The URL of the actor's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. + "url": "A String", # The URL of the actor's profile photo. To re-size the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. }, "displayName": "A String", # The name of this actor, suitable for display. "id": "A String", # The ID of the actor. }, "verb": "post", # This comment's verb, indicating what action was performed. Possible values are: # - "post" - Publish content to the stream. - "etag": "A String", # ETag of this response for caching purposes. "published": "A String", # The time at which this comment was initially published. Formatted as an RFC 3339 timestamp. "id": "A String", # The ID of this comment. "selfLink": "A String", # Link to this comment resource. @@ -130,55 +125,46 @@

Method Details

- list(activityId, pageToken=None, maxResults=None, sortOrder=None) + list(activityId, pageToken=None, maxResults=None)
List all of the comments for an activity.
 
 Args:
   activityId: string, The ID of the activity to get comments for. (required)
-  pageToken: string, The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.
-  maxResults: integer, The maximum number of comments to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.
-  sortOrder: string, The order in which to sort the list of comments.
-    Allowed values
-      ascending - Sort oldest comments first.
-      descending - Sort newest comments first.
+  pageToken: string, The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.
+  maxResults: integer, The maximum number of comments to include in the response, used for paging. For any response, the actual number returned may be less than the specified maxResults.
 
 Returns:
   An object of the form:
 
     {
-    "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
+    "nextPageToken": "A String", # The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
     "kind": "plus#commentFeed", # Identifies this resource as a collection of comments. Value: "plus#commentFeed".
     "title": "A String", # The title of this collection of comments.
     "items": [ # The comments in this page of results.
       {
         "inReplyTo": [ # The activity this comment replied to.
           {
-            "url": "A String", # The URL of the activity.
-            "id": "A String", # The ID of the activity.
+            "url": "A String", # The url of the activity.
+            "id": "A String", # The id of the activity.
           },
         ],
         "kind": "plus#comment", # Identifies this resource as a comment. Value: "plus#comment".
-        "plusoners": { # People who +1'd this comment.
-          "totalItems": 42, # Total number of people who +1'd this comment.
-        },
         "object": { # The object of this comment.
-          "content": "A String", # The HTML-formatted content, suitable for display.
-          "originalContent": "A String", # The content (text) as provided by the author, stored without any HTML formatting. When creating or updating a comment, this value must be supplied as plain text in the request.
+          "content": "A String", # The content of this comment.
           "objectType": "comment", # The object type of this comment. Possible values are:
               # - "comment" - A comment in reply to an activity.
         },
         "updated": "A String", # The time at which this comment was last updated. Formatted as an RFC 3339 timestamp.
         "actor": { # The person who posted this comment.
-          "url": "A String", # A link to the Person resource for this actor.
+          "url": "A String", # A link to the person resource for this actor.
           "image": { # The image representation of this actor.
-            "url": "A String", # The URL of the actor's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side.
+            "url": "A String", # The URL of the actor's profile photo. To re-size the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side.
           },
           "displayName": "A String", # The name of this actor, suitable for display.
           "id": "A String", # The ID of the actor.
         },
         "verb": "post", # This comment's verb, indicating what action was performed. Possible values are:
             # - "post" - Publish content to the stream.
-        "etag": "A String", # ETag of this response for caching purposes.
         "published": "A String", # The time at which this comment was initially published. Formatted as an RFC 3339 timestamp.
         "id": "A String", # The ID of this comment.
         "selfLink": "A String", # Link to this comment resource.
@@ -186,7 +172,6 @@ 

Method Details

], "updated": "A String", # The time at which this collection of comments was last updated. Formatted as an RFC 3339 timestamp. "nextLink": "A String", # Link to the next page of activities. - "etag": "A String", # ETag of this response for caching purposes. "id": "A String", # The ID of this collection of comments. }
diff --git a/docs/dyn/plus_v1.html b/docs/dyn/plus_v1.html index bc4f7ec01fc..1e14932df2e 100644 --- a/docs/dyn/plus_v1.html +++ b/docs/dyn/plus_v1.html @@ -84,11 +84,6 @@

Instance Methods

Returns the comments Resource.

-

- moments() -

-

Returns the moments Resource.

-

people()

diff --git a/docs/dyn/plus_v1.people.html b/docs/dyn/plus_v1.people.html index e23259ec84a..9e4638eafd4 100644 --- a/docs/dyn/plus_v1.people.html +++ b/docs/dyn/plus_v1.people.html @@ -76,19 +76,13 @@

Google+ API . peopl

Instance Methods

get(userId)

-

Get a person's profile. If your app uses scope https://www.googleapis.com/auth/plus.login, this method is guaranteed to return ageRange and language.

-

- list(userId, collection, orderBy=None, pageToken=None, maxResults=None)

-

List all of the people in the specified collection.

+

Get a person's profile.

listByActivity(activityId, collection, pageToken=None, maxResults=None)

List all of the people in the specified collection for a particular activity.

listByActivity_next(previous_request, previous_response)

Retrieves the next page of results.

-

- list_next(previous_request, previous_response)

-

Retrieves the next page of results.

search(query, pageToken=None, language=None, maxResults=None)

Search all public profiles.

@@ -98,7 +92,7 @@

Instance Methods

Method Details

get(userId) -
Get a person's profile. If your app uses scope https://www.googleapis.com/auth/plus.login, this method is guaranteed to return ageRange and language.
+  
Get a person's profile.
 
 Args:
   userId: string, The ID of the person to get the profile for. The special value "me" can be used to indicate the authenticated user. (required)
@@ -107,23 +101,7 @@ 

Method Details

An object of the form: { - "braggingRights": "A String", # The "bragging rights" line of this person. - "image": { # The representation of the person's profile photo. - "url": "A String", # The URL of the person's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. - "isDefault": True or False, # Whether the person's profile photo is the default one - }, - "domain": "A String", # The hosted domain name for the user's Google Apps account. For instance, example.com. The plus.profile.emails.read or email scope is needed to get this domain name. - "id": "A String", # The ID of this person. - "occupation": "A String", # The occupation of this person. - "verified": True or False, # Whether the person or Google+ Page has been verified. - "tagline": "A String", # The brief description (tagline) of this person. - "currentLocation": "A String", # (this field is not currently used) - "etag": "A String", # ETag of this response for caching purposes. - "circledByCount": 42, # For followers who are visible, the number of people who have added this person or page to a circle. - "objectType": "A String", # Type of person within Google+. Possible values include, but are not limited to, the following values: - # - "person" - represents an actual person. - # - "page" - represents a page. - "relationshipStatus": "A String", # The person's relationship status. Possible values include, but are not limited to, the following values: + "relationshipStatus": "A String", # The person's relationship status. Possible values are: # - "single" - Person is single. # - "in_a_relationship" - Person is in a relationship. # - "engaged" - Person is engaged. @@ -133,42 +111,23 @@

Method Details

# - "widowed" - Person is widowed. # - "in_domestic_partnership" - Person is in a domestic partnership. # - "in_civil_union" - Person is in a civil union. - "aboutMe": "A String", # A short biography for this person. - "placesLived": [ # A list of places where this person has lived. - { - "primary": True or False, # If "true", this place of residence is this person's primary residence. - "value": "A String", # A place where this person has lived. For example: "Seattle, WA", "Near Toronto". - }, - ], - "birthday": "A String", # The person's date of birth, represented as YYYY-MM-DD. - "nickname": "A String", # The nickname of this person. - "emails": [ # A list of email addresses that this person has, including their Google account email address, and the public verified email addresses on their Google+ profile. The plus.profile.emails.read scope is needed to retrieve these email addresses, or the email scope can be used to retrieve just the Google account email address. - { - "type": "A String", # The type of address. Possible values include, but are not limited to, the following values: - # - "account" - Google account email address. - # - "home" - Home email address. - # - "work" - Work email address. - # - "other" - Other. - "value": "A String", # The email address. - }, - ], "organizations": [ # A list of current or past organizations with which this person is associated. { - "startDate": "A String", # The date that the person joined this organization. - "endDate": "A String", # The date that the person left this organization. - "description": "A String", # A short description of the person's role in this organization. Deprecated. + "startDate": "A String", # The date the person joined this organization. + "endDate": "A String", # The date the person left this organization. + "description": "A String", # A short description of the person's role in this organization. "title": "A String", # The person's job title or role within the organization. - "primary": True or False, # If "true", indicates this organization is the person's primary one, which is typically interpreted as the current one. - "location": "A String", # The location of this organization. Deprecated. - "department": "A String", # The department within the organization. Deprecated. - "type": "A String", # The type of organization. Possible values include, but are not limited to, the following values: + "primary": True or False, # If "true", indicates this organization is the person's primary one (typically interpreted as current one). + "location": "A String", # The location of this organization. + "department": "A String", # The department within the organization. + "type": "A String", # The type of organization. Possible values are: # - "work" - Work. # - "school" - School. "name": "A String", # The name of the organization. }, ], "kind": "plus#person", # Identifies this resource as a person. Value: "plus#person". - "displayName": "A String", # The name of this person, which is suitable for display. + "displayName": "A String", # The name of this person, suitable for display. "name": { # An object representation of the individual components of a person's name. "honorificPrefix": "A String", # The honorific prefixes (such as "Dr." or "Mrs.") for this person. "middleName": "A String", # The middle name of this person. @@ -177,93 +136,76 @@

Method Details

"givenName": "A String", # The given name (first name) of this person. "honorificSuffix": "A String", # The honorific suffixes (such as "Jr.") for this person. }, - "language": "A String", # The user's preferred language for rendering. - "skills": "A String", # The person's skills. - "gender": "A String", # The person's gender. Possible values include, but are not limited to, the following values: + "url": "A String", # The URL of this person's profile. + "gender": "A String", # The person's gender. Possible values are: # - "male" - Male gender. # - "female" - Female gender. # - "other" - Other. - "cover": { # The cover photo content. - "layout": "A String", # The layout of the cover art. Possible values include, but are not limited to, the following values: - # - "banner" - One large image banner. - "coverInfo": { # Extra information about the cover photo. - "leftImageOffset": 42, # The difference between the left position of the cover image and the actual displayed cover image. Only valid for banner layout. - "topImageOffset": 42, # The difference between the top position of the cover image and the actual displayed cover image. Only valid for banner layout. + "aboutMe": "A String", # A short biography for this person. + "tagline": "A String", # The brief description (tagline) of this person. + "placesLived": [ # A list of places where this person has lived. + { + "primary": True or False, # If "true", this place of residence is this person's primary residence. + "value": "A String", # A place where this person has lived. For example: "Seattle, WA", "Near Toronto". }, - "coverPhoto": { # The person's primary cover image. - "url": "A String", # The URL of the image. - "width": 42, # The width of the image. - "height": 42, # The height of the image. + ], + "emails": [ # A list of email addresses for this person. + { + "type": "A String", # The type of address. Possible values are: + # - "home" - Home email address. + # - "work" - Work email address. + # - "other" - Other. + "primary": True or False, # If "true", indicates this email address is the person's primary one. + "value": "A String", # The email address. }, - }, - "url": "A String", # The URL of this person's profile. - "isPlusUser": True or False, # Whether this user has signed up for Google+. - "plusOneCount": 42, # If a Google+ Page, the number of people who have +1'd this page. + ], + "nickname": "A String", # The nickname of this person. + "birthday": "A String", # The person's date of birth, represented as YYYY-MM-DD. "urls": [ # A list of URLs for this person. { - "type": "A String", # The type of URL. Possible values include, but are not limited to, the following values: - # - "otherProfile" - URL for another profile. - # - "contributor" - URL to a site for which this person is a contributor. - # - "website" - URL for this Google+ Page's primary website. - # - "other" - Other URL. + "type": "A String", # The type of URL. Possible values are: + # - "home" - URL for home. + # - "work" - URL for work. + # - "blog" - URL for blog. + # - "profile" - URL for profile. + # - "other" - Other. + "primary": True or False, # If "true", this URL is the person's primary URL. "value": "A String", # The URL value. - "label": "A String", # The label of the URL. }, ], - "ageRange": { # The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21 or older. Age is determined from the user's birthday using Western age reckoning. - "max": 42, # The age range's upper bound, if any. Possible values include, but are not limited to, the following: - # - "17" - for age 17 - # - "20" - for age 20 - "min": 42, # The age range's lower bound, if any. Possible values include, but are not limited to, the following: - # - "21" - for age 21 - # - "18" - for age 18 + "image": { # The representation of the person's profile photo. + "url": "A String", # The URL of the person's profile photo. To re-size the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. }, + "hasApp": True or False, # If "true", indicates that the person has installed the app that is making the request and has chosen to expose this install state to the caller. A value of "false" indicates that the install state cannot be determined (it is either not installed or the person has chosen to keep this information private). + "id": "A String", # The ID of this person. + "languagesSpoken": [ # The languages spoken by this person. + "A String", + ], + "currentLocation": "A String", # The current location for this person. }
- list(userId, collection, orderBy=None, pageToken=None, maxResults=None) -
List all of the people in the specified collection.
+    listByActivity(activityId, collection, pageToken=None, maxResults=None)
+  
List all of the people in the specified collection for a particular activity.
 
 Args:
-  userId: string, Get the collection of people for the person identified. Use "me" to indicate the authenticated user. (required)
+  activityId: string, The ID of the activity to get the list of people for. (required)
   collection: string, The collection of people to list. (required)
     Allowed values
-      connected - The list of visible people in the authenticated user's circles who also use the requesting app. This list is limited to users who made their app activities visible to the authenticated user.
-      visible - The list of people who this user has added to one or more circles, limited to the circles visible to the requesting application.
-  orderBy: string, The order to return people in.
-    Allowed values
-      alphabetical - Order the people by their display name.
-      best - Order people based on the relevence to the viewer.
-  pageToken: string, The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.
-  maxResults: integer, The maximum number of people to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.
+      plusoners - List all people who have +1'd this activity.
+      resharers - List all people who have reshared this activity.
+  pageToken: string, The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.
+  maxResults: integer, The maximum number of people to include in the response, used for paging. For any response, the actual number returned may be less than the specified maxResults.
 
 Returns:
   An object of the form:
 
     {
-    "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
-    "kind": "plus#peopleFeed", # Identifies this resource as a collection of people. Value: "plus#peopleFeed".
-    "title": "A String", # The title of this collection of people.
-    "items": [ # The people in this page of results. Each item includes the id, displayName, image, and url for the person. To retrieve additional profile data, see the people.get method.
+    "nextPageToken": "A String", # The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
+    "items": [ # The people in this page of results. Each item will include the id, displayName, image, and url for the person. To retrieve additional profile data, see the people.get method.
       {
-        "braggingRights": "A String", # The "bragging rights" line of this person.
-        "image": { # The representation of the person's profile photo.
-          "url": "A String", # The URL of the person's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side.
-          "isDefault": True or False, # Whether the person's profile photo is the default one
-        },
-        "domain": "A String", # The hosted domain name for the user's Google Apps account. For instance, example.com. The plus.profile.emails.read or email scope is needed to get this domain name.
-        "id": "A String", # The ID of this person.
-        "occupation": "A String", # The occupation of this person.
-        "verified": True or False, # Whether the person or Google+ Page has been verified.
-        "tagline": "A String", # The brief description (tagline) of this person.
-        "currentLocation": "A String", # (this field is not currently used)
-        "etag": "A String", # ETag of this response for caching purposes.
-        "circledByCount": 42, # For followers who are visible, the number of people who have added this person or page to a circle.
-        "objectType": "A String", # Type of person within Google+. Possible values include, but are not limited to, the following values:
-            # - "person" - represents an actual person.
-            # - "page" - represents a page.
-        "relationshipStatus": "A String", # The person's relationship status. Possible values include, but are not limited to, the following values:
+        "relationshipStatus": "A String", # The person's relationship status. Possible values are:
             # - "single" - Person is single.
             # - "in_a_relationship" - Person is in a relationship.
             # - "engaged" - Person is engaged.
@@ -273,42 +215,23 @@ 

Method Details

# - "widowed" - Person is widowed. # - "in_domestic_partnership" - Person is in a domestic partnership. # - "in_civil_union" - Person is in a civil union. - "aboutMe": "A String", # A short biography for this person. - "placesLived": [ # A list of places where this person has lived. - { - "primary": True or False, # If "true", this place of residence is this person's primary residence. - "value": "A String", # A place where this person has lived. For example: "Seattle, WA", "Near Toronto". - }, - ], - "birthday": "A String", # The person's date of birth, represented as YYYY-MM-DD. - "nickname": "A String", # The nickname of this person. - "emails": [ # A list of email addresses that this person has, including their Google account email address, and the public verified email addresses on their Google+ profile. The plus.profile.emails.read scope is needed to retrieve these email addresses, or the email scope can be used to retrieve just the Google account email address. - { - "type": "A String", # The type of address. Possible values include, but are not limited to, the following values: - # - "account" - Google account email address. - # - "home" - Home email address. - # - "work" - Work email address. - # - "other" - Other. - "value": "A String", # The email address. - }, - ], "organizations": [ # A list of current or past organizations with which this person is associated. { - "startDate": "A String", # The date that the person joined this organization. - "endDate": "A String", # The date that the person left this organization. - "description": "A String", # A short description of the person's role in this organization. Deprecated. + "startDate": "A String", # The date the person joined this organization. + "endDate": "A String", # The date the person left this organization. + "description": "A String", # A short description of the person's role in this organization. "title": "A String", # The person's job title or role within the organization. - "primary": True or False, # If "true", indicates this organization is the person's primary one, which is typically interpreted as the current one. - "location": "A String", # The location of this organization. Deprecated. - "department": "A String", # The department within the organization. Deprecated. - "type": "A String", # The type of organization. Possible values include, but are not limited to, the following values: + "primary": True or False, # If "true", indicates this organization is the person's primary one (typically interpreted as current one). + "location": "A String", # The location of this organization. + "department": "A String", # The department within the organization. + "type": "A String", # The type of organization. Possible values are: # - "work" - Work. # - "school" - School. "name": "A String", # The name of the organization. }, ], "kind": "plus#person", # Identifies this resource as a person. Value: "plus#person". - "displayName": "A String", # The name of this person, which is suitable for display. + "displayName": "A String", # The name of this person, suitable for display. "name": { # An object representation of the individual components of a person's name. "honorificPrefix": "A String", # The honorific prefixes (such as "Dr." or "Mrs.") for this person. "middleName": "A String", # The middle name of this person. @@ -317,193 +240,57 @@

Method Details

"givenName": "A String", # The given name (first name) of this person. "honorificSuffix": "A String", # The honorific suffixes (such as "Jr.") for this person. }, - "language": "A String", # The user's preferred language for rendering. - "skills": "A String", # The person's skills. - "gender": "A String", # The person's gender. Possible values include, but are not limited to, the following values: + "url": "A String", # The URL of this person's profile. + "gender": "A String", # The person's gender. Possible values are: # - "male" - Male gender. # - "female" - Female gender. # - "other" - Other. - "cover": { # The cover photo content. - "layout": "A String", # The layout of the cover art. Possible values include, but are not limited to, the following values: - # - "banner" - One large image banner. - "coverInfo": { # Extra information about the cover photo. - "leftImageOffset": 42, # The difference between the left position of the cover image and the actual displayed cover image. Only valid for banner layout. - "topImageOffset": 42, # The difference between the top position of the cover image and the actual displayed cover image. Only valid for banner layout. - }, - "coverPhoto": { # The person's primary cover image. - "url": "A String", # The URL of the image. - "width": 42, # The width of the image. - "height": 42, # The height of the image. - }, - }, - "url": "A String", # The URL of this person's profile. - "isPlusUser": True or False, # Whether this user has signed up for Google+. - "plusOneCount": 42, # If a Google+ Page, the number of people who have +1'd this page. - "urls": [ # A list of URLs for this person. - { - "type": "A String", # The type of URL. Possible values include, but are not limited to, the following values: - # - "otherProfile" - URL for another profile. - # - "contributor" - URL to a site for which this person is a contributor. - # - "website" - URL for this Google+ Page's primary website. - # - "other" - Other URL. - "value": "A String", # The URL value. - "label": "A String", # The label of the URL. - }, - ], - "ageRange": { # The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21 or older. Age is determined from the user's birthday using Western age reckoning. - "max": 42, # The age range's upper bound, if any. Possible values include, but are not limited to, the following: - # - "17" - for age 17 - # - "20" - for age 20 - "min": 42, # The age range's lower bound, if any. Possible values include, but are not limited to, the following: - # - "21" - for age 21 - # - "18" - for age 18 - }, - }, - ], - "etag": "A String", # ETag of this response for caching purposes. - "totalItems": 42, # The total number of people available in this list. The number of people in a response might be smaller due to paging. This might not be set for all collections. - "selfLink": "A String", # Link to this resource. - }
-
- -
- listByActivity(activityId, collection, pageToken=None, maxResults=None) -
List all of the people in the specified collection for a particular activity.
-
-Args:
-  activityId: string, The ID of the activity to get the list of people for. (required)
-  collection: string, The collection of people to list. (required)
-    Allowed values
-      plusoners - List all people who have +1'd this activity.
-      resharers - List all people who have reshared this activity.
-  pageToken: string, The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.
-  maxResults: integer, The maximum number of people to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.
-
-Returns:
-  An object of the form:
-
-    {
-    "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
-    "kind": "plus#peopleFeed", # Identifies this resource as a collection of people. Value: "plus#peopleFeed".
-    "title": "A String", # The title of this collection of people.
-    "items": [ # The people in this page of results. Each item includes the id, displayName, image, and url for the person. To retrieve additional profile data, see the people.get method.
-      {
-        "braggingRights": "A String", # The "bragging rights" line of this person.
-        "image": { # The representation of the person's profile photo.
-          "url": "A String", # The URL of the person's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side.
-          "isDefault": True or False, # Whether the person's profile photo is the default one
-        },
-        "domain": "A String", # The hosted domain name for the user's Google Apps account. For instance, example.com. The plus.profile.emails.read or email scope is needed to get this domain name.
-        "id": "A String", # The ID of this person.
-        "occupation": "A String", # The occupation of this person.
-        "verified": True or False, # Whether the person or Google+ Page has been verified.
-        "tagline": "A String", # The brief description (tagline) of this person.
-        "currentLocation": "A String", # (this field is not currently used)
-        "etag": "A String", # ETag of this response for caching purposes.
-        "circledByCount": 42, # For followers who are visible, the number of people who have added this person or page to a circle.
-        "objectType": "A String", # Type of person within Google+. Possible values include, but are not limited to, the following values:
-            # - "person" - represents an actual person.
-            # - "page" - represents a page.
-        "relationshipStatus": "A String", # The person's relationship status. Possible values include, but are not limited to, the following values:
-            # - "single" - Person is single.
-            # - "in_a_relationship" - Person is in a relationship.
-            # - "engaged" - Person is engaged.
-            # - "married" - Person is married.
-            # - "its_complicated" - The relationship is complicated.
-            # - "open_relationship" - Person is in an open relationship.
-            # - "widowed" - Person is widowed.
-            # - "in_domestic_partnership" - Person is in a domestic partnership.
-            # - "in_civil_union" - Person is in a civil union.
         "aboutMe": "A String", # A short biography for this person.
+        "tagline": "A String", # The brief description (tagline) of this person.
         "placesLived": [ # A list of places where this person has lived.
           {
             "primary": True or False, # If "true", this place of residence is this person's primary residence.
             "value": "A String", # A place where this person has lived. For example: "Seattle, WA", "Near Toronto".
           },
         ],
-        "birthday": "A String", # The person's date of birth, represented as YYYY-MM-DD.
-        "nickname": "A String", # The nickname of this person.
-        "emails": [ # A list of email addresses that this person has, including their Google account email address, and the public verified email addresses on their Google+ profile. The plus.profile.emails.read scope is needed to retrieve these email addresses, or the email scope can be used to retrieve just the Google account email address.
+        "emails": [ # A list of email addresses for this person.
           {
-            "type": "A String", # The type of address. Possible values include, but are not limited to, the following values:
-                # - "account" - Google account email address.
+            "type": "A String", # The type of address. Possible values are:
                 # - "home" - Home email address.
                 # - "work" - Work email address.
                 # - "other" - Other.
+            "primary": True or False, # If "true", indicates this email address is the person's primary one.
             "value": "A String", # The email address.
           },
         ],
-        "organizations": [ # A list of current or past organizations with which this person is associated.
-          {
-            "startDate": "A String", # The date that the person joined this organization.
-            "endDate": "A String", # The date that the person left this organization.
-            "description": "A String", # A short description of the person's role in this organization. Deprecated.
-            "title": "A String", # The person's job title or role within the organization.
-            "primary": True or False, # If "true", indicates this organization is the person's primary one, which is typically interpreted as the current one.
-            "location": "A String", # The location of this organization. Deprecated.
-            "department": "A String", # The department within the organization. Deprecated.
-            "type": "A String", # The type of organization. Possible values include, but are not limited to, the following values:
-                # - "work" - Work.
-                # - "school" - School.
-            "name": "A String", # The name of the organization.
-          },
-        ],
-        "kind": "plus#person", # Identifies this resource as a person. Value: "plus#person".
-        "displayName": "A String", # The name of this person, which is suitable for display.
-        "name": { # An object representation of the individual components of a person's name.
-          "honorificPrefix": "A String", # The honorific prefixes (such as "Dr." or "Mrs.") for this person.
-          "middleName": "A String", # The middle name of this person.
-          "familyName": "A String", # The family name (last name) of this person.
-          "formatted": "A String", # The full name of this person, including middle names, suffixes, etc.
-          "givenName": "A String", # The given name (first name) of this person.
-          "honorificSuffix": "A String", # The honorific suffixes (such as "Jr.") for this person.
-        },
-        "language": "A String", # The user's preferred language for rendering.
-        "skills": "A String", # The person's skills.
-        "gender": "A String", # The person's gender. Possible values include, but are not limited to, the following values:
-            # - "male" - Male gender.
-            # - "female" - Female gender.
-            # - "other" - Other.
-        "cover": { # The cover photo content.
-          "layout": "A String", # The layout of the cover art. Possible values include, but are not limited to, the following values:
-              # - "banner" - One large image banner.
-          "coverInfo": { # Extra information about the cover photo.
-            "leftImageOffset": 42, # The difference between the left position of the cover image and the actual displayed cover image. Only valid for banner layout.
-            "topImageOffset": 42, # The difference between the top position of the cover image and the actual displayed cover image. Only valid for banner layout.
-          },
-          "coverPhoto": { # The person's primary cover image.
-            "url": "A String", # The URL of the image.
-            "width": 42, # The width of the image.
-            "height": 42, # The height of the image.
-          },
-        },
-        "url": "A String", # The URL of this person's profile.
-        "isPlusUser": True or False, # Whether this user has signed up for Google+.
-        "plusOneCount": 42, # If a Google+ Page, the number of people who have +1'd this page.
+        "nickname": "A String", # The nickname of this person.
+        "birthday": "A String", # The person's date of birth, represented as YYYY-MM-DD.
         "urls": [ # A list of URLs for this person.
           {
-            "type": "A String", # The type of URL. Possible values include, but are not limited to, the following values:
-                # - "otherProfile" - URL for another profile.
-                # - "contributor" - URL to a site for which this person is a contributor.
-                # - "website" - URL for this Google+ Page's primary website.
-                # - "other" - Other URL.
+            "type": "A String", # The type of URL. Possible values are:
+                # - "home" - URL for home.
+                # - "work" - URL for work.
+                # - "blog" - URL for blog.
+                # - "profile" - URL for profile.
+                # - "other" - Other.
+            "primary": True or False, # If "true", this URL is the person's primary URL.
             "value": "A String", # The URL value.
-            "label": "A String", # The label of the URL.
           },
         ],
-        "ageRange": { # The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21 or older. Age is determined from the user's birthday using Western age reckoning.
-          "max": 42, # The age range's upper bound, if any. Possible values include, but are not limited to, the following:
-              # - "17" - for age 17
-              # - "20" - for age 20
-          "min": 42, # The age range's lower bound, if any. Possible values include, but are not limited to, the following:
-              # - "21" - for age 21
-              # - "18" - for age 18
+        "image": { # The representation of the person's profile photo.
+          "url": "A String", # The URL of the person's profile photo. To re-size the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side.
         },
+        "hasApp": True or False, # If "true", indicates that the person has installed the app that is making the request and has chosen to expose this install state to the caller. A value of "false" indicates that the install state cannot be determined (it is either not installed or the person has chosen to keep this information private).
+        "id": "A String", # The ID of this person.
+        "languagesSpoken": [ # The languages spoken by this person.
+          "A String",
+        ],
+        "currentLocation": "A String", # The current location for this person.
       },
     ],
-    "etag": "A String", # ETag of this response for caching purposes.
-    "totalItems": 42, # The total number of people available in this list. The number of people in a response might be smaller due to paging. This might not be set for all collections.
+    "kind": "plus#peopleFeed", # Identifies this resource as a collection of people. Value: "plus#peopleFeed".
     "selfLink": "A String", # Link to this resource.
+    "title": "A String", # The title of this collection of people.
   }
@@ -521,56 +308,24 @@

Method Details

-
- list_next(previous_request, previous_response) -
Retrieves the next page of results.
-
-Args:
-  previous_request: The request for the previous page. (required)
-  previous_response: The response from the request for the previous page. (required)
-
-Returns:
-  A request object that you can call 'execute()' on to request the next
-  page. Returns None if there are no more items in the collection.
-    
-
-
search(query, pageToken=None, language=None, maxResults=None)
Search all public profiles.
 
 Args:
-  query: string, Specify a query string for full text search of public text in all profiles. (required)
-  pageToken: string, The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response. This token can be of any length.
-  language: string, Specify the preferred language to search with. See search language codes for available values.
-  maxResults: integer, The maximum number of people to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.
+  query: string, Full-text search query string. (required)
+  pageToken: string, The continuation token, used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response. This token may be of any length.
+  language: string, Specify the preferred language to search with. See Language Codes for available values.
+  maxResults: integer, The maximum number of people to include in the response, used for paging. For any response, the actual number returned may be less than the specified maxResults.
 
 Returns:
   An object of the form:
 
     {
-    "nextPageToken": "A String", # The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
-    "kind": "plus#peopleFeed", # Identifies this resource as a collection of people. Value: "plus#peopleFeed".
-    "title": "A String", # The title of this collection of people.
-    "items": [ # The people in this page of results. Each item includes the id, displayName, image, and url for the person. To retrieve additional profile data, see the people.get method.
+    "nextPageToken": "A String", # The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.
+    "items": [ # The people in this page of results. Each item will include the id, displayName, image, and url for the person. To retrieve additional profile data, see the people.get method.
       {
-        "braggingRights": "A String", # The "bragging rights" line of this person.
-        "image": { # The representation of the person's profile photo.
-          "url": "A String", # The URL of the person's profile photo. To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side.
-          "isDefault": True or False, # Whether the person's profile photo is the default one
-        },
-        "domain": "A String", # The hosted domain name for the user's Google Apps account. For instance, example.com. The plus.profile.emails.read or email scope is needed to get this domain name.
-        "id": "A String", # The ID of this person.
-        "occupation": "A String", # The occupation of this person.
-        "verified": True or False, # Whether the person or Google+ Page has been verified.
-        "tagline": "A String", # The brief description (tagline) of this person.
-        "currentLocation": "A String", # (this field is not currently used)
-        "etag": "A String", # ETag of this response for caching purposes.
-        "circledByCount": 42, # For followers who are visible, the number of people who have added this person or page to a circle.
-        "objectType": "A String", # Type of person within Google+. Possible values include, but are not limited to, the following values:
-            # - "person" - represents an actual person.
-            # - "page" - represents a page.
-        "relationshipStatus": "A String", # The person's relationship status. Possible values include, but are not limited to, the following values:
+        "relationshipStatus": "A String", # The person's relationship status. Possible values are:
             # - "single" - Person is single.
             # - "in_a_relationship" - Person is in a relationship.
             # - "engaged" - Person is engaged.
@@ -580,42 +335,23 @@ 

Method Details

# - "widowed" - Person is widowed. # - "in_domestic_partnership" - Person is in a domestic partnership. # - "in_civil_union" - Person is in a civil union. - "aboutMe": "A String", # A short biography for this person. - "placesLived": [ # A list of places where this person has lived. - { - "primary": True or False, # If "true", this place of residence is this person's primary residence. - "value": "A String", # A place where this person has lived. For example: "Seattle, WA", "Near Toronto". - }, - ], - "birthday": "A String", # The person's date of birth, represented as YYYY-MM-DD. - "nickname": "A String", # The nickname of this person. - "emails": [ # A list of email addresses that this person has, including their Google account email address, and the public verified email addresses on their Google+ profile. The plus.profile.emails.read scope is needed to retrieve these email addresses, or the email scope can be used to retrieve just the Google account email address. - { - "type": "A String", # The type of address. Possible values include, but are not limited to, the following values: - # - "account" - Google account email address. - # - "home" - Home email address. - # - "work" - Work email address. - # - "other" - Other. - "value": "A String", # The email address. - }, - ], "organizations": [ # A list of current or past organizations with which this person is associated. { - "startDate": "A String", # The date that the person joined this organization. - "endDate": "A String", # The date that the person left this organization. - "description": "A String", # A short description of the person's role in this organization. Deprecated. + "startDate": "A String", # The date the person joined this organization. + "endDate": "A String", # The date the person left this organization. + "description": "A String", # A short description of the person's role in this organization. "title": "A String", # The person's job title or role within the organization. - "primary": True or False, # If "true", indicates this organization is the person's primary one, which is typically interpreted as the current one. - "location": "A String", # The location of this organization. Deprecated. - "department": "A String", # The department within the organization. Deprecated. - "type": "A String", # The type of organization. Possible values include, but are not limited to, the following values: + "primary": True or False, # If "true", indicates this organization is the person's primary one (typically interpreted as current one). + "location": "A String", # The location of this organization. + "department": "A String", # The department within the organization. + "type": "A String", # The type of organization. Possible values are: # - "work" - Work. # - "school" - School. "name": "A String", # The name of the organization. }, ], "kind": "plus#person", # Identifies this resource as a person. Value: "plus#person". - "displayName": "A String", # The name of this person, which is suitable for display. + "displayName": "A String", # The name of this person, suitable for display. "name": { # An object representation of the individual components of a person's name. "honorificPrefix": "A String", # The honorific prefixes (such as "Dr." or "Mrs.") for this person. "middleName": "A String", # The middle name of this person. @@ -624,52 +360,57 @@

Method Details

"givenName": "A String", # The given name (first name) of this person. "honorificSuffix": "A String", # The honorific suffixes (such as "Jr.") for this person. }, - "language": "A String", # The user's preferred language for rendering. - "skills": "A String", # The person's skills. - "gender": "A String", # The person's gender. Possible values include, but are not limited to, the following values: + "url": "A String", # The URL of this person's profile. + "gender": "A String", # The person's gender. Possible values are: # - "male" - Male gender. # - "female" - Female gender. # - "other" - Other. - "cover": { # The cover photo content. - "layout": "A String", # The layout of the cover art. Possible values include, but are not limited to, the following values: - # - "banner" - One large image banner. - "coverInfo": { # Extra information about the cover photo. - "leftImageOffset": 42, # The difference between the left position of the cover image and the actual displayed cover image. Only valid for banner layout. - "topImageOffset": 42, # The difference between the top position of the cover image and the actual displayed cover image. Only valid for banner layout. + "aboutMe": "A String", # A short biography for this person. + "tagline": "A String", # The brief description (tagline) of this person. + "placesLived": [ # A list of places where this person has lived. + { + "primary": True or False, # If "true", this place of residence is this person's primary residence. + "value": "A String", # A place where this person has lived. For example: "Seattle, WA", "Near Toronto". }, - "coverPhoto": { # The person's primary cover image. - "url": "A String", # The URL of the image. - "width": 42, # The width of the image. - "height": 42, # The height of the image. + ], + "emails": [ # A list of email addresses for this person. + { + "type": "A String", # The type of address. Possible values are: + # - "home" - Home email address. + # - "work" - Work email address. + # - "other" - Other. + "primary": True or False, # If "true", indicates this email address is the person's primary one. + "value": "A String", # The email address. }, - }, - "url": "A String", # The URL of this person's profile. - "isPlusUser": True or False, # Whether this user has signed up for Google+. - "plusOneCount": 42, # If a Google+ Page, the number of people who have +1'd this page. + ], + "nickname": "A String", # The nickname of this person. + "birthday": "A String", # The person's date of birth, represented as YYYY-MM-DD. "urls": [ # A list of URLs for this person. { - "type": "A String", # The type of URL. Possible values include, but are not limited to, the following values: - # - "otherProfile" - URL for another profile. - # - "contributor" - URL to a site for which this person is a contributor. - # - "website" - URL for this Google+ Page's primary website. - # - "other" - Other URL. + "type": "A String", # The type of URL. Possible values are: + # - "home" - URL for home. + # - "work" - URL for work. + # - "blog" - URL for blog. + # - "profile" - URL for profile. + # - "other" - Other. + "primary": True or False, # If "true", this URL is the person's primary URL. "value": "A String", # The URL value. - "label": "A String", # The label of the URL. }, ], - "ageRange": { # The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21 or older. Age is determined from the user's birthday using Western age reckoning. - "max": 42, # The age range's upper bound, if any. Possible values include, but are not limited to, the following: - # - "17" - for age 17 - # - "20" - for age 20 - "min": 42, # The age range's lower bound, if any. Possible values include, but are not limited to, the following: - # - "21" - for age 21 - # - "18" - for age 18 + "image": { # The representation of the person's profile photo. + "url": "A String", # The URL of the person's profile photo. To re-size the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. }, + "hasApp": True or False, # If "true", indicates that the person has installed the app that is making the request and has chosen to expose this install state to the caller. A value of "false" indicates that the install state cannot be determined (it is either not installed or the person has chosen to keep this information private). + "id": "A String", # The ID of this person. + "languagesSpoken": [ # The languages spoken by this person. + "A String", + ], + "currentLocation": "A String", # The current location for this person. }, ], - "etag": "A String", # ETag of this response for caching purposes. - "totalItems": 42, # The total number of people available in this list. The number of people in a response might be smaller due to paging. This might not be set for all collections. + "kind": "plus#peopleFeed", # Identifies this resource as a collection of people. Value: "plus#peopleFeed". "selfLink": "A String", # Link to this resource. + "title": "A String", # The title of this collection of people. }
diff --git a/docs/dyn/proximitybeacon_v1beta1.beaconinfo.html b/docs/dyn/proximitybeacon_v1beta1.beaconinfo.html new file mode 100644 index 00000000000..a5180583ae7 --- /dev/null +++ b/docs/dyn/proximitybeacon_v1beta1.beaconinfo.html @@ -0,0 +1,130 @@ + + + +

Google Proximity Beacon API . beaconinfo

+

Instance Methods

+

+ getforobserved(body, x__xgafv=None)

+

Given one or more beacon observations, returns any beacon information and attachments accessible to your application.

+

Method Details

+
+ getforobserved(body, x__xgafv=None) +
Given one or more beacon observations, returns any beacon information and attachments accessible to your application.
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request for beacon and attachment information about beacons that a mobile client has encountered "in the wild".
+    "observations": [ # The beacons that the client has encountered. At least one must be given.
+      { # Represents one beacon observed once.
+        "advertisedId": { # Defines a unique identifier of a beacon as broadcast by the device. # The ID advertised by the beacon the client has encountered. Required.
+          "type": "A String", # Specifies the identifier type. Required.
+          "id": "A String", # The actual beacon identifier, as broadcast by the beacon hardware. Must be [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP requests, and will be so encoded (with padding) in responses. The base64 encoding should be of the binary byte-stream and not any textual (such as hex) representation thereof. Required.
+        },
+        "telemetry": "A String", # The array of telemetry bytes received from the beacon. The server is responsible for parsing it. This field may frequently be empty, as with a beacon that transmits telemetry only occasionally.
+        "timestampMs": "A String", # Time when the beacon was observed. Being sourced from a mobile device, this time may be suspect.
+      },
+    ],
+    "namespacedTypes": [ # Specifies what kind of attachments to include in the response. When given, the response will include only attachments of the given types. When empty, no attachments will be returned. Must be in the format namespace/type. Accepts `*` to specify all types in all namespaces. Optional.
+      "A String",
+    ],
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Information about the requested beacons, optionally including attachment data.
+    "beacons": [ # Public information about beacons. May be empty if the request matched no beacons.
+      { # A subset of beacon information served via the `beaconinfo.getforobserved` method, which you call when users of your app encounter your beacons.
+        "attachments": [ # Attachments matching the type(s) requested. May be empty if no attachment types were requested, or if none matched.
+          { # A subset of attachment information served via the `beaconinfo.getforobserved` method, used when your users encounter your beacons.
+            "data": "A String", # An opaque data container for client-provided data.
+            "namespacedType": "A String", # Specifies what kind of attachment this is. Tells a client how to interpret the `data` field. Format is namespace/type, for example scrupulous-wombat-12345/welcome-message
+          },
+        ],
+        "advertisedId": { # Defines a unique identifier of a beacon as broadcast by the device. # The ID advertised by the beacon.
+          "type": "A String", # Specifies the identifier type. Required.
+          "id": "A String", # The actual beacon identifier, as broadcast by the beacon hardware. Must be [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP requests, and will be so encoded (with padding) in responses. The base64 encoding should be of the binary byte-stream and not any textual (such as hex) representation thereof. Required.
+        },
+        "description": "A String", # Free text used to identify or describe the beacon in a registered establishment. For example: "entrance", "room 101", etc. May be empty.
+        "beaconName": "A String", # The name under which the beacon is registered.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/proximitybeacon_v1beta1.beacons.attachments.html b/docs/dyn/proximitybeacon_v1beta1.beacons.attachments.html new file mode 100644 index 00000000000..84687a75741 --- /dev/null +++ b/docs/dyn/proximitybeacon_v1beta1.beacons.attachments.html @@ -0,0 +1,174 @@ + + + +

Google Proximity Beacon API . beacons . attachments

+

Instance Methods

+

+ batchDelete(beaconName, namespacedType=None, x__xgafv=None)

+

Deletes multiple attachments on a given beacon. This operation is permanent and cannot be undone. You can optionally specify `namespacedType` to choose which attachments should be deleted. If you do not specify `namespacedType`, all your attachments on the given beacon will be deleted. You also may explicitly specify `*/*` to delete all.

+

+ create(beaconName, body, x__xgafv=None)

+

Associates the given data with the specified beacon. Attachment data must contain two parts:

+

+ delete(attachmentName, x__xgafv=None)

+

Deletes the specified attachment for the given beacon. Each attachment has a unique attachment name (`attachmentName`) which is returned when you fetch the attachment data via this API. You specify this with the delete request to control which attachment is removed. This operation cannot be undone.

+

+ list(beaconName, namespacedType=None, x__xgafv=None)

+

Returns the attachments for the specified beacon that match the specified namespaced-type pattern. To control which namespaced types are returned, you add the `namespacedType` query parameter to the request. You must either use `*/*`, to return all attachments, or the namespace must be one of the ones returned from the `namespaces` endpoint.

+

Method Details

+
+ batchDelete(beaconName, namespacedType=None, x__xgafv=None) +
Deletes multiple attachments on a given beacon. This operation is permanent and cannot be undone. You can optionally specify `namespacedType` to choose which attachments should be deleted. If you do not specify `namespacedType`, all your attachments on the given beacon will be deleted. You also may explicitly specify `*/*` to delete all.
+
+Args:
+  beaconName: string, The beacon whose attachments are to be deleted. Required. (required)
+  namespacedType: string, Specifies the namespace and type of attachments to delete in `namespace/type` format. Accepts `*/*` to specify "all types in all namespaces". Optional.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response for a request to delete attachments.
+    "numDeleted": 42, # The number of attachments that were deleted.
+  }
+
+ +
+ create(beaconName, body, x__xgafv=None) +
Associates the given data with the specified beacon. Attachment data must contain two parts:  
+- A namespaced type. 
+- The actual attachment data itself.  The namespaced type consists of two parts, the namespace and the type. The namespace must be one of the values returned by the `namespaces` endpoint, while the type can be a string of any characters except for the forward slash (`/`) up to 100 characters in length. Attachment data can be up to 1024 bytes long.
+
+Args:
+  beaconName: string, The beacon on which the attachment should be created. Required. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Project-specific data associated with a beacon.
+    "data": "A String", # An opaque data container for client-provided data. Must be [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP requests, and will be so encoded (with padding) in responses. Required.
+    "attachmentName": "A String", # Resource name of this attachment. Attachment names have the format: beacons/beacon_id/attachments/attachment_id. Leave this empty on creation.
+    "namespacedType": "A String", # Specifies what kind of attachment this is. Tells a client how to interpret the `data` field. Format is namespace/type. Namespace provides type separation between clients. Type describes the type of `data`, for use by the client when parsing the `data` field. Required.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Project-specific data associated with a beacon.
+      "data": "A String", # An opaque data container for client-provided data. Must be [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP requests, and will be so encoded (with padding) in responses. Required.
+      "attachmentName": "A String", # Resource name of this attachment. Attachment names have the format: beacons/beacon_id/attachments/attachment_id. Leave this empty on creation.
+      "namespacedType": "A String", # Specifies what kind of attachment this is. Tells a client how to interpret the `data` field. Format is namespace/type. Namespace provides type separation between clients. Type describes the type of `data`, for use by the client when parsing the `data` field. Required.
+    }
+
+ +
+ delete(attachmentName, x__xgafv=None) +
Deletes the specified attachment for the given beacon. Each attachment has a unique attachment name (`attachmentName`) which is returned when you fetch the attachment data via this API. You specify this with the delete request to control which attachment is removed. This operation cannot be undone.
+
+Args:
+  attachmentName: string, The attachment name (`attachmentName`) of the attachment to remove. For example: `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738` Required. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ list(beaconName, namespacedType=None, x__xgafv=None) +
Returns the attachments for the specified beacon that match the specified namespaced-type pattern. To control which namespaced types are returned, you add the `namespacedType` query parameter to the request. You must either use `*/*`, to return all attachments, or the namespace must be one of the ones returned from the `namespaces` endpoint.
+
+Args:
+  beaconName: string, The beacon whose attachments are to be fetched. Required. (required)
+  namespacedType: string, Specifies the namespace and type of attachment to include in response in namespace/type format. Accepts `*/*` to specify "all types in all namespaces".
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response to ListBeaconAttachments that contains the requested attachments.
+    "attachments": [ # The attachments that corresponded to the request params.
+      { # Project-specific data associated with a beacon.
+          "data": "A String", # An opaque data container for client-provided data. Must be [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP requests, and will be so encoded (with padding) in responses. Required.
+          "attachmentName": "A String", # Resource name of this attachment. Attachment names have the format: beacons/beacon_id/attachments/attachment_id. Leave this empty on creation.
+          "namespacedType": "A String", # Specifies what kind of attachment this is. Tells a client how to interpret the `data` field. Format is namespace/type. Namespace provides type separation between clients. Type describes the type of `data`, for use by the client when parsing the `data` field. Required.
+        },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/proximitybeacon_v1beta1.beacons.diagnostics.html b/docs/dyn/proximitybeacon_v1beta1.beacons.diagnostics.html new file mode 100644 index 00000000000..d14e521c2d7 --- /dev/null +++ b/docs/dyn/proximitybeacon_v1beta1.beacons.diagnostics.html @@ -0,0 +1,130 @@ + + + +

Google Proximity Beacon API . beacons . diagnostics

+

Instance Methods

+

+ list(beaconName, pageSize=None, alertFilter=None, pageToken=None, x__xgafv=None)

+

List the diagnostics for a single beacon. You can also list diagnostics for all the beacons owned by your Google Developers Console project by using the beacon name `beacons/-`.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ list(beaconName, pageSize=None, alertFilter=None, pageToken=None, x__xgafv=None) +
List the diagnostics for a single beacon. You can also list diagnostics for all the beacons owned by your Google Developers Console project by using the beacon name `beacons/-`.
+
+Args:
+  beaconName: string, Beacon that the diagnostics are for. (required)
+  pageSize: integer, Specifies the maximum number of results to return. Defaults to 10. Maximum 1000. Optional.
+  alertFilter: string, Requests only beacons that have the given alert. For example, to find beacons that have low batteries use `alert_filter=LOW_BATTERY`.
+  pageToken: string, Requests results that occur after the `page_token`, obtained from the response to a previous request. Optional.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response that contains the requested diagnostics.
+    "nextPageToken": "A String", # Token that can be used for pagination. Returned only if the request matches more beacons than can be returned in this response.
+    "diagnostics": [ # The diagnostics matching the given request.
+      { # Diagnostics for a single beacon.
+        "estimatedLowBatteryDate": { # Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are [google.type.TimeOfDay][] and `google.protobuf.Timestamp`. # The date when the battery is expected to be low. If the value is missing then there is no estimate for when the battery will be low. This value is only an estimate, not an exact date.
+          "month": 42, # Month of year of date. Must be from 1 to 12.
+          "day": 42, # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not sigificant.
+          "year": 42, # Year of date. Must be from 1 to 9,999, or 0 if specifying a date without a year.
+        },
+        "alerts": [ # An unordered list of Alerts that the beacon has.
+          "A String",
+        ],
+        "beaconName": "A String", # Resource name of the beacon.
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/proximitybeacon_v1beta1.beacons.html b/docs/dyn/proximitybeacon_v1beta1.beacons.html new file mode 100644 index 00000000000..f3ffd8208e2 --- /dev/null +++ b/docs/dyn/proximitybeacon_v1beta1.beacons.html @@ -0,0 +1,364 @@ + + + +

Google Proximity Beacon API . beacons

+

Instance Methods

+

+ attachments() +

+

Returns the attachments Resource.

+ +

+ diagnostics() +

+

Returns the diagnostics Resource.

+ +

+ activate(beaconName, x__xgafv=None)

+

(Re)activates a beacon. A beacon that is active will return information and attachment data when queried via `beaconinfo.getforobserved`. Calling this method on an already active beacon will do nothing (but will return a successful response code).

+

+ deactivate(beaconName, x__xgafv=None)

+

Deactivates a beacon. Once deactivated, the API will not return information nor attachment data for the beacon when queried via `beaconinfo.getforobserved`. Calling this method on an already inactive beacon will do nothing (but will return a successful response code).

+

+ decommission(beaconName, x__xgafv=None)

+

Decommissions the specified beacon in the service. This beacon will no longer be returned from `beaconinfo.getforobserved`. This operation is permanent -- you will not be able to re-register a beacon with this ID again.

+

+ get(beaconName, x__xgafv=None)

+

Returns detailed information about the specified beacon.

+

+ list(pageSize=None, q=None, pageToken=None, x__xgafv=None)

+

Searches the beacon registry for beacons that match the given search criteria. Only those beacons that the client has permission to list will be returned.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ register(body, x__xgafv=None)

+

Registers a previously unregistered beacon given its `advertisedId`. These IDs are unique within the system. An ID can be registered only once.

+

+ update(beaconName, body, x__xgafv=None)

+

Updates the information about the specified beacon. **Any field that you do not populate in the submitted beacon will be permanently erased**, so you should follow the "read, modify, write" pattern to avoid inadvertently destroying data. Changes to the beacon status via this method will be silently ignored. To update beacon status, use the separate methods on this API for (de)activation and decommissioning.

+

Method Details

+
+ activate(beaconName, x__xgafv=None) +
(Re)activates a beacon. A beacon that is active will return information and attachment data when queried via `beaconinfo.getforobserved`. Calling this method on an already active beacon will do nothing (but will return a successful response code).
+
+Args:
+  beaconName: string, The beacon to activate. Required. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ deactivate(beaconName, x__xgafv=None) +
Deactivates a beacon. Once deactivated, the API will not return information nor attachment data for the beacon when queried via `beaconinfo.getforobserved`. Calling this method on an already inactive beacon will do nothing (but will return a successful response code).
+
+Args:
+  beaconName: string, The beacon name of this beacon. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ decommission(beaconName, x__xgafv=None) +
Decommissions the specified beacon in the service. This beacon will no longer be returned from `beaconinfo.getforobserved`. This operation is permanent -- you will not be able to re-register a beacon with this ID again.
+
+Args:
+  beaconName: string, Beacon that should be decommissioned. Required. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ get(beaconName, x__xgafv=None) +
Returns detailed information about the specified beacon.
+
+Args:
+  beaconName: string, Beacon that is requested. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Details of a beacon device.
+    "status": "A String", # Current status of the beacon. Required.
+    "description": "A String", # Free text used to identify and describe the beacon. Maximum length 140 characters. Optional.
+    "indoorLevel": { # Indoor level, a human-readable string as returned by Google Maps APIs, useful to indicate which floor of a building a beacon is located on. # The indoor level information for this beacon, if known. As returned by the Google Maps API. Optional.
+      "name": "A String", # The name of this level.
+    },
+    "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges. Example of normalization code in Python: def NormalizeLongitude(longitude): """Wrapsdecimal degrees longitude to [-180.0, 180.0].""" q, r = divmod(longitude, 360.0) if r > 180.0 or (r == 180.0 and q <= -1.0): return r - 360.0 return r def NormalizeLatLng(latitude, longitude): """Wraps decimal degrees latitude and longitude to [-180.0, 180.0] and [-90.0, 90.0], respectively.""" r = latitude % 360.0 if r = 270.0: return r - 360, NormalizeLongitude(longitude) else: return 180 - r, NormalizeLongitude(longitude + 180.0) assert 180.0 == NormalizeLongitude(180.0) assert -180.0 == NormalizeLongitude(-180.0) assert -179.0 == NormalizeLongitude(181.0) assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0) assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0) assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0) assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0) assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0) assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0) # The location of the beacon, expressed as a latitude and longitude pair. This location is given when the beacon is registered or updated. It does not necessarily indicate the actual current location of the beacon. Optional.
+      "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+      "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+    },
+    "placeId": "A String", # The [Google Places API](/places/place-id) Place ID of the place where the beacon is deployed. This is given when the beacon is registered or updated, not automatically detected in any way. Optional.
+    "advertisedId": { # Defines a unique identifier of a beacon as broadcast by the device. # The identifier of a beacon as advertised by it. This field must be populated when registering. It may be empty when updating a beacon record because it is ignored in updates.
+      "type": "A String", # Specifies the identifier type. Required.
+      "id": "A String", # The actual beacon identifier, as broadcast by the beacon hardware. Must be [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP requests, and will be so encoded (with padding) in responses. The base64 encoding should be of the binary byte-stream and not any textual (such as hex) representation thereof. Required.
+    },
+    "beaconName": "A String", # Resource name of this beacon. A beacon name has the format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon. This field must be left empty when registering. After reading a beacon, clients can use the name for future operations.
+    "expectedStability": "A String", # Expected location stability. This is set when the beacon is registered or updated, not automatically detected in any way. Optional.
+    "properties": { # Properties of the beacon device, for example battery type or firmware version. Optional.
+      "a_key": "A String",
+    },
+  }
+
+ +
+ list(pageSize=None, q=None, pageToken=None, x__xgafv=None) +
Searches the beacon registry for beacons that match the given search criteria. Only those beacons that the client has permission to list will be returned.
+
+Args:
+  pageSize: integer, The maximum number of records to return for this request, up to a server-defined upper limit.
+  q: string, Filter query string that supports the following field filters: * `description:""` For example: `description:"Room 3"` Returns beacons whose description matches tokens in the string "Room 3" (not necessarily that exact string). The string must be double-quoted. * `status:` For example: `status:active` Returns beacons whose status matches the given value. Values must be one of the Beacon.Status enum values (case insensitive). Accepts multiple filters which will be combined with OR logic. * `stability:` For example: `stability:mobile` Returns beacons whose expected stability matches the given value. Values must be one of the Beacon.Stability enum values (case insensitive). Accepts multiple filters which will be combined with OR logic. * `place_id:""` For example: `place_id:"ChIJVSZzVR8FdkgRXGmmm6SslKw="` Returns beacons explicitly registered at the given place, expressed as a Place ID obtained from [Google Places API](/places/place-id). Does not match places inside the given place. Does not consider the beacon's actual location (which may be different from its registered place). Accepts multiple filters that will be combined with OR logic. The place ID must be double-quoted. * `registration_time[|=]` For example: `registration_time>=1433116800` Returns beacons whose registration time matches the given filter. Supports the operators: , =. Timestamp must be expressed as an integer number of seconds since midnight January 1, 1970 UTC. Accepts at most two filters that will be combined with AND logic, to support "between" semantics. If more than two are supplied, the latter ones are ignored. * `lat: lng: radius:` For example: `lat:51.1232343 lng:-1.093852 radius:1000` Returns beacons whose registered location is within the given circle. When any of these fields are given, all are required. Latitude and longitude must be decimal degrees between -90.0 and 90.0 and between -180.0 and 180.0 respectively. Radius must be an integer number of meters less than 1,000,000 (1000 km). * `property:"="` For example: `property:"battery-type=CR2032"` Returns beacons which have a property of the given name and value. Supports multiple filters which will be combined with OR logic. The entire name=value string must be double-quoted as one string. * `attachment_type:""` For example: `attachment_type:"my-namespace/my-type"` Returns beacons having at least one attachment of the given namespaced type. Supports "any within this namespace" via the partial wildcard syntax: "my-namespace/*". Supports multiple filters which will be combined with OR logic. The string must be double-quoted. Multiple filters on the same field are combined with OR logic (except registration_time which is combined with AND logic). Multiple filters on different fields are combined with AND logic. Filters should be separated by spaces. As with any HTTP query string parameter, the whole filter expression must be URL-encoded. Example REST request: `GET /v1beta1/beacons?q=status:active%20lat:51.123%20lng:-1.095%20radius:1000`
+  pageToken: string, A pagination token obtained from a previous request to list beacons.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response that contains list beacon results and pagination help.
+    "beacons": [ # The beacons that matched the search criteria.
+      { # Details of a beacon device.
+        "status": "A String", # Current status of the beacon. Required.
+        "description": "A String", # Free text used to identify and describe the beacon. Maximum length 140 characters. Optional.
+        "indoorLevel": { # Indoor level, a human-readable string as returned by Google Maps APIs, useful to indicate which floor of a building a beacon is located on. # The indoor level information for this beacon, if known. As returned by the Google Maps API. Optional.
+          "name": "A String", # The name of this level.
+        },
+        "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges. Example of normalization code in Python: def NormalizeLongitude(longitude): """Wrapsdecimal degrees longitude to [-180.0, 180.0].""" q, r = divmod(longitude, 360.0) if r > 180.0 or (r == 180.0 and q <= -1.0): return r - 360.0 return r def NormalizeLatLng(latitude, longitude): """Wraps decimal degrees latitude and longitude to [-180.0, 180.0] and [-90.0, 90.0], respectively.""" r = latitude % 360.0 if r = 270.0: return r - 360, NormalizeLongitude(longitude) else: return 180 - r, NormalizeLongitude(longitude + 180.0) assert 180.0 == NormalizeLongitude(180.0) assert -180.0 == NormalizeLongitude(-180.0) assert -179.0 == NormalizeLongitude(181.0) assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0) assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0) assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0) assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0) assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0) assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0) # The location of the beacon, expressed as a latitude and longitude pair. This location is given when the beacon is registered or updated. It does not necessarily indicate the actual current location of the beacon. Optional.
+          "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+          "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+        },
+        "placeId": "A String", # The [Google Places API](/places/place-id) Place ID of the place where the beacon is deployed. This is given when the beacon is registered or updated, not automatically detected in any way. Optional.
+        "advertisedId": { # Defines a unique identifier of a beacon as broadcast by the device. # The identifier of a beacon as advertised by it. This field must be populated when registering. It may be empty when updating a beacon record because it is ignored in updates.
+          "type": "A String", # Specifies the identifier type. Required.
+          "id": "A String", # The actual beacon identifier, as broadcast by the beacon hardware. Must be [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP requests, and will be so encoded (with padding) in responses. The base64 encoding should be of the binary byte-stream and not any textual (such as hex) representation thereof. Required.
+        },
+        "beaconName": "A String", # Resource name of this beacon. A beacon name has the format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon. This field must be left empty when registering. After reading a beacon, clients can use the name for future operations.
+        "expectedStability": "A String", # Expected location stability. This is set when the beacon is registered or updated, not automatically detected in any way. Optional.
+        "properties": { # Properties of the beacon device, for example battery type or firmware version. Optional.
+          "a_key": "A String",
+        },
+      },
+    ],
+    "nextPageToken": "A String", # An opaque pagination token that the client may provide in their next request to retrieve the next page of results.
+    "totalCount": "A String", # Estimate of the total number of beacons matched by the query. Higher values may be less accurate.
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ register(body, x__xgafv=None) +
Registers a previously unregistered beacon given its `advertisedId`. These IDs are unique within the system. An ID can be registered only once.
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Details of a beacon device.
+  "status": "A String", # Current status of the beacon. Required.
+  "description": "A String", # Free text used to identify and describe the beacon. Maximum length 140 characters. Optional.
+  "indoorLevel": { # Indoor level, a human-readable string as returned by Google Maps APIs, useful to indicate which floor of a building a beacon is located on. # The indoor level information for this beacon, if known. As returned by the Google Maps API. Optional.
+    "name": "A String", # The name of this level.
+  },
+  "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges. Example of normalization code in Python: def NormalizeLongitude(longitude): """Wrapsdecimal degrees longitude to [-180.0, 180.0].""" q, r = divmod(longitude, 360.0) if r > 180.0 or (r == 180.0 and q <= -1.0): return r - 360.0 return r def NormalizeLatLng(latitude, longitude): """Wraps decimal degrees latitude and longitude to [-180.0, 180.0] and [-90.0, 90.0], respectively.""" r = latitude % 360.0 if r = 270.0: return r - 360, NormalizeLongitude(longitude) else: return 180 - r, NormalizeLongitude(longitude + 180.0) assert 180.0 == NormalizeLongitude(180.0) assert -180.0 == NormalizeLongitude(-180.0) assert -179.0 == NormalizeLongitude(181.0) assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0) assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0) assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0) assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0) assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0) assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0) # The location of the beacon, expressed as a latitude and longitude pair. This location is given when the beacon is registered or updated. It does not necessarily indicate the actual current location of the beacon. Optional.
+    "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+    "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+  },
+  "placeId": "A String", # The [Google Places API](/places/place-id) Place ID of the place where the beacon is deployed. This is given when the beacon is registered or updated, not automatically detected in any way. Optional.
+  "advertisedId": { # Defines a unique identifier of a beacon as broadcast by the device. # The identifier of a beacon as advertised by it. This field must be populated when registering. It may be empty when updating a beacon record because it is ignored in updates.
+    "type": "A String", # Specifies the identifier type. Required.
+    "id": "A String", # The actual beacon identifier, as broadcast by the beacon hardware. Must be [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP requests, and will be so encoded (with padding) in responses. The base64 encoding should be of the binary byte-stream and not any textual (such as hex) representation thereof. Required.
+  },
+  "beaconName": "A String", # Resource name of this beacon. A beacon name has the format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon. This field must be left empty when registering. After reading a beacon, clients can use the name for future operations.
+  "expectedStability": "A String", # Expected location stability. This is set when the beacon is registered or updated, not automatically detected in any way. Optional.
+  "properties": { # Properties of the beacon device, for example battery type or firmware version. Optional.
+    "a_key": "A String",
+  },
+}
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Details of a beacon device.
+    "status": "A String", # Current status of the beacon. Required.
+    "description": "A String", # Free text used to identify and describe the beacon. Maximum length 140 characters. Optional.
+    "indoorLevel": { # Indoor level, a human-readable string as returned by Google Maps APIs, useful to indicate which floor of a building a beacon is located on. # The indoor level information for this beacon, if known. As returned by the Google Maps API. Optional.
+      "name": "A String", # The name of this level.
+    },
+    "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges. Example of normalization code in Python: def NormalizeLongitude(longitude): """Wrapsdecimal degrees longitude to [-180.0, 180.0].""" q, r = divmod(longitude, 360.0) if r > 180.0 or (r == 180.0 and q <= -1.0): return r - 360.0 return r def NormalizeLatLng(latitude, longitude): """Wraps decimal degrees latitude and longitude to [-180.0, 180.0] and [-90.0, 90.0], respectively.""" r = latitude % 360.0 if r = 270.0: return r - 360, NormalizeLongitude(longitude) else: return 180 - r, NormalizeLongitude(longitude + 180.0) assert 180.0 == NormalizeLongitude(180.0) assert -180.0 == NormalizeLongitude(-180.0) assert -179.0 == NormalizeLongitude(181.0) assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0) assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0) assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0) assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0) assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0) assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0) # The location of the beacon, expressed as a latitude and longitude pair. This location is given when the beacon is registered or updated. It does not necessarily indicate the actual current location of the beacon. Optional.
+      "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+      "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+    },
+    "placeId": "A String", # The [Google Places API](/places/place-id) Place ID of the place where the beacon is deployed. This is given when the beacon is registered or updated, not automatically detected in any way. Optional.
+    "advertisedId": { # Defines a unique identifier of a beacon as broadcast by the device. # The identifier of a beacon as advertised by it. This field must be populated when registering. It may be empty when updating a beacon record because it is ignored in updates.
+      "type": "A String", # Specifies the identifier type. Required.
+      "id": "A String", # The actual beacon identifier, as broadcast by the beacon hardware. Must be [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP requests, and will be so encoded (with padding) in responses. The base64 encoding should be of the binary byte-stream and not any textual (such as hex) representation thereof. Required.
+    },
+    "beaconName": "A String", # Resource name of this beacon. A beacon name has the format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon. This field must be left empty when registering. After reading a beacon, clients can use the name for future operations.
+    "expectedStability": "A String", # Expected location stability. This is set when the beacon is registered or updated, not automatically detected in any way. Optional.
+    "properties": { # Properties of the beacon device, for example battery type or firmware version. Optional.
+      "a_key": "A String",
+    },
+  }
+
+ +
+ update(beaconName, body, x__xgafv=None) +
Updates the information about the specified beacon. **Any field that you do not populate in the submitted beacon will be permanently erased**, so you should follow the "read, modify, write" pattern to avoid inadvertently destroying data. Changes to the beacon status via this method will be silently ignored. To update beacon status, use the separate methods on this API for (de)activation and decommissioning.
+
+Args:
+  beaconName: string, Resource name of this beacon. A beacon name has the format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon. This field must be left empty when registering. After reading a beacon, clients can use the name for future operations. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Details of a beacon device.
+  "status": "A String", # Current status of the beacon. Required.
+  "description": "A String", # Free text used to identify and describe the beacon. Maximum length 140 characters. Optional.
+  "indoorLevel": { # Indoor level, a human-readable string as returned by Google Maps APIs, useful to indicate which floor of a building a beacon is located on. # The indoor level information for this beacon, if known. As returned by the Google Maps API. Optional.
+    "name": "A String", # The name of this level.
+  },
+  "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges. Example of normalization code in Python: def NormalizeLongitude(longitude): """Wrapsdecimal degrees longitude to [-180.0, 180.0].""" q, r = divmod(longitude, 360.0) if r > 180.0 or (r == 180.0 and q <= -1.0): return r - 360.0 return r def NormalizeLatLng(latitude, longitude): """Wraps decimal degrees latitude and longitude to [-180.0, 180.0] and [-90.0, 90.0], respectively.""" r = latitude % 360.0 if r = 270.0: return r - 360, NormalizeLongitude(longitude) else: return 180 - r, NormalizeLongitude(longitude + 180.0) assert 180.0 == NormalizeLongitude(180.0) assert -180.0 == NormalizeLongitude(-180.0) assert -179.0 == NormalizeLongitude(181.0) assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0) assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0) assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0) assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0) assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0) assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0) # The location of the beacon, expressed as a latitude and longitude pair. This location is given when the beacon is registered or updated. It does not necessarily indicate the actual current location of the beacon. Optional.
+    "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+    "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+  },
+  "placeId": "A String", # The [Google Places API](/places/place-id) Place ID of the place where the beacon is deployed. This is given when the beacon is registered or updated, not automatically detected in any way. Optional.
+  "advertisedId": { # Defines a unique identifier of a beacon as broadcast by the device. # The identifier of a beacon as advertised by it. This field must be populated when registering. It may be empty when updating a beacon record because it is ignored in updates.
+    "type": "A String", # Specifies the identifier type. Required.
+    "id": "A String", # The actual beacon identifier, as broadcast by the beacon hardware. Must be [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP requests, and will be so encoded (with padding) in responses. The base64 encoding should be of the binary byte-stream and not any textual (such as hex) representation thereof. Required.
+  },
+  "beaconName": "A String", # Resource name of this beacon. A beacon name has the format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon. This field must be left empty when registering. After reading a beacon, clients can use the name for future operations.
+  "expectedStability": "A String", # Expected location stability. This is set when the beacon is registered or updated, not automatically detected in any way. Optional.
+  "properties": { # Properties of the beacon device, for example battery type or firmware version. Optional.
+    "a_key": "A String",
+  },
+}
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Details of a beacon device.
+    "status": "A String", # Current status of the beacon. Required.
+    "description": "A String", # Free text used to identify and describe the beacon. Maximum length 140 characters. Optional.
+    "indoorLevel": { # Indoor level, a human-readable string as returned by Google Maps APIs, useful to indicate which floor of a building a beacon is located on. # The indoor level information for this beacon, if known. As returned by the Google Maps API. Optional.
+      "name": "A String", # The name of this level.
+    },
+    "latLng": { # An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges. Example of normalization code in Python: def NormalizeLongitude(longitude): """Wrapsdecimal degrees longitude to [-180.0, 180.0].""" q, r = divmod(longitude, 360.0) if r > 180.0 or (r == 180.0 and q <= -1.0): return r - 360.0 return r def NormalizeLatLng(latitude, longitude): """Wraps decimal degrees latitude and longitude to [-180.0, 180.0] and [-90.0, 90.0], respectively.""" r = latitude % 360.0 if r = 270.0: return r - 360, NormalizeLongitude(longitude) else: return 180 - r, NormalizeLongitude(longitude + 180.0) assert 180.0 == NormalizeLongitude(180.0) assert -180.0 == NormalizeLongitude(-180.0) assert -179.0 == NormalizeLongitude(181.0) assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0) assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0) assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0) assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0) assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0) assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0) assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0) assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0) assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0) # The location of the beacon, expressed as a latitude and longitude pair. This location is given when the beacon is registered or updated. It does not necessarily indicate the actual current location of the beacon. Optional.
+      "latitude": 3.14, # The latitude in degrees. It must be in the range [-90.0, +90.0].
+      "longitude": 3.14, # The longitude in degrees. It must be in the range [-180.0, +180.0].
+    },
+    "placeId": "A String", # The [Google Places API](/places/place-id) Place ID of the place where the beacon is deployed. This is given when the beacon is registered or updated, not automatically detected in any way. Optional.
+    "advertisedId": { # Defines a unique identifier of a beacon as broadcast by the device. # The identifier of a beacon as advertised by it. This field must be populated when registering. It may be empty when updating a beacon record because it is ignored in updates.
+      "type": "A String", # Specifies the identifier type. Required.
+      "id": "A String", # The actual beacon identifier, as broadcast by the beacon hardware. Must be [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP requests, and will be so encoded (with padding) in responses. The base64 encoding should be of the binary byte-stream and not any textual (such as hex) representation thereof. Required.
+    },
+    "beaconName": "A String", # Resource name of this beacon. A beacon name has the format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by the beacon and N is a code for the beacon's type. Possible values are `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon. This field must be left empty when registering. After reading a beacon, clients can use the name for future operations.
+    "expectedStability": "A String", # Expected location stability. This is set when the beacon is registered or updated, not automatically detected in any way. Optional.
+    "properties": { # Properties of the beacon device, for example battery type or firmware version. Optional.
+      "a_key": "A String",
+    },
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/proximitybeacon_v1beta1.html b/docs/dyn/proximitybeacon_v1beta1.html new file mode 100644 index 00000000000..e874838137a --- /dev/null +++ b/docs/dyn/proximitybeacon_v1beta1.html @@ -0,0 +1,113 @@ + + + +

Google Proximity Beacon API

+

Instance Methods

+

+ beaconinfo() +

+

Returns the beaconinfo Resource.

+ +

+ beacons() +

+

Returns the beacons Resource.

+ +

+ namespaces() +

+

Returns the namespaces Resource.

+ +

+ new_batch_http_request()

+

Create a BatchHttpRequest object based on the discovery document.

+

Method Details

+
+ new_batch_http_request() +
Create a BatchHttpRequest object based on the discovery document.
+
+        Args:
+          callback: callable, A callback to be called for each response, of the
+            form callback(id, response, exception). The first parameter is the
+            request id, and the second is the deserialized response object. The
+            third is an apiclient.errors.HttpError exception object if an HTTP
+            error occurred while processing the request, or None if no error
+            occurred.
+
+        Returns:
+          A BatchHttpRequest object based on the discovery document.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/proximitybeacon_v1beta1.namespaces.html b/docs/dyn/proximitybeacon_v1beta1.namespaces.html new file mode 100644 index 00000000000..cdde87b825f --- /dev/null +++ b/docs/dyn/proximitybeacon_v1beta1.namespaces.html @@ -0,0 +1,101 @@ + + + +

Google Proximity Beacon API . namespaces

+

Instance Methods

+

+ list(x__xgafv=None)

+

Lists all attachment namespaces owned by your Google Developers Console project. Attachment data associated with a beacon must include a namespaced type, and the namespace must be owned by your project.

+

Method Details

+
+ list(x__xgafv=None) +
Lists all attachment namespaces owned by your Google Developers Console project. Attachment data associated with a beacon must include a namespaced type, and the namespace must be owned by your project.
+
+Args:
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response to ListNamespacesRequest that contains all the project's namespaces.
+    "namespaces": [ # The attachments that corresponded to the request params.
+      { # An attachment namespace defines read and write access for all the attachments created under it. Each namespace is globally unique, and owned by one project which is the only project that can create attachments under it.
+        "namespaceName": "A String", # Resource name of this namespace. Namespaces names have the format: namespaces/namespace.
+        "servingVisibility": "A String", # Specifies what clients may receive attachments under this namespace via `beaconinfo.getforobserved`.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/pubsub_v1.html b/docs/dyn/pubsub_v1.html new file mode 100644 index 00000000000..746e1b20b46 --- /dev/null +++ b/docs/dyn/pubsub_v1.html @@ -0,0 +1,103 @@ + + + +

Google Cloud Pub/Sub API

+

Instance Methods

+

+ projects() +

+

Returns the projects Resource.

+ +

+ new_batch_http_request()

+

Create a BatchHttpRequest object based on the discovery document.

+

Method Details

+
+ new_batch_http_request() +
Create a BatchHttpRequest object based on the discovery document.
+
+        Args:
+          callback: callable, A callback to be called for each response, of the
+            form callback(id, response, exception). The first parameter is the
+            request id, and the second is the deserialized response object. The
+            third is an apiclient.errors.HttpError exception object if an HTTP
+            error occurred while processing the request, or None if no error
+            occurred.
+
+        Returns:
+          A BatchHttpRequest object based on the discovery document.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/pubsub_v1.projects.html b/docs/dyn/pubsub_v1.projects.html new file mode 100644 index 00000000000..205ae0be6fe --- /dev/null +++ b/docs/dyn/pubsub_v1.projects.html @@ -0,0 +1,87 @@ + + + +

Google Cloud Pub/Sub API . projects

+

Instance Methods

+

+ subscriptions() +

+

Returns the subscriptions Resource.

+ +

+ topics() +

+

Returns the topics Resource.

+ + \ No newline at end of file diff --git a/docs/dyn/pubsub_v1.projects.subscriptions.html b/docs/dyn/pubsub_v1.projects.subscriptions.html new file mode 100644 index 00000000000..76d6de0a8ae --- /dev/null +++ b/docs/dyn/pubsub_v1.projects.subscriptions.html @@ -0,0 +1,443 @@ + + + +

Google Cloud Pub/Sub API . projects . subscriptions

+

Instance Methods

+

+ acknowledge(subscription, body, x__xgafv=None)

+

Acknowledges the messages associated with the ack tokens in the AcknowledgeRequest. The Pub/Sub system can remove the relevant messages from the subscription. Acknowledging a message whose ack deadline has expired may succeed, but such a message may be redelivered later. Acknowledging a message more than once will not result in an error.

+

+ create(name, body, x__xgafv=None)

+

Creates a subscription to a given topic for a given subscriber. If the subscription already exists, returns ALREADY_EXISTS. If the corresponding topic doesn't exist, returns NOT_FOUND. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic.

+

+ delete(subscription, x__xgafv=None)

+

Deletes an existing subscription. All pending messages in the subscription are immediately dropped. Calls to Pull after deletion will return NOT_FOUND. After a subscription is deleted, a new one may be created with the same name, but the new one has no association with the old subscription, or its topic unless the same topic is specified.

+

+ get(subscription, x__xgafv=None)

+

Gets the configuration details of a subscription.

+

+ getIamPolicy(resource, x__xgafv=None)

+

Gets the access control policy for a resource. Is empty if the policy or the resource does not exist.

+

+ list(project, pageSize=None, pageToken=None, x__xgafv=None)

+

Lists matching subscriptions.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ modifyAckDeadline(subscription, body, x__xgafv=None)

+

Modifies the ack deadline for a specific message. This method is useful to indicate that more time is needed to process a message by the subscriber, or to make the message available for redelivery if the processing was interrupted.

+

+ modifyPushConfig(subscription, body, x__xgafv=None)

+

Modifies the PushConfig for a specified subscription. This may be used to change a push subscription to a pull one (signified by an empty PushConfig) or vice versa, or change the endpoint URL and other attributes of a push subscription. Messages will accumulate for delivery continuously through the call regardless of changes to the PushConfig.

+

+ pull(subscription, body, x__xgafv=None)

+

Pulls messages from the server. Returns an empty list if there are no messages available in the backlog. The server may return UNAVAILABLE if there are too many concurrent pull requests pending for the given subscription.

+

+ setIamPolicy(resource, body, x__xgafv=None)

+

Sets the access control policy on the specified resource. Replaces any existing policy.

+

+ testIamPermissions(resource, body, x__xgafv=None)

+

Returns permissions that a caller has on the specified resource.

+

Method Details

+
+ acknowledge(subscription, body, x__xgafv=None) +
Acknowledges the messages associated with the ack tokens in the AcknowledgeRequest. The Pub/Sub system can remove the relevant messages from the subscription. Acknowledging a message whose ack deadline has expired may succeed, but such a message may be redelivered later. Acknowledging a message more than once will not result in an error.
+
+Args:
+  subscription: string, The subscription whose message is being acknowledged. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request for the Acknowledge method.
+    "ackIds": [ # The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the Pull response. Must not be empty.
+      "A String",
+    ],
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ create(name, body, x__xgafv=None) +
Creates a subscription to a given topic for a given subscriber. If the subscription already exists, returns ALREADY_EXISTS. If the corresponding topic doesn't exist, returns NOT_FOUND. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic.
+
+Args:
+  name: string, The name of the subscription. It must have the format `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A subscription resource.
+  "topic": "A String", # The name of the topic from which this subscription is receiving messages. The value of this field will be `_deleted-topic_` if the topic has been deleted.
+  "ackDeadlineSeconds": 42, # This value is the maximum time after a subscriber receives a message before the subscriber should acknowledge the message. After message delivery but before the ack deadline expires and before the message is acknowledged, it is an outstanding message and will not be delivered again during that time (on a best-effort basis). For pull delivery this value is used as the initial value for the ack deadline. To override this value for a given message, call ModifyAckDeadline with the corresponding ack_id. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message. If this parameter is not set, the default value of 10 seconds is used.
+  "pushConfig": { # Configuration for a push delivery endpoint. # If push delivery is used with this subscription, this field is used to configure it. An empty pushConfig signifies that the subscriber will pull and ack messages using API methods.
+    "attributes": { # Endpoint configuration attributes. Every endpoint has a set of API supported attributes that can be used to control different aspects of the message delivery. The currently supported attribute is `x-goog-version`, which you can use to change the format of the push message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the envelope (i.e. its fields and metadata). The endpoint version is based on the version of the Pub/Sub API. If not present during the CreateSubscription call, it will default to the version of the API used to make such call. If not present during a ModifyPushConfig call, its value will not be changed. GetSubscription calls will always return a valid version, even if the subscription was created without this attribute. The possible values for this attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.
+      "a_key": "A String",
+    },
+    "pushEndpoint": "A String", # A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use "https://example.com/push".
+  },
+  "name": "A String", # The name of the subscription. It must have the format `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`.
+}
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A subscription resource.
+    "topic": "A String", # The name of the topic from which this subscription is receiving messages. The value of this field will be `_deleted-topic_` if the topic has been deleted.
+    "ackDeadlineSeconds": 42, # This value is the maximum time after a subscriber receives a message before the subscriber should acknowledge the message. After message delivery but before the ack deadline expires and before the message is acknowledged, it is an outstanding message and will not be delivered again during that time (on a best-effort basis). For pull delivery this value is used as the initial value for the ack deadline. To override this value for a given message, call ModifyAckDeadline with the corresponding ack_id. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message. If this parameter is not set, the default value of 10 seconds is used.
+    "pushConfig": { # Configuration for a push delivery endpoint. # If push delivery is used with this subscription, this field is used to configure it. An empty pushConfig signifies that the subscriber will pull and ack messages using API methods.
+      "attributes": { # Endpoint configuration attributes. Every endpoint has a set of API supported attributes that can be used to control different aspects of the message delivery. The currently supported attribute is `x-goog-version`, which you can use to change the format of the push message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the envelope (i.e. its fields and metadata). The endpoint version is based on the version of the Pub/Sub API. If not present during the CreateSubscription call, it will default to the version of the API used to make such call. If not present during a ModifyPushConfig call, its value will not be changed. GetSubscription calls will always return a valid version, even if the subscription was created without this attribute. The possible values for this attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.
+        "a_key": "A String",
+      },
+      "pushEndpoint": "A String", # A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use "https://example.com/push".
+    },
+    "name": "A String", # The name of the subscription. It must have the format `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`.
+  }
+
+ +
+ delete(subscription, x__xgafv=None) +
Deletes an existing subscription. All pending messages in the subscription are immediately dropped. Calls to Pull after deletion will return NOT_FOUND. After a subscription is deleted, a new one may be created with the same name, but the new one has no association with the old subscription, or its topic unless the same topic is specified.
+
+Args:
+  subscription: string, The subscription to delete. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ get(subscription, x__xgafv=None) +
Gets the configuration details of a subscription.
+
+Args:
+  subscription: string, The name of the subscription to get. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A subscription resource.
+    "topic": "A String", # The name of the topic from which this subscription is receiving messages. The value of this field will be `_deleted-topic_` if the topic has been deleted.
+    "ackDeadlineSeconds": 42, # This value is the maximum time after a subscriber receives a message before the subscriber should acknowledge the message. After message delivery but before the ack deadline expires and before the message is acknowledged, it is an outstanding message and will not be delivered again during that time (on a best-effort basis). For pull delivery this value is used as the initial value for the ack deadline. To override this value for a given message, call ModifyAckDeadline with the corresponding ack_id. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message. If this parameter is not set, the default value of 10 seconds is used.
+    "pushConfig": { # Configuration for a push delivery endpoint. # If push delivery is used with this subscription, this field is used to configure it. An empty pushConfig signifies that the subscriber will pull and ack messages using API methods.
+      "attributes": { # Endpoint configuration attributes. Every endpoint has a set of API supported attributes that can be used to control different aspects of the message delivery. The currently supported attribute is `x-goog-version`, which you can use to change the format of the push message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the envelope (i.e. its fields and metadata). The endpoint version is based on the version of the Pub/Sub API. If not present during the CreateSubscription call, it will default to the version of the API used to make such call. If not present during a ModifyPushConfig call, its value will not be changed. GetSubscription calls will always return a valid version, even if the subscription was created without this attribute. The possible values for this attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.
+        "a_key": "A String",
+      },
+      "pushEndpoint": "A String", # A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use "https://example.com/push".
+    },
+    "name": "A String", # The name of the subscription. It must have the format `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`.
+  }
+
+ +
+ getIamPolicy(resource, x__xgafv=None) +
Gets the access control policy for a resource. Is empty if the policy or the resource does not exist.
+
+Args:
+  resource: string, REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, projects/{project}. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # # Overview The `Policy` defines an access control policy language. It is used to define policies that are attached to resources like files, folders, VMs, etc. # Policy structure A `Policy` consists of a list of bindings. A `Binding` binds a set of members to a role, where the members include user accounts, user groups, user domains, and service accounts. A 'role' is a named set of permissions, defined by IAM. The definition of a role is outside the policy. A permission check first determines the roles that include the specified permission, and then determines if the principal specified is a member of a binding to at least one of these roles. The membership check is recursive when a group is bound to a role. Policy examples: ``` { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:frontend@example.iam.gserviceaccounts.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] } ```
+    "bindings": [ # It is an error to specify multiple bindings for the same role. It is an error to specify a binding with no members.
+      { # Associates members with roles. See below for allowed formats of members.
+        "role": "A String", # The name of the role to which the members should be bound. Examples: "roles/viewer", "roles/editor", "roles/owner". Required
+        "members": [ # Format of member entries: 1. allUsers Matches any requesting principal (users, service accounts or anonymous). 2. allAuthenticatedUsers Matches any requesting authenticated principal (users or service accounts). 3. user:{emailid} A google user account using an email address. For example alice@gmail.com, joe@example.com 4. serviceAccount:{emailid} An service account email. 5. group:{emailid} A google group with an email address. For example auth-ti-cloud@google.com 6. domain:{domain} A Google Apps domain name. For example google.com, example.com
+          "A String",
+        ],
+      },
+    ],
+    "version": 42, # The policy language version. The version of the policy is represented by the etag. The default version is 0.
+    "etag": "A String", # Can be used to perform a read-modify-write.
+  }
+
+ +
+ list(project, pageSize=None, pageToken=None, x__xgafv=None) +
Lists matching subscriptions.
+
+Args:
+  project: string, The name of the cloud project that subscriptions belong to. (required)
+  pageSize: integer, Maximum number of subscriptions to return.
+  pageToken: string, The value returned by the last ListSubscriptionsResponse; indicates that this is a continuation of a prior ListSubscriptions call, and that the system should return the next page of data.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response for the ListSubscriptions method.
+    "nextPageToken": "A String", # If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new ListSubscriptionsRequest to get more subscriptions.
+    "subscriptions": [ # The subscriptions that match the request.
+      { # A subscription resource.
+        "topic": "A String", # The name of the topic from which this subscription is receiving messages. The value of this field will be `_deleted-topic_` if the topic has been deleted.
+        "ackDeadlineSeconds": 42, # This value is the maximum time after a subscriber receives a message before the subscriber should acknowledge the message. After message delivery but before the ack deadline expires and before the message is acknowledged, it is an outstanding message and will not be delivered again during that time (on a best-effort basis). For pull delivery this value is used as the initial value for the ack deadline. To override this value for a given message, call ModifyAckDeadline with the corresponding ack_id. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message. If this parameter is not set, the default value of 10 seconds is used.
+        "pushConfig": { # Configuration for a push delivery endpoint. # If push delivery is used with this subscription, this field is used to configure it. An empty pushConfig signifies that the subscriber will pull and ack messages using API methods.
+          "attributes": { # Endpoint configuration attributes. Every endpoint has a set of API supported attributes that can be used to control different aspects of the message delivery. The currently supported attribute is `x-goog-version`, which you can use to change the format of the push message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the envelope (i.e. its fields and metadata). The endpoint version is based on the version of the Pub/Sub API. If not present during the CreateSubscription call, it will default to the version of the API used to make such call. If not present during a ModifyPushConfig call, its value will not be changed. GetSubscription calls will always return a valid version, even if the subscription was created without this attribute. The possible values for this attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.
+            "a_key": "A String",
+          },
+          "pushEndpoint": "A String", # A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use "https://example.com/push".
+        },
+        "name": "A String", # The name of the subscription. It must have the format `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`.
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ modifyAckDeadline(subscription, body, x__xgafv=None) +
Modifies the ack deadline for a specific message. This method is useful to indicate that more time is needed to process a message by the subscriber, or to make the message available for redelivery if the processing was interrupted.
+
+Args:
+  subscription: string, The name of the subscription. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request for the ModifyAckDeadline method.
+    "ackDeadlineSeconds": 42, # The new ack deadline with respect to the time this request was sent to the Pub/Sub system. Must be >= 0. For example, if the value is 10, the new ack deadline will expire 10 seconds after the ModifyAckDeadline call was made. Specifying zero may immediately make the message available for another pull request.
+    "ackIds": [ # List of acknowledgment IDs.
+      "A String",
+    ],
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ modifyPushConfig(subscription, body, x__xgafv=None) +
Modifies the PushConfig for a specified subscription. This may be used to change a push subscription to a pull one (signified by an empty PushConfig) or vice versa, or change the endpoint URL and other attributes of a push subscription. Messages will accumulate for delivery continuously through the call regardless of changes to the PushConfig.
+
+Args:
+  subscription: string, The name of the subscription. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request for the ModifyPushConfig method.
+    "pushConfig": { # Configuration for a push delivery endpoint. # The push configuration for future deliveries. An empty pushConfig indicates that the Pub/Sub system should stop pushing messages from the given subscription and allow messages to be pulled and acknowledged - effectively pausing the subscription if Pull is not called.
+      "attributes": { # Endpoint configuration attributes. Every endpoint has a set of API supported attributes that can be used to control different aspects of the message delivery. The currently supported attribute is `x-goog-version`, which you can use to change the format of the push message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the envelope (i.e. its fields and metadata). The endpoint version is based on the version of the Pub/Sub API. If not present during the CreateSubscription call, it will default to the version of the API used to make such call. If not present during a ModifyPushConfig call, its value will not be changed. GetSubscription calls will always return a valid version, even if the subscription was created without this attribute. The possible values for this attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.
+        "a_key": "A String",
+      },
+      "pushEndpoint": "A String", # A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use "https://example.com/push".
+    },
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ pull(subscription, body, x__xgafv=None) +
Pulls messages from the server. Returns an empty list if there are no messages available in the backlog. The server may return UNAVAILABLE if there are too many concurrent pull requests pending for the given subscription.
+
+Args:
+  subscription: string, The subscription from which messages should be pulled. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request for the Pull method.
+    "returnImmediately": True or False, # If this is specified as true the system will respond immediately even if it is not able to return a message in the Pull response. Otherwise the system is allowed to wait until at least one message is available rather than returning no messages. The client may cancel the request if it does not wish to wait any longer for the response.
+    "maxMessages": 42, # The maximum number of messages returned for this request. The Pub/Sub system may return fewer than the number specified.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response for the Pull method.
+    "receivedMessages": [ # Received Pub/Sub messages. The Pub/Sub system will return zero messages if there are no more available in the backlog. The Pub/Sub system may return fewer than the maxMessages requested even if there are more messages available in the backlog.
+      { # A message and its corresponding acknowledgment ID.
+        "ackId": "A String", # This ID can be used to acknowledge the received message.
+        "message": { # A message data and its attributes. The message payload must not be empty; it must contain either a non-empty data field, or at least one attribute. # The message.
+          "attributes": { # Optional attributes for this message.
+            "a_key": "A String",
+          },
+          "data": "A String", # The message payload. For JSON requests, the value of this field must be base64-encoded.
+          "messageId": "A String", # ID of this message assigned by the server at publication time. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a PubsubMessage via a Pull call or a push delivery. It must not be populated by a publisher in a Publish call.
+        },
+      },
+    ],
+  }
+
+ +
+ setIamPolicy(resource, body, x__xgafv=None) +
Sets the access control policy on the specified resource. Replaces any existing policy.
+
+Args:
+  resource: string, REQUIRED: The resource for which policy is being specified. Resource is usually specified as a path, such as, projects/{project}/zones/{zone}/disks/{disk}. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request message for `SetIamPolicy` method.
+    "policy": { # # Overview The `Policy` defines an access control policy language. It is used to define policies that are attached to resources like files, folders, VMs, etc. # Policy structure A `Policy` consists of a list of bindings. A `Binding` binds a set of members to a role, where the members include user accounts, user groups, user domains, and service accounts. A 'role' is a named set of permissions, defined by IAM. The definition of a role is outside the policy. A permission check first determines the roles that include the specified permission, and then determines if the principal specified is a member of a binding to at least one of these roles. The membership check is recursive when a group is bound to a role. Policy examples: ``` { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:frontend@example.iam.gserviceaccounts.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] } ``` # REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.
+      "bindings": [ # It is an error to specify multiple bindings for the same role. It is an error to specify a binding with no members.
+        { # Associates members with roles. See below for allowed formats of members.
+          "role": "A String", # The name of the role to which the members should be bound. Examples: "roles/viewer", "roles/editor", "roles/owner". Required
+          "members": [ # Format of member entries: 1. allUsers Matches any requesting principal (users, service accounts or anonymous). 2. allAuthenticatedUsers Matches any requesting authenticated principal (users or service accounts). 3. user:{emailid} A google user account using an email address. For example alice@gmail.com, joe@example.com 4. serviceAccount:{emailid} An service account email. 5. group:{emailid} A google group with an email address. For example auth-ti-cloud@google.com 6. domain:{domain} A Google Apps domain name. For example google.com, example.com
+            "A String",
+          ],
+        },
+      ],
+      "version": 42, # The policy language version. The version of the policy is represented by the etag. The default version is 0.
+      "etag": "A String", # Can be used to perform a read-modify-write.
+    },
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # # Overview The `Policy` defines an access control policy language. It is used to define policies that are attached to resources like files, folders, VMs, etc. # Policy structure A `Policy` consists of a list of bindings. A `Binding` binds a set of members to a role, where the members include user accounts, user groups, user domains, and service accounts. A 'role' is a named set of permissions, defined by IAM. The definition of a role is outside the policy. A permission check first determines the roles that include the specified permission, and then determines if the principal specified is a member of a binding to at least one of these roles. The membership check is recursive when a group is bound to a role. Policy examples: ``` { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:frontend@example.iam.gserviceaccounts.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] } ```
+    "bindings": [ # It is an error to specify multiple bindings for the same role. It is an error to specify a binding with no members.
+      { # Associates members with roles. See below for allowed formats of members.
+        "role": "A String", # The name of the role to which the members should be bound. Examples: "roles/viewer", "roles/editor", "roles/owner". Required
+        "members": [ # Format of member entries: 1. allUsers Matches any requesting principal (users, service accounts or anonymous). 2. allAuthenticatedUsers Matches any requesting authenticated principal (users or service accounts). 3. user:{emailid} A google user account using an email address. For example alice@gmail.com, joe@example.com 4. serviceAccount:{emailid} An service account email. 5. group:{emailid} A google group with an email address. For example auth-ti-cloud@google.com 6. domain:{domain} A Google Apps domain name. For example google.com, example.com
+          "A String",
+        ],
+      },
+    ],
+    "version": 42, # The policy language version. The version of the policy is represented by the etag. The default version is 0.
+    "etag": "A String", # Can be used to perform a read-modify-write.
+  }
+
+ +
+ testIamPermissions(resource, body, x__xgafv=None) +
Returns permissions that a caller has on the specified resource.
+
+Args:
+  resource: string, REQUIRED: The resource for which policy detail is being requested. Resource is usually specified as a path, such as, projects/{project}. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request message for `TestIamPermissions` method.
+    "permissions": [ # The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
+      "A String",
+    ],
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response message for `TestIamPermissions` method.
+    "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
+      "A String",
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/pubsub_v1.projects.topics.html b/docs/dyn/pubsub_v1.projects.topics.html new file mode 100644 index 00000000000..c37f44ec340 --- /dev/null +++ b/docs/dyn/pubsub_v1.projects.topics.html @@ -0,0 +1,329 @@ + + + +

Google Cloud Pub/Sub API . projects . topics

+

Instance Methods

+

+ subscriptions() +

+

Returns the subscriptions Resource.

+ +

+ create(name, body, x__xgafv=None)

+

Creates the given topic with the given name.

+

+ delete(topic, x__xgafv=None)

+

Deletes the topic with the given name. Returns NOT_FOUND if the topic does not exist. After a topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but their `topic` field is set to `_deleted-topic_`.

+

+ get(topic, x__xgafv=None)

+

Gets the configuration of a topic.

+

+ getIamPolicy(resource, x__xgafv=None)

+

Gets the access control policy for a resource. Is empty if the policy or the resource does not exist.

+

+ list(project, pageSize=None, pageToken=None, x__xgafv=None)

+

Lists matching topics.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ publish(topic, body, x__xgafv=None)

+

Adds one or more messages to the topic. Returns NOT_FOUND if the topic does not exist. The message payload must not be empty; it must contain either a non-empty data field, or at least one attribute.

+

+ setIamPolicy(resource, body, x__xgafv=None)

+

Sets the access control policy on the specified resource. Replaces any existing policy.

+

+ testIamPermissions(resource, body, x__xgafv=None)

+

Returns permissions that a caller has on the specified resource.

+

Method Details

+
+ create(name, body, x__xgafv=None) +
Creates the given topic with the given name.
+
+Args:
+  name: string, The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # A topic resource.
+  "name": "A String", # The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`.
+}
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A topic resource.
+    "name": "A String", # The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`.
+  }
+
+ +
+ delete(topic, x__xgafv=None) +
Deletes the topic with the given name. Returns NOT_FOUND if the topic does not exist. After a topic is deleted, a new topic may be created with the same name; this is an entirely new topic with none of the old configuration or subscriptions. Existing subscriptions to this topic are not deleted, but their `topic` field is set to `_deleted-topic_`.
+
+Args:
+  topic: string, Name of the topic to delete. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ get(topic, x__xgafv=None) +
Gets the configuration of a topic.
+
+Args:
+  topic: string, The name of the topic to get. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A topic resource.
+    "name": "A String", # The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`.
+  }
+
+ +
+ getIamPolicy(resource, x__xgafv=None) +
Gets the access control policy for a resource. Is empty if the policy or the resource does not exist.
+
+Args:
+  resource: string, REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, projects/{project}. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # # Overview The `Policy` defines an access control policy language. It is used to define policies that are attached to resources like files, folders, VMs, etc. # Policy structure A `Policy` consists of a list of bindings. A `Binding` binds a set of members to a role, where the members include user accounts, user groups, user domains, and service accounts. A 'role' is a named set of permissions, defined by IAM. The definition of a role is outside the policy. A permission check first determines the roles that include the specified permission, and then determines if the principal specified is a member of a binding to at least one of these roles. The membership check is recursive when a group is bound to a role. Policy examples: ``` { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:frontend@example.iam.gserviceaccounts.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] } ```
+    "bindings": [ # It is an error to specify multiple bindings for the same role. It is an error to specify a binding with no members.
+      { # Associates members with roles. See below for allowed formats of members.
+        "role": "A String", # The name of the role to which the members should be bound. Examples: "roles/viewer", "roles/editor", "roles/owner". Required
+        "members": [ # Format of member entries: 1. allUsers Matches any requesting principal (users, service accounts or anonymous). 2. allAuthenticatedUsers Matches any requesting authenticated principal (users or service accounts). 3. user:{emailid} A google user account using an email address. For example alice@gmail.com, joe@example.com 4. serviceAccount:{emailid} An service account email. 5. group:{emailid} A google group with an email address. For example auth-ti-cloud@google.com 6. domain:{domain} A Google Apps domain name. For example google.com, example.com
+          "A String",
+        ],
+      },
+    ],
+    "version": 42, # The policy language version. The version of the policy is represented by the etag. The default version is 0.
+    "etag": "A String", # Can be used to perform a read-modify-write.
+  }
+
+ +
+ list(project, pageSize=None, pageToken=None, x__xgafv=None) +
Lists matching topics.
+
+Args:
+  project: string, The name of the cloud project that topics belong to. (required)
+  pageSize: integer, Maximum number of topics to return.
+  pageToken: string, The value returned by the last ListTopicsResponse; indicates that this is a continuation of a prior ListTopics call, and that the system should return the next page of data.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response for the ListTopics method.
+    "nextPageToken": "A String", # If not empty, indicates that there may be more topics that match the request; this value should be passed in a new ListTopicsRequest.
+    "topics": [ # The resulting topics.
+      { # A topic resource.
+        "name": "A String", # The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with `"goog"`.
+      },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ publish(topic, body, x__xgafv=None) +
Adds one or more messages to the topic. Returns NOT_FOUND if the topic does not exist. The message payload must not be empty; it must contain either a non-empty data field, or at least one attribute.
+
+Args:
+  topic: string, The messages in the request will be published on this topic. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request for the Publish method.
+    "messages": [ # The messages to publish.
+      { # A message data and its attributes. The message payload must not be empty; it must contain either a non-empty data field, or at least one attribute.
+        "attributes": { # Optional attributes for this message.
+          "a_key": "A String",
+        },
+        "data": "A String", # The message payload. For JSON requests, the value of this field must be base64-encoded.
+        "messageId": "A String", # ID of this message assigned by the server at publication time. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a PubsubMessage via a Pull call or a push delivery. It must not be populated by a publisher in a Publish call.
+      },
+    ],
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response for the Publish method.
+    "messageIds": [ # The server-assigned ID of each published message, in the same order as the messages in the request. IDs are guaranteed to be unique within the topic.
+      "A String",
+    ],
+  }
+
+ +
+ setIamPolicy(resource, body, x__xgafv=None) +
Sets the access control policy on the specified resource. Replaces any existing policy.
+
+Args:
+  resource: string, REQUIRED: The resource for which policy is being specified. Resource is usually specified as a path, such as, projects/{project}/zones/{zone}/disks/{disk}. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request message for `SetIamPolicy` method.
+    "policy": { # # Overview The `Policy` defines an access control policy language. It is used to define policies that are attached to resources like files, folders, VMs, etc. # Policy structure A `Policy` consists of a list of bindings. A `Binding` binds a set of members to a role, where the members include user accounts, user groups, user domains, and service accounts. A 'role' is a named set of permissions, defined by IAM. The definition of a role is outside the policy. A permission check first determines the roles that include the specified permission, and then determines if the principal specified is a member of a binding to at least one of these roles. The membership check is recursive when a group is bound to a role. Policy examples: ``` { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:frontend@example.iam.gserviceaccounts.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] } ``` # REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.
+      "bindings": [ # It is an error to specify multiple bindings for the same role. It is an error to specify a binding with no members.
+        { # Associates members with roles. See below for allowed formats of members.
+          "role": "A String", # The name of the role to which the members should be bound. Examples: "roles/viewer", "roles/editor", "roles/owner". Required
+          "members": [ # Format of member entries: 1. allUsers Matches any requesting principal (users, service accounts or anonymous). 2. allAuthenticatedUsers Matches any requesting authenticated principal (users or service accounts). 3. user:{emailid} A google user account using an email address. For example alice@gmail.com, joe@example.com 4. serviceAccount:{emailid} An service account email. 5. group:{emailid} A google group with an email address. For example auth-ti-cloud@google.com 6. domain:{domain} A Google Apps domain name. For example google.com, example.com
+            "A String",
+          ],
+        },
+      ],
+      "version": 42, # The policy language version. The version of the policy is represented by the etag. The default version is 0.
+      "etag": "A String", # Can be used to perform a read-modify-write.
+    },
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # # Overview The `Policy` defines an access control policy language. It is used to define policies that are attached to resources like files, folders, VMs, etc. # Policy structure A `Policy` consists of a list of bindings. A `Binding` binds a set of members to a role, where the members include user accounts, user groups, user domains, and service accounts. A 'role' is a named set of permissions, defined by IAM. The definition of a role is outside the policy. A permission check first determines the roles that include the specified permission, and then determines if the principal specified is a member of a binding to at least one of these roles. The membership check is recursive when a group is bound to a role. Policy examples: ``` { "bindings": [ { "role": "roles/owner", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:frontend@example.iam.gserviceaccounts.com"] }, { "role": "roles/viewer", "members": ["user:sean@example.com"] } ] } ```
+    "bindings": [ # It is an error to specify multiple bindings for the same role. It is an error to specify a binding with no members.
+      { # Associates members with roles. See below for allowed formats of members.
+        "role": "A String", # The name of the role to which the members should be bound. Examples: "roles/viewer", "roles/editor", "roles/owner". Required
+        "members": [ # Format of member entries: 1. allUsers Matches any requesting principal (users, service accounts or anonymous). 2. allAuthenticatedUsers Matches any requesting authenticated principal (users or service accounts). 3. user:{emailid} A google user account using an email address. For example alice@gmail.com, joe@example.com 4. serviceAccount:{emailid} An service account email. 5. group:{emailid} A google group with an email address. For example auth-ti-cloud@google.com 6. domain:{domain} A Google Apps domain name. For example google.com, example.com
+          "A String",
+        ],
+      },
+    ],
+    "version": 42, # The policy language version. The version of the policy is represented by the etag. The default version is 0.
+    "etag": "A String", # Can be used to perform a read-modify-write.
+  }
+
+ +
+ testIamPermissions(resource, body, x__xgafv=None) +
Returns permissions that a caller has on the specified resource.
+
+Args:
+  resource: string, REQUIRED: The resource for which policy detail is being requested. Resource is usually specified as a path, such as, projects/{project}. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request message for `TestIamPermissions` method.
+    "permissions": [ # The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
+      "A String",
+    ],
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response message for `TestIamPermissions` method.
+    "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
+      "A String",
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/pubsub_v1.projects.topics.subscriptions.html b/docs/dyn/pubsub_v1.projects.topics.subscriptions.html new file mode 100644 index 00000000000..8d8df4648b2 --- /dev/null +++ b/docs/dyn/pubsub_v1.projects.topics.subscriptions.html @@ -0,0 +1,119 @@ + + + +

Google Cloud Pub/Sub API . projects . topics . subscriptions

+

Instance Methods

+

+ list(topic, pageSize=None, pageToken=None, x__xgafv=None)

+

Lists the name of the subscriptions for this topic.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

Method Details

+
+ list(topic, pageSize=None, pageToken=None, x__xgafv=None) +
Lists the name of the subscriptions for this topic.
+
+Args:
+  topic: string, The name of the topic that subscriptions are attached to. (required)
+  pageSize: integer, Maximum number of subscription names to return.
+  pageToken: string, The value returned by the last ListTopicSubscriptionsResponse; indicates that this is a continuation of a prior ListTopicSubscriptions call, and that the system should return the next page of data.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response for the ListTopicSubscriptions method.
+    "nextPageToken": "A String", # If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new ListTopicSubscriptionsRequest to get more subscriptions.
+    "subscriptions": [ # The names of the subscriptions that match the request.
+      "A String",
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ + \ No newline at end of file diff --git a/docs/dyn/pubsub_v1beta1.subscriptions.html b/docs/dyn/pubsub_v1beta1.subscriptions.html index 929a0c63392..0a0a56fb28b 100644 --- a/docs/dyn/pubsub_v1beta1.subscriptions.html +++ b/docs/dyn/pubsub_v1beta1.subscriptions.html @@ -254,7 +254,7 @@

Method Details

"ackDeadlineSeconds": 42, # The new ack deadline with respect to the time this request was sent to the Pub/Sub system. Must be >= 0. For example, if the value is 10, the new ack deadline will expire 10 seconds after the ModifyAckDeadline call was made. Specifying zero may immediately make the message available for another pull request. "ackId": "A String", # The acknowledgment ID. Either this or ack_ids must be populated, not both. "subscription": "A String", # Next Index: 5 The name of the subscription from which messages are being pulled. - "ackIds": [ # List of acknowledgment IDs. Either this field or ack_id should be populated, not both. TODO(handrei): mark the above field deprecated once it's not used internally. + "ackIds": [ # List of acknowledgment IDs. Either this field or ack_id should be populated, not both. "A String", ], } diff --git a/docs/dyn/replicapool_v1beta2.instanceGroupManagers.html b/docs/dyn/replicapool_v1beta2.instanceGroupManagers.html index 54a9d8d1d90..8c8bcb19e53 100644 --- a/docs/dyn/replicapool_v1beta2.instanceGroupManagers.html +++ b/docs/dyn/replicapool_v1beta2.instanceGroupManagers.html @@ -319,6 +319,7 @@

Method Details

"autoHealingPolicies": [ # The autohealing policy for this managed instance group. You can specify only one value. { "healthCheck": "A String", # The URL for the HealthCheck that signals autohealing. + "actionType": "A String", # The action to perform when an instance becomes unhealthy. Possible values are RECREATE or REBOOT. RECREATE replaces an unhealthy instance with a new instance that is based on the instance template for this managed instance group. REBOOT performs a soft reboot on an instance. If the instance cannot reboot, the instance performs a hard restart. }, ], "targetPools": [ # The full URL of all target pools to which new instances in the group are added. Updating the target pool values does not affect existing instances. @@ -354,6 +355,7 @@

Method Details

"autoHealingPolicies": [ # The autohealing policy for this managed instance group. You can specify only one value. { "healthCheck": "A String", # The URL for the HealthCheck that signals autohealing. + "actionType": "A String", # The action to perform when an instance becomes unhealthy. Possible values are RECREATE or REBOOT. RECREATE replaces an unhealthy instance with a new instance that is based on the instance template for this managed instance group. REBOOT performs a soft reboot on an instance. If the instance cannot reboot, the instance performs a hard restart. }, ], "targetPools": [ # The full URL of all target pools to which new instances in the group are added. Updating the target pool values does not affect existing instances. @@ -443,6 +445,7 @@

Method Details

"autoHealingPolicies": [ # The autohealing policy for this managed instance group. You can specify only one value. { "healthCheck": "A String", # The URL for the HealthCheck that signals autohealing. + "actionType": "A String", # The action to perform when an instance becomes unhealthy. Possible values are RECREATE or REBOOT. RECREATE replaces an unhealthy instance with a new instance that is based on the instance template for this managed instance group. REBOOT performs a soft reboot on an instance. If the instance cannot reboot, the instance performs a hard restart. }, ], "targetPools": [ # The full URL of all target pools to which new instances in the group are added. Updating the target pool values does not affect existing instances. diff --git a/docs/dyn/replicapoolupdater_v1beta1.rollingUpdates.html b/docs/dyn/replicapoolupdater_v1beta1.rollingUpdates.html index b3abcbee125..31b4ced40da 100644 --- a/docs/dyn/replicapoolupdater_v1beta1.rollingUpdates.html +++ b/docs/dyn/replicapoolupdater_v1beta1.rollingUpdates.html @@ -84,7 +84,7 @@

Instance Methods

insert(project, zone, body)

Inserts and starts a new update.

- list(project, zone, maxResults=None, pageToken=None, instanceGroupManager=None, filter=None)

+ list(project, zone, maxResults=None, pageToken=None, filter=None)

Lists recent updates for a given managed instance group, in reverse chronological order and paginated format.

listInstanceUpdates(project, zone, rollingUpdate, maxResults=None, pageToken=None, filter=None)

@@ -144,7 +144,7 @@

Method Details

], "user": "A String", "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC 3339 format. - "kind": "replicapoolupdater#operation", # [Output Only] Type of the resource. Always kind#operation for Operation resources. + "kind": "replicapoolupdater#operation", # [Output Only] Type of the resource. Always replicapoolupdater#operation for Operation resources. "name": "A String", # [Output Only] Name of the resource. "region": "A String", # [Output Only] URL of the region where the operation resides. "error": { # [Output Only] If errors occurred during processing of this operation, this field will be populated. @@ -206,6 +206,7 @@

Method Details

"maxNumFailedInstances": 42, # The maximum number of instance updates that can fail before the group update is considered a failure. An instance update is considered failed if any of its update actions (e.g. Stop call on Instance resource in Rolling Reboot) failed with permanent failure, or if the instance is in an UNHEALTHY state after it finishes all of the update actions. }, "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the update will be complete. This number should be monotonically increasing as the update progresses. + "oldInstanceTemplate": "A String", # Fully-qualified URL of the instance template encountered while starting the update. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "selfLink": "A String", # [Output Only] The fully qualified URL for the resource. @@ -255,6 +256,7 @@

Method Details

"maxNumFailedInstances": 42, # The maximum number of instance updates that can fail before the group update is considered a failure. An instance update is considered failed if any of its update actions (e.g. Stop call on Instance resource in Rolling Reboot) failed with permanent failure, or if the instance is in an UNHEALTHY state after it finishes all of the update actions. }, "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the update will be complete. This number should be monotonically increasing as the update progresses. + "oldInstanceTemplate": "A String", # Fully-qualified URL of the instance template encountered while starting the update. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "selfLink": "A String", # [Output Only] The fully qualified URL for the resource. @@ -292,7 +294,7 @@

Method Details

], "user": "A String", "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC 3339 format. - "kind": "replicapoolupdater#operation", # [Output Only] Type of the resource. Always kind#operation for Operation resources. + "kind": "replicapoolupdater#operation", # [Output Only] Type of the resource. Always replicapoolupdater#operation for Operation resources. "name": "A String", # [Output Only] Name of the resource. "region": "A String", # [Output Only] URL of the region where the operation resides. "error": { # [Output Only] If errors occurred during processing of this operation, this field will be populated. @@ -311,7 +313,7 @@

Method Details

- list(project, zone, maxResults=None, pageToken=None, instanceGroupManager=None, filter=None) + list(project, zone, maxResults=None, pageToken=None, filter=None)
Lists recent updates for a given managed instance group, in reverse chronological order and paginated format.
 
 Args:
@@ -319,7 +321,6 @@ 

Method Details

zone: string, The name of the zone in which the update's target resides. (required) maxResults: integer, Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 500. pageToken: string, Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. - instanceGroupManager: string, The name of the instance group manager. Use this parameter to return only updates to instances that are part of a specific instance group. filter: string, Optional. Filter expression for filtering listed resources. Returns: @@ -360,6 +361,7 @@

Method Details

"maxNumFailedInstances": 42, # The maximum number of instance updates that can fail before the group update is considered a failure. An instance update is considered failed if any of its update actions (e.g. Stop call on Instance resource in Rolling Reboot) failed with permanent failure, or if the instance is in an UNHEALTHY state after it finishes all of the update actions. }, "progress": 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the update will be complete. This number should be monotonically increasing as the update progresses. + "oldInstanceTemplate": "A String", # Fully-qualified URL of the instance template encountered while starting the update. "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format. "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server. "selfLink": "A String", # [Output Only] The fully qualified URL for the resource. @@ -398,7 +400,7 @@

Method Details

# - "ROLLED_OUT": The instance update is finished, the instance is running the new template. # - "ROLLED_BACK": The instance update is finished, the instance has been reverted to the previous template. # - "CANCELLED": The instance update is paused and no longer can be resumed, undefined in which template the instance is running. - "instance": "A String", # URL of the instance being updated. + "instance": "A String", # Fully-qualified URL of the instance being updated. "error": { # Errors that occurred during the instance update. "errors": [ # [Output Only] The array of errors encountered while processing this operation. { @@ -482,7 +484,7 @@

Method Details

], "user": "A String", "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC 3339 format. - "kind": "replicapoolupdater#operation", # [Output Only] Type of the resource. Always kind#operation for Operation resources. + "kind": "replicapoolupdater#operation", # [Output Only] Type of the resource. Always replicapoolupdater#operation for Operation resources. "name": "A String", # [Output Only] Name of the resource. "region": "A String", # [Output Only] URL of the region where the operation resides. "error": { # [Output Only] If errors occurred during processing of this operation, this field will be populated. @@ -539,7 +541,7 @@

Method Details

], "user": "A String", "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC 3339 format. - "kind": "replicapoolupdater#operation", # [Output Only] Type of the resource. Always kind#operation for Operation resources. + "kind": "replicapoolupdater#operation", # [Output Only] Type of the resource. Always replicapoolupdater#operation for Operation resources. "name": "A String", # [Output Only] Name of the resource. "region": "A String", # [Output Only] URL of the region where the operation resides. "error": { # [Output Only] If errors occurred during processing of this operation, this field will be populated. @@ -596,7 +598,7 @@

Method Details

], "user": "A String", "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC 3339 format. - "kind": "replicapoolupdater#operation", # [Output Only] Type of the resource. Always kind#operation for Operation resources. + "kind": "replicapoolupdater#operation", # [Output Only] Type of the resource. Always replicapoolupdater#operation for Operation resources. "name": "A String", # [Output Only] Name of the resource. "region": "A String", # [Output Only] URL of the region where the operation resides. "error": { # [Output Only] If errors occurred during processing of this operation, this field will be populated. diff --git a/docs/dyn/replicapoolupdater_v1beta1.zoneOperations.html b/docs/dyn/replicapoolupdater_v1beta1.zoneOperations.html index 2a5be5bf765..82b17ad8831 100644 --- a/docs/dyn/replicapoolupdater_v1beta1.zoneOperations.html +++ b/docs/dyn/replicapoolupdater_v1beta1.zoneOperations.html @@ -77,6 +77,12 @@

Instance Methods

get(project, zone, operation)

Retrieves the specified zone-specific operation resource.

+

+ list(project, zone, maxResults=None, pageToken=None, filter=None)

+

Retrieves the list of Operation resources contained within the specified zone.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

Method Details

get(project, zone, operation) @@ -117,7 +123,7 @@

Method Details

], "user": "A String", "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC 3339 format. - "kind": "replicapoolupdater#operation", # [Output Only] Type of the resource. Always kind#operation for Operation resources. + "kind": "replicapoolupdater#operation", # [Output Only] Type of the resource. Always replicapoolupdater#operation for Operation resources. "name": "A String", # [Output Only] Name of the resource. "region": "A String", # [Output Only] URL of the region where the operation resides. "error": { # [Output Only] If errors occurred during processing of this operation, this field will be populated. @@ -135,4 +141,85 @@

Method Details

}
+
+ list(project, zone, maxResults=None, pageToken=None, filter=None) +
Retrieves the list of Operation resources contained within the specified zone.
+
+Args:
+  project: string, Name of the project scoping this request. (required)
+  zone: string, Name of the zone scoping this request. (required)
+  maxResults: integer, Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 500.
+  pageToken: string, Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request.
+  filter: string, Optional. Filter expression for filtering listed resources.
+
+Returns:
+  An object of the form:
+
+    { # Contains a list of Operation resources.
+    "nextPageToken": "A String", # [Output Only] A token used to continue a truncate.
+    "items": [ # [Output Only] The Operation resources.
+      { # An operation resource, used to manage asynchronous API requests.
+        "targetId": "A String", # [Output Only] Unique target id which identifies a particular incarnation of the target.
+        "clientOperationId": "A String",
+        "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
+        "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+        "zone": "A String", # [Output Only] URL of the zone where the operation resides.
+        "operationType": "A String",
+        "httpErrorMessage": "A String",
+        "progress": 42,
+        "httpErrorStatusCode": 42,
+        "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
+        "status": "A String", # [Output Only] Status of the operation. Can be one of the following: "PENDING", "RUNNING", or "DONE".
+        "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC 3339 format.
+        "warnings": [
+          {
+            "message": "A String", # [Output only] Optional human-readable details for this warning.
+            "code": "A String", # [Output only] The warning type identifier for this warning.
+            "data": [ # [Output only] Metadata for this warning in key:value format.
+              {
+                "value": "A String", # [Output Only] Metadata value for this warning.
+                "key": "A String", # [Output Only] Metadata key for this warning.
+              },
+            ],
+          },
+        ],
+        "user": "A String",
+        "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC 3339 format.
+        "kind": "replicapoolupdater#operation", # [Output Only] Type of the resource. Always replicapoolupdater#operation for Operation resources.
+        "name": "A String", # [Output Only] Name of the resource.
+        "region": "A String", # [Output Only] URL of the region where the operation resides.
+        "error": { # [Output Only] If errors occurred during processing of this operation, this field will be populated.
+          "errors": [ # [Output Only] The array of errors encountered while processing this operation.
+            {
+              "message": "A String", # [Output Only] An optional, human-readable error message.
+              "code": "A String", # [Output Only] The error type identifier for this error.
+              "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
+            },
+          ],
+        },
+        "endTime": "A String",
+        "selfLink": "A String", # [Output Only] Server defined URL for the resource.
+        "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
+      },
+    ],
+    "kind": "replicapoolupdater#operationList", # [Output Only] Type of resource. Always replicapoolupdater#operations for Operations resource.
+    "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
+    "selfLink": "A String", # [Output Only] Server-defined URL for this resource.
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ \ No newline at end of file diff --git a/docs/dyn/sqladmin_v1beta4.backupRuns.html b/docs/dyn/sqladmin_v1beta4.backupRuns.html index 38b6784741a..fe2536382db 100644 --- a/docs/dyn/sqladmin_v1beta4.backupRuns.html +++ b/docs/dyn/sqladmin_v1beta4.backupRuns.html @@ -74,6 +74,9 @@

Cloud SQL Administration API . backupRuns

Instance Methods

+

+ delete(project, instance, id)

+

Deletes the backup taken by a backup run.

get(project, instance, id)

Retrieves a resource containing information about a backup run.

@@ -84,6 +87,77 @@

Instance Methods

list_next(previous_request, previous_response)

Retrieves the next page of results.

Method Details

+
+ delete(project, instance, id) +
Deletes the backup taken by a backup run.
+
+Args:
+  project: string, Project ID of the project that contains the instance. (required)
+  instance: string, Cloud SQL instance ID. This does not include the project ID. (required)
+  id: string, The ID of the Backup Run to delete. (required)
+
+Returns:
+  An object of the form:
+
+    { # An Operations resource contains information about database instance operations such as create, delete, and restart. Operations resources are created in response to operations that were initiated; you never create them directly.
+    "status": "A String", # The status of an operation. Valid values are PENDING, RUNNING, DONE, UNKNOWN.
+    "importContext": { # Database instance import context. # The context for import operation, if applicable.
+      "fileType": "A String", # The file type for the specified uri.
+          # SQL: The file contains SQL statements.
+          # CSV: The file contains CSV data.
+      "database": "A String", # The database (for example, guestbook) to which the import is made. If fileType is SQL and no database is specified, it is assumed that the database is specified in the file to be imported. If fileType is CSV, it must be specified.
+      "kind": "sql#importContext", # This is always sql#importContext.
+      "uri": "A String", # A path to the file in Google Cloud Storage from which the import is made. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are supported when fileType is SQL.
+      "csvImportOptions": { # Options for importing data as CSV.
+        "table": "A String", # The table to which CSV data is imported.
+        "columns": [ # The columns to which CSV data is imported. If not specified, all columns of the database table are loaded with CSV data.
+          "A String",
+        ],
+      },
+    },
+    "kind": "sql#operation", # This is always sql#operation.
+    "name": "A String", # An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.
+    "exportContext": { # Database instance export context. # The context for export operation, if applicable.
+      "kind": "sql#exportContext", # This is always sql#exportContext.
+      "fileType": "A String", # The file type for the specified uri.
+          # SQL: The file contains SQL statements.
+          # CSV: The file contains CSV data.
+      "uri": "A String", # The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form gs://bucketName/fileName. If the file already exists, the operation fails. If fileType is SQL and the filename ends with .gz, the contents are compressed.
+      "csvExportOptions": { # Options for exporting data as CSV.
+        "selectQuery": "A String", # The select query used to extract the data.
+      },
+      "databases": [ # Databases (for example, guestbook) from which the export is made. If fileType is SQL and no database is specified, all databases are exported. If fileType is CSV, you can optionally specify at most one database to export. If csvExportOptions.selectQuery also specifies the database, this field will be ignored.
+        "A String",
+      ],
+      "sqlExportOptions": { # Options for exporting data as SQL statements.
+        "tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database.
+          "A String",
+        ],
+        "schemaOnly": True or False, # Export only schema.
+      },
+    },
+    "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
+    "targetProject": "A String", # The project ID of the target instance related to this operation.
+    "targetId": "A String", # Name of the database instance related to this operation.
+    "operationType": "A String", # The type of the operation. Valid values are CREATE, DELETE, UPDATE, RESTART, IMPORT, EXPORT, BACKUP_VOLUME, RESTORE_VOLUME, CREATE_USER, DELETE_USER, CREATE_DATABASE, DELETE_DATABASE .
+    "targetLink": "A String", # The URI of the instance related to the operation.
+    "insertTime": "A String", # The time this operation was enqueued in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
+    "error": { # Database instance operation errors list wrapper. # If errors occurred during processing of this operation, this field will be populated.
+      "kind": "sql#operationErrors", # This is always sql#operationErrors.
+      "errors": [ # The list of errors encountered while processing this operation.
+        { # Database instance operation error.
+          "kind": "sql#operationError", # This is always sql#operationError.
+          "code": "A String", # Identifies the specific error that occurred.
+          "message": "A String", # Additional information about the error encountered.
+        },
+      ],
+    },
+    "endTime": "A String", # The time this operation finished in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
+    "selfLink": "A String", # The URI of this resource.
+    "user": "A String", # The email address of the user who initiated this operation.
+  }
+
+
get(project, instance, id)
Retrieves a resource containing information about a backup run.
diff --git a/docs/dyn/sqladmin_v1beta4.databases.html b/docs/dyn/sqladmin_v1beta4.databases.html
index 432681a50bc..c16379cab59 100644
--- a/docs/dyn/sqladmin_v1beta4.databases.html
+++ b/docs/dyn/sqladmin_v1beta4.databases.html
@@ -139,6 +139,7 @@ 

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. @@ -246,6 +247,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. @@ -358,6 +360,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. @@ -442,6 +445,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. diff --git a/docs/dyn/sqladmin_v1beta4.instances.html b/docs/dyn/sqladmin_v1beta4.instances.html index 734af624909..68c71fad31d 100644 --- a/docs/dyn/sqladmin_v1beta4.instances.html +++ b/docs/dyn/sqladmin_v1beta4.instances.html @@ -183,6 +183,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. @@ -252,6 +253,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. @@ -303,6 +305,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, } @@ -345,6 +348,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. @@ -557,6 +561,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. @@ -739,6 +744,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. @@ -1066,6 +1072,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. @@ -1135,6 +1142,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. @@ -1204,6 +1212,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. @@ -1273,6 +1282,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. @@ -1353,6 +1363,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. @@ -1422,6 +1433,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. @@ -1491,6 +1503,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. @@ -1674,6 +1687,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. diff --git a/docs/dyn/sqladmin_v1beta4.operations.html b/docs/dyn/sqladmin_v1beta4.operations.html index 9b0d89a24fb..fbda87fecb6 100644 --- a/docs/dyn/sqladmin_v1beta4.operations.html +++ b/docs/dyn/sqladmin_v1beta4.operations.html @@ -129,6 +129,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. @@ -203,6 +204,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. diff --git a/docs/dyn/sqladmin_v1beta4.sslCerts.html b/docs/dyn/sqladmin_v1beta4.sslCerts.html index 58e35a27ed0..36d24dc1907 100644 --- a/docs/dyn/sqladmin_v1beta4.sslCerts.html +++ b/docs/dyn/sqladmin_v1beta4.sslCerts.html @@ -74,6 +74,9 @@

Cloud SQL Administration API . sslCerts

Instance Methods

+

+ createEphemeral(project, instance, body)

+

Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.

delete(project, instance, sha1Fingerprint)

Deletes the SSL certificate. The change will not take effect until the instance is restarted.

@@ -87,6 +90,37 @@

Instance Methods

list(project, instance)

Lists all of the current SSL certificates for the instance.

Method Details

+
+ createEphemeral(project, instance, body) +
Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.
+
+Args:
+  project: string, Project ID of the Cloud SQL project. (required)
+  instance: string, Cloud SQL instance ID. This does not include the project ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # SslCerts create ephemeral certificate request.
+    "public_key": "A String", # PEM encoded public key to include in the signed certificate.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # SslCerts Resource
+    "certSerialNumber": "A String", # Serial number, as extracted from the certificate.
+    "kind": "sql#sslCert", # This is always sql#sslCert.
+    "sha1Fingerprint": "A String", # Sha1 Fingerprint.
+    "commonName": "A String", # User supplied name. Constrained to [a-zA-Z.-_ ]+.
+    "instance": "A String", # Name of the database instance.
+    "cert": "A String", # PEM representation.
+    "expirationTime": "A String", # The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
+    "createTime": "A String", # The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z
+    "selfLink": "A String", # The URI of this resource.
+  }
+
+
delete(project, instance, sha1Fingerprint)
Deletes the SSL certificate. The change will not take effect until the instance is restarted.
@@ -133,6 +167,7 @@ 

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. diff --git a/docs/dyn/sqladmin_v1beta4.users.html b/docs/dyn/sqladmin_v1beta4.users.html index df22d0c6a07..70f03c546ae 100644 --- a/docs/dyn/sqladmin_v1beta4.users.html +++ b/docs/dyn/sqladmin_v1beta4.users.html @@ -134,6 +134,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. @@ -216,6 +217,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. @@ -328,6 +330,7 @@

Method Details

"tables": [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. "A String", ], + "schemaOnly": True or False, # Export only schema. }, }, "startTime": "A String", # The time this operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z. diff --git a/docs/dyn/storage_v1.objectAccessControls.html b/docs/dyn/storage_v1.objectAccessControls.html index 563e6752863..5f2473546fd 100644 --- a/docs/dyn/storage_v1.objectAccessControls.html +++ b/docs/dyn/storage_v1.objectAccessControls.html @@ -99,7 +99,7 @@

Method Details

Args: bucket: string, Name of a bucket. (required) - object: string, Name of the object. (required) + object: string, Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. (required) entity: string, The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. (required) generation: string, If present, selects a specific revision of this object (as opposed to the latest version, the default).
@@ -111,7 +111,7 @@

Method Details

Args: bucket: string, Name of a bucket. (required) - object: string, Name of the object. (required) + object: string, Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. (required) entity: string, The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. (required) generation: string, If present, selects a specific revision of this object (as opposed to the latest version, the default). @@ -155,7 +155,7 @@

Method Details

Args: bucket: string, Name of a bucket. (required) - object: string, Name of the object. (required) + object: string, Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. (required) body: object, The request body. (required) The object takes the form of: @@ -231,7 +231,7 @@

Method Details

Args: bucket: string, Name of a bucket. (required) - object: string, Name of the object. (required) + object: string, Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. (required) generation: string, If present, selects a specific revision of this object (as opposed to the latest version, the default). Returns: @@ -251,7 +251,7 @@

Method Details

Args: bucket: string, Name of a bucket. (required) - object: string, Name of the object. (required) + object: string, Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. (required) entity: string, The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. (required) body: object, The request body. (required) The object takes the form of: @@ -328,7 +328,7 @@

Method Details

Args: bucket: string, Name of a bucket. (required) - object: string, Name of the object. (required) + object: string, Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. (required) entity: string, The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers. (required) body: object, The request body. (required) The object takes the form of: diff --git a/docs/dyn/storage_v1.objects.html b/docs/dyn/storage_v1.objects.html index 0a2dc46d6a0..33e1f43fbb2 100644 --- a/docs/dyn/storage_v1.objects.html +++ b/docs/dyn/storage_v1.objects.html @@ -129,7 +129,7 @@

Method Details

Args: destinationBucket: string, Name of the bucket in which to store the new object. (required) - destinationObject: string, Name of the new object. (required) + destinationObject: string, Name of the new object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. (required) body: object, The request body. (required) The object takes the form of: @@ -178,8 +178,8 @@

Method Details

"id": "A String", # The ID of the object. "size": "A String", # Content-Length of the data in bytes. "timeDeleted": "A String", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted. - "md5Hash": "A String", # MD5 hash of the data; encoded using base64. - "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. + "md5Hash": "A String", # MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. + "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices. "etag": "A String", # HTTP 1.1 Entity tag for the object. "metadata": { # User-provided metadata, in key/value pairs. "a_key": "A String", # An individual metadata entry. @@ -264,8 +264,8 @@

Method Details

"id": "A String", # The ID of the object. "size": "A String", # Content-Length of the data in bytes. "timeDeleted": "A String", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted. - "md5Hash": "A String", # MD5 hash of the data; encoded using base64. - "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. + "md5Hash": "A String", # MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. + "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices. "etag": "A String", # HTTP 1.1 Entity tag for the object. "metadata": { # User-provided metadata, in key/value pairs. "a_key": "A String", # An individual metadata entry. @@ -290,7 +290,7 @@

Method Details

Args: destinationBucket: string, Name of the bucket in which to store the new object. (required) - destinationObject: string, Name of the new object. (required) + destinationObject: string, Name of the new object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. (required) body: object, The request body. (required) The object takes the form of: @@ -339,8 +339,8 @@

Method Details

"id": "A String", # The ID of the object. "size": "A String", # Content-Length of the data in bytes. "timeDeleted": "A String", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted. - "md5Hash": "A String", # MD5 hash of the data; encoded using base64. - "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. + "md5Hash": "A String", # MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. + "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices. "etag": "A String", # HTTP 1.1 Entity tag for the object. "metadata": { # User-provided metadata, in key/value pairs. "a_key": "A String", # An individual metadata entry. @@ -391,8 +391,8 @@

Method Details

Args: sourceBucket: string, Name of the bucket in which to find the source object. (required) - sourceObject: string, Name of the source object. (required) - destinationBucket: string, Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any. (required) + sourceObject: string, Name of the source object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. (required) + destinationBucket: string, Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. (required) destinationObject: string, Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. (required) body: object, The request body. (required) The object takes the form of: @@ -440,8 +440,8 @@

Method Details

"id": "A String", # The ID of the object. "size": "A String", # Content-Length of the data in bytes. "timeDeleted": "A String", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted. - "md5Hash": "A String", # MD5 hash of the data; encoded using base64. - "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. + "md5Hash": "A String", # MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. + "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices. "etag": "A String", # HTTP 1.1 Entity tag for the object. "metadata": { # User-provided metadata, in key/value pairs. "a_key": "A String", # An individual metadata entry. @@ -527,8 +527,8 @@

Method Details

"id": "A String", # The ID of the object. "size": "A String", # Content-Length of the data in bytes. "timeDeleted": "A String", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted. - "md5Hash": "A String", # MD5 hash of the data; encoded using base64. - "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. + "md5Hash": "A String", # MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. + "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices. "etag": "A String", # HTTP 1.1 Entity tag for the object. "metadata": { # User-provided metadata, in key/value pairs. "a_key": "A String", # An individual metadata entry. @@ -553,8 +553,8 @@

Method Details

Args: sourceBucket: string, Name of the bucket in which to find the source object. (required) - sourceObject: string, Name of the source object. (required) - destinationBucket: string, Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any. (required) + sourceObject: string, Name of the source object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. (required) + destinationBucket: string, Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any.For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. (required) destinationObject: string, Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. (required) body: object, The request body. (required) The object takes the form of: @@ -602,8 +602,8 @@

Method Details

"id": "A String", # The ID of the object. "size": "A String", # Content-Length of the data in bytes. "timeDeleted": "A String", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted. - "md5Hash": "A String", # MD5 hash of the data; encoded using base64. - "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. + "md5Hash": "A String", # MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. + "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices. "etag": "A String", # HTTP 1.1 Entity tag for the object. "metadata": { # User-provided metadata, in key/value pairs. "a_key": "A String", # An individual metadata entry. @@ -655,7 +655,7 @@

Method Details

Args: bucket: string, Name of the bucket in which the object resides. (required) - object: string, Name of the object. (required) + object: string, Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. (required) ifGenerationNotMatch: string, Makes the operation conditional on whether the object's current generation does not match the given value. generation: string, If present, permanently deletes a specific revision of this object (as opposed to the latest version, the default). ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current metageneration matches the given value. @@ -670,7 +670,7 @@

Method Details

Args: bucket: string, Name of the bucket in which the object resides. (required) - object: string, Name of the object. (required) + object: string, Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. (required) ifGenerationNotMatch: string, Makes the operation conditional on whether the object's generation does not match the given value. generation: string, If present, selects a specific revision of this object (as opposed to the latest version, the default). ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current metageneration matches the given value. @@ -727,8 +727,8 @@

Method Details

"id": "A String", # The ID of the object. "size": "A String", # Content-Length of the data in bytes. "timeDeleted": "A String", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted. - "md5Hash": "A String", # MD5 hash of the data; encoded using base64. - "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. + "md5Hash": "A String", # MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. + "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices. "etag": "A String", # HTTP 1.1 Entity tag for the object. "metadata": { # User-provided metadata, in key/value pairs. "a_key": "A String", # An individual metadata entry. @@ -753,7 +753,7 @@

Method Details

Args: bucket: string, Name of the bucket in which the object resides. (required) - object: string, Name of the object. (required) + object: string, Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. (required) ifGenerationNotMatch: string, Makes the operation conditional on whether the object's generation does not match the given value. generation: string, If present, selects a specific revision of this object (as opposed to the latest version, the default). ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current metageneration matches the given value. @@ -822,8 +822,8 @@

Method Details

"id": "A String", # The ID of the object. "size": "A String", # Content-Length of the data in bytes. "timeDeleted": "A String", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted. - "md5Hash": "A String", # MD5 hash of the data; encoded using base64. - "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. + "md5Hash": "A String", # MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. + "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices. "etag": "A String", # HTTP 1.1 Entity tag for the object. "metadata": { # User-provided metadata, in key/value pairs. "a_key": "A String", # An individual metadata entry. @@ -856,7 +856,7 @@

Method Details

publicRead - Object owner gets OWNER access, and allUsers get READER access. ifGenerationMatch: string, Makes the operation conditional on whether the object's current generation matches the given value. ifGenerationNotMatch: string, Makes the operation conditional on whether the object's current generation does not match the given value. - name: string, Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. + name: string, Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current metageneration matches the given value. contentEncoding: string, If set, sets the contentEncoding property of the final object to this value. Setting this parameter is equivalent to setting the contentEncoding metadata property. This can be useful when uploading an object with uploadType=media to indicate the encoding of the content being uploaded. ifMetagenerationNotMatch: string, Makes the operation conditional on whether the object's current metageneration does not match the given value. @@ -907,8 +907,8 @@

Method Details

"id": "A String", # The ID of the object. "size": "A String", # Content-Length of the data in bytes. "timeDeleted": "A String", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted. - "md5Hash": "A String", # MD5 hash of the data; encoded using base64. - "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. + "md5Hash": "A String", # MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. + "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices. "etag": "A String", # HTTP 1.1 Entity tag for the object. "metadata": { # User-provided metadata, in key/value pairs. "a_key": "A String", # An individual metadata entry. @@ -979,8 +979,8 @@

Method Details

"id": "A String", # The ID of the object. "size": "A String", # Content-Length of the data in bytes. "timeDeleted": "A String", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted. - "md5Hash": "A String", # MD5 hash of the data; encoded using base64. - "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. + "md5Hash": "A String", # MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. + "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices. "etag": "A String", # HTTP 1.1 Entity tag for the object. "metadata": { # User-provided metadata, in key/value pairs. "a_key": "A String", # An individual metadata entry. @@ -1013,7 +1013,7 @@

Method Details

publicRead - Object owner gets OWNER access, and allUsers get READER access. ifGenerationMatch: string, Makes the operation conditional on whether the object's current generation matches the given value. ifGenerationNotMatch: string, Makes the operation conditional on whether the object's current generation does not match the given value. - name: string, Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. + name: string, Name of the object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. ifMetagenerationMatch: string, Makes the operation conditional on whether the object's current metageneration matches the given value. contentEncoding: string, If set, sets the contentEncoding property of the final object to this value. Setting this parameter is equivalent to setting the contentEncoding metadata property. This can be useful when uploading an object with uploadType=media to indicate the encoding of the content being uploaded. ifMetagenerationNotMatch: string, Makes the operation conditional on whether the object's current metageneration does not match the given value. @@ -1089,8 +1089,8 @@

Method Details

"id": "A String", # The ID of the object. "size": "A String", # Content-Length of the data in bytes. "timeDeleted": "A String", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted. - "md5Hash": "A String", # MD5 hash of the data; encoded using base64. - "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. + "md5Hash": "A String", # MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. + "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices. "etag": "A String", # HTTP 1.1 Entity tag for the object. "metadata": { # User-provided metadata, in key/value pairs. "a_key": "A String", # An individual metadata entry. @@ -1135,7 +1135,7 @@

Method Details

Args: bucket: string, Name of the bucket in which the object resides. (required) - object: string, Name of the object. (required) + object: string, Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. (required) body: object, The request body. (required) The object takes the form of: @@ -1182,8 +1182,8 @@

Method Details

"id": "A String", # The ID of the object. "size": "A String", # Content-Length of the data in bytes. "timeDeleted": "A String", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted. - "md5Hash": "A String", # MD5 hash of the data; encoded using base64. - "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. + "md5Hash": "A String", # MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. + "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices. "etag": "A String", # HTTP 1.1 Entity tag for the object. "metadata": { # User-provided metadata, in key/value pairs. "a_key": "A String", # An individual metadata entry. @@ -1265,8 +1265,8 @@

Method Details

"id": "A String", # The ID of the object. "size": "A String", # Content-Length of the data in bytes. "timeDeleted": "A String", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted. - "md5Hash": "A String", # MD5 hash of the data; encoded using base64. - "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. + "md5Hash": "A String", # MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. + "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices. "etag": "A String", # HTTP 1.1 Entity tag for the object. "metadata": { # User-provided metadata, in key/value pairs. "a_key": "A String", # An individual metadata entry. @@ -1291,9 +1291,9 @@

Method Details

Args: sourceBucket: string, Name of the bucket in which to find the source object. (required) - sourceObject: string, Name of the source object. (required) + sourceObject: string, Name of the source object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. (required) destinationBucket: string, Name of the bucket in which to store the new object. Overrides the provided object metadata's bucket value, if any. (required) - destinationObject: string, Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. (required) + destinationObject: string, Name of the new object. Required when the object metadata is not otherwise provided. Overrides the object metadata's name value, if any. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. (required) body: object, The request body. (required) The object takes the form of: @@ -1340,8 +1340,8 @@

Method Details

"id": "A String", # The ID of the object. "size": "A String", # Content-Length of the data in bytes. "timeDeleted": "A String", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted. - "md5Hash": "A String", # MD5 hash of the data; encoded using base64. - "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. + "md5Hash": "A String", # MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. + "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices. "etag": "A String", # HTTP 1.1 Entity tag for the object. "metadata": { # User-provided metadata, in key/value pairs. "a_key": "A String", # An individual metadata entry. @@ -1432,8 +1432,8 @@

Method Details

"id": "A String", # The ID of the object. "size": "A String", # Content-Length of the data in bytes. "timeDeleted": "A String", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted. - "md5Hash": "A String", # MD5 hash of the data; encoded using base64. - "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. + "md5Hash": "A String", # MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. + "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices. "etag": "A String", # HTTP 1.1 Entity tag for the object. "metadata": { # User-provided metadata, in key/value pairs. "a_key": "A String", # An individual metadata entry. @@ -1462,7 +1462,7 @@

Method Details

Args: bucket: string, Name of the bucket in which the object resides. (required) - object: string, Name of the object. (required) + object: string, Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. (required) body: object, The request body. (required) The object takes the form of: @@ -1509,8 +1509,8 @@

Method Details

"id": "A String", # The ID of the object. "size": "A String", # Content-Length of the data in bytes. "timeDeleted": "A String", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted. - "md5Hash": "A String", # MD5 hash of the data; encoded using base64. - "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. + "md5Hash": "A String", # MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. + "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices. "etag": "A String", # HTTP 1.1 Entity tag for the object. "metadata": { # User-provided metadata, in key/value pairs. "a_key": "A String", # An individual metadata entry. @@ -1592,8 +1592,8 @@

Method Details

"id": "A String", # The ID of the object. "size": "A String", # Content-Length of the data in bytes. "timeDeleted": "A String", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted. - "md5Hash": "A String", # MD5 hash of the data; encoded using base64. - "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. + "md5Hash": "A String", # MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. + "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices. "etag": "A String", # HTTP 1.1 Entity tag for the object. "metadata": { # User-provided metadata, in key/value pairs. "a_key": "A String", # An individual metadata entry. @@ -1618,7 +1618,7 @@

Method Details

Args: bucket: string, Name of the bucket in which the object resides. (required) - object: string, Name of the object. (required) + object: string, Name of the object. For information about how to URL encode object names to be path safe, see Encoding URI Path Parts. (required) body: object, The request body. (required) The object takes the form of: @@ -1665,8 +1665,8 @@

Method Details

"id": "A String", # The ID of the object. "size": "A String", # Content-Length of the data in bytes. "timeDeleted": "A String", # The deletion time of the object in RFC 3339 format. Will be returned if and only if this version of the object has been deleted. - "md5Hash": "A String", # MD5 hash of the data; encoded using base64. - "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. + "md5Hash": "A String", # MD5 hash of the data; encoded using base64. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. + "crc32c": "A String", # CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order. For more information about using the CRC32c checksum, see Hashes and ETags: Best Practices. "etag": "A String", # HTTP 1.1 Entity tag for the object. "metadata": { # User-provided metadata, in key/value pairs. "a_key": "A String", # An individual metadata entry. diff --git a/docs/dyn/storagetransfer_v1.googleServiceAccounts.html b/docs/dyn/storagetransfer_v1.googleServiceAccounts.html new file mode 100644 index 00000000000..f9056ac69c5 --- /dev/null +++ b/docs/dyn/storagetransfer_v1.googleServiceAccounts.html @@ -0,0 +1,97 @@ + + + +

Google Storage Transfer API . googleServiceAccounts

+

Instance Methods

+

+ get(projectId, x__xgafv=None)

+

Returns the Google service account that is used by Storage Transfer Service to access buckets in the project where transfers run or in other projects. Each Google service account is associated with one Google Developers Console project. Users should add this service account to the Google Cloud Storage bucket ACLs to grant access to Storage Transfer Service. This service account is created and owned by Storage Transfer Service and can only be used by Storage Transfer Service.

+

Method Details

+
+ get(projectId, x__xgafv=None) +
Returns the Google service account that is used by Storage Transfer Service to access buckets in the project where transfers run or in other projects. Each Google service account is associated with one Google Developers Console project. Users should add this service account to the Google Cloud Storage bucket ACLs to grant access to Storage Transfer Service. This service account is created and owned by Storage Transfer Service and can only be used by Storage Transfer Service.
+
+Args:
+  projectId: string, The ID of the Google Developers Console project that the Google service account is associated with. Required. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Google service account
+    "accountEmail": "A String", # Required.
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/storagetransfer_v1.html b/docs/dyn/storagetransfer_v1.html new file mode 100644 index 00000000000..a1b9f9374ad --- /dev/null +++ b/docs/dyn/storagetransfer_v1.html @@ -0,0 +1,118 @@ + + + +

Google Storage Transfer API

+

Instance Methods

+

+ googleServiceAccounts() +

+

Returns the googleServiceAccounts Resource.

+ +

+ transferJobs() +

+

Returns the transferJobs Resource.

+ +

+ transferOperations() +

+

Returns the transferOperations Resource.

+ +

+ v1() +

+

Returns the v1 Resource.

+ +

+ new_batch_http_request()

+

Create a BatchHttpRequest object based on the discovery document.

+

Method Details

+
+ new_batch_http_request() +
Create a BatchHttpRequest object based on the discovery document.
+
+        Args:
+          callback: callable, A callback to be called for each response, of the
+            form callback(id, response, exception). The first parameter is the
+            request id, and the second is the deserialized response object. The
+            third is an apiclient.errors.HttpError exception object if an HTTP
+            error occurred while processing the request, or None if no error
+            occurred.
+
+        Returns:
+          A BatchHttpRequest object based on the discovery document.
+        
+
+ + \ No newline at end of file diff --git a/docs/dyn/storagetransfer_v1.transferJobs.html b/docs/dyn/storagetransfer_v1.transferJobs.html new file mode 100644 index 00000000000..9142b507459 --- /dev/null +++ b/docs/dyn/storagetransfer_v1.transferJobs.html @@ -0,0 +1,538 @@ + + + +

Google Storage Transfer API . transferJobs

+

Instance Methods

+

+ create(body, x__xgafv=None)

+

Creates a transfer job that runs periodically.

+

+ get(jobName, projectId=None, x__xgafv=None)

+

Gets a transfer job.

+

+ list(pageSize=None, filter=None, pageToken=None, x__xgafv=None)

+

Lists transfer jobs.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ patch(jobName, body, x__xgafv=None)

+

Updates a transfer job. Updating a job's transfer spec does not affect transfer operations that are running already. Updating the scheduling of a job is not allowed.

+

Method Details

+
+ create(body, x__xgafv=None) +
Creates a transfer job that runs periodically.
+
+Args:
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # This resource represents the configuration of a transfer job that runs periodically.
+    "transferSpec": { # Configuration for running a transfer. # Transfer specification. Required.
+      "objectConditions": { # Conditions that determine which objects will be transferred. # Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' `lastModificationTime` do not exclude objects in a data sink.
+        "maxTimeElapsedSinceLastModification": "A String", # `maxTimeElapsedSinceLastModification` is the complement to `minTimeElapsedSinceLastModification`.
+        "includePrefixes": [ # If `includePrefixes` is specified, objects that satisfy the object conditions must have names that start with one of the `includePrefixes` and that do not start with any of the `excludePrefixes`. If `includePrefixes` is not specified, all objects except those that have names starting with one of the `excludePrefixes` must satisfy the object conditions. Requirements: * Each include-prefix and exclude-prefix can contain any sequence of Unicode characters, of max length 1024 bytes when UTF8-encoded, and must not contain Carriage Return or Line Feed characters. Wildcard matching and regular expression matching are not supported. * None of the include-prefix or the exclude-prefix values can be empty, if specified. * Each include-prefix must include a distinct portion of the object namespace, i.e., no include-prefix may be a prefix of another include-prefix. * Each exclude-prefix must exclude a distinct portion of the object namespace, i.e., no exclude-prefix may be a prefix of another exclude-prefix. * If `includePrefixes` is specified, then each exclude-prefix must start with the value of a path explicitly included by `includePrefixes`. The max size of `includePrefixes` is 20.
+          "A String",
+        ],
+        "excludePrefixes": [ # `excludePrefixes` must follow the requirements described for `includePrefixes`. The max size of `excludePrefixes` is 20.
+          "A String",
+        ],
+        "minTimeElapsedSinceLastModification": "A String", # If unspecified, `minTimeElapsedSinceLastModification` takes a zero value and `maxTimeElapsedSinceLastModification` takes the maximum possible value of Duration. Objects that satisfy the object conditions must either have a `lastModificationTime` greater or equal to `NOW` - `maxTimeElapsedSinceLastModification` and less than `NOW` - `minTimeElapsedSinceLastModification`, or not have a `lastModificationTime`.
+      },
+      "gcsDataSource": { # In a GcsData, an object's name is the Google Cloud Storage object's name and its `lastModificationTime` refers to the object's updated time, which changes when the content or the metadata of the object is updated. # A Google Cloud Storage data source.
+        "bucketName": "A String", # Google Cloud Storage bucket name (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Required.
+      },
+      "httpDataSource": { # An HttpData specifies a list of objects on the web to be transferred over HTTP. The information of the objects to be transferred is contained in a file referenced by a URL. The first line in the file must be "TsvHttpData-1.0", which specifies the format of the file. Subsequent lines specify the information of the list of objects, one object per list entry. Each entry has the following tab-delimited fields: * HTTP URL * Length * MD5 - This field is a base64-encoded MD5 hash of the object An HTTP URL that points to the object to be transferred. It must be a valid URL with URL scheme HTTP or HTTPS. When an object with URL `http(s)://hostname:port/` is transferred to the data sink, the name of the object at the data sink is `/`. Length and MD5 provide the size and the base64-encoded MD5 hash of the object. If Length does not match the actual length of the object fetched, the object will not be transferred. If MD5 does not match the MD5 computed from the transferred bytes, the object transfer will fail. `lastModificationTime` is not available in HttpData objects. The objects that the URL list points to must allow public access. Storage Transfer Service obeys `robots.txt` rules and requires the HTTP server to support Range requests and to return a Content-Length header in each response. # An HTTP URL data source.
+        "listUrl": "A String", # The URL that points to the file that stores the object list entries. This file must allow public access. Currently, only URLs with HTTP and HTTPS schemes are supported. Required.
+      },
+      "transferOptions": { # TransferOptions uses three boolean parameters to define the actions to be performed on objects in a transfer. # If the option `deleteObjectsUniqueInSink` is `true`, object conditions based on objects' `lastModificationTime` are ignored and do not exclude objects in a data source or a data sink.
+        "overwriteObjectsAlreadyExistingInSink": True or False, # Whether overwriting objects that already exist in the sink is allowed.
+        "deleteObjectsFromSourceAfterTransfer": True or False, # Whether objects should be deleted from the source after they are transferred to the sink.
+        "deleteObjectsUniqueInSink": True or False, # Whether objects that exist only in the sink should be deleted.
+      },
+      "gcsDataSink": { # In a GcsData, an object's name is the Google Cloud Storage object's name and its `lastModificationTime` refers to the object's updated time, which changes when the content or the metadata of the object is updated. # A Google Cloud Storage data sink.
+        "bucketName": "A String", # Google Cloud Storage bucket name (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Required.
+      },
+      "awsS3DataSource": { # An AwsS3Data can be a data source, but not a data sink. In an AwsS3Data, an object's name is the S3 object's key name. # An AWS S3 data source.
+        "awsAccessKey": { # AWS access key (see [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html)). # AWS access key used to sign the API requests to the AWS S3 bucket. Permissions on the bucket must be granted to the access ID of the AWS access key. Required.
+          "secretAccessKey": "A String", # AWS secret access key. This field is not returned in RPC responses. Required.
+          "accessKeyId": "A String", # AWS access key ID. Required.
+        },
+        "bucketName": "A String", # S3 Bucket name (see [Creating a bucket](http://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-location-example.html)). Required.
+      },
+    },
+    "status": "A String", # Status of the job. This value MUST be specified for `CreateTransferJobRequests`. NOTE: The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from `ENABLED` to `DISABLED`, and an operation spawned by the transfer is running, the status change would not affect the current operation.
+    "deletionTime": "A String", # This field cannot be changed by user requests.
+    "name": "A String", # A globally unique name assigned by Storage Transfer Service when the job is created. This field should be left empty in requests to create a new transfer job; otherwise, the requests result in an `INVALID_ARGUMENT` error.
+    "schedule": { # Transfers can be scheduled to recur or to run just once. # Schedule specification. Required.
+      "scheduleStartDate": { # Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`. # The first day the recurring transfer is scheduled to run. Required.
+        "month": 42, # Month of year of date. Must be from 1 to 12.
+        "day": 42, # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not sigificant.
+        "year": 42, # Year of date. Must be from 1 to 9,999, or 0 if specifying a date without a year.
+      },
+      "startTimeOfDay": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may chose to allow leap seconds. Related types are [google.type.Date][google.type.Date] and `google.protobuf.Timestamp`. # The time in UTC at which the transfer will be scheduled to start in a day. Transfers may start later than this time. If not specified, transfers are scheduled to start at midnight UTC.
+        "hours": 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
+        "seconds": 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
+        "minutes": 42, # Minutes of hour of day. Must be from 0 to 59.
+        "nanos": 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
+      },
+      "scheduleEndDate": { # Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`. # The last day the recurring transfer will be run. If `scheduleEndDate` is the same as `scheduleStartDate`, the transfer will be executed only once.
+        "month": 42, # Month of year of date. Must be from 1 to 12.
+        "day": 42, # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not sigificant.
+        "year": 42, # Year of date. Must be from 1 to 9,999, or 0 if specifying a date without a year.
+      },
+    },
+    "projectId": "A String", # The ID of the Google Developers Console project that owns the job. Required.
+    "lastModificationTime": "A String", # This field cannot be changed by user requests.
+    "creationTime": "A String", # This field cannot be changed by user requests.
+    "description": "A String", # A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # This resource represents the configuration of a transfer job that runs periodically.
+      "transferSpec": { # Configuration for running a transfer. # Transfer specification. Required.
+        "objectConditions": { # Conditions that determine which objects will be transferred. # Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' `lastModificationTime` do not exclude objects in a data sink.
+          "maxTimeElapsedSinceLastModification": "A String", # `maxTimeElapsedSinceLastModification` is the complement to `minTimeElapsedSinceLastModification`.
+          "includePrefixes": [ # If `includePrefixes` is specified, objects that satisfy the object conditions must have names that start with one of the `includePrefixes` and that do not start with any of the `excludePrefixes`. If `includePrefixes` is not specified, all objects except those that have names starting with one of the `excludePrefixes` must satisfy the object conditions. Requirements: * Each include-prefix and exclude-prefix can contain any sequence of Unicode characters, of max length 1024 bytes when UTF8-encoded, and must not contain Carriage Return or Line Feed characters. Wildcard matching and regular expression matching are not supported. * None of the include-prefix or the exclude-prefix values can be empty, if specified. * Each include-prefix must include a distinct portion of the object namespace, i.e., no include-prefix may be a prefix of another include-prefix. * Each exclude-prefix must exclude a distinct portion of the object namespace, i.e., no exclude-prefix may be a prefix of another exclude-prefix. * If `includePrefixes` is specified, then each exclude-prefix must start with the value of a path explicitly included by `includePrefixes`. The max size of `includePrefixes` is 20.
+            "A String",
+          ],
+          "excludePrefixes": [ # `excludePrefixes` must follow the requirements described for `includePrefixes`. The max size of `excludePrefixes` is 20.
+            "A String",
+          ],
+          "minTimeElapsedSinceLastModification": "A String", # If unspecified, `minTimeElapsedSinceLastModification` takes a zero value and `maxTimeElapsedSinceLastModification` takes the maximum possible value of Duration. Objects that satisfy the object conditions must either have a `lastModificationTime` greater or equal to `NOW` - `maxTimeElapsedSinceLastModification` and less than `NOW` - `minTimeElapsedSinceLastModification`, or not have a `lastModificationTime`.
+        },
+        "gcsDataSource": { # In a GcsData, an object's name is the Google Cloud Storage object's name and its `lastModificationTime` refers to the object's updated time, which changes when the content or the metadata of the object is updated. # A Google Cloud Storage data source.
+          "bucketName": "A String", # Google Cloud Storage bucket name (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Required.
+        },
+        "httpDataSource": { # An HttpData specifies a list of objects on the web to be transferred over HTTP. The information of the objects to be transferred is contained in a file referenced by a URL. The first line in the file must be "TsvHttpData-1.0", which specifies the format of the file. Subsequent lines specify the information of the list of objects, one object per list entry. Each entry has the following tab-delimited fields: * HTTP URL * Length * MD5 - This field is a base64-encoded MD5 hash of the object An HTTP URL that points to the object to be transferred. It must be a valid URL with URL scheme HTTP or HTTPS. When an object with URL `http(s)://hostname:port/` is transferred to the data sink, the name of the object at the data sink is `/`. Length and MD5 provide the size and the base64-encoded MD5 hash of the object. If Length does not match the actual length of the object fetched, the object will not be transferred. If MD5 does not match the MD5 computed from the transferred bytes, the object transfer will fail. `lastModificationTime` is not available in HttpData objects. The objects that the URL list points to must allow public access. Storage Transfer Service obeys `robots.txt` rules and requires the HTTP server to support Range requests and to return a Content-Length header in each response. # An HTTP URL data source.
+          "listUrl": "A String", # The URL that points to the file that stores the object list entries. This file must allow public access. Currently, only URLs with HTTP and HTTPS schemes are supported. Required.
+        },
+        "transferOptions": { # TransferOptions uses three boolean parameters to define the actions to be performed on objects in a transfer. # If the option `deleteObjectsUniqueInSink` is `true`, object conditions based on objects' `lastModificationTime` are ignored and do not exclude objects in a data source or a data sink.
+          "overwriteObjectsAlreadyExistingInSink": True or False, # Whether overwriting objects that already exist in the sink is allowed.
+          "deleteObjectsFromSourceAfterTransfer": True or False, # Whether objects should be deleted from the source after they are transferred to the sink.
+          "deleteObjectsUniqueInSink": True or False, # Whether objects that exist only in the sink should be deleted.
+        },
+        "gcsDataSink": { # In a GcsData, an object's name is the Google Cloud Storage object's name and its `lastModificationTime` refers to the object's updated time, which changes when the content or the metadata of the object is updated. # A Google Cloud Storage data sink.
+          "bucketName": "A String", # Google Cloud Storage bucket name (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Required.
+        },
+        "awsS3DataSource": { # An AwsS3Data can be a data source, but not a data sink. In an AwsS3Data, an object's name is the S3 object's key name. # An AWS S3 data source.
+          "awsAccessKey": { # AWS access key (see [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html)). # AWS access key used to sign the API requests to the AWS S3 bucket. Permissions on the bucket must be granted to the access ID of the AWS access key. Required.
+            "secretAccessKey": "A String", # AWS secret access key. This field is not returned in RPC responses. Required.
+            "accessKeyId": "A String", # AWS access key ID. Required.
+          },
+          "bucketName": "A String", # S3 Bucket name (see [Creating a bucket](http://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-location-example.html)). Required.
+        },
+      },
+      "status": "A String", # Status of the job. This value MUST be specified for `CreateTransferJobRequests`. NOTE: The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from `ENABLED` to `DISABLED`, and an operation spawned by the transfer is running, the status change would not affect the current operation.
+      "deletionTime": "A String", # This field cannot be changed by user requests.
+      "name": "A String", # A globally unique name assigned by Storage Transfer Service when the job is created. This field should be left empty in requests to create a new transfer job; otherwise, the requests result in an `INVALID_ARGUMENT` error.
+      "schedule": { # Transfers can be scheduled to recur or to run just once. # Schedule specification. Required.
+        "scheduleStartDate": { # Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`. # The first day the recurring transfer is scheduled to run. Required.
+          "month": 42, # Month of year of date. Must be from 1 to 12.
+          "day": 42, # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not sigificant.
+          "year": 42, # Year of date. Must be from 1 to 9,999, or 0 if specifying a date without a year.
+        },
+        "startTimeOfDay": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may chose to allow leap seconds. Related types are [google.type.Date][google.type.Date] and `google.protobuf.Timestamp`. # The time in UTC at which the transfer will be scheduled to start in a day. Transfers may start later than this time. If not specified, transfers are scheduled to start at midnight UTC.
+          "hours": 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
+          "seconds": 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
+          "minutes": 42, # Minutes of hour of day. Must be from 0 to 59.
+          "nanos": 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
+        },
+        "scheduleEndDate": { # Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`. # The last day the recurring transfer will be run. If `scheduleEndDate` is the same as `scheduleStartDate`, the transfer will be executed only once.
+          "month": 42, # Month of year of date. Must be from 1 to 12.
+          "day": 42, # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not sigificant.
+          "year": 42, # Year of date. Must be from 1 to 9,999, or 0 if specifying a date without a year.
+        },
+      },
+      "projectId": "A String", # The ID of the Google Developers Console project that owns the job. Required.
+      "lastModificationTime": "A String", # This field cannot be changed by user requests.
+      "creationTime": "A String", # This field cannot be changed by user requests.
+      "description": "A String", # A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.
+    }
+
+ +
+ get(jobName, projectId=None, x__xgafv=None) +
Gets a transfer job.
+
+Args:
+  jobName: string, The job to get. Required. (required)
+  projectId: string, The ID of the Google Developers Console project that owns the job. Required.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # This resource represents the configuration of a transfer job that runs periodically.
+      "transferSpec": { # Configuration for running a transfer. # Transfer specification. Required.
+        "objectConditions": { # Conditions that determine which objects will be transferred. # Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' `lastModificationTime` do not exclude objects in a data sink.
+          "maxTimeElapsedSinceLastModification": "A String", # `maxTimeElapsedSinceLastModification` is the complement to `minTimeElapsedSinceLastModification`.
+          "includePrefixes": [ # If `includePrefixes` is specified, objects that satisfy the object conditions must have names that start with one of the `includePrefixes` and that do not start with any of the `excludePrefixes`. If `includePrefixes` is not specified, all objects except those that have names starting with one of the `excludePrefixes` must satisfy the object conditions. Requirements: * Each include-prefix and exclude-prefix can contain any sequence of Unicode characters, of max length 1024 bytes when UTF8-encoded, and must not contain Carriage Return or Line Feed characters. Wildcard matching and regular expression matching are not supported. * None of the include-prefix or the exclude-prefix values can be empty, if specified. * Each include-prefix must include a distinct portion of the object namespace, i.e., no include-prefix may be a prefix of another include-prefix. * Each exclude-prefix must exclude a distinct portion of the object namespace, i.e., no exclude-prefix may be a prefix of another exclude-prefix. * If `includePrefixes` is specified, then each exclude-prefix must start with the value of a path explicitly included by `includePrefixes`. The max size of `includePrefixes` is 20.
+            "A String",
+          ],
+          "excludePrefixes": [ # `excludePrefixes` must follow the requirements described for `includePrefixes`. The max size of `excludePrefixes` is 20.
+            "A String",
+          ],
+          "minTimeElapsedSinceLastModification": "A String", # If unspecified, `minTimeElapsedSinceLastModification` takes a zero value and `maxTimeElapsedSinceLastModification` takes the maximum possible value of Duration. Objects that satisfy the object conditions must either have a `lastModificationTime` greater or equal to `NOW` - `maxTimeElapsedSinceLastModification` and less than `NOW` - `minTimeElapsedSinceLastModification`, or not have a `lastModificationTime`.
+        },
+        "gcsDataSource": { # In a GcsData, an object's name is the Google Cloud Storage object's name and its `lastModificationTime` refers to the object's updated time, which changes when the content or the metadata of the object is updated. # A Google Cloud Storage data source.
+          "bucketName": "A String", # Google Cloud Storage bucket name (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Required.
+        },
+        "httpDataSource": { # An HttpData specifies a list of objects on the web to be transferred over HTTP. The information of the objects to be transferred is contained in a file referenced by a URL. The first line in the file must be "TsvHttpData-1.0", which specifies the format of the file. Subsequent lines specify the information of the list of objects, one object per list entry. Each entry has the following tab-delimited fields: * HTTP URL * Length * MD5 - This field is a base64-encoded MD5 hash of the object An HTTP URL that points to the object to be transferred. It must be a valid URL with URL scheme HTTP or HTTPS. When an object with URL `http(s)://hostname:port/` is transferred to the data sink, the name of the object at the data sink is `/`. Length and MD5 provide the size and the base64-encoded MD5 hash of the object. If Length does not match the actual length of the object fetched, the object will not be transferred. If MD5 does not match the MD5 computed from the transferred bytes, the object transfer will fail. `lastModificationTime` is not available in HttpData objects. The objects that the URL list points to must allow public access. Storage Transfer Service obeys `robots.txt` rules and requires the HTTP server to support Range requests and to return a Content-Length header in each response. # An HTTP URL data source.
+          "listUrl": "A String", # The URL that points to the file that stores the object list entries. This file must allow public access. Currently, only URLs with HTTP and HTTPS schemes are supported. Required.
+        },
+        "transferOptions": { # TransferOptions uses three boolean parameters to define the actions to be performed on objects in a transfer. # If the option `deleteObjectsUniqueInSink` is `true`, object conditions based on objects' `lastModificationTime` are ignored and do not exclude objects in a data source or a data sink.
+          "overwriteObjectsAlreadyExistingInSink": True or False, # Whether overwriting objects that already exist in the sink is allowed.
+          "deleteObjectsFromSourceAfterTransfer": True or False, # Whether objects should be deleted from the source after they are transferred to the sink.
+          "deleteObjectsUniqueInSink": True or False, # Whether objects that exist only in the sink should be deleted.
+        },
+        "gcsDataSink": { # In a GcsData, an object's name is the Google Cloud Storage object's name and its `lastModificationTime` refers to the object's updated time, which changes when the content or the metadata of the object is updated. # A Google Cloud Storage data sink.
+          "bucketName": "A String", # Google Cloud Storage bucket name (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Required.
+        },
+        "awsS3DataSource": { # An AwsS3Data can be a data source, but not a data sink. In an AwsS3Data, an object's name is the S3 object's key name. # An AWS S3 data source.
+          "awsAccessKey": { # AWS access key (see [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html)). # AWS access key used to sign the API requests to the AWS S3 bucket. Permissions on the bucket must be granted to the access ID of the AWS access key. Required.
+            "secretAccessKey": "A String", # AWS secret access key. This field is not returned in RPC responses. Required.
+            "accessKeyId": "A String", # AWS access key ID. Required.
+          },
+          "bucketName": "A String", # S3 Bucket name (see [Creating a bucket](http://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-location-example.html)). Required.
+        },
+      },
+      "status": "A String", # Status of the job. This value MUST be specified for `CreateTransferJobRequests`. NOTE: The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from `ENABLED` to `DISABLED`, and an operation spawned by the transfer is running, the status change would not affect the current operation.
+      "deletionTime": "A String", # This field cannot be changed by user requests.
+      "name": "A String", # A globally unique name assigned by Storage Transfer Service when the job is created. This field should be left empty in requests to create a new transfer job; otherwise, the requests result in an `INVALID_ARGUMENT` error.
+      "schedule": { # Transfers can be scheduled to recur or to run just once. # Schedule specification. Required.
+        "scheduleStartDate": { # Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`. # The first day the recurring transfer is scheduled to run. Required.
+          "month": 42, # Month of year of date. Must be from 1 to 12.
+          "day": 42, # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not sigificant.
+          "year": 42, # Year of date. Must be from 1 to 9,999, or 0 if specifying a date without a year.
+        },
+        "startTimeOfDay": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may chose to allow leap seconds. Related types are [google.type.Date][google.type.Date] and `google.protobuf.Timestamp`. # The time in UTC at which the transfer will be scheduled to start in a day. Transfers may start later than this time. If not specified, transfers are scheduled to start at midnight UTC.
+          "hours": 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
+          "seconds": 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
+          "minutes": 42, # Minutes of hour of day. Must be from 0 to 59.
+          "nanos": 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
+        },
+        "scheduleEndDate": { # Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`. # The last day the recurring transfer will be run. If `scheduleEndDate` is the same as `scheduleStartDate`, the transfer will be executed only once.
+          "month": 42, # Month of year of date. Must be from 1 to 12.
+          "day": 42, # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not sigificant.
+          "year": 42, # Year of date. Must be from 1 to 9,999, or 0 if specifying a date without a year.
+        },
+      },
+      "projectId": "A String", # The ID of the Google Developers Console project that owns the job. Required.
+      "lastModificationTime": "A String", # This field cannot be changed by user requests.
+      "creationTime": "A String", # This field cannot be changed by user requests.
+      "description": "A String", # A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.
+    }
+
+ +
+ list(pageSize=None, filter=None, pageToken=None, x__xgafv=None) +
Lists transfer jobs.
+
+Args:
+  pageSize: integer, The list page size. The max allowed value is 256.
+  filter: string, A list of query parameters specified as JSON text in the form of {"`project_id`":"my_project_id", "`job_names`":["jobid1","jobid2",...], "`job_statuses`":["status1","status2",...]}. Since `job_names` and `job_statuses` support multiple values, their values must be specified with array notation. `project_id` is required. `job_names` and `job_statuses` are optional. The valid values for `job_statuses` are case-insensitive: `ENABLED`, `DISABLED`, and `DELETED`.
+  pageToken: string, The list page token.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Response from ListTransferJobs.
+    "nextPageToken": "A String", # The list next page token.
+    "transferJobs": [ # A list of transfer jobs.
+      { # This resource represents the configuration of a transfer job that runs periodically.
+          "transferSpec": { # Configuration for running a transfer. # Transfer specification. Required.
+            "objectConditions": { # Conditions that determine which objects will be transferred. # Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' `lastModificationTime` do not exclude objects in a data sink.
+              "maxTimeElapsedSinceLastModification": "A String", # `maxTimeElapsedSinceLastModification` is the complement to `minTimeElapsedSinceLastModification`.
+              "includePrefixes": [ # If `includePrefixes` is specified, objects that satisfy the object conditions must have names that start with one of the `includePrefixes` and that do not start with any of the `excludePrefixes`. If `includePrefixes` is not specified, all objects except those that have names starting with one of the `excludePrefixes` must satisfy the object conditions. Requirements: * Each include-prefix and exclude-prefix can contain any sequence of Unicode characters, of max length 1024 bytes when UTF8-encoded, and must not contain Carriage Return or Line Feed characters. Wildcard matching and regular expression matching are not supported. * None of the include-prefix or the exclude-prefix values can be empty, if specified. * Each include-prefix must include a distinct portion of the object namespace, i.e., no include-prefix may be a prefix of another include-prefix. * Each exclude-prefix must exclude a distinct portion of the object namespace, i.e., no exclude-prefix may be a prefix of another exclude-prefix. * If `includePrefixes` is specified, then each exclude-prefix must start with the value of a path explicitly included by `includePrefixes`. The max size of `includePrefixes` is 20.
+                "A String",
+              ],
+              "excludePrefixes": [ # `excludePrefixes` must follow the requirements described for `includePrefixes`. The max size of `excludePrefixes` is 20.
+                "A String",
+              ],
+              "minTimeElapsedSinceLastModification": "A String", # If unspecified, `minTimeElapsedSinceLastModification` takes a zero value and `maxTimeElapsedSinceLastModification` takes the maximum possible value of Duration. Objects that satisfy the object conditions must either have a `lastModificationTime` greater or equal to `NOW` - `maxTimeElapsedSinceLastModification` and less than `NOW` - `minTimeElapsedSinceLastModification`, or not have a `lastModificationTime`.
+            },
+            "gcsDataSource": { # In a GcsData, an object's name is the Google Cloud Storage object's name and its `lastModificationTime` refers to the object's updated time, which changes when the content or the metadata of the object is updated. # A Google Cloud Storage data source.
+              "bucketName": "A String", # Google Cloud Storage bucket name (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Required.
+            },
+            "httpDataSource": { # An HttpData specifies a list of objects on the web to be transferred over HTTP. The information of the objects to be transferred is contained in a file referenced by a URL. The first line in the file must be "TsvHttpData-1.0", which specifies the format of the file. Subsequent lines specify the information of the list of objects, one object per list entry. Each entry has the following tab-delimited fields: * HTTP URL * Length * MD5 - This field is a base64-encoded MD5 hash of the object An HTTP URL that points to the object to be transferred. It must be a valid URL with URL scheme HTTP or HTTPS. When an object with URL `http(s)://hostname:port/` is transferred to the data sink, the name of the object at the data sink is `/`. Length and MD5 provide the size and the base64-encoded MD5 hash of the object. If Length does not match the actual length of the object fetched, the object will not be transferred. If MD5 does not match the MD5 computed from the transferred bytes, the object transfer will fail. `lastModificationTime` is not available in HttpData objects. The objects that the URL list points to must allow public access. Storage Transfer Service obeys `robots.txt` rules and requires the HTTP server to support Range requests and to return a Content-Length header in each response. # An HTTP URL data source.
+              "listUrl": "A String", # The URL that points to the file that stores the object list entries. This file must allow public access. Currently, only URLs with HTTP and HTTPS schemes are supported. Required.
+            },
+            "transferOptions": { # TransferOptions uses three boolean parameters to define the actions to be performed on objects in a transfer. # If the option `deleteObjectsUniqueInSink` is `true`, object conditions based on objects' `lastModificationTime` are ignored and do not exclude objects in a data source or a data sink.
+              "overwriteObjectsAlreadyExistingInSink": True or False, # Whether overwriting objects that already exist in the sink is allowed.
+              "deleteObjectsFromSourceAfterTransfer": True or False, # Whether objects should be deleted from the source after they are transferred to the sink.
+              "deleteObjectsUniqueInSink": True or False, # Whether objects that exist only in the sink should be deleted.
+            },
+            "gcsDataSink": { # In a GcsData, an object's name is the Google Cloud Storage object's name and its `lastModificationTime` refers to the object's updated time, which changes when the content or the metadata of the object is updated. # A Google Cloud Storage data sink.
+              "bucketName": "A String", # Google Cloud Storage bucket name (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Required.
+            },
+            "awsS3DataSource": { # An AwsS3Data can be a data source, but not a data sink. In an AwsS3Data, an object's name is the S3 object's key name. # An AWS S3 data source.
+              "awsAccessKey": { # AWS access key (see [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html)). # AWS access key used to sign the API requests to the AWS S3 bucket. Permissions on the bucket must be granted to the access ID of the AWS access key. Required.
+                "secretAccessKey": "A String", # AWS secret access key. This field is not returned in RPC responses. Required.
+                "accessKeyId": "A String", # AWS access key ID. Required.
+              },
+              "bucketName": "A String", # S3 Bucket name (see [Creating a bucket](http://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-location-example.html)). Required.
+            },
+          },
+          "status": "A String", # Status of the job. This value MUST be specified for `CreateTransferJobRequests`. NOTE: The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from `ENABLED` to `DISABLED`, and an operation spawned by the transfer is running, the status change would not affect the current operation.
+          "deletionTime": "A String", # This field cannot be changed by user requests.
+          "name": "A String", # A globally unique name assigned by Storage Transfer Service when the job is created. This field should be left empty in requests to create a new transfer job; otherwise, the requests result in an `INVALID_ARGUMENT` error.
+          "schedule": { # Transfers can be scheduled to recur or to run just once. # Schedule specification. Required.
+            "scheduleStartDate": { # Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`. # The first day the recurring transfer is scheduled to run. Required.
+              "month": 42, # Month of year of date. Must be from 1 to 12.
+              "day": 42, # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not sigificant.
+              "year": 42, # Year of date. Must be from 1 to 9,999, or 0 if specifying a date without a year.
+            },
+            "startTimeOfDay": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may chose to allow leap seconds. Related types are [google.type.Date][google.type.Date] and `google.protobuf.Timestamp`. # The time in UTC at which the transfer will be scheduled to start in a day. Transfers may start later than this time. If not specified, transfers are scheduled to start at midnight UTC.
+              "hours": 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
+              "seconds": 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
+              "minutes": 42, # Minutes of hour of day. Must be from 0 to 59.
+              "nanos": 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
+            },
+            "scheduleEndDate": { # Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`. # The last day the recurring transfer will be run. If `scheduleEndDate` is the same as `scheduleStartDate`, the transfer will be executed only once.
+              "month": 42, # Month of year of date. Must be from 1 to 12.
+              "day": 42, # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not sigificant.
+              "year": 42, # Year of date. Must be from 1 to 9,999, or 0 if specifying a date without a year.
+            },
+          },
+          "projectId": "A String", # The ID of the Google Developers Console project that owns the job. Required.
+          "lastModificationTime": "A String", # This field cannot be changed by user requests.
+          "creationTime": "A String", # This field cannot be changed by user requests.
+          "description": "A String", # A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.
+        },
+    ],
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ patch(jobName, body, x__xgafv=None) +
Updates a transfer job. Updating a job's transfer spec does not affect transfer operations that are running already. Updating the scheduling of a job is not allowed.
+
+Args:
+  jobName: string, The name of job to update. Required. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request passed to UpdateTransferJob.
+    "projectId": "A String", # The ID of the Google Developers Console project that owns the job. Required.
+    "updateTransferJobFieldMask": "A String", # The field mask of the fields in `transferJob` that are to be updated in this request. Fields in `transferJob` that can be updated are: `description`, `transferSpec`, and `status`. To update the `transferSpec` of the job, a complete transfer specification has to be provided. An incomplete specification which misses any required fields will be rejected with the error `INVALID_ARGUMENT`.
+    "transferJob": { # This resource represents the configuration of a transfer job that runs periodically. # The job to update. Required.
+        "transferSpec": { # Configuration for running a transfer. # Transfer specification. Required.
+          "objectConditions": { # Conditions that determine which objects will be transferred. # Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' `lastModificationTime` do not exclude objects in a data sink.
+            "maxTimeElapsedSinceLastModification": "A String", # `maxTimeElapsedSinceLastModification` is the complement to `minTimeElapsedSinceLastModification`.
+            "includePrefixes": [ # If `includePrefixes` is specified, objects that satisfy the object conditions must have names that start with one of the `includePrefixes` and that do not start with any of the `excludePrefixes`. If `includePrefixes` is not specified, all objects except those that have names starting with one of the `excludePrefixes` must satisfy the object conditions. Requirements: * Each include-prefix and exclude-prefix can contain any sequence of Unicode characters, of max length 1024 bytes when UTF8-encoded, and must not contain Carriage Return or Line Feed characters. Wildcard matching and regular expression matching are not supported. * None of the include-prefix or the exclude-prefix values can be empty, if specified. * Each include-prefix must include a distinct portion of the object namespace, i.e., no include-prefix may be a prefix of another include-prefix. * Each exclude-prefix must exclude a distinct portion of the object namespace, i.e., no exclude-prefix may be a prefix of another exclude-prefix. * If `includePrefixes` is specified, then each exclude-prefix must start with the value of a path explicitly included by `includePrefixes`. The max size of `includePrefixes` is 20.
+              "A String",
+            ],
+            "excludePrefixes": [ # `excludePrefixes` must follow the requirements described for `includePrefixes`. The max size of `excludePrefixes` is 20.
+              "A String",
+            ],
+            "minTimeElapsedSinceLastModification": "A String", # If unspecified, `minTimeElapsedSinceLastModification` takes a zero value and `maxTimeElapsedSinceLastModification` takes the maximum possible value of Duration. Objects that satisfy the object conditions must either have a `lastModificationTime` greater or equal to `NOW` - `maxTimeElapsedSinceLastModification` and less than `NOW` - `minTimeElapsedSinceLastModification`, or not have a `lastModificationTime`.
+          },
+          "gcsDataSource": { # In a GcsData, an object's name is the Google Cloud Storage object's name and its `lastModificationTime` refers to the object's updated time, which changes when the content or the metadata of the object is updated. # A Google Cloud Storage data source.
+            "bucketName": "A String", # Google Cloud Storage bucket name (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Required.
+          },
+          "httpDataSource": { # An HttpData specifies a list of objects on the web to be transferred over HTTP. The information of the objects to be transferred is contained in a file referenced by a URL. The first line in the file must be "TsvHttpData-1.0", which specifies the format of the file. Subsequent lines specify the information of the list of objects, one object per list entry. Each entry has the following tab-delimited fields: * HTTP URL * Length * MD5 - This field is a base64-encoded MD5 hash of the object An HTTP URL that points to the object to be transferred. It must be a valid URL with URL scheme HTTP or HTTPS. When an object with URL `http(s)://hostname:port/` is transferred to the data sink, the name of the object at the data sink is `/`. Length and MD5 provide the size and the base64-encoded MD5 hash of the object. If Length does not match the actual length of the object fetched, the object will not be transferred. If MD5 does not match the MD5 computed from the transferred bytes, the object transfer will fail. `lastModificationTime` is not available in HttpData objects. The objects that the URL list points to must allow public access. Storage Transfer Service obeys `robots.txt` rules and requires the HTTP server to support Range requests and to return a Content-Length header in each response. # An HTTP URL data source.
+            "listUrl": "A String", # The URL that points to the file that stores the object list entries. This file must allow public access. Currently, only URLs with HTTP and HTTPS schemes are supported. Required.
+          },
+          "transferOptions": { # TransferOptions uses three boolean parameters to define the actions to be performed on objects in a transfer. # If the option `deleteObjectsUniqueInSink` is `true`, object conditions based on objects' `lastModificationTime` are ignored and do not exclude objects in a data source or a data sink.
+            "overwriteObjectsAlreadyExistingInSink": True or False, # Whether overwriting objects that already exist in the sink is allowed.
+            "deleteObjectsFromSourceAfterTransfer": True or False, # Whether objects should be deleted from the source after they are transferred to the sink.
+            "deleteObjectsUniqueInSink": True or False, # Whether objects that exist only in the sink should be deleted.
+          },
+          "gcsDataSink": { # In a GcsData, an object's name is the Google Cloud Storage object's name and its `lastModificationTime` refers to the object's updated time, which changes when the content or the metadata of the object is updated. # A Google Cloud Storage data sink.
+            "bucketName": "A String", # Google Cloud Storage bucket name (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Required.
+          },
+          "awsS3DataSource": { # An AwsS3Data can be a data source, but not a data sink. In an AwsS3Data, an object's name is the S3 object's key name. # An AWS S3 data source.
+            "awsAccessKey": { # AWS access key (see [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html)). # AWS access key used to sign the API requests to the AWS S3 bucket. Permissions on the bucket must be granted to the access ID of the AWS access key. Required.
+              "secretAccessKey": "A String", # AWS secret access key. This field is not returned in RPC responses. Required.
+              "accessKeyId": "A String", # AWS access key ID. Required.
+            },
+            "bucketName": "A String", # S3 Bucket name (see [Creating a bucket](http://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-location-example.html)). Required.
+          },
+        },
+        "status": "A String", # Status of the job. This value MUST be specified for `CreateTransferJobRequests`. NOTE: The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from `ENABLED` to `DISABLED`, and an operation spawned by the transfer is running, the status change would not affect the current operation.
+        "deletionTime": "A String", # This field cannot be changed by user requests.
+        "name": "A String", # A globally unique name assigned by Storage Transfer Service when the job is created. This field should be left empty in requests to create a new transfer job; otherwise, the requests result in an `INVALID_ARGUMENT` error.
+        "schedule": { # Transfers can be scheduled to recur or to run just once. # Schedule specification. Required.
+          "scheduleStartDate": { # Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`. # The first day the recurring transfer is scheduled to run. Required.
+            "month": 42, # Month of year of date. Must be from 1 to 12.
+            "day": 42, # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not sigificant.
+            "year": 42, # Year of date. Must be from 1 to 9,999, or 0 if specifying a date without a year.
+          },
+          "startTimeOfDay": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may chose to allow leap seconds. Related types are [google.type.Date][google.type.Date] and `google.protobuf.Timestamp`. # The time in UTC at which the transfer will be scheduled to start in a day. Transfers may start later than this time. If not specified, transfers are scheduled to start at midnight UTC.
+            "hours": 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
+            "seconds": 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
+            "minutes": 42, # Minutes of hour of day. Must be from 0 to 59.
+            "nanos": 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
+          },
+          "scheduleEndDate": { # Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`. # The last day the recurring transfer will be run. If `scheduleEndDate` is the same as `scheduleStartDate`, the transfer will be executed only once.
+            "month": 42, # Month of year of date. Must be from 1 to 12.
+            "day": 42, # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not sigificant.
+            "year": 42, # Year of date. Must be from 1 to 9,999, or 0 if specifying a date without a year.
+          },
+        },
+        "projectId": "A String", # The ID of the Google Developers Console project that owns the job. Required.
+        "lastModificationTime": "A String", # This field cannot be changed by user requests.
+        "creationTime": "A String", # This field cannot be changed by user requests.
+        "description": "A String", # A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.
+      },
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # This resource represents the configuration of a transfer job that runs periodically.
+      "transferSpec": { # Configuration for running a transfer. # Transfer specification. Required.
+        "objectConditions": { # Conditions that determine which objects will be transferred. # Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' `lastModificationTime` do not exclude objects in a data sink.
+          "maxTimeElapsedSinceLastModification": "A String", # `maxTimeElapsedSinceLastModification` is the complement to `minTimeElapsedSinceLastModification`.
+          "includePrefixes": [ # If `includePrefixes` is specified, objects that satisfy the object conditions must have names that start with one of the `includePrefixes` and that do not start with any of the `excludePrefixes`. If `includePrefixes` is not specified, all objects except those that have names starting with one of the `excludePrefixes` must satisfy the object conditions. Requirements: * Each include-prefix and exclude-prefix can contain any sequence of Unicode characters, of max length 1024 bytes when UTF8-encoded, and must not contain Carriage Return or Line Feed characters. Wildcard matching and regular expression matching are not supported. * None of the include-prefix or the exclude-prefix values can be empty, if specified. * Each include-prefix must include a distinct portion of the object namespace, i.e., no include-prefix may be a prefix of another include-prefix. * Each exclude-prefix must exclude a distinct portion of the object namespace, i.e., no exclude-prefix may be a prefix of another exclude-prefix. * If `includePrefixes` is specified, then each exclude-prefix must start with the value of a path explicitly included by `includePrefixes`. The max size of `includePrefixes` is 20.
+            "A String",
+          ],
+          "excludePrefixes": [ # `excludePrefixes` must follow the requirements described for `includePrefixes`. The max size of `excludePrefixes` is 20.
+            "A String",
+          ],
+          "minTimeElapsedSinceLastModification": "A String", # If unspecified, `minTimeElapsedSinceLastModification` takes a zero value and `maxTimeElapsedSinceLastModification` takes the maximum possible value of Duration. Objects that satisfy the object conditions must either have a `lastModificationTime` greater or equal to `NOW` - `maxTimeElapsedSinceLastModification` and less than `NOW` - `minTimeElapsedSinceLastModification`, or not have a `lastModificationTime`.
+        },
+        "gcsDataSource": { # In a GcsData, an object's name is the Google Cloud Storage object's name and its `lastModificationTime` refers to the object's updated time, which changes when the content or the metadata of the object is updated. # A Google Cloud Storage data source.
+          "bucketName": "A String", # Google Cloud Storage bucket name (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Required.
+        },
+        "httpDataSource": { # An HttpData specifies a list of objects on the web to be transferred over HTTP. The information of the objects to be transferred is contained in a file referenced by a URL. The first line in the file must be "TsvHttpData-1.0", which specifies the format of the file. Subsequent lines specify the information of the list of objects, one object per list entry. Each entry has the following tab-delimited fields: * HTTP URL * Length * MD5 - This field is a base64-encoded MD5 hash of the object An HTTP URL that points to the object to be transferred. It must be a valid URL with URL scheme HTTP or HTTPS. When an object with URL `http(s)://hostname:port/` is transferred to the data sink, the name of the object at the data sink is `/`. Length and MD5 provide the size and the base64-encoded MD5 hash of the object. If Length does not match the actual length of the object fetched, the object will not be transferred. If MD5 does not match the MD5 computed from the transferred bytes, the object transfer will fail. `lastModificationTime` is not available in HttpData objects. The objects that the URL list points to must allow public access. Storage Transfer Service obeys `robots.txt` rules and requires the HTTP server to support Range requests and to return a Content-Length header in each response. # An HTTP URL data source.
+          "listUrl": "A String", # The URL that points to the file that stores the object list entries. This file must allow public access. Currently, only URLs with HTTP and HTTPS schemes are supported. Required.
+        },
+        "transferOptions": { # TransferOptions uses three boolean parameters to define the actions to be performed on objects in a transfer. # If the option `deleteObjectsUniqueInSink` is `true`, object conditions based on objects' `lastModificationTime` are ignored and do not exclude objects in a data source or a data sink.
+          "overwriteObjectsAlreadyExistingInSink": True or False, # Whether overwriting objects that already exist in the sink is allowed.
+          "deleteObjectsFromSourceAfterTransfer": True or False, # Whether objects should be deleted from the source after they are transferred to the sink.
+          "deleteObjectsUniqueInSink": True or False, # Whether objects that exist only in the sink should be deleted.
+        },
+        "gcsDataSink": { # In a GcsData, an object's name is the Google Cloud Storage object's name and its `lastModificationTime` refers to the object's updated time, which changes when the content or the metadata of the object is updated. # A Google Cloud Storage data sink.
+          "bucketName": "A String", # Google Cloud Storage bucket name (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). Required.
+        },
+        "awsS3DataSource": { # An AwsS3Data can be a data source, but not a data sink. In an AwsS3Data, an object's name is the S3 object's key name. # An AWS S3 data source.
+          "awsAccessKey": { # AWS access key (see [AWS Security Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html)). # AWS access key used to sign the API requests to the AWS S3 bucket. Permissions on the bucket must be granted to the access ID of the AWS access key. Required.
+            "secretAccessKey": "A String", # AWS secret access key. This field is not returned in RPC responses. Required.
+            "accessKeyId": "A String", # AWS access key ID. Required.
+          },
+          "bucketName": "A String", # S3 Bucket name (see [Creating a bucket](http://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-location-example.html)). Required.
+        },
+      },
+      "status": "A String", # Status of the job. This value MUST be specified for `CreateTransferJobRequests`. NOTE: The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from `ENABLED` to `DISABLED`, and an operation spawned by the transfer is running, the status change would not affect the current operation.
+      "deletionTime": "A String", # This field cannot be changed by user requests.
+      "name": "A String", # A globally unique name assigned by Storage Transfer Service when the job is created. This field should be left empty in requests to create a new transfer job; otherwise, the requests result in an `INVALID_ARGUMENT` error.
+      "schedule": { # Transfers can be scheduled to recur or to run just once. # Schedule specification. Required.
+        "scheduleStartDate": { # Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`. # The first day the recurring transfer is scheduled to run. Required.
+          "month": 42, # Month of year of date. Must be from 1 to 12.
+          "day": 42, # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not sigificant.
+          "year": 42, # Year of date. Must be from 1 to 9,999, or 0 if specifying a date without a year.
+        },
+        "startTimeOfDay": { # Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may chose to allow leap seconds. Related types are [google.type.Date][google.type.Date] and `google.protobuf.Timestamp`. # The time in UTC at which the transfer will be scheduled to start in a day. Transfers may start later than this time. If not specified, transfers are scheduled to start at midnight UTC.
+          "hours": 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
+          "seconds": 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
+          "minutes": 42, # Minutes of hour of day. Must be from 0 to 59.
+          "nanos": 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
+        },
+        "scheduleEndDate": { # Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`. # The last day the recurring transfer will be run. If `scheduleEndDate` is the same as `scheduleStartDate`, the transfer will be executed only once.
+          "month": 42, # Month of year of date. Must be from 1 to 12.
+          "day": 42, # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not sigificant.
+          "year": 42, # Year of date. Must be from 1 to 9,999, or 0 if specifying a date without a year.
+        },
+      },
+      "projectId": "A String", # The ID of the Google Developers Console project that owns the job. Required.
+      "lastModificationTime": "A String", # This field cannot be changed by user requests.
+      "creationTime": "A String", # This field cannot be changed by user requests.
+      "description": "A String", # A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/storagetransfer_v1.transferOperations.html b/docs/dyn/storagetransfer_v1.transferOperations.html new file mode 100644 index 00000000000..3752f009532 --- /dev/null +++ b/docs/dyn/storagetransfer_v1.transferOperations.html @@ -0,0 +1,257 @@ + + + +

Google Storage Transfer API . transferOperations

+

Instance Methods

+

+ cancel(name, x__xgafv=None)

+

Cancels a transfer. Use the get method to check whether the cancellation succeeded or whether the operation completed despite cancellation.

+

+ delete(name, x__xgafv=None)

+

This method is not supported and the server returns `UNIMPLEMENTED`.

+

+ get(name, x__xgafv=None)

+

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

+

+ list(name, pageSize=None, filter=None, pageToken=None, x__xgafv=None)

+

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding below allows API services to override the binding to use different resource name schemes, such as `users/*/operations`.

+

+ list_next(previous_request, previous_response)

+

Retrieves the next page of results.

+

+ pause(name, body, x__xgafv=None)

+

Pauses a transfer operation.

+

+ resume(name, body, x__xgafv=None)

+

Resumes a transfer operation that is paused.

+

Method Details

+
+ cancel(name, x__xgafv=None) +
Cancels a transfer. Use the get method to check whether the cancellation succeeded or whether the operation completed despite cancellation.
+
+Args:
+  name: string, The name of the operation resource to be cancelled. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ delete(name, x__xgafv=None) +
This method is not supported and the server returns `UNIMPLEMENTED`.
+
+Args:
+  name: string, The name of the operation resource to be deleted. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ get(name, x__xgafv=None) +
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
+
+Args:
+  name: string, The name of the operation resource. (required)
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # This resource represents a long-running operation that is the result of a network API call.
+    "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+    "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error result of the operation in case of failure.
+      "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+      "code": 42, # The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
+      "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
+        {
+          "a_key": "", # Properties of the object. Contains field @ype with type URL.
+        },
+      ],
+    },
+    "done": True or False, # If the value is `false`, it means the operation is still in progress. If true, the operation is completed and the `result` is available.
+    "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping above, the `name` should have the format of `operations/some/unique/name`.
+    "metadata": { # Represents the transfer operation object.
+      "a_key": "", # Properties of the object. Contains field @ype with type URL.
+    },
+  }
+
+ +
+ list(name, pageSize=None, filter=None, pageToken=None, x__xgafv=None) +
Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding below allows API services to override the binding to use different resource name schemes, such as `users/*/operations`.
+
+Args:
+  name: string, The value `transferOperations`. (required)
+  pageSize: integer, The standard list page size.
+  filter: string, The standard list filter.
+  pageToken: string, The standard list page token.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].
+    "operations": [ # A list of operations that matches the specified filter in the request.
+      { # This resource represents a long-running operation that is the result of a network API call.
+        "response": { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
+          "a_key": "", # Properties of the object. Contains field @ype with type URL.
+        },
+        "error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of [google.rpc.Code][google.rpc.Code], but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` which can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons. # The error result of the operation in case of failure.
+          "message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
+          "code": 42, # The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
+          "details": [ # A list of messages that carry the error details. There will be a common set of message types for APIs to use.
+            {
+              "a_key": "", # Properties of the object. Contains field @ype with type URL.
+            },
+          ],
+        },
+        "done": True or False, # If the value is `false`, it means the operation is still in progress. If true, the operation is completed and the `result` is available.
+        "name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping above, the `name` should have the format of `operations/some/unique/name`.
+        "metadata": { # Represents the transfer operation object.
+          "a_key": "", # Properties of the object. Contains field @ype with type URL.
+        },
+      },
+    ],
+    "nextPageToken": "A String", # The standard List next-page token.
+  }
+
+ +
+ list_next(previous_request, previous_response) +
Retrieves the next page of results.
+
+Args:
+  previous_request: The request for the previous page. (required)
+  previous_response: The response from the request for the previous page. (required)
+
+Returns:
+  A request object that you can call 'execute()' on to request the next
+  page. Returns None if there are no more items in the collection.
+    
+
+ +
+ pause(name, body, x__xgafv=None) +
Pauses a transfer operation.
+
+Args:
+  name: string, The name of the transfer operation. Required. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request passed to PauseTransferOperation.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ +
+ resume(name, body, x__xgafv=None) +
Resumes a transfer operation that is paused.
+
+Args:
+  name: string, The name of the transfer operation. Required. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Request passed to ResumeTransferOperation.
+  }
+
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/storagetransfer_v1.v1.html b/docs/dyn/storagetransfer_v1.v1.html new file mode 100644 index 00000000000..5fe0b2526ac --- /dev/null +++ b/docs/dyn/storagetransfer_v1.v1.html @@ -0,0 +1,97 @@ + + + +

Google Storage Transfer API . v1

+

Instance Methods

+

+ getGoogleServiceAccount(projectId=None, x__xgafv=None)

+

Returns the Google service account that is used by Storage Transfer Service to access buckets in the project where transfers run or in other projects. Each Google service account is associated with one Google Developers Console project. Users should add this service account to the Google Cloud Storage bucket ACLs to grant access to Storage Transfer Service. This service account is created and owned by Storage Transfer Service and can only be used by Storage Transfer Service.

+

Method Details

+
+ getGoogleServiceAccount(projectId=None, x__xgafv=None) +
Returns the Google service account that is used by Storage Transfer Service to access buckets in the project where transfers run or in other projects. Each Google service account is associated with one Google Developers Console project. Users should add this service account to the Google Cloud Storage bucket ACLs to grant access to Storage Transfer Service. This service account is created and owned by Storage Transfer Service and can only be used by Storage Transfer Service.
+
+Args:
+  projectId: string, The ID of the Google Developers Console project that the Google service account is associated with. Required.
+  x__xgafv: string, V1 error format.
+
+Returns:
+  An object of the form:
+
+    { # Google service account
+    "accountEmail": "A String", # Required.
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/tagmanager_v1.accounts.containers.folders.entities.html b/docs/dyn/tagmanager_v1.accounts.containers.folders.entities.html new file mode 100644 index 00000000000..8a766fd0266 --- /dev/null +++ b/docs/dyn/tagmanager_v1.accounts.containers.folders.entities.html @@ -0,0 +1,445 @@ + + + +

Tag Manager API . accounts . containers . folders . entities

+

Instance Methods

+

+ list(accountId, containerId, folderId)

+

List all entities in a GTM Folder.

+

Method Details

+
+ list(accountId, containerId, folderId) +
List all entities in a GTM Folder.
+
+Args:
+  accountId: string, The GTM Account ID. (required)
+  containerId: string, The GTM Container ID. (required)
+  folderId: string, The GTM Folder ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Represents a Google Tag Manager Folder's contents.
+    "variable": [ # The list of variables inside the folder.
+      { # Represents a Google Tag Manager Variable.
+        "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable.
+        "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable.
+        "name": "A String", # Variable display name.
+        "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable.
+        "type": "A String", # GTM Variable Type.
+        "notes": "A String", # User notes on how to apply this variable in the container.
+        "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set.
+          "A String",
+        ],
+        "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified.
+        "accountId": "A String", # GTM Account ID.
+        "parameter": [ # The variable's parameters.
+          { # Represents a Google Tag Manager Parameter.
+            "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+              # Object with schema name: Parameter
+            ],
+            "list": [ # This list parameter's parameters (keys will be ignored).
+              # Object with schema name: Parameter
+            ],
+            "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+            "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+            "type": "A String", # The parameter type. Valid values are:
+                # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                # - integer: The value represents a 64-bit signed integer value, in base 10
+                # - list: A list of parameters should be specified
+                # - map: A map of parameters should be specified
+                # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+          },
+        ],
+        "parentFolderId": "A String", # Parent folder id.
+        "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set.
+          "A String",
+        ],
+        "containerId": "A String", # GTM Container ID.
+      },
+    ],
+    "trigger": [ # The list of triggers inside the folder.
+      { # Represents a Google Tag Manager Trigger
+        "filter": [ # The trigger will only fire iff all Conditions are true.
+          { # Represents a predicate.
+            "type": "A String", # The type of operator for this condition.
+            "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
+                # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
+                # - At this time, the left operand (arg0) must be a reference to a macro.
+                # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
+                # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
+              { # Represents a Google Tag Manager Parameter.
+                "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+                  # Object with schema name: Parameter
+                ],
+                "list": [ # This list parameter's parameters (keys will be ignored).
+                  # Object with schema name: Parameter
+                ],
+                "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+                "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+                "type": "A String", # The parameter type. Valid values are:
+                    # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                    # - integer: The value represents a 64-bit signed integer value, in base 10
+                    # - list: A list of parameters should be specified
+                    # - map: A map of parameters should be specified
+                    # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+              },
+            ],
+          },
+        ],
+        "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "containerId": "A String", # GTM Container ID.
+        "type": "A String", # Defines the data layer event that causes this trigger.
+        "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "parentFolderId": "A String", # Parent folder id.
+        "name": "A String", # Trigger display name.
+        "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "autoEventFilter": [ # Used in the case of auto event tracking.
+          { # Represents a predicate.
+            "type": "A String", # The type of operator for this condition.
+            "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
+                # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
+                # - At this time, the left operand (arg0) must be a reference to a macro.
+                # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
+                # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
+              { # Represents a Google Tag Manager Parameter.
+                "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+                  # Object with schema name: Parameter
+                ],
+                "list": [ # This list parameter's parameters (keys will be ignored).
+                  # Object with schema name: Parameter
+                ],
+                "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+                "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+                "type": "A String", # The parameter type. Valid values are:
+                    # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                    # - integer: The value represents a 64-bit signed integer value, in base 10
+                    # - list: A list of parameters should be specified
+                    # - map: A map of parameters should be specified
+                    # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+              },
+            ],
+          },
+        ],
+        "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified.
+        "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true.
+          { # Represents a predicate.
+            "type": "A String", # The type of operator for this condition.
+            "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
+                # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
+                # - At this time, the left operand (arg0) must be a reference to a macro.
+                # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
+                # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
+              { # Represents a Google Tag Manager Parameter.
+                "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+                  # Object with schema name: Parameter
+                ],
+                "list": [ # This list parameter's parameters (keys will be ignored).
+                  # Object with schema name: Parameter
+                ],
+                "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+                "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+                "type": "A String", # The parameter type. Valid values are:
+                    # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                    # - integer: The value represents a 64-bit signed integer value, in base 10
+                    # - list: A list of parameters should be specified
+                    # - map: A map of parameters should be specified
+                    # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+              },
+            ],
+          },
+        ],
+        "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger.
+        "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "accountId": "A String", # GTM Account ID.
+      },
+    ],
+    "tag": [ # The list of tags inside the folder.
+      { # Represents a Google Tag Manager Tag.
+        "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag.
+        "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag.
+        "type": "A String", # GTM Tag Type.
+        "containerId": "A String", # GTM Container ID.
+        "tagFiringOption": "A String", # Option to fire this tag.
+        "notes": "A String", # User notes on how to apply this tag in the container.
+        "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag.
+        "parentFolderId": "A String", # Parent folder id.
+        "name": "A String", # Tag display name.
+        "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "setupTag": [ # The list of setup tags. Currently we only allow one.
+          {
+            "stopOnSetupFailure": True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status.
+            "tagName": "A String", # The name of the setup tag.
+          },
+        ],
+        "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire.
+          "A String",
+        ],
+        "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode).
+        "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified.
+        "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false.
+          "A String",
+        ],
+        "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false.
+          "A String",
+        ],
+        "parameter": [ # The tag's parameters.
+          { # Represents a Google Tag Manager Parameter.
+            "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+              # Object with schema name: Parameter
+            ],
+            "list": [ # This list parameter's parameters (keys will be ignored).
+              # Object with schema name: Parameter
+            ],
+            "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+            "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+            "type": "A String", # The parameter type. Valid values are:
+                # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                # - integer: The value represents a 64-bit signed integer value, in base 10
+                # - list: A list of parameters should be specified
+                # - map: A map of parameters should be specified
+                # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+          },
+        ],
+        "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire.
+          "A String",
+        ],
+        "teardownTag": [ # The list of teardown tags. Currently we only allow one.
+          {
+            "stopTeardownOnFailure": True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status.
+            "tagName": "A String", # The name of the teardown tag.
+          },
+        ],
+        "accountId": "A String", # GTM Account ID.
+      },
+    ],
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/tagmanager_v1.accounts.containers.folders.html b/docs/dyn/tagmanager_v1.accounts.containers.folders.html new file mode 100644 index 00000000000..8f40141f6bc --- /dev/null +++ b/docs/dyn/tagmanager_v1.accounts.containers.folders.html @@ -0,0 +1,218 @@ + + + +

Tag Manager API . accounts . containers . folders

+

Instance Methods

+

+ entities() +

+

Returns the entities Resource.

+ +

+ create(accountId, containerId, body)

+

Creates a GTM Folder.

+

+ delete(accountId, containerId, folderId)

+

Deletes a GTM Folder.

+

+ get(accountId, containerId, folderId)

+

Gets a GTM Folder.

+

+ list(accountId, containerId)

+

Lists all GTM Folders of a Container.

+

+ update(accountId, containerId, folderId, body, fingerprint=None)

+

Updates a GTM Folder.

+

Method Details

+
+ create(accountId, containerId, body) +
Creates a GTM Folder.
+
+Args:
+  accountId: string, The GTM Account ID. (required)
+  containerId: string, The GTM Container ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Represents a Google Tag Manager Folder.
+    "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder.
+    "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified.
+    "containerId": "A String", # GTM Container ID.
+    "name": "A String", # Folder display name.
+    "accountId": "A String", # GTM Account ID.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # Represents a Google Tag Manager Folder.
+      "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder.
+      "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified.
+      "containerId": "A String", # GTM Container ID.
+      "name": "A String", # Folder display name.
+      "accountId": "A String", # GTM Account ID.
+    }
+
+ +
+ delete(accountId, containerId, folderId) +
Deletes a GTM Folder.
+
+Args:
+  accountId: string, The GTM Account ID. (required)
+  containerId: string, The GTM Container ID. (required)
+  folderId: string, The GTM Folder ID. (required)
+
+
+ +
+ get(accountId, containerId, folderId) +
Gets a GTM Folder.
+
+Args:
+  accountId: string, The GTM Account ID. (required)
+  containerId: string, The GTM Container ID. (required)
+  folderId: string, The GTM Folder ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Represents a Google Tag Manager Folder.
+      "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder.
+      "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified.
+      "containerId": "A String", # GTM Container ID.
+      "name": "A String", # Folder display name.
+      "accountId": "A String", # GTM Account ID.
+    }
+
+ +
+ list(accountId, containerId) +
Lists all GTM Folders of a Container.
+
+Args:
+  accountId: string, The GTM Account ID. (required)
+  containerId: string, The GTM Container ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # List Folders Response.
+    "folders": [ # All GTM Folders of a GTM Container.
+      { # Represents a Google Tag Manager Folder.
+          "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder.
+          "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified.
+          "containerId": "A String", # GTM Container ID.
+          "name": "A String", # Folder display name.
+          "accountId": "A String", # GTM Account ID.
+        },
+    ],
+  }
+
+ +
+ update(accountId, containerId, folderId, body, fingerprint=None) +
Updates a GTM Folder.
+
+Args:
+  accountId: string, The GTM Account ID. (required)
+  containerId: string, The GTM Container ID. (required)
+  folderId: string, The GTM Folder ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Represents a Google Tag Manager Folder.
+    "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder.
+    "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified.
+    "containerId": "A String", # GTM Container ID.
+    "name": "A String", # Folder display name.
+    "accountId": "A String", # GTM Account ID.
+  }
+
+  fingerprint: string, When provided, this fingerprint must match the fingerprint of the folder in storage.
+
+Returns:
+  An object of the form:
+
+    { # Represents a Google Tag Manager Folder.
+      "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder.
+      "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified.
+      "containerId": "A String", # GTM Container ID.
+      "name": "A String", # Folder display name.
+      "accountId": "A String", # GTM Account ID.
+    }
+
+ + \ No newline at end of file diff --git a/docs/dyn/tagmanager_v1.accounts.containers.html b/docs/dyn/tagmanager_v1.accounts.containers.html index 20249d1cef0..6605069fccc 100644 --- a/docs/dyn/tagmanager_v1.accounts.containers.html +++ b/docs/dyn/tagmanager_v1.accounts.containers.html @@ -74,11 +74,21 @@

Tag Manager API . accounts . containers

Instance Methods

+

+ folders() +

+

Returns the folders Resource.

+

macros()

Returns the macros Resource.

+

+ move_folders() +

+

Returns the move_folders Resource.

+

rules()

diff --git a/docs/dyn/tagmanager_v1.accounts.containers.macros.html b/docs/dyn/tagmanager_v1.accounts.containers.macros.html index 7045fff578e..fd2a1a1fc51 100644 --- a/docs/dyn/tagmanager_v1.accounts.containers.macros.html +++ b/docs/dyn/tagmanager_v1.accounts.containers.macros.html @@ -133,6 +133,7 @@

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, ], + "parentFolderId": "A String", # Parent folder id. "accountId": "A String", # GTM Account ID. } @@ -173,6 +174,7 @@

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, ], + "parentFolderId": "A String", # Parent folder id. "accountId": "A String", # GTM Account ID. }
@@ -233,6 +235,7 @@

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, ], + "parentFolderId": "A String", # Parent folder id. "accountId": "A String", # GTM Account ID. } @@ -283,6 +286,7 @@

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, ], + "parentFolderId": "A String", # Parent folder id. "accountId": "A String", # GTM Account ID. }, ], @@ -333,6 +337,7 @@

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, ], + "parentFolderId": "A String", # Parent folder id. "accountId": "A String", # GTM Account ID. } @@ -374,6 +379,7 @@

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, ], + "parentFolderId": "A String", # Parent folder id. "accountId": "A String", # GTM Account ID. } diff --git a/docs/dyn/tagmanager_v1.accounts.containers.move_folders.html b/docs/dyn/tagmanager_v1.accounts.containers.move_folders.html new file mode 100644 index 00000000000..7f99bc12b39 --- /dev/null +++ b/docs/dyn/tagmanager_v1.accounts.containers.move_folders.html @@ -0,0 +1,95 @@ + + + +

Tag Manager API . accounts . containers . move_folders

+

Instance Methods

+

+ update(accountId, containerId, folderId, variableId=None, tagId=None, triggerId=None)

+

Moves entities to a GTM Folder.

+

Method Details

+
+ update(accountId, containerId, folderId, variableId=None, tagId=None, triggerId=None) +
Moves entities to a GTM Folder.
+
+Args:
+  accountId: string, The GTM Account ID. (required)
+  containerId: string, The GTM Container ID. (required)
+  folderId: string, The GTM Folder ID. (required)
+  variableId: string, The variables to be moved to the folder. (repeated)
+  tagId: string, The tags to be moved to the folder. (repeated)
+  triggerId: string, The triggers to be moved to the folder. (repeated)
+
+
+ + \ No newline at end of file diff --git a/docs/dyn/tagmanager_v1.accounts.containers.tags.html b/docs/dyn/tagmanager_v1.accounts.containers.tags.html index 84df802b505..2504fe63323 100644 --- a/docs/dyn/tagmanager_v1.accounts.containers.tags.html +++ b/docs/dyn/tagmanager_v1.accounts.containers.tags.html @@ -101,12 +101,91 @@

Method Details

The object takes the form of: { # Represents a Google Tag Manager Tag. + "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. + "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. + "type": "A String", # GTM Tag Type. + "containerId": "A String", # GTM Container ID. + "tagFiringOption": "A String", # Option to fire this tag. + "notes": "A String", # User notes on how to apply this tag in the container. + "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. + "parentFolderId": "A String", # Parent folder id. + "name": "A String", # Tag display name. + "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "setupTag": [ # The list of setup tags. Currently we only allow one. + { + "stopOnSetupFailure": True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status. + "tagName": "A String", # The name of the setup tag. + }, + ], + "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. + "A String", + ], + "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). + "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. + "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false. + "A String", + ], + "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false. + "A String", + ], + "parameter": [ # The tag's parameters. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. + "A String", + ], + "teardownTag": [ # The list of teardown tags. Currently we only allow one. + { + "stopTeardownOnFailure": True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status. + "tagName": "A String", # The name of the teardown tag. + }, + ], + "accountId": "A String", # GTM Account ID. +} + + +Returns: + An object of the form: + + { # Represents a Google Tag Manager Tag. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. - "containerId": "A String", # GTM Container ID. "type": "A String", # GTM Tag Type. + "containerId": "A String", # GTM Container ID. + "tagFiringOption": "A String", # Option to fire this tag. "notes": "A String", # User notes on how to apply this tag in the container. "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. + "parentFolderId": "A String", # Parent folder id. "name": "A String", # Tag display name. "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0. "map": [ # This map parameter's parameters (must have keys; keys must be unique). @@ -124,6 +203,12 @@

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, + "setupTag": [ # The list of setup tags. Currently we only allow one. + { + "stopOnSetupFailure": True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status. + "tagName": "A String", # The name of the setup tag. + }, + ], "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. "A String", ], @@ -156,71 +241,14 @@

Method Details

"blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. "A String", ], - "accountId": "A String", # GTM Account ID. - } - - -Returns: - An object of the form: - - { # Represents a Google Tag Manager Tag. - "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. - "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. - "containerId": "A String", # GTM Container ID. - "type": "A String", # GTM Tag Type. - "notes": "A String", # User notes on how to apply this tag in the container. - "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. - "name": "A String", # Tag display name. - "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + "teardownTag": [ # The list of teardown tags. Currently we only allow one. + { + "stopTeardownOnFailure": True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status. + "tagName": "A String", # The name of the teardown tag. }, - "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. - "A String", - ], - "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). - "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. - "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false. - "A String", - ], - "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false. - "A String", - ], - "parameter": [ # The tag's parameters. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. - "A String", - ], - "accountId": "A String", # GTM Account ID. - } + ], + "accountId": "A String", # GTM Account ID. + }
@@ -247,14 +275,50 @@

Method Details

An object of the form: { # Represents a Google Tag Manager Tag. - "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. - "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. - "containerId": "A String", # GTM Container ID. - "type": "A String", # GTM Tag Type. - "notes": "A String", # User notes on how to apply this tag in the container. - "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. - "name": "A String", # Tag display name. - "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0. + "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. + "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. + "type": "A String", # GTM Tag Type. + "containerId": "A String", # GTM Container ID. + "tagFiringOption": "A String", # Option to fire this tag. + "notes": "A String", # User notes on how to apply this tag in the container. + "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. + "parentFolderId": "A String", # Parent folder id. + "name": "A String", # Tag display name. + "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "setupTag": [ # The list of setup tags. Currently we only allow one. + { + "stopOnSetupFailure": True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status. + "tagName": "A String", # The name of the setup tag. + }, + ], + "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. + "A String", + ], + "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). + "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. + "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false. + "A String", + ], + "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false. + "A String", + ], + "parameter": [ # The tag's parameters. + { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], @@ -270,40 +334,18 @@

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. - "A String", - ], - "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). - "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. - "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false. - "A String", - ], - "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false. - "A String", - ], - "parameter": [ # The tag's parameters. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. - "A String", - ], - "accountId": "A String", # GTM Account ID. - } + ], + "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. + "A String", + ], + "teardownTag": [ # The list of teardown tags. Currently we only allow one. + { + "stopTeardownOnFailure": True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status. + "tagName": "A String", # The name of the teardown tag. + }, + ], + "accountId": "A String", # GTM Account ID. + }
@@ -320,14 +362,50 @@

Method Details

{ # List Tags Response. "tags": [ # All GTM Tags of a GTM Container. { # Represents a Google Tag Manager Tag. - "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. - "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. - "containerId": "A String", # GTM Container ID. - "type": "A String", # GTM Tag Type. - "notes": "A String", # User notes on how to apply this tag in the container. - "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. - "name": "A String", # Tag display name. - "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0. + "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. + "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. + "type": "A String", # GTM Tag Type. + "containerId": "A String", # GTM Container ID. + "tagFiringOption": "A String", # Option to fire this tag. + "notes": "A String", # User notes on how to apply this tag in the container. + "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. + "parentFolderId": "A String", # Parent folder id. + "name": "A String", # Tag display name. + "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "setupTag": [ # The list of setup tags. Currently we only allow one. + { + "stopOnSetupFailure": True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status. + "tagName": "A String", # The name of the setup tag. + }, + ], + "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. + "A String", + ], + "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). + "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. + "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false. + "A String", + ], + "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false. + "A String", + ], + "parameter": [ # The tag's parameters. + { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], @@ -343,40 +421,18 @@

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. - "A String", - ], - "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). - "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. - "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false. - "A String", - ], - "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false. - "A String", - ], - "parameter": [ # The tag's parameters. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. - "A String", - ], - "accountId": "A String", # GTM Account ID. - }, + ], + "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. + "A String", + ], + "teardownTag": [ # The list of teardown tags. Currently we only allow one. + { + "stopTeardownOnFailure": True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status. + "tagName": "A String", # The name of the teardown tag. + }, + ], + "accountId": "A String", # GTM Account ID. + }, ], }
@@ -393,12 +449,92 @@

Method Details

The object takes the form of: { # Represents a Google Tag Manager Tag. + "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. + "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. + "type": "A String", # GTM Tag Type. + "containerId": "A String", # GTM Container ID. + "tagFiringOption": "A String", # Option to fire this tag. + "notes": "A String", # User notes on how to apply this tag in the container. + "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. + "parentFolderId": "A String", # Parent folder id. + "name": "A String", # Tag display name. + "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "setupTag": [ # The list of setup tags. Currently we only allow one. + { + "stopOnSetupFailure": True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status. + "tagName": "A String", # The name of the setup tag. + }, + ], + "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. + "A String", + ], + "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). + "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. + "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false. + "A String", + ], + "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false. + "A String", + ], + "parameter": [ # The tag's parameters. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. + "A String", + ], + "teardownTag": [ # The list of teardown tags. Currently we only allow one. + { + "stopTeardownOnFailure": True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status. + "tagName": "A String", # The name of the teardown tag. + }, + ], + "accountId": "A String", # GTM Account ID. +} + + fingerprint: string, When provided, this fingerprint must match the fingerprint of the tag in storage. + +Returns: + An object of the form: + + { # Represents a Google Tag Manager Tag. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. - "containerId": "A String", # GTM Container ID. "type": "A String", # GTM Tag Type. + "containerId": "A String", # GTM Container ID. + "tagFiringOption": "A String", # Option to fire this tag. "notes": "A String", # User notes on how to apply this tag in the container. "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. + "parentFolderId": "A String", # Parent folder id. "name": "A String", # Tag display name. "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0. "map": [ # This map parameter's parameters (must have keys; keys must be unique). @@ -416,6 +552,12 @@

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, + "setupTag": [ # The list of setup tags. Currently we only allow one. + { + "stopOnSetupFailure": True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status. + "tagName": "A String", # The name of the setup tag. + }, + ], "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. "A String", ], @@ -448,72 +590,14 @@

Method Details

"blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. "A String", ], - "accountId": "A String", # GTM Account ID. - } - - fingerprint: string, When provided, this fingerprint must match the fingerprint of the tag in storage. - -Returns: - An object of the form: - - { # Represents a Google Tag Manager Tag. - "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. - "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. - "containerId": "A String", # GTM Container ID. - "type": "A String", # GTM Tag Type. - "notes": "A String", # User notes on how to apply this tag in the container. - "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. - "name": "A String", # Tag display name. - "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + "teardownTag": [ # The list of teardown tags. Currently we only allow one. + { + "stopTeardownOnFailure": True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status. + "tagName": "A String", # The name of the teardown tag. }, - "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. - "A String", - ], - "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). - "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. - "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false. - "A String", - ], - "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false. - "A String", - ], - "parameter": [ # The tag's parameters. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. - "A String", - ], - "accountId": "A String", # GTM Account ID. - } + ], + "accountId": "A String", # GTM Account ID. + } \ No newline at end of file diff --git a/docs/dyn/tagmanager_v1.accounts.containers.triggers.html b/docs/dyn/tagmanager_v1.accounts.containers.triggers.html index 97d6a54a198..ff800bffcbc 100644 --- a/docs/dyn/tagmanager_v1.accounts.containers.triggers.html +++ b/docs/dyn/tagmanager_v1.accounts.containers.triggers.html @@ -101,6 +101,245 @@

Method Details

The object takes the form of: { # Represents a Google Tag Manager Trigger + "filter": [ # The trigger will only fire iff all Conditions are true. + { # Represents a predicate. + "type": "A String", # The type of operator for this condition. + "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: + # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + # - At this time, the left operand (arg0) must be a reference to a macro. + # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. + # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + }, + ], + "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "containerId": "A String", # GTM Container ID. + "type": "A String", # Defines the data layer event that causes this trigger. + "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "parentFolderId": "A String", # Parent folder id. + "name": "A String", # Trigger display name. + "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "autoEventFilter": [ # Used in the case of auto event tracking. + { # Represents a predicate. + "type": "A String", # The type of operator for this condition. + "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: + # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + # - At this time, the left operand (arg0) must be a reference to a macro. + # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. + # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + }, + ], + "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. + "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. + { # Represents a predicate. + "type": "A String", # The type of operator for this condition. + "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: + # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + # - At this time, the left operand (arg0) must be a reference to a macro. + # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. + # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + }, + ], + "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. + "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "accountId": "A String", # GTM Account ID. +} + + +Returns: + An object of the form: + + { # Represents a Google Tag Manager Trigger "filter": [ # The trigger will only fire iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. @@ -177,6 +416,7 @@

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, "containerId": "A String", # GTM Container ID. + "type": "A String", # Defines the data layer event that causes this trigger. "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter @@ -193,7 +433,7 @@

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. + "parentFolderId": "A String", # Parent folder id. "name": "A String", # Trigger display name. "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). @@ -314,7 +554,7 @@

Method Details

], }, ], - "type": "A String", # Defines the data layer event that causes this trigger. + "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter @@ -332,245 +572,7 @@

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, "accountId": "A String", # GTM Account ID. - } - - -Returns: - An object of the form: - - { # Represents a Google Tag Manager Trigger - "filter": [ # The trigger will only fire iff all Conditions are true. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, - ], - "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "containerId": "A String", # GTM Container ID. - "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. - "name": "A String", # Trigger display name. - "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "autoEventFilter": [ # Used in the case of auto event tracking. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, - ], - "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. - "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, - ], - "type": "A String", # Defines the data layer event that causes this trigger. - "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "accountId": "A String", # GTM Account ID. - } + }
@@ -597,282 +599,15 @@

Method Details

An object of the form: { # Represents a Google Tag Manager Trigger - "filter": [ # The trigger will only fire iff all Conditions are true. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, - ], - "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "containerId": "A String", # GTM Container ID. - "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. - "name": "A String", # Trigger display name. - "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "autoEventFilter": [ # Used in the case of auto event tracking. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, - ], - "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. - "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, - ], - "type": "A String", # Defines the data layer event that causes this trigger. - "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "accountId": "A String", # GTM Account ID. - } -
- -
- list(accountId, containerId) -
Lists all GTM Triggers of a Container.
-
-Args:
-  accountId: string, The GTM Account ID. (required)
-  containerId: string, The GTM Container ID. (required)
-
-Returns:
-  An object of the form:
-
-    { # List triggers response.
-    "triggers": [ # All GTM Triggers of a GTM Container.
-      { # Represents a Google Tag Manager Trigger
-          "filter": [ # The trigger will only fire iff all Conditions are true.
-            { # Represents a predicate.
-              "type": "A String", # The type of operator for this condition.
-              "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
-                  # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
-                  # - At this time, the left operand (arg0) must be a reference to a macro.
-                  # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
-                  # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
-                { # Represents a Google Tag Manager Parameter.
-                  "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                    # Object with schema name: Parameter
-                  ],
-                  "list": [ # This list parameter's parameters (keys will be ignored).
-                    # Object with schema name: Parameter
-                  ],
-                  "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                  "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                  "type": "A String", # The parameter type. Valid values are:
-                      # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                      # - integer: The value represents a 64-bit signed integer value, in base 10
-                      # - list: A list of parameters should be specified
-                      # - map: A map of parameters should be specified
-                      # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-                },
-              ],
-            },
-          ],
-          "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers.
+    "filter": [ # The trigger will only fire iff all Conditions are true.
+      { # Represents a predicate.
+        "type": "A String", # The type of operator for this condition.
+        "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
+            # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
+            # - At this time, the left operand (arg0) must be a reference to a macro.
+            # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
+            # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
+          { # Represents a Google Tag Manager Parameter.
             "map": [ # This map parameter's parameters (must have keys; keys must be unique).
               # Object with schema name: Parameter
             ],
@@ -888,7 +623,102 @@ 

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers. + ], + }, + ], + "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "containerId": "A String", # GTM Container ID. + "type": "A String", # Defines the data layer event that causes this trigger. + "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "parentFolderId": "A String", # Parent folder id. + "name": "A String", # Trigger display name. + "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "autoEventFilter": [ # Used in the case of auto event tracking. + { # Represents a predicate. + "type": "A String", # The type of operator for this condition. + "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: + # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + # - At this time, the left operand (arg0) must be a reference to a macro. + # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. + # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. + { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], @@ -904,24 +734,67 @@

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "containerId": "A String", # GTM Container ID. - "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. + ], + }, + ], + "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. + "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. + { # Represents a predicate. + "type": "A String", # The type of operator for this condition. + "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: + # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + # - At this time, the left operand (arg0) must be a reference to a macro. + # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. + # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. + { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], @@ -937,146 +810,277 @@

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. - "name": "A String", # Trigger display name. - "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter + ], + }, + ], + "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. + "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "accountId": "A String", # GTM Account ID. + }
+
+ +
+ list(accountId, containerId) +
Lists all GTM Triggers of a Container.
+
+Args:
+  accountId: string, The GTM Account ID. (required)
+  containerId: string, The GTM Container ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # List triggers response.
+    "triggers": [ # All GTM Triggers of a GTM Container.
+      { # Represents a Google Tag Manager Trigger
+        "filter": [ # The trigger will only fire iff all Conditions are true.
+          { # Represents a predicate.
+            "type": "A String", # The type of operator for this condition.
+            "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
+                # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
+                # - At this time, the left operand (arg0) must be a reference to a macro.
+                # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
+                # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
+              { # Represents a Google Tag Manager Parameter.
+                "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+                  # Object with schema name: Parameter
+                ],
+                "list": [ # This list parameter's parameters (keys will be ignored).
+                  # Object with schema name: Parameter
+                ],
+                "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+                "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+                "type": "A String", # The parameter type. Valid values are:
+                    # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                    # - integer: The value represents a 64-bit signed integer value, in base 10
+                    # - list: A list of parameters should be specified
+                    # - map: A map of parameters should be specified
+                    # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+              },
             ],
-            "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-            "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-            "type": "A String", # The parameter type. Valid values are:
-                # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                # - integer: The value represents a 64-bit signed integer value, in base 10
-                # - list: A list of parameters should be specified
-                # - map: A map of parameters should be specified
-                # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
           },
-          "autoEventFilter": [ # Used in the case of auto event tracking.
-            { # Represents a predicate.
-              "type": "A String", # The type of operator for this condition.
-              "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
-                  # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
-                  # - At this time, the left operand (arg0) must be a reference to a macro.
-                  # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
-                  # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
-                { # Represents a Google Tag Manager Parameter.
-                  "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                    # Object with schema name: Parameter
-                  ],
-                  "list": [ # This list parameter's parameters (keys will be ignored).
-                    # Object with schema name: Parameter
-                  ],
-                  "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                  "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                  "type": "A String", # The parameter type. Valid values are:
-                      # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                      # - integer: The value represents a 64-bit signed integer value, in base 10
-                      # - list: A list of parameters should be specified
-                      # - map: A map of parameters should be specified
-                      # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-                },
-              ],
-            },
+        ],
+        "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
           ],
-          "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers.
-            "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-              # Object with schema name: Parameter
-            ],
-            "list": [ # This list parameter's parameters (keys will be ignored).
-              # Object with schema name: Parameter
-            ],
-            "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-            "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-            "type": "A String", # The parameter type. Valid values are:
-                # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                # - integer: The value represents a 64-bit signed integer value, in base 10
-                # - list: A list of parameters should be specified
-                # - map: A map of parameters should be specified
-                # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-          },
-          "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers.
-            "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-              # Object with schema name: Parameter
-            ],
-            "list": [ # This list parameter's parameters (keys will be ignored).
-              # Object with schema name: Parameter
-            ],
-            "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-            "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-            "type": "A String", # The parameter type. Valid values are:
-                # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                # - integer: The value represents a 64-bit signed integer value, in base 10
-                # - list: A list of parameters should be specified
-                # - map: A map of parameters should be specified
-                # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-          },
-          "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers.
-            "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-              # Object with schema name: Parameter
-            ],
-            "list": [ # This list parameter's parameters (keys will be ignored).
-              # Object with schema name: Parameter
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "containerId": "A String", # GTM Container ID.
+        "type": "A String", # Defines the data layer event that causes this trigger.
+        "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "parentFolderId": "A String", # Parent folder id.
+        "name": "A String", # Trigger display name.
+        "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "autoEventFilter": [ # Used in the case of auto event tracking.
+          { # Represents a predicate.
+            "type": "A String", # The type of operator for this condition.
+            "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
+                # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
+                # - At this time, the left operand (arg0) must be a reference to a macro.
+                # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
+                # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
+              { # Represents a Google Tag Manager Parameter.
+                "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+                  # Object with schema name: Parameter
+                ],
+                "list": [ # This list parameter's parameters (keys will be ignored).
+                  # Object with schema name: Parameter
+                ],
+                "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+                "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+                "type": "A String", # The parameter type. Valid values are:
+                    # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                    # - integer: The value represents a 64-bit signed integer value, in base 10
+                    # - list: A list of parameters should be specified
+                    # - map: A map of parameters should be specified
+                    # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+              },
             ],
-            "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-            "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-            "type": "A String", # The parameter type. Valid values are:
-                # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                # - integer: The value represents a 64-bit signed integer value, in base 10
-                # - list: A list of parameters should be specified
-                # - map: A map of parameters should be specified
-                # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
           },
-          "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified.
-          "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true.
-            { # Represents a predicate.
-              "type": "A String", # The type of operator for this condition.
-              "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
-                  # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
-                  # - At this time, the left operand (arg0) must be a reference to a macro.
-                  # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
-                  # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
-                { # Represents a Google Tag Manager Parameter.
-                  "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                    # Object with schema name: Parameter
-                  ],
-                  "list": [ # This list parameter's parameters (keys will be ignored).
-                    # Object with schema name: Parameter
-                  ],
-                  "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                  "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                  "type": "A String", # The parameter type. Valid values are:
-                      # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                      # - integer: The value represents a 64-bit signed integer value, in base 10
-                      # - list: A list of parameters should be specified
-                      # - map: A map of parameters should be specified
-                      # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-                },
-              ],
-            },
+        ],
+        "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
           ],
-          "type": "A String", # Defines the data layer event that causes this trigger.
-          "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers.
-            "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-              # Object with schema name: Parameter
-            ],
-            "list": [ # This list parameter's parameters (keys will be ignored).
-              # Object with schema name: Parameter
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified.
+        "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true.
+          { # Represents a predicate.
+            "type": "A String", # The type of operator for this condition.
+            "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
+                # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
+                # - At this time, the left operand (arg0) must be a reference to a macro.
+                # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
+                # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
+              { # Represents a Google Tag Manager Parameter.
+                "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+                  # Object with schema name: Parameter
+                ],
+                "list": [ # This list parameter's parameters (keys will be ignored).
+                  # Object with schema name: Parameter
+                ],
+                "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+                "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+                "type": "A String", # The parameter type. Valid values are:
+                    # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                    # - integer: The value represents a 64-bit signed integer value, in base 10
+                    # - list: A list of parameters should be specified
+                    # - map: A map of parameters should be specified
+                    # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+              },
             ],
-            "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-            "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-            "type": "A String", # The parameter type. Valid values are:
-                # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                # - integer: The value represents a 64-bit signed integer value, in base 10
-                # - list: A list of parameters should be specified
-                # - map: A map of parameters should be specified
-                # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
           },
-          "accountId": "A String", # GTM Account ID.
+        ],
+        "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger.
+        "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
         },
+        "accountId": "A String", # GTM Account ID.
+      },
     ],
   }
@@ -1093,6 +1097,246 @@

Method Details

The object takes the form of: { # Represents a Google Tag Manager Trigger + "filter": [ # The trigger will only fire iff all Conditions are true. + { # Represents a predicate. + "type": "A String", # The type of operator for this condition. + "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: + # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + # - At this time, the left operand (arg0) must be a reference to a macro. + # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. + # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + }, + ], + "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "containerId": "A String", # GTM Container ID. + "type": "A String", # Defines the data layer event that causes this trigger. + "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "parentFolderId": "A String", # Parent folder id. + "name": "A String", # Trigger display name. + "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "autoEventFilter": [ # Used in the case of auto event tracking. + { # Represents a predicate. + "type": "A String", # The type of operator for this condition. + "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: + # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + # - At this time, the left operand (arg0) must be a reference to a macro. + # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. + # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + }, + ], + "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. + "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. + { # Represents a predicate. + "type": "A String", # The type of operator for this condition. + "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: + # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + # - At this time, the left operand (arg0) must be a reference to a macro. + # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. + # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + }, + ], + "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. + "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "accountId": "A String", # GTM Account ID. +} + + fingerprint: string, When provided, this fingerprint must match the fingerprint of the trigger in storage. + +Returns: + An object of the form: + + { # Represents a Google Tag Manager Trigger "filter": [ # The trigger will only fire iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. @@ -1169,6 +1413,7 @@

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, "containerId": "A String", # GTM Container ID. + "type": "A String", # Defines the data layer event that causes this trigger. "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter @@ -1185,7 +1430,7 @@

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. + "parentFolderId": "A String", # Parent folder id. "name": "A String", # Trigger display name. "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). @@ -1306,7 +1551,7 @@

Method Details

], }, ], - "type": "A String", # Defines the data layer event that causes this trigger. + "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter @@ -1324,246 +1569,7 @@

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, "accountId": "A String", # GTM Account ID. - } - - fingerprint: string, When provided, this fingerprint must match the fingerprint of the trigger in storage. - -Returns: - An object of the form: - - { # Represents a Google Tag Manager Trigger - "filter": [ # The trigger will only fire iff all Conditions are true. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, - ], - "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "containerId": "A String", # GTM Container ID. - "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. - "name": "A String", # Trigger display name. - "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "autoEventFilter": [ # Used in the case of auto event tracking. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, - ], - "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. - "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, - ], - "type": "A String", # Defines the data layer event that causes this trigger. - "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "accountId": "A String", # GTM Account ID. - } + } \ No newline at end of file diff --git a/docs/dyn/tagmanager_v1.accounts.containers.variables.html b/docs/dyn/tagmanager_v1.accounts.containers.variables.html index d70c9fd69ed..b9fc291dff0 100644 --- a/docs/dyn/tagmanager_v1.accounts.containers.variables.html +++ b/docs/dyn/tagmanager_v1.accounts.containers.variables.html @@ -101,6 +101,47 @@

Method Details

The object takes the form of: { # Represents a Google Tag Manager Variable. + "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. + "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. + "name": "A String", # Variable display name. + "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. + "type": "A String", # GTM Variable Type. + "notes": "A String", # User notes on how to apply this variable in the container. + "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set. + "A String", + ], + "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. + "accountId": "A String", # GTM Account ID. + "parameter": [ # The variable's parameters. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + "parentFolderId": "A String", # Parent folder id. + "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. + "A String", + ], + "containerId": "A String", # GTM Container ID. +} + + +Returns: + An object of the form: + + { # Represents a Google Tag Manager Variable. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. "name": "A String", # Variable display name. @@ -130,51 +171,12 @@

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, ], + "parentFolderId": "A String", # Parent folder id. "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. "A String", ], "containerId": "A String", # GTM Container ID. - } - - -Returns: - An object of the form: - - { # Represents a Google Tag Manager Variable. - "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. - "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. - "name": "A String", # Variable display name. - "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. - "type": "A String", # GTM Variable Type. - "notes": "A String", # User notes on how to apply this variable in the container. - "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set. - "A String", - ], - "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. - "accountId": "A String", # GTM Account ID. - "parameter": [ # The variable's parameters. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. - "A String", - ], - "containerId": "A String", # GTM Container ID. - } + }
@@ -201,40 +203,41 @@

Method Details

An object of the form: { # Represents a Google Tag Manager Variable. - "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. - "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. - "name": "A String", # Variable display name. - "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. - "type": "A String", # GTM Variable Type. - "notes": "A String", # User notes on how to apply this variable in the container. - "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set. - "A String", - ], - "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. - "accountId": "A String", # GTM Account ID. - "parameter": [ # The variable's parameters. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. - "A String", - ], - "containerId": "A String", # GTM Container ID. - } + "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. + "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. + "name": "A String", # Variable display name. + "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. + "type": "A String", # GTM Variable Type. + "notes": "A String", # User notes on how to apply this variable in the container. + "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set. + "A String", + ], + "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. + "accountId": "A String", # GTM Account ID. + "parameter": [ # The variable's parameters. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + "parentFolderId": "A String", # Parent folder id. + "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. + "A String", + ], + "containerId": "A String", # GTM Container ID. + }
@@ -251,40 +254,41 @@

Method Details

{ # List Variables Response. "variables": [ # All GTM Variables of a GTM Container. { # Represents a Google Tag Manager Variable. - "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. - "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. - "name": "A String", # Variable display name. - "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. - "type": "A String", # GTM Variable Type. - "notes": "A String", # User notes on how to apply this variable in the container. - "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set. - "A String", - ], - "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. - "accountId": "A String", # GTM Account ID. - "parameter": [ # The variable's parameters. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. - "A String", - ], - "containerId": "A String", # GTM Container ID. - }, + "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. + "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. + "name": "A String", # Variable display name. + "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. + "type": "A String", # GTM Variable Type. + "notes": "A String", # User notes on how to apply this variable in the container. + "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set. + "A String", + ], + "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. + "accountId": "A String", # GTM Account ID. + "parameter": [ # The variable's parameters. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + "parentFolderId": "A String", # Parent folder id. + "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. + "A String", + ], + "containerId": "A String", # GTM Container ID. + }, ], }
@@ -301,6 +305,48 @@

Method Details

The object takes the form of: { # Represents a Google Tag Manager Variable. + "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. + "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. + "name": "A String", # Variable display name. + "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. + "type": "A String", # GTM Variable Type. + "notes": "A String", # User notes on how to apply this variable in the container. + "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set. + "A String", + ], + "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. + "accountId": "A String", # GTM Account ID. + "parameter": [ # The variable's parameters. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + "parentFolderId": "A String", # Parent folder id. + "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. + "A String", + ], + "containerId": "A String", # GTM Container ID. +} + + fingerprint: string, When provided, this fingerprint must match the fingerprint of the variable in storage. + +Returns: + An object of the form: + + { # Represents a Google Tag Manager Variable. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. "name": "A String", # Variable display name. @@ -330,52 +376,12 @@

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, ], + "parentFolderId": "A String", # Parent folder id. "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. "A String", ], "containerId": "A String", # GTM Container ID. - } - - fingerprint: string, When provided, this fingerprint must match the fingerprint of the variable in storage. - -Returns: - An object of the form: - - { # Represents a Google Tag Manager Variable. - "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. - "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. - "name": "A String", # Variable display name. - "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. - "type": "A String", # GTM Variable Type. - "notes": "A String", # User notes on how to apply this variable in the container. - "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set. - "A String", - ], - "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. - "accountId": "A String", # GTM Account ID. - "parameter": [ # The variable's parameters. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. - "A String", - ], - "containerId": "A String", # GTM Container ID. - } + } \ No newline at end of file diff --git a/docs/dyn/tagmanager_v1.accounts.containers.versions.html b/docs/dyn/tagmanager_v1.accounts.containers.versions.html index 8d9a4fbbff7..81b2fe8de20 100644 --- a/docs/dyn/tagmanager_v1.accounts.containers.versions.html +++ b/docs/dyn/tagmanager_v1.accounts.containers.versions.html @@ -176,6 +176,7 @@

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, ], + "parentFolderId": "A String", # Parent folder id. "accountId": "A String", # GTM Account ID. }, ], @@ -220,14 +221,50 @@

Method Details

"name": "A String", # Container version display name. "tag": [ # The tags in the container that this version was taken from. { # Represents a Google Tag Manager Tag. - "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. - "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. - "containerId": "A String", # GTM Container ID. - "type": "A String", # GTM Tag Type. - "notes": "A String", # User notes on how to apply this tag in the container. - "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. - "name": "A String", # Tag display name. - "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0. + "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. + "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. + "type": "A String", # GTM Tag Type. + "containerId": "A String", # GTM Container ID. + "tagFiringOption": "A String", # Option to fire this tag. + "notes": "A String", # User notes on how to apply this tag in the container. + "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. + "parentFolderId": "A String", # Parent folder id. + "name": "A String", # Tag display name. + "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "setupTag": [ # The list of setup tags. Currently we only allow one. + { + "stopOnSetupFailure": True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status. + "tagName": "A String", # The name of the setup tag. + }, + ], + "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. + "A String", + ], + "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). + "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. + "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false. + "A String", + ], + "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false. + "A String", + ], + "parameter": [ # The tag's parameters. + { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], @@ -243,142 +280,36 @@

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. - "A String", - ], - "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). - "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. - "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false. - "A String", - ], - "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false. - "A String", - ], - "parameter": [ # The tag's parameters. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. - "A String", - ], - "accountId": "A String", # GTM Account ID. - }, + ], + "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. + "A String", + ], + "teardownTag": [ # The list of teardown tags. Currently we only allow one. + { + "stopTeardownOnFailure": True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status. + "tagName": "A String", # The name of the teardown tag. + }, + ], + "accountId": "A String", # GTM Account ID. + }, ], "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version. "fingerprint": "A String", # The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified. "variable": [ # The variables in the container that this version was taken from. { # Represents a Google Tag Manager Variable. - "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. - "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. - "name": "A String", # Variable display name. - "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. - "type": "A String", # GTM Variable Type. - "notes": "A String", # User notes on how to apply this variable in the container. - "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set. - "A String", - ], - "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. - "accountId": "A String", # GTM Account ID. - "parameter": [ # The variable's parameters. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. - "A String", - ], - "containerId": "A String", # GTM Container ID. - }, - ], - "trigger": [ # The triggers in the container that this version was taken from. - { # Represents a Google Tag Manager Trigger - "filter": [ # The trigger will only fire iff all Conditions are true. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, - ], - "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers. + "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. + "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. + "name": "A String", # Variable display name. + "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. + "type": "A String", # GTM Variable Type. + "notes": "A String", # User notes on how to apply this variable in the container. + "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set. + "A String", + ], + "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. + "accountId": "A String", # GTM Account ID. + "parameter": [ # The variable's parameters. + { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], @@ -394,170 +325,265 @@

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, + ], + "parentFolderId": "A String", # Parent folder id. + "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. + "A String", + ], + "containerId": "A String", # GTM Container ID. + }, + ], + "folder": [ # The folders in the container that this version was taken from. + { # Represents a Google Tag Manager Folder. + "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder. + "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified. "containerId": "A String", # GTM Container ID. - "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter + "name": "A String", # Folder display name. + "accountId": "A String", # GTM Account ID. + }, + ], + "trigger": [ # The triggers in the container that this version was taken from. + { # Represents a Google Tag Manager Trigger + "filter": [ # The trigger will only fire iff all Conditions are true. + { # Represents a predicate. + "type": "A String", # The type of operator for this condition. + "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: + # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + # - At this time, the left operand (arg0) must be a reference to a macro. + # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. + # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. - "name": "A String", # Trigger display name. - "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "autoEventFilter": [ # Used in the case of auto event tracking. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, + ], + "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter ], - "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. - "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter ], - "type": "A String", # Defines the data layer event that causes this trigger. - "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "containerId": "A String", # GTM Container ID. + "type": "A String", # Defines the data layer event that causes this trigger. + "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "parentFolderId": "A String", # Parent folder id. + "name": "A String", # Trigger display name. + "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "autoEventFilter": [ # Used in the case of auto event tracking. + { # Represents a predicate. + "type": "A String", # The type of operator for this condition. + "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: + # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + # - At this time, the left operand (arg0) must be a reference to a macro. + # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. + # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - "accountId": "A String", # GTM Account ID. + ], + "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - ], - "accountId": "A String", # GTM Account ID. - }, - "compilerError": True or False, # Compiler errors or not. - } - - + "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. + "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. + { # Represents a predicate. + "type": "A String", # The type of operator for this condition. + "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: + # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + # - At this time, the left operand (arg0) must be a reference to a macro. + # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. + # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + }, + ], + "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. + "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "accountId": "A String", # GTM Account ID. + }, + ], + "accountId": "A String", # GTM Account ID. + }, + "compilerError": True or False, # Compiler errors or not. + } + +
delete(accountId, containerId, containerVersionId)
Deletes a Container Version.
@@ -637,6 +663,7 @@ 

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, ], + "parentFolderId": "A String", # Parent folder id. "accountId": "A String", # GTM Account ID. }, ], @@ -653,812 +680,166 @@

Method Details

"type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, - ], - "containerId": "A String", # GTM Container ID. - }, - ], - "name": "A String", # Container version display name. - "tag": [ # The tags in the container that this version was taken from. - { # Represents a Google Tag Manager Tag. - "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. - "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. - "containerId": "A String", # GTM Container ID. - "type": "A String", # GTM Tag Type. - "notes": "A String", # User notes on how to apply this tag in the container. - "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. - "name": "A String", # Tag display name. - "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. - "A String", - ], - "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). - "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. - "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false. - "A String", - ], - "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false. - "A String", - ], - "parameter": [ # The tag's parameters. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. - "A String", - ], - "accountId": "A String", # GTM Account ID. - }, - ], - "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version. - "fingerprint": "A String", # The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified. - "variable": [ # The variables in the container that this version was taken from. - { # Represents a Google Tag Manager Variable. - "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. - "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. - "name": "A String", # Variable display name. - "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. - "type": "A String", # GTM Variable Type. - "notes": "A String", # User notes on how to apply this variable in the container. - "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set. - "A String", - ], - "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. - "accountId": "A String", # GTM Account ID. - "parameter": [ # The variable's parameters. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. - "A String", - ], - "containerId": "A String", # GTM Container ID. - }, - ], - "trigger": [ # The triggers in the container that this version was taken from. - { # Represents a Google Tag Manager Trigger - "filter": [ # The trigger will only fire iff all Conditions are true. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, - ], - "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "containerId": "A String", # GTM Container ID. - "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. - "name": "A String", # Trigger display name. - "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "autoEventFilter": [ # Used in the case of auto event tracking. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, - ], - "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. - "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, - ], - "type": "A String", # Defines the data layer event that causes this trigger. - "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "accountId": "A String", # GTM Account ID. - }, - ], - "accountId": "A String", # GTM Account ID. - }
-
- -
- list(accountId, containerId, headers=None) -
Lists all Container Versions of a GTM Container.
-
-Args:
-  accountId: string, The GTM Account ID. (required)
-  containerId: string, The GTM Container ID. (required)
-  headers: boolean, Retrieve headers only when true.
-
-Returns:
-  An object of the form:
-
-    { # List container versions response.
-    "containerVersionHeader": [ # All container version headers of a GTM Container.
-      { # Represents a Google Tag Manager Container Version Header.
-        "name": "A String", # Container version display name.
-        "deleted": True or False, # A value of true indicates this container version has been deleted.
-        "numMacros": "A String", # Number of macros in the container version.
-        "numVariables": "A String", # Number of variables in the container version.
-        "numTags": "A String", # Number of tags in the container version.
-        "numRules": "A String", # Number of rules in the container version.
-        "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version.
-        "numTriggers": "A String", # Number of triggers in the container version.
-        "accountId": "A String", # GTM Account ID.
-        "containerId": "A String", # GTM Container ID.
-      },
-    ],
-    "containerVersion": [ # All versions of a GTM Container.
-      { # Represents a Google Tag Manager Container Version.
-        "container": { # Represents a Google Tag Manager Container. # The container that this version was taken from.
-            "timeZoneId": "A String", # Container Time Zone ID.
-            "enabledBuiltInVariable": [ # List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.
-              "A String",
-            ],
-            "timeZoneCountryId": "A String", # Container Country ID.
-            "publicId": "A String", # Container Public ID.
-            "containerId": "A String", # The Container ID uniquely identifies the GTM Container.
-            "domainName": [ # Optional list of domain names associated with the Container.
-              "A String",
-            ],
-            "notes": "A String", # Container Notes.
-            "usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, ios.
-              "A String",
-            ],
-            "fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
-            "accountId": "A String", # GTM Account ID.
-            "name": "A String", # Container display name.
-          },
-        "containerId": "A String", # GTM Container ID.
-        "deleted": True or False, # A value of true indicates this container version has been deleted.
-        "macro": [ # The macros in the container that this version was taken from.
-          { # Represents a Google Tag Manager Macro.
-              "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a macro.
-              "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a macro.
-              "macroId": "A String", # The Macro ID uniquely identifies the GTM Macro.
-              "containerId": "A String", # GTM Container ID.
-              "type": "A String", # GTM Macro Type.
-              "notes": "A String", # User notes on how to apply this macro in the container.
-              "enablingRuleId": [ # For mobile containers only: A list of rule IDs for enabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
-                "A String",
-              ],
-              "name": "A String", # Macro display name.
-              "disablingRuleId": [ # For mobile containers only: A list of rule IDs for disabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
-                "A String",
-              ],
-              "fingerprint": "A String", # The fingerprint of the GTM Macro as computed at storage time. This value is recomputed whenever the macro is modified.
-              "parameter": [ # The macro's parameters.
-                { # Represents a Google Tag Manager Parameter.
-                  "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                    # Object with schema name: Parameter
-                  ],
-                  "list": [ # This list parameter's parameters (keys will be ignored).
-                    # Object with schema name: Parameter
-                  ],
-                  "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                  "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                  "type": "A String", # The parameter type. Valid values are:
-                      # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                      # - integer: The value represents a 64-bit signed integer value, in base 10
-                      # - list: A list of parameters should be specified
-                      # - map: A map of parameters should be specified
-                      # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-                },
-              ],
-              "accountId": "A String", # GTM Account ID.
-            },
-        ],
-        "notes": "A String", # User notes on how to apply this container version in the container.
-        "rule": [ # The rules in the container that this version was taken from.
-          { # Represents a Google Tag Manager Rule.
-              "name": "A String", # Rule display name.
-              "ruleId": "A String", # The Rule ID uniquely identifies the GTM Rule.
-              "notes": "A String", # User notes on how to apply this rule in the container.
-              "fingerprint": "A String", # The fingerprint of the GTM Rule as computed at storage time. This value is recomputed whenever the rule is modified.
-              "accountId": "A String", # GTM Account ID.
-              "condition": [ # The list of conditions that make up this rule (implicit AND between them).
-                { # Represents a predicate.
-                  "type": "A String", # The type of operator for this condition.
-                  "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
-                      # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
-                      # - At this time, the left operand (arg0) must be a reference to a macro.
-                      # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
-                      # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
-                    { # Represents a Google Tag Manager Parameter.
-                      "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                        # Object with schema name: Parameter
-                      ],
-                      "list": [ # This list parameter's parameters (keys will be ignored).
-                        # Object with schema name: Parameter
-                      ],
-                      "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                      "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                      "type": "A String", # The parameter type. Valid values are:
-                          # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                          # - integer: The value represents a 64-bit signed integer value, in base 10
-                          # - list: A list of parameters should be specified
-                          # - map: A map of parameters should be specified
-                          # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-                    },
-                  ],
-                },
-              ],
-              "containerId": "A String", # GTM Container ID.
-            },
-        ],
-        "name": "A String", # Container version display name.
-        "tag": [ # The tags in the container that this version was taken from.
-          { # Represents a Google Tag Manager Tag.
-              "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag.
-              "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag.
-              "containerId": "A String", # GTM Container ID.
-              "type": "A String", # GTM Tag Type.
-              "notes": "A String", # User notes on how to apply this tag in the container.
-              "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag.
-              "name": "A String", # Tag display name.
-              "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0.
-                "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                  # Object with schema name: Parameter
-                ],
-                "list": [ # This list parameter's parameters (keys will be ignored).
-                  # Object with schema name: Parameter
-                ],
-                "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                "type": "A String", # The parameter type. Valid values are:
-                    # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                    # - integer: The value represents a 64-bit signed integer value, in base 10
-                    # - list: A list of parameters should be specified
-                    # - map: A map of parameters should be specified
-                    # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-              },
-              "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire.
-                "A String",
-              ],
-              "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode).
-              "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified.
-              "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false.
-                "A String",
-              ],
-              "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false.
-                "A String",
-              ],
-              "parameter": [ # The tag's parameters.
-                { # Represents a Google Tag Manager Parameter.
-                  "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                    # Object with schema name: Parameter
-                  ],
-                  "list": [ # This list parameter's parameters (keys will be ignored).
-                    # Object with schema name: Parameter
-                  ],
-                  "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                  "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                  "type": "A String", # The parameter type. Valid values are:
-                      # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                      # - integer: The value represents a 64-bit signed integer value, in base 10
-                      # - list: A list of parameters should be specified
-                      # - map: A map of parameters should be specified
-                      # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-                },
-              ],
-              "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire.
-                "A String",
-              ],
-              "accountId": "A String", # GTM Account ID.
-            },
-        ],
-        "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version.
-        "fingerprint": "A String", # The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified.
-        "variable": [ # The variables in the container that this version was taken from.
-          { # Represents a Google Tag Manager Variable.
-              "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable.
-              "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable.
-              "name": "A String", # Variable display name.
-              "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable.
-              "type": "A String", # GTM Variable Type.
-              "notes": "A String", # User notes on how to apply this variable in the container.
-              "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set.
-                "A String",
-              ],
-              "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified.
-              "accountId": "A String", # GTM Account ID.
-              "parameter": [ # The variable's parameters.
-                { # Represents a Google Tag Manager Parameter.
-                  "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                    # Object with schema name: Parameter
-                  ],
-                  "list": [ # This list parameter's parameters (keys will be ignored).
-                    # Object with schema name: Parameter
-                  ],
-                  "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                  "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                  "type": "A String", # The parameter type. Valid values are:
-                      # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                      # - integer: The value represents a 64-bit signed integer value, in base 10
-                      # - list: A list of parameters should be specified
-                      # - map: A map of parameters should be specified
-                      # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-                },
-              ],
-              "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set.
-                "A String",
-              ],
-              "containerId": "A String", # GTM Container ID.
-            },
-        ],
-        "trigger": [ # The triggers in the container that this version was taken from.
-          { # Represents a Google Tag Manager Trigger
-              "filter": [ # The trigger will only fire iff all Conditions are true.
-                { # Represents a predicate.
-                  "type": "A String", # The type of operator for this condition.
-                  "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
-                      # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
-                      # - At this time, the left operand (arg0) must be a reference to a macro.
-                      # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
-                      # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
-                    { # Represents a Google Tag Manager Parameter.
-                      "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                        # Object with schema name: Parameter
-                      ],
-                      "list": [ # This list parameter's parameters (keys will be ignored).
-                        # Object with schema name: Parameter
-                      ],
-                      "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                      "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                      "type": "A String", # The parameter type. Valid values are:
-                          # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                          # - integer: The value represents a 64-bit signed integer value, in base 10
-                          # - list: A list of parameters should be specified
-                          # - map: A map of parameters should be specified
-                          # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-                    },
-                  ],
-                },
-              ],
-              "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers.
-                "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                  # Object with schema name: Parameter
-                ],
-                "list": [ # This list parameter's parameters (keys will be ignored).
-                  # Object with schema name: Parameter
-                ],
-                "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                "type": "A String", # The parameter type. Valid values are:
-                    # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                    # - integer: The value represents a 64-bit signed integer value, in base 10
-                    # - list: A list of parameters should be specified
-                    # - map: A map of parameters should be specified
-                    # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-              },
-              "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers.
-                "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                  # Object with schema name: Parameter
-                ],
-                "list": [ # This list parameter's parameters (keys will be ignored).
-                  # Object with schema name: Parameter
-                ],
-                "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                "type": "A String", # The parameter type. Valid values are:
-                    # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                    # - integer: The value represents a 64-bit signed integer value, in base 10
-                    # - list: A list of parameters should be specified
-                    # - map: A map of parameters should be specified
-                    # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-              },
-              "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers.
-                "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                  # Object with schema name: Parameter
-                ],
-                "list": [ # This list parameter's parameters (keys will be ignored).
-                  # Object with schema name: Parameter
-                ],
-                "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                "type": "A String", # The parameter type. Valid values are:
-                    # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                    # - integer: The value represents a 64-bit signed integer value, in base 10
-                    # - list: A list of parameters should be specified
-                    # - map: A map of parameters should be specified
-                    # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-              },
-              "containerId": "A String", # GTM Container ID.
-              "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers.
-                "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                  # Object with schema name: Parameter
-                ],
-                "list": [ # This list parameter's parameters (keys will be ignored).
-                  # Object with schema name: Parameter
-                ],
-                "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                "type": "A String", # The parameter type. Valid values are:
-                    # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                    # - integer: The value represents a 64-bit signed integer value, in base 10
-                    # - list: A list of parameters should be specified
-                    # - map: A map of parameters should be specified
-                    # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-              },
-              "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger.
-              "name": "A String", # Trigger display name.
-              "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers.
-                "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                  # Object with schema name: Parameter
-                ],
-                "list": [ # This list parameter's parameters (keys will be ignored).
-                  # Object with schema name: Parameter
-                ],
-                "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                "type": "A String", # The parameter type. Valid values are:
-                    # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                    # - integer: The value represents a 64-bit signed integer value, in base 10
-                    # - list: A list of parameters should be specified
-                    # - map: A map of parameters should be specified
-                    # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-              },
-              "autoEventFilter": [ # Used in the case of auto event tracking.
-                { # Represents a predicate.
-                  "type": "A String", # The type of operator for this condition.
-                  "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
-                      # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
-                      # - At this time, the left operand (arg0) must be a reference to a macro.
-                      # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
-                      # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
-                    { # Represents a Google Tag Manager Parameter.
-                      "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                        # Object with schema name: Parameter
-                      ],
-                      "list": [ # This list parameter's parameters (keys will be ignored).
-                        # Object with schema name: Parameter
-                      ],
-                      "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                      "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                      "type": "A String", # The parameter type. Valid values are:
-                          # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                          # - integer: The value represents a 64-bit signed integer value, in base 10
-                          # - list: A list of parameters should be specified
-                          # - map: A map of parameters should be specified
-                          # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-                    },
-                  ],
-                },
-              ],
-              "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers.
-                "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                  # Object with schema name: Parameter
-                ],
-                "list": [ # This list parameter's parameters (keys will be ignored).
-                  # Object with schema name: Parameter
-                ],
-                "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                "type": "A String", # The parameter type. Valid values are:
-                    # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                    # - integer: The value represents a 64-bit signed integer value, in base 10
-                    # - list: A list of parameters should be specified
-                    # - map: A map of parameters should be specified
-                    # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-              },
-              "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers.
-                "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                  # Object with schema name: Parameter
-                ],
-                "list": [ # This list parameter's parameters (keys will be ignored).
-                  # Object with schema name: Parameter
-                ],
-                "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                "type": "A String", # The parameter type. Valid values are:
-                    # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                    # - integer: The value represents a 64-bit signed integer value, in base 10
-                    # - list: A list of parameters should be specified
-                    # - map: A map of parameters should be specified
-                    # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-              },
-              "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers.
-                "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                  # Object with schema name: Parameter
-                ],
-                "list": [ # This list parameter's parameters (keys will be ignored).
-                  # Object with schema name: Parameter
-                ],
-                "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                "type": "A String", # The parameter type. Valid values are:
-                    # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                    # - integer: The value represents a 64-bit signed integer value, in base 10
-                    # - list: A list of parameters should be specified
-                    # - map: A map of parameters should be specified
-                    # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-              },
-              "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified.
-              "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true.
-                { # Represents a predicate.
-                  "type": "A String", # The type of operator for this condition.
-                  "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
-                      # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
-                      # - At this time, the left operand (arg0) must be a reference to a macro.
-                      # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
-                      # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
-                    { # Represents a Google Tag Manager Parameter.
-                      "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                        # Object with schema name: Parameter
-                      ],
-                      "list": [ # This list parameter's parameters (keys will be ignored).
-                        # Object with schema name: Parameter
-                      ],
-                      "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                      "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                      "type": "A String", # The parameter type. Valid values are:
-                          # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                          # - integer: The value represents a 64-bit signed integer value, in base 10
-                          # - list: A list of parameters should be specified
-                          # - map: A map of parameters should be specified
-                          # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-                    },
+                  # - At this time, the left operand (arg0) must be a reference to a macro.
+                  # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
+                  # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
+                { # Represents a Google Tag Manager Parameter.
+                  "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+                    # Object with schema name: Parameter
+                  ],
+                  "list": [ # This list parameter's parameters (keys will be ignored).
+                    # Object with schema name: Parameter
                   ],
+                  "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+                  "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+                  "type": "A String", # The parameter type. Valid values are:
+                      # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                      # - integer: The value represents a 64-bit signed integer value, in base 10
+                      # - list: A list of parameters should be specified
+                      # - map: A map of parameters should be specified
+                      # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
                 },
               ],
-              "type": "A String", # Defines the data layer event that causes this trigger.
-              "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers.
+            },
+          ],
+          "containerId": "A String", # GTM Container ID.
+        },
+    ],
+    "name": "A String", # Container version display name.
+    "tag": [ # The tags in the container that this version was taken from.
+      { # Represents a Google Tag Manager Tag.
+        "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag.
+        "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag.
+        "type": "A String", # GTM Tag Type.
+        "containerId": "A String", # GTM Container ID.
+        "tagFiringOption": "A String", # Option to fire this tag.
+        "notes": "A String", # User notes on how to apply this tag in the container.
+        "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag.
+        "parentFolderId": "A String", # Parent folder id.
+        "name": "A String", # Tag display name.
+        "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "setupTag": [ # The list of setup tags. Currently we only allow one.
+          {
+            "stopOnSetupFailure": True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status.
+            "tagName": "A String", # The name of the setup tag.
+          },
+        ],
+        "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire.
+          "A String",
+        ],
+        "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode).
+        "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified.
+        "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false.
+          "A String",
+        ],
+        "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false.
+          "A String",
+        ],
+        "parameter": [ # The tag's parameters.
+          { # Represents a Google Tag Manager Parameter.
+            "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+              # Object with schema name: Parameter
+            ],
+            "list": [ # This list parameter's parameters (keys will be ignored).
+              # Object with schema name: Parameter
+            ],
+            "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+            "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+            "type": "A String", # The parameter type. Valid values are:
+                # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                # - integer: The value represents a 64-bit signed integer value, in base 10
+                # - list: A list of parameters should be specified
+                # - map: A map of parameters should be specified
+                # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+          },
+        ],
+        "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire.
+          "A String",
+        ],
+        "teardownTag": [ # The list of teardown tags. Currently we only allow one.
+          {
+            "stopTeardownOnFailure": True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status.
+            "tagName": "A String", # The name of the teardown tag.
+          },
+        ],
+        "accountId": "A String", # GTM Account ID.
+      },
+    ],
+    "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version.
+    "fingerprint": "A String", # The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified.
+    "variable": [ # The variables in the container that this version was taken from.
+      { # Represents a Google Tag Manager Variable.
+        "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable.
+        "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable.
+        "name": "A String", # Variable display name.
+        "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable.
+        "type": "A String", # GTM Variable Type.
+        "notes": "A String", # User notes on how to apply this variable in the container.
+        "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set.
+          "A String",
+        ],
+        "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified.
+        "accountId": "A String", # GTM Account ID.
+        "parameter": [ # The variable's parameters.
+          { # Represents a Google Tag Manager Parameter.
+            "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+              # Object with schema name: Parameter
+            ],
+            "list": [ # This list parameter's parameters (keys will be ignored).
+              # Object with schema name: Parameter
+            ],
+            "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+            "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+            "type": "A String", # The parameter type. Valid values are:
+                # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                # - integer: The value represents a 64-bit signed integer value, in base 10
+                # - list: A list of parameters should be specified
+                # - map: A map of parameters should be specified
+                # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+          },
+        ],
+        "parentFolderId": "A String", # Parent folder id.
+        "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set.
+          "A String",
+        ],
+        "containerId": "A String", # GTM Container ID.
+      },
+    ],
+    "folder": [ # The folders in the container that this version was taken from.
+      { # Represents a Google Tag Manager Folder.
+          "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder.
+          "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified.
+          "containerId": "A String", # GTM Container ID.
+          "name": "A String", # Folder display name.
+          "accountId": "A String", # GTM Account ID.
+        },
+    ],
+    "trigger": [ # The triggers in the container that this version was taken from.
+      { # Represents a Google Tag Manager Trigger
+        "filter": [ # The trigger will only fire iff all Conditions are true.
+          { # Represents a predicate.
+            "type": "A String", # The type of operator for this condition.
+            "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
+                # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
+                # - At this time, the left operand (arg0) must be a reference to a macro.
+                # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
+                # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
+              { # Represents a Google Tag Manager Parameter.
                 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
                   # Object with schema name: Parameter
                 ],
@@ -1474,68 +855,101 @@ 

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - "accountId": "A String", # GTM Account ID. - }, + ], + }, ], - "accountId": "A String", # GTM Account ID. - }, - ], - }
-
- -
- publish(accountId, containerId, containerVersionId, fingerprint=None) -
Publishes a Container Version.
-
-Args:
-  accountId: string, The GTM Account ID. (required)
-  containerId: string, The GTM Container ID. (required)
-  containerVersionId: string, The GTM Container Version ID. (required)
-  fingerprint: string, When provided, this fingerprint must match the fingerprint of the container version in storage.
-
-Returns:
-  An object of the form:
-
-    { # Publish container version response.
-    "containerVersion": { # Represents a Google Tag Manager Container Version. # The container version created.
-      "container": { # Represents a Google Tag Manager Container. # The container that this version was taken from.
-          "timeZoneId": "A String", # Container Time Zone ID.
-          "enabledBuiltInVariable": [ # List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.
-            "A String",
+        "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
           ],
-          "timeZoneCountryId": "A String", # Container Country ID.
-          "publicId": "A String", # Container Public ID.
-          "containerId": "A String", # The Container ID uniquely identifies the GTM Container.
-          "domainName": [ # Optional list of domain names associated with the Container.
-            "A String",
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
           ],
-          "notes": "A String", # Container Notes.
-          "usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, ios.
-            "A String",
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
           ],
-          "fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
-          "accountId": "A String", # GTM Account ID.
-          "name": "A String", # Container display name.
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "containerId": "A String", # GTM Container ID.
+        "type": "A String", # Defines the data layer event that causes this trigger.
+        "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "parentFolderId": "A String", # Parent folder id.
+        "name": "A String", # Trigger display name.
+        "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
         },
-      "containerId": "A String", # GTM Container ID.
-      "deleted": True or False, # A value of true indicates this container version has been deleted.
-      "macro": [ # The macros in the container that this version was taken from.
-        { # Represents a Google Tag Manager Macro.
-            "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a macro.
-            "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a macro.
-            "macroId": "A String", # The Macro ID uniquely identifies the GTM Macro.
-            "containerId": "A String", # GTM Container ID.
-            "type": "A String", # GTM Macro Type.
-            "notes": "A String", # User notes on how to apply this macro in the container.
-            "enablingRuleId": [ # For mobile containers only: A list of rule IDs for enabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
-              "A String",
-            ],
-            "name": "A String", # Macro display name.
-            "disablingRuleId": [ # For mobile containers only: A list of rule IDs for disabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
-              "A String",
-            ],
-            "fingerprint": "A String", # The fingerprint of the GTM Macro as computed at storage time. This value is recomputed whenever the macro is modified.
-            "parameter": [ # The macro's parameters.
+        "autoEventFilter": [ # Used in the case of auto event tracking.
+          { # Represents a predicate.
+            "type": "A String", # The type of operator for this condition.
+            "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
+                # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
+                # - At this time, the left operand (arg0) must be a reference to a macro.
+                # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
+                # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
               { # Represents a Google Tag Manager Parameter.
                 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
                   # Object with schema name: Parameter
@@ -1553,85 +967,65 @@ 

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, ], - "accountId": "A String", # GTM Account ID. - }, - ], - "notes": "A String", # User notes on how to apply this container version in the container. - "rule": [ # The rules in the container that this version was taken from. - { # Represents a Google Tag Manager Rule. - "name": "A String", # Rule display name. - "ruleId": "A String", # The Rule ID uniquely identifies the GTM Rule. - "notes": "A String", # User notes on how to apply this rule in the container. - "fingerprint": "A String", # The fingerprint of the GTM Rule as computed at storage time. This value is recomputed whenever the rule is modified. - "accountId": "A String", # GTM Account ID. - "condition": [ # The list of conditions that make up this rule (implicit AND between them). - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, - ], - "containerId": "A String", # GTM Container ID. }, - ], - "name": "A String", # Container version display name. - "tag": [ # The tags in the container that this version was taken from. - { # Represents a Google Tag Manager Tag. - "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. - "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. - "containerId": "A String", # GTM Container ID. - "type": "A String", # GTM Tag Type. - "notes": "A String", # User notes on how to apply this tag in the container. - "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. - "name": "A String", # Tag display name. - "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. - "A String", - ], - "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). - "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. - "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false. - "A String", - ], - "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false. - "A String", - ], - "parameter": [ # The tag's parameters. + ], + "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. + "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. + { # Represents a predicate. + "type": "A String", # The type of operator for this condition. + "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: + # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + # - At this time, the left operand (arg0) must be a reference to a macro. + # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. + # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter @@ -1649,223 +1043,171 @@

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, ], - "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. - "A String", - ], - "accountId": "A String", # GTM Account ID. }, - ], - "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version. - "fingerprint": "A String", # The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified. - "variable": [ # The variables in the container that this version was taken from. - { # Represents a Google Tag Manager Variable. - "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. - "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. - "name": "A String", # Variable display name. - "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. - "type": "A String", # GTM Variable Type. - "notes": "A String", # User notes on how to apply this variable in the container. - "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set. - "A String", - ], - "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. - "accountId": "A String", # GTM Account ID. - "parameter": [ # The variable's parameters. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, + ], + "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. + "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "accountId": "A String", # GTM Account ID. + }, + ], + "accountId": "A String", # GTM Account ID. + }
+
+ +
+ list(accountId, containerId, headers=None) +
Lists all Container Versions of a GTM Container.
+
+Args:
+  accountId: string, The GTM Account ID. (required)
+  containerId: string, The GTM Container ID. (required)
+  headers: boolean, Retrieve headers only when true.
+
+Returns:
+  An object of the form:
+
+    { # List container versions response.
+    "containerVersionHeader": [ # All container version headers of a GTM Container.
+      { # Represents a Google Tag Manager Container Version Header.
+        "name": "A String", # Container version display name.
+        "deleted": True or False, # A value of true indicates this container version has been deleted.
+        "numMacros": "A String", # Number of macros in the container version.
+        "numVariables": "A String", # Number of variables in the container version.
+        "numTags": "A String", # Number of tags in the container version.
+        "numRules": "A String", # Number of rules in the container version.
+        "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version.
+        "numTriggers": "A String", # Number of triggers in the container version.
+        "accountId": "A String", # GTM Account ID.
+        "containerId": "A String", # GTM Container ID.
+      },
+    ],
+    "containerVersion": [ # All versions of a GTM Container.
+      { # Represents a Google Tag Manager Container Version.
+        "container": { # Represents a Google Tag Manager Container. # The container that this version was taken from.
+            "timeZoneId": "A String", # Container Time Zone ID.
+            "enabledBuiltInVariable": [ # List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.
+              "A String",
             ],
-            "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set.
+            "timeZoneCountryId": "A String", # Container Country ID.
+            "publicId": "A String", # Container Public ID.
+            "containerId": "A String", # The Container ID uniquely identifies the GTM Container.
+            "domainName": [ # Optional list of domain names associated with the Container.
               "A String",
             ],
-            "containerId": "A String", # GTM Container ID.
-          },
-      ],
-      "trigger": [ # The triggers in the container that this version was taken from.
-        { # Represents a Google Tag Manager Trigger
-            "filter": [ # The trigger will only fire iff all Conditions are true.
-              { # Represents a predicate.
-                "type": "A String", # The type of operator for this condition.
-                "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
-                    # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
-                    # - At this time, the left operand (arg0) must be a reference to a macro.
-                    # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
-                    # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
-                  { # Represents a Google Tag Manager Parameter.
-                    "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                      # Object with schema name: Parameter
-                    ],
-                    "list": [ # This list parameter's parameters (keys will be ignored).
-                      # Object with schema name: Parameter
-                    ],
-                    "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                    "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                    "type": "A String", # The parameter type. Valid values are:
-                        # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                        # - integer: The value represents a 64-bit signed integer value, in base 10
-                        # - list: A list of parameters should be specified
-                        # - map: A map of parameters should be specified
-                        # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-                  },
-                ],
-              },
+            "notes": "A String", # Container Notes.
+            "usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, ios.
+              "A String",
             ],
-            "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers.
-              "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                # Object with schema name: Parameter
-              ],
-              "list": [ # This list parameter's parameters (keys will be ignored).
-                # Object with schema name: Parameter
-              ],
-              "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-              "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-              "type": "A String", # The parameter type. Valid values are:
-                  # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                  # - integer: The value represents a 64-bit signed integer value, in base 10
-                  # - list: A list of parameters should be specified
-                  # - map: A map of parameters should be specified
-                  # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-            },
-            "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers.
-              "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                # Object with schema name: Parameter
-              ],
-              "list": [ # This list parameter's parameters (keys will be ignored).
-                # Object with schema name: Parameter
-              ],
-              "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-              "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-              "type": "A String", # The parameter type. Valid values are:
-                  # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                  # - integer: The value represents a 64-bit signed integer value, in base 10
-                  # - list: A list of parameters should be specified
-                  # - map: A map of parameters should be specified
-                  # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-            },
-            "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers.
-              "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                # Object with schema name: Parameter
-              ],
-              "list": [ # This list parameter's parameters (keys will be ignored).
-                # Object with schema name: Parameter
-              ],
-              "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-              "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-              "type": "A String", # The parameter type. Valid values are:
-                  # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                  # - integer: The value represents a 64-bit signed integer value, in base 10
-                  # - list: A list of parameters should be specified
-                  # - map: A map of parameters should be specified
-                  # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-            },
-            "containerId": "A String", # GTM Container ID.
-            "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers.
-              "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                # Object with schema name: Parameter
-              ],
-              "list": [ # This list parameter's parameters (keys will be ignored).
-                # Object with schema name: Parameter
-              ],
-              "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-              "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-              "type": "A String", # The parameter type. Valid values are:
-                  # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                  # - integer: The value represents a 64-bit signed integer value, in base 10
-                  # - list: A list of parameters should be specified
-                  # - map: A map of parameters should be specified
-                  # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-            },
-            "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger.
-            "name": "A String", # Trigger display name.
-            "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers.
-              "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                # Object with schema name: Parameter
-              ],
-              "list": [ # This list parameter's parameters (keys will be ignored).
-                # Object with schema name: Parameter
+            "fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
+            "accountId": "A String", # GTM Account ID.
+            "name": "A String", # Container display name.
+          },
+        "containerId": "A String", # GTM Container ID.
+        "deleted": True or False, # A value of true indicates this container version has been deleted.
+        "macro": [ # The macros in the container that this version was taken from.
+          { # Represents a Google Tag Manager Macro.
+              "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a macro.
+              "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a macro.
+              "macroId": "A String", # The Macro ID uniquely identifies the GTM Macro.
+              "containerId": "A String", # GTM Container ID.
+              "type": "A String", # GTM Macro Type.
+              "notes": "A String", # User notes on how to apply this macro in the container.
+              "enablingRuleId": [ # For mobile containers only: A list of rule IDs for enabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
+                "A String",
               ],
-              "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-              "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-              "type": "A String", # The parameter type. Valid values are:
-                  # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                  # - integer: The value represents a 64-bit signed integer value, in base 10
-                  # - list: A list of parameters should be specified
-                  # - map: A map of parameters should be specified
-                  # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-            },
-            "autoEventFilter": [ # Used in the case of auto event tracking.
-              { # Represents a predicate.
-                "type": "A String", # The type of operator for this condition.
-                "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
-                    # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
-                    # - At this time, the left operand (arg0) must be a reference to a macro.
-                    # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
-                    # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
-                  { # Represents a Google Tag Manager Parameter.
-                    "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                      # Object with schema name: Parameter
-                    ],
-                    "list": [ # This list parameter's parameters (keys will be ignored).
-                      # Object with schema name: Parameter
-                    ],
-                    "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                    "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                    "type": "A String", # The parameter type. Valid values are:
-                        # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                        # - integer: The value represents a 64-bit signed integer value, in base 10
-                        # - list: A list of parameters should be specified
-                        # - map: A map of parameters should be specified
-                        # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-                  },
-                ],
-              },
-            ],
-            "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers.
-              "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                # Object with schema name: Parameter
+              "name": "A String", # Macro display name.
+              "disablingRuleId": [ # For mobile containers only: A list of rule IDs for disabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
+                "A String",
               ],
-              "list": [ # This list parameter's parameters (keys will be ignored).
-                # Object with schema name: Parameter
+              "fingerprint": "A String", # The fingerprint of the GTM Macro as computed at storage time. This value is recomputed whenever the macro is modified.
+              "parameter": [ # The macro's parameters.
+                { # Represents a Google Tag Manager Parameter.
+                  "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+                    # Object with schema name: Parameter
+                  ],
+                  "list": [ # This list parameter's parameters (keys will be ignored).
+                    # Object with schema name: Parameter
+                  ],
+                  "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+                  "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+                  "type": "A String", # The parameter type. Valid values are:
+                      # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                      # - integer: The value represents a 64-bit signed integer value, in base 10
+                      # - list: A list of parameters should be specified
+                      # - map: A map of parameters should be specified
+                      # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+                },
               ],
-              "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-              "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-              "type": "A String", # The parameter type. Valid values are:
-                  # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                  # - integer: The value represents a 64-bit signed integer value, in base 10
-                  # - list: A list of parameters should be specified
-                  # - map: A map of parameters should be specified
-                  # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+              "parentFolderId": "A String", # Parent folder id.
+              "accountId": "A String", # GTM Account ID.
             },
-            "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers.
-              "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                # Object with schema name: Parameter
-              ],
-              "list": [ # This list parameter's parameters (keys will be ignored).
-                # Object with schema name: Parameter
+        ],
+        "notes": "A String", # User notes on how to apply this container version in the container.
+        "rule": [ # The rules in the container that this version was taken from.
+          { # Represents a Google Tag Manager Rule.
+              "name": "A String", # Rule display name.
+              "ruleId": "A String", # The Rule ID uniquely identifies the GTM Rule.
+              "notes": "A String", # User notes on how to apply this rule in the container.
+              "fingerprint": "A String", # The fingerprint of the GTM Rule as computed at storage time. This value is recomputed whenever the rule is modified.
+              "accountId": "A String", # GTM Account ID.
+              "condition": [ # The list of conditions that make up this rule (implicit AND between them).
+                { # Represents a predicate.
+                  "type": "A String", # The type of operator for this condition.
+                  "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
+                      # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
+                      # - At this time, the left operand (arg0) must be a reference to a macro.
+                      # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
+                      # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
+                    { # Represents a Google Tag Manager Parameter.
+                      "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+                        # Object with schema name: Parameter
+                      ],
+                      "list": [ # This list parameter's parameters (keys will be ignored).
+                        # Object with schema name: Parameter
+                      ],
+                      "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+                      "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+                      "type": "A String", # The parameter type. Valid values are:
+                          # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                          # - integer: The value represents a 64-bit signed integer value, in base 10
+                          # - list: A list of parameters should be specified
+                          # - map: A map of parameters should be specified
+                          # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+                    },
+                  ],
+                },
               ],
-              "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-              "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-              "type": "A String", # The parameter type. Valid values are:
-                  # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                  # - integer: The value represents a 64-bit signed integer value, in base 10
-                  # - list: A list of parameters should be specified
-                  # - map: A map of parameters should be specified
-                  # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+              "containerId": "A String", # GTM Container ID.
             },
-            "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers.
+        ],
+        "name": "A String", # Container version display name.
+        "tag": [ # The tags in the container that this version was taken from.
+          { # Represents a Google Tag Manager Tag.
+            "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag.
+            "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag.
+            "type": "A String", # GTM Tag Type.
+            "containerId": "A String", # GTM Container ID.
+            "tagFiringOption": "A String", # Option to fire this tag.
+            "notes": "A String", # User notes on how to apply this tag in the container.
+            "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag.
+            "parentFolderId": "A String", # Parent folder id.
+            "name": "A String", # Tag display name.
+            "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0.
               "map": [ # This map parameter's parameters (must have keys; keys must be unique).
                 # Object with schema name: Parameter
               ],
@@ -1881,8 +1223,105 @@ 

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. - "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. + "setupTag": [ # The list of setup tags. Currently we only allow one. + { + "stopOnSetupFailure": True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status. + "tagName": "A String", # The name of the setup tag. + }, + ], + "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. + "A String", + ], + "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). + "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. + "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false. + "A String", + ], + "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false. + "A String", + ], + "parameter": [ # The tag's parameters. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. + "A String", + ], + "teardownTag": [ # The list of teardown tags. Currently we only allow one. + { + "stopTeardownOnFailure": True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status. + "tagName": "A String", # The name of the teardown tag. + }, + ], + "accountId": "A String", # GTM Account ID. + }, + ], + "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version. + "fingerprint": "A String", # The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified. + "variable": [ # The variables in the container that this version was taken from. + { # Represents a Google Tag Manager Variable. + "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. + "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. + "name": "A String", # Variable display name. + "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. + "type": "A String", # GTM Variable Type. + "notes": "A String", # User notes on how to apply this variable in the container. + "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set. + "A String", + ], + "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. + "accountId": "A String", # GTM Account ID. + "parameter": [ # The variable's parameters. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + "parentFolderId": "A String", # Parent folder id. + "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. + "A String", + ], + "containerId": "A String", # GTM Container ID. + }, + ], + "folder": [ # The folders in the container that this version was taken from. + { # Represents a Google Tag Manager Folder. + "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder. + "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified. + "containerId": "A String", # GTM Container ID. + "name": "A String", # Folder display name. + "accountId": "A String", # GTM Account ID. + }, + ], + "trigger": [ # The triggers in the container that this version was taken from. + { # Represents a Google Tag Manager Trigger + "filter": [ # The trigger will only fire iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: @@ -1909,8 +1348,7 @@

Method Details

], }, ], - "type": "A String", # Defines the data layer event that causes this trigger. - "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. + "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], @@ -1926,67 +1364,7 @@

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - "accountId": "A String", # GTM Account ID. - }, - ], - "accountId": "A String", # GTM Account ID. - }, - "compilerError": True or False, # Compiler errors or not. - }
-
- -
- restore(accountId, containerId, containerVersionId) -
Restores a Container Version. This will overwrite the container's current configuration (including its macros, rules and tags). The operation will not have any effect on the version that is being served (i.e. the published version).
-
-Args:
-  accountId: string, The GTM Account ID. (required)
-  containerId: string, The GTM Container ID. (required)
-  containerVersionId: string, The GTM Container Version ID. (required)
-
-Returns:
-  An object of the form:
-
-    { # Represents a Google Tag Manager Container Version.
-    "container": { # Represents a Google Tag Manager Container. # The container that this version was taken from.
-        "timeZoneId": "A String", # Container Time Zone ID.
-        "enabledBuiltInVariable": [ # List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.
-          "A String",
-        ],
-        "timeZoneCountryId": "A String", # Container Country ID.
-        "publicId": "A String", # Container Public ID.
-        "containerId": "A String", # The Container ID uniquely identifies the GTM Container.
-        "domainName": [ # Optional list of domain names associated with the Container.
-          "A String",
-        ],
-        "notes": "A String", # Container Notes.
-        "usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, ios.
-          "A String",
-        ],
-        "fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
-        "accountId": "A String", # GTM Account ID.
-        "name": "A String", # Container display name.
-      },
-    "containerId": "A String", # GTM Container ID.
-    "deleted": True or False, # A value of true indicates this container version has been deleted.
-    "macro": [ # The macros in the container that this version was taken from.
-      { # Represents a Google Tag Manager Macro.
-          "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a macro.
-          "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a macro.
-          "macroId": "A String", # The Macro ID uniquely identifies the GTM Macro.
-          "containerId": "A String", # GTM Container ID.
-          "type": "A String", # GTM Macro Type.
-          "notes": "A String", # User notes on how to apply this macro in the container.
-          "enablingRuleId": [ # For mobile containers only: A list of rule IDs for enabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
-            "A String",
-          ],
-          "name": "A String", # Macro display name.
-          "disablingRuleId": [ # For mobile containers only: A list of rule IDs for disabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
-            "A String",
-          ],
-          "fingerprint": "A String", # The fingerprint of the GTM Macro as computed at storage time. This value is recomputed whenever the macro is modified.
-          "parameter": [ # The macro's parameters.
-            { # Represents a Google Tag Manager Parameter.
+            "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers.
               "map": [ # This map parameter's parameters (must have keys; keys must be unique).
                 # Object with schema name: Parameter
               ],
@@ -2002,87 +1380,25 @@ 

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - ], - "accountId": "A String", # GTM Account ID. - }, - ], - "notes": "A String", # User notes on how to apply this container version in the container. - "rule": [ # The rules in the container that this version was taken from. - { # Represents a Google Tag Manager Rule. - "name": "A String", # Rule display name. - "ruleId": "A String", # The Rule ID uniquely identifies the GTM Rule. - "notes": "A String", # User notes on how to apply this rule in the container. - "fingerprint": "A String", # The fingerprint of the GTM Rule as computed at storage time. This value is recomputed whenever the rule is modified. - "accountId": "A String", # GTM Account ID. - "condition": [ # The list of conditions that make up this rule (implicit AND between them). - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, + "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter ], - }, - ], - "containerId": "A String", # GTM Container ID. - }, - ], - "name": "A String", # Container version display name. - "tag": [ # The tags in the container that this version was taken from. - { # Represents a Google Tag Manager Tag. - "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. - "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. - "containerId": "A String", # GTM Container ID. - "type": "A String", # GTM Tag Type. - "notes": "A String", # User notes on how to apply this tag in the container. - "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. - "name": "A String", # Tag display name. - "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. - "A String", - ], - "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). - "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. - "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false. - "A String", - ], - "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false. - "A String", - ], - "parameter": [ # The tag's parameters. - { # Represents a Google Tag Manager Parameter. + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "containerId": "A String", # GTM Container ID. + "type": "A String", # Defines the data layer event that causes this trigger. + "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], @@ -2098,30 +1414,9 @@

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - ], - "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. - "A String", - ], - "accountId": "A String", # GTM Account ID. - }, - ], - "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version. - "fingerprint": "A String", # The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified. - "variable": [ # The variables in the container that this version was taken from. - { # Represents a Google Tag Manager Variable. - "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. - "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. - "name": "A String", # Variable display name. - "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. - "type": "A String", # GTM Variable Type. - "notes": "A String", # User notes on how to apply this variable in the container. - "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set. - "A String", - ], - "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. - "accountId": "A String", # GTM Account ID. - "parameter": [ # The variable's parameters. - { # Represents a Google Tag Manager Parameter. + "parentFolderId": "A String", # Parent folder id. + "name": "A String", # Trigger display name. + "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], @@ -2137,370 +1432,258 @@

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - ], - "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. - "A String", - ], - "containerId": "A String", # GTM Container ID. - }, - ], - "trigger": [ # The triggers in the container that this version was taken from. - { # Represents a Google Tag Manager Trigger - "filter": [ # The trigger will only fire iff all Conditions are true. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, - ], - "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "containerId": "A String", # GTM Container ID. - "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. - "name": "A String", # Trigger display name. - "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "autoEventFilter": [ # Used in the case of auto event tracking. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, - ], - "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. - "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, + "autoEventFilter": [ # Used in the case of auto event tracking. + { # Represents a predicate. + "type": "A String", # The type of operator for this condition. + "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: + # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + # - At this time, the left operand (arg0) must be a reference to a macro. + # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. + # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + }, + ], + "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - ], - "type": "A String", # Defines the data layer event that causes this trigger. - "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter + "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. + "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. + { # Represents a predicate. + "type": "A String", # The type of operator for this condition. + "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: + # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + # - At this time, the left operand (arg0) must be a reference to a macro. + # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. + # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + }, ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. + "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "accountId": "A String", # GTM Account ID. }, - "accountId": "A String", # GTM Account ID. - }, + ], + "accountId": "A String", # GTM Account ID. + }, ], - "accountId": "A String", # GTM Account ID. }
- undelete(accountId, containerId, containerVersionId) -
Undeletes a Container Version.
+    publish(accountId, containerId, containerVersionId, fingerprint=None)
+  
Publishes a Container Version.
 
 Args:
   accountId: string, The GTM Account ID. (required)
   containerId: string, The GTM Container ID. (required)
   containerVersionId: string, The GTM Container Version ID. (required)
+  fingerprint: string, When provided, this fingerprint must match the fingerprint of the container version in storage.
 
 Returns:
   An object of the form:
 
-    { # Represents a Google Tag Manager Container Version.
-    "container": { # Represents a Google Tag Manager Container. # The container that this version was taken from.
-        "timeZoneId": "A String", # Container Time Zone ID.
-        "enabledBuiltInVariable": [ # List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.
-          "A String",
-        ],
-        "timeZoneCountryId": "A String", # Container Country ID.
-        "publicId": "A String", # Container Public ID.
-        "containerId": "A String", # The Container ID uniquely identifies the GTM Container.
-        "domainName": [ # Optional list of domain names associated with the Container.
-          "A String",
-        ],
-        "notes": "A String", # Container Notes.
-        "usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, ios.
-          "A String",
-        ],
-        "fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
-        "accountId": "A String", # GTM Account ID.
-        "name": "A String", # Container display name.
-      },
-    "containerId": "A String", # GTM Container ID.
-    "deleted": True or False, # A value of true indicates this container version has been deleted.
-    "macro": [ # The macros in the container that this version was taken from.
-      { # Represents a Google Tag Manager Macro.
-          "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a macro.
-          "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a macro.
-          "macroId": "A String", # The Macro ID uniquely identifies the GTM Macro.
-          "containerId": "A String", # GTM Container ID.
-          "type": "A String", # GTM Macro Type.
-          "notes": "A String", # User notes on how to apply this macro in the container.
-          "enablingRuleId": [ # For mobile containers only: A list of rule IDs for enabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
+    { # Publish container version response.
+    "containerVersion": { # Represents a Google Tag Manager Container Version. # The container version created.
+      "container": { # Represents a Google Tag Manager Container. # The container that this version was taken from.
+          "timeZoneId": "A String", # Container Time Zone ID.
+          "enabledBuiltInVariable": [ # List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.
             "A String",
           ],
-          "name": "A String", # Macro display name.
-          "disablingRuleId": [ # For mobile containers only: A list of rule IDs for disabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
+          "timeZoneCountryId": "A String", # Container Country ID.
+          "publicId": "A String", # Container Public ID.
+          "containerId": "A String", # The Container ID uniquely identifies the GTM Container.
+          "domainName": [ # Optional list of domain names associated with the Container.
             "A String",
           ],
-          "fingerprint": "A String", # The fingerprint of the GTM Macro as computed at storage time. This value is recomputed whenever the macro is modified.
-          "parameter": [ # The macro's parameters.
-            { # Represents a Google Tag Manager Parameter.
-              "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                # Object with schema name: Parameter
-              ],
-              "list": [ # This list parameter's parameters (keys will be ignored).
-                # Object with schema name: Parameter
-              ],
-              "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-              "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-              "type": "A String", # The parameter type. Valid values are:
-                  # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                  # - integer: The value represents a 64-bit signed integer value, in base 10
-                  # - list: A list of parameters should be specified
-                  # - map: A map of parameters should be specified
-                  # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-            },
+          "notes": "A String", # Container Notes.
+          "usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, ios.
+            "A String",
           ],
+          "fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
           "accountId": "A String", # GTM Account ID.
+          "name": "A String", # Container display name.
         },
-    ],
-    "notes": "A String", # User notes on how to apply this container version in the container.
-    "rule": [ # The rules in the container that this version was taken from.
-      { # Represents a Google Tag Manager Rule.
-          "name": "A String", # Rule display name.
-          "ruleId": "A String", # The Rule ID uniquely identifies the GTM Rule.
-          "notes": "A String", # User notes on how to apply this rule in the container.
-          "fingerprint": "A String", # The fingerprint of the GTM Rule as computed at storage time. This value is recomputed whenever the rule is modified.
-          "accountId": "A String", # GTM Account ID.
-          "condition": [ # The list of conditions that make up this rule (implicit AND between them).
-            { # Represents a predicate.
-              "type": "A String", # The type of operator for this condition.
-              "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
-                  # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
-                  # - At this time, the left operand (arg0) must be a reference to a macro.
-                  # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
-                  # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
-                { # Represents a Google Tag Manager Parameter.
-                  "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-                    # Object with schema name: Parameter
-                  ],
-                  "list": [ # This list parameter's parameters (keys will be ignored).
-                    # Object with schema name: Parameter
-                  ],
-                  "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-                  "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-                  "type": "A String", # The parameter type. Valid values are:
-                      # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                      # - integer: The value represents a 64-bit signed integer value, in base 10
-                      # - list: A list of parameters should be specified
-                      # - map: A map of parameters should be specified
-                      # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
-                },
-              ],
-            },
-          ],
-          "containerId": "A String", # GTM Container ID.
-        },
-    ],
-    "name": "A String", # Container version display name.
-    "tag": [ # The tags in the container that this version was taken from.
-      { # Represents a Google Tag Manager Tag.
+      "containerId": "A String", # GTM Container ID.
+      "deleted": True or False, # A value of true indicates this container version has been deleted.
+      "macro": [ # The macros in the container that this version was taken from.
+        { # Represents a Google Tag Manager Macro.
+            "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a macro.
+            "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a macro.
+            "macroId": "A String", # The Macro ID uniquely identifies the GTM Macro.
+            "containerId": "A String", # GTM Container ID.
+            "type": "A String", # GTM Macro Type.
+            "notes": "A String", # User notes on how to apply this macro in the container.
+            "enablingRuleId": [ # For mobile containers only: A list of rule IDs for enabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
+              "A String",
+            ],
+            "name": "A String", # Macro display name.
+            "disablingRuleId": [ # For mobile containers only: A list of rule IDs for disabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
+              "A String",
+            ],
+            "fingerprint": "A String", # The fingerprint of the GTM Macro as computed at storage time. This value is recomputed whenever the macro is modified.
+            "parameter": [ # The macro's parameters.
+              { # Represents a Google Tag Manager Parameter.
+                "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+                  # Object with schema name: Parameter
+                ],
+                "list": [ # This list parameter's parameters (keys will be ignored).
+                  # Object with schema name: Parameter
+                ],
+                "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+                "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+                "type": "A String", # The parameter type. Valid values are:
+                    # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                    # - integer: The value represents a 64-bit signed integer value, in base 10
+                    # - list: A list of parameters should be specified
+                    # - map: A map of parameters should be specified
+                    # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+              },
+            ],
+            "parentFolderId": "A String", # Parent folder id.
+            "accountId": "A String", # GTM Account ID.
+          },
+      ],
+      "notes": "A String", # User notes on how to apply this container version in the container.
+      "rule": [ # The rules in the container that this version was taken from.
+        { # Represents a Google Tag Manager Rule.
+            "name": "A String", # Rule display name.
+            "ruleId": "A String", # The Rule ID uniquely identifies the GTM Rule.
+            "notes": "A String", # User notes on how to apply this rule in the container.
+            "fingerprint": "A String", # The fingerprint of the GTM Rule as computed at storage time. This value is recomputed whenever the rule is modified.
+            "accountId": "A String", # GTM Account ID.
+            "condition": [ # The list of conditions that make up this rule (implicit AND between them).
+              { # Represents a predicate.
+                "type": "A String", # The type of operator for this condition.
+                "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
+                    # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
+                    # - At this time, the left operand (arg0) must be a reference to a macro.
+                    # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
+                    # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
+                  { # Represents a Google Tag Manager Parameter.
+                    "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+                      # Object with schema name: Parameter
+                    ],
+                    "list": [ # This list parameter's parameters (keys will be ignored).
+                      # Object with schema name: Parameter
+                    ],
+                    "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+                    "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+                    "type": "A String", # The parameter type. Valid values are:
+                        # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                        # - integer: The value represents a 64-bit signed integer value, in base 10
+                        # - list: A list of parameters should be specified
+                        # - map: A map of parameters should be specified
+                        # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+                  },
+                ],
+              },
+            ],
+            "containerId": "A String", # GTM Container ID.
+          },
+      ],
+      "name": "A String", # Container version display name.
+      "tag": [ # The tags in the container that this version was taken from.
+        { # Represents a Google Tag Manager Tag.
           "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag.
           "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag.
-          "containerId": "A String", # GTM Container ID.
           "type": "A String", # GTM Tag Type.
+          "containerId": "A String", # GTM Container ID.
+          "tagFiringOption": "A String", # Option to fire this tag.
           "notes": "A String", # User notes on how to apply this tag in the container.
           "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag.
+          "parentFolderId": "A String", # Parent folder id.
           "name": "A String", # Tag display name.
           "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0.
             "map": [ # This map parameter's parameters (must have keys; keys must be unique).
@@ -2518,6 +1701,12 @@ 

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, + "setupTag": [ # The list of setup tags. Currently we only allow one. + { + "stopOnSetupFailure": True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status. + "tagName": "A String", # The name of the setup tag. + }, + ], "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. "A String", ], @@ -2550,13 +1739,19 @@

Method Details

"blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. "A String", ], + "teardownTag": [ # The list of teardown tags. Currently we only allow one. + { + "stopTeardownOnFailure": True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status. + "tagName": "A String", # The name of the teardown tag. + }, + ], "accountId": "A String", # GTM Account ID. }, - ], - "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version. - "fingerprint": "A String", # The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified. - "variable": [ # The variables in the container that this version was taken from. - { # Represents a Google Tag Manager Variable. + ], + "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version. + "fingerprint": "A String", # The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified. + "variable": [ # The variables in the container that this version was taken from. + { # Represents a Google Tag Manager Variable. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. "name": "A String", # Variable display name. @@ -2586,14 +1781,24 @@

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, ], + "parentFolderId": "A String", # Parent folder id. "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. "A String", ], "containerId": "A String", # GTM Container ID. }, - ], - "trigger": [ # The triggers in the container that this version was taken from. - { # Represents a Google Tag Manager Trigger + ], + "folder": [ # The folders in the container that this version was taken from. + { # Represents a Google Tag Manager Folder. + "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder. + "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified. + "containerId": "A String", # GTM Container ID. + "name": "A String", # Folder display name. + "accountId": "A String", # GTM Account ID. + }, + ], + "trigger": [ # The triggers in the container that this version was taken from. + { # Represents a Google Tag Manager Trigger "filter": [ # The trigger will only fire iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. @@ -2670,6 +1875,7 @@

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, "containerId": "A String", # GTM Container ID. + "type": "A String", # Defines the data layer event that causes this trigger. "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter @@ -2686,7 +1892,7 @@

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. + "parentFolderId": "A String", # Parent folder id. "name": "A String", # Trigger display name. "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). @@ -2731,23 +1937,265 @@

Method Details

], }, ], - "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. + "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. + { # Represents a predicate. + "type": "A String", # The type of operator for this condition. + "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: + # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + # - At this time, the left operand (arg0) must be a reference to a macro. + # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. + # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + }, + ], + "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. + "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "accountId": "A String", # GTM Account ID. + }, + ], + "accountId": "A String", # GTM Account ID. + }, + "compilerError": True or False, # Compiler errors or not. + }
+
+ +
+ restore(accountId, containerId, containerVersionId) +
Restores a Container Version. This will overwrite the container's current configuration (including its macros, rules and tags). The operation will not have any effect on the version that is being served (i.e. the published version).
+
+Args:
+  accountId: string, The GTM Account ID. (required)
+  containerId: string, The GTM Container ID. (required)
+  containerVersionId: string, The GTM Container Version ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Represents a Google Tag Manager Container Version.
+    "container": { # Represents a Google Tag Manager Container. # The container that this version was taken from.
+        "timeZoneId": "A String", # Container Time Zone ID.
+        "enabledBuiltInVariable": [ # List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.
+          "A String",
+        ],
+        "timeZoneCountryId": "A String", # Container Country ID.
+        "publicId": "A String", # Container Public ID.
+        "containerId": "A String", # The Container ID uniquely identifies the GTM Container.
+        "domainName": [ # Optional list of domain names associated with the Container.
+          "A String",
+        ],
+        "notes": "A String", # Container Notes.
+        "usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, ios.
+          "A String",
+        ],
+        "fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
+        "accountId": "A String", # GTM Account ID.
+        "name": "A String", # Container display name.
+      },
+    "containerId": "A String", # GTM Container ID.
+    "deleted": True or False, # A value of true indicates this container version has been deleted.
+    "macro": [ # The macros in the container that this version was taken from.
+      { # Represents a Google Tag Manager Macro.
+          "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a macro.
+          "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a macro.
+          "macroId": "A String", # The Macro ID uniquely identifies the GTM Macro.
+          "containerId": "A String", # GTM Container ID.
+          "type": "A String", # GTM Macro Type.
+          "notes": "A String", # User notes on how to apply this macro in the container.
+          "enablingRuleId": [ # For mobile containers only: A list of rule IDs for enabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
+            "A String",
+          ],
+          "name": "A String", # Macro display name.
+          "disablingRuleId": [ # For mobile containers only: A list of rule IDs for disabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
+            "A String",
+          ],
+          "fingerprint": "A String", # The fingerprint of the GTM Macro as computed at storage time. This value is recomputed whenever the macro is modified.
+          "parameter": [ # The macro's parameters.
+            { # Represents a Google Tag Manager Parameter.
+              "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+                # Object with schema name: Parameter
+              ],
+              "list": [ # This list parameter's parameters (keys will be ignored).
+                # Object with schema name: Parameter
+              ],
+              "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+              "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+              "type": "A String", # The parameter type. Valid values are:
+                  # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                  # - integer: The value represents a 64-bit signed integer value, in base 10
+                  # - list: A list of parameters should be specified
+                  # - map: A map of parameters should be specified
+                  # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+            },
+          ],
+          "parentFolderId": "A String", # Parent folder id.
+          "accountId": "A String", # GTM Account ID.
+        },
+    ],
+    "notes": "A String", # User notes on how to apply this container version in the container.
+    "rule": [ # The rules in the container that this version was taken from.
+      { # Represents a Google Tag Manager Rule.
+          "name": "A String", # Rule display name.
+          "ruleId": "A String", # The Rule ID uniquely identifies the GTM Rule.
+          "notes": "A String", # User notes on how to apply this rule in the container.
+          "fingerprint": "A String", # The fingerprint of the GTM Rule as computed at storage time. This value is recomputed whenever the rule is modified.
+          "accountId": "A String", # GTM Account ID.
+          "condition": [ # The list of conditions that make up this rule (implicit AND between them).
+            { # Represents a predicate.
+              "type": "A String", # The type of operator for this condition.
+              "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
+                  # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
+                  # - At this time, the left operand (arg0) must be a reference to a macro.
+                  # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
+                  # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
+                { # Represents a Google Tag Manager Parameter.
+                  "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+                    # Object with schema name: Parameter
+                  ],
+                  "list": [ # This list parameter's parameters (keys will be ignored).
+                    # Object with schema name: Parameter
+                  ],
+                  "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+                  "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+                  "type": "A String", # The parameter type. Valid values are:
+                      # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                      # - integer: The value represents a 64-bit signed integer value, in base 10
+                      # - list: A list of parameters should be specified
+                      # - map: A map of parameters should be specified
+                      # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+                },
+              ],
+            },
+          ],
+          "containerId": "A String", # GTM Container ID.
+        },
+    ],
+    "name": "A String", # Container version display name.
+    "tag": [ # The tags in the container that this version was taken from.
+      { # Represents a Google Tag Manager Tag.
+        "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag.
+        "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag.
+        "type": "A String", # GTM Tag Type.
+        "containerId": "A String", # GTM Container ID.
+        "tagFiringOption": "A String", # Option to fire this tag.
+        "notes": "A String", # User notes on how to apply this tag in the container.
+        "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag.
+        "parentFolderId": "A String", # Parent folder id.
+        "name": "A String", # Tag display name.
+        "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "setupTag": [ # The list of setup tags. Currently we only allow one.
+          {
+            "stopOnSetupFailure": True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status.
+            "tagName": "A String", # The name of the setup tag.
           },
-          "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers.
+        ],
+        "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire.
+          "A String",
+        ],
+        "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode).
+        "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified.
+        "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false.
+          "A String",
+        ],
+        "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false.
+          "A String",
+        ],
+        "parameter": [ # The tag's parameters.
+          { # Represents a Google Tag Manager Parameter.
             "map": [ # This map parameter's parameters (must have keys; keys must be unique).
               # Object with schema name: Parameter
             ],
@@ -2763,52 +2211,36 @@ 

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + ], + "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. + "A String", + ], + "teardownTag": [ # The list of teardown tags. Currently we only allow one. + { + "stopTeardownOnFailure": True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status. + "tagName": "A String", # The name of the teardown tag. }, - "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. - "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, - ], - "type": "A String", # Defines the data layer event that causes this trigger. - "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. + ], + "accountId": "A String", # GTM Account ID. + }, + ], + "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version. + "fingerprint": "A String", # The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified. + "variable": [ # The variables in the container that this version was taken from. + { # Represents a Google Tag Manager Variable. + "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. + "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. + "name": "A String", # Variable display name. + "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. + "type": "A String", # GTM Variable Type. + "notes": "A String", # User notes on how to apply this variable in the container. + "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set. + "A String", + ], + "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. + "accountId": "A String", # GTM Account ID. + "parameter": [ # The variable's parameters. + { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], @@ -2824,92 +2256,213 @@

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, + ], + "parentFolderId": "A String", # Parent folder id. + "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. + "A String", + ], + "containerId": "A String", # GTM Container ID. + }, + ], + "folder": [ # The folders in the container that this version was taken from. + { # Represents a Google Tag Manager Folder. + "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder. + "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified. + "containerId": "A String", # GTM Container ID. + "name": "A String", # Folder display name. "accountId": "A String", # GTM Account ID. }, - ], - "accountId": "A String", # GTM Account ID. - }
-
- -
- update(accountId, containerId, containerVersionId, body, fingerprint=None) -
Updates a Container Version.
-
-Args:
-  accountId: string, The GTM Account ID. (required)
-  containerId: string, The GTM Container ID. (required)
-  containerVersionId: string, The GTM Container Version ID. (required)
-  body: object, The request body. (required)
-    The object takes the form of:
-
-{ # Represents a Google Tag Manager Container Version.
-  "container": { # Represents a Google Tag Manager Container. # The container that this version was taken from.
-      "timeZoneId": "A String", # Container Time Zone ID.
-      "enabledBuiltInVariable": [ # List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.
-        "A String",
-      ],
-      "timeZoneCountryId": "A String", # Container Country ID.
-      "publicId": "A String", # Container Public ID.
-      "containerId": "A String", # The Container ID uniquely identifies the GTM Container.
-      "domainName": [ # Optional list of domain names associated with the Container.
-        "A String",
-      ],
-      "notes": "A String", # Container Notes.
-      "usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, ios.
-        "A String",
-      ],
-      "fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
-      "accountId": "A String", # GTM Account ID.
-      "name": "A String", # Container display name.
-    },
-  "containerId": "A String", # GTM Container ID.
-  "deleted": True or False, # A value of true indicates this container version has been deleted.
-  "macro": [ # The macros in the container that this version was taken from.
-    { # Represents a Google Tag Manager Macro.
-        "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a macro.
-        "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a macro.
-        "macroId": "A String", # The Macro ID uniquely identifies the GTM Macro.
+    ],
+    "trigger": [ # The triggers in the container that this version was taken from.
+      { # Represents a Google Tag Manager Trigger
+        "filter": [ # The trigger will only fire iff all Conditions are true.
+          { # Represents a predicate.
+            "type": "A String", # The type of operator for this condition.
+            "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
+                # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
+                # - At this time, the left operand (arg0) must be a reference to a macro.
+                # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
+                # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
+              { # Represents a Google Tag Manager Parameter.
+                "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+                  # Object with schema name: Parameter
+                ],
+                "list": [ # This list parameter's parameters (keys will be ignored).
+                  # Object with schema name: Parameter
+                ],
+                "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+                "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+                "type": "A String", # The parameter type. Valid values are:
+                    # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                    # - integer: The value represents a 64-bit signed integer value, in base 10
+                    # - list: A list of parameters should be specified
+                    # - map: A map of parameters should be specified
+                    # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+              },
+            ],
+          },
+        ],
+        "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
         "containerId": "A String", # GTM Container ID.
-        "type": "A String", # GTM Macro Type.
-        "notes": "A String", # User notes on how to apply this macro in the container.
-        "enablingRuleId": [ # For mobile containers only: A list of rule IDs for enabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
-          "A String",
-        ],
-        "name": "A String", # Macro display name.
-        "disablingRuleId": [ # For mobile containers only: A list of rule IDs for disabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
-          "A String",
-        ],
-        "fingerprint": "A String", # The fingerprint of the GTM Macro as computed at storage time. This value is recomputed whenever the macro is modified.
-        "parameter": [ # The macro's parameters.
-          { # Represents a Google Tag Manager Parameter.
-            "map": [ # This map parameter's parameters (must have keys; keys must be unique).
-              # Object with schema name: Parameter
-            ],
-            "list": [ # This list parameter's parameters (keys will be ignored).
-              # Object with schema name: Parameter
+        "type": "A String", # Defines the data layer event that causes this trigger.
+        "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "parentFolderId": "A String", # Parent folder id.
+        "name": "A String", # Trigger display name.
+        "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "autoEventFilter": [ # Used in the case of auto event tracking.
+          { # Represents a predicate.
+            "type": "A String", # The type of operator for this condition.
+            "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
+                # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
+                # - At this time, the left operand (arg0) must be a reference to a macro.
+                # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
+                # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
+              { # Represents a Google Tag Manager Parameter.
+                "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+                  # Object with schema name: Parameter
+                ],
+                "list": [ # This list parameter's parameters (keys will be ignored).
+                  # Object with schema name: Parameter
+                ],
+                "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+                "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+                "type": "A String", # The parameter type. Valid values are:
+                    # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                    # - integer: The value represents a 64-bit signed integer value, in base 10
+                    # - list: A list of parameters should be specified
+                    # - map: A map of parameters should be specified
+                    # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+              },
             ],
-            "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
-            "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
-            "type": "A String", # The parameter type. Valid values are:
-                # - boolean: The value represents a boolean, represented as 'true' or 'false'
-                # - integer: The value represents a 64-bit signed integer value, in base 10
-                # - list: A list of parameters should be specified
-                # - map: A map of parameters should be specified
-                # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
           },
         ],
-        "accountId": "A String", # GTM Account ID.
-      },
-  ],
-  "notes": "A String", # User notes on how to apply this container version in the container.
-  "rule": [ # The rules in the container that this version was taken from.
-    { # Represents a Google Tag Manager Rule.
-        "name": "A String", # Rule display name.
-        "ruleId": "A String", # The Rule ID uniquely identifies the GTM Rule.
-        "notes": "A String", # User notes on how to apply this rule in the container.
-        "fingerprint": "A String", # The fingerprint of the GTM Rule as computed at storage time. This value is recomputed whenever the rule is modified.
-        "accountId": "A String", # GTM Account ID.
-        "condition": [ # The list of conditions that make up this rule (implicit AND between them).
+        "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+        "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified.
+        "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true.
           { # Represents a predicate.
             "type": "A String", # The type of operator for this condition.
             "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
@@ -2936,18 +2489,151 @@ 

Method Details

], }, ], - "containerId": "A String", # GTM Container ID. + "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. + "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "accountId": "A String", # GTM Account ID. }, - ], - "name": "A String", # Container version display name. - "tag": [ # The tags in the container that this version was taken from. - { # Represents a Google Tag Manager Tag. + ], + "accountId": "A String", # GTM Account ID. + }
+
+ +
+ undelete(accountId, containerId, containerVersionId) +
Undeletes a Container Version.
+
+Args:
+  accountId: string, The GTM Account ID. (required)
+  containerId: string, The GTM Container ID. (required)
+  containerVersionId: string, The GTM Container Version ID. (required)
+
+Returns:
+  An object of the form:
+
+    { # Represents a Google Tag Manager Container Version.
+    "container": { # Represents a Google Tag Manager Container. # The container that this version was taken from.
+        "timeZoneId": "A String", # Container Time Zone ID.
+        "enabledBuiltInVariable": [ # List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.
+          "A String",
+        ],
+        "timeZoneCountryId": "A String", # Container Country ID.
+        "publicId": "A String", # Container Public ID.
+        "containerId": "A String", # The Container ID uniquely identifies the GTM Container.
+        "domainName": [ # Optional list of domain names associated with the Container.
+          "A String",
+        ],
+        "notes": "A String", # Container Notes.
+        "usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, ios.
+          "A String",
+        ],
+        "fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
+        "accountId": "A String", # GTM Account ID.
+        "name": "A String", # Container display name.
+      },
+    "containerId": "A String", # GTM Container ID.
+    "deleted": True or False, # A value of true indicates this container version has been deleted.
+    "macro": [ # The macros in the container that this version was taken from.
+      { # Represents a Google Tag Manager Macro.
+          "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a macro.
+          "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a macro.
+          "macroId": "A String", # The Macro ID uniquely identifies the GTM Macro.
+          "containerId": "A String", # GTM Container ID.
+          "type": "A String", # GTM Macro Type.
+          "notes": "A String", # User notes on how to apply this macro in the container.
+          "enablingRuleId": [ # For mobile containers only: A list of rule IDs for enabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
+            "A String",
+          ],
+          "name": "A String", # Macro display name.
+          "disablingRuleId": [ # For mobile containers only: A list of rule IDs for disabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
+            "A String",
+          ],
+          "fingerprint": "A String", # The fingerprint of the GTM Macro as computed at storage time. This value is recomputed whenever the macro is modified.
+          "parameter": [ # The macro's parameters.
+            { # Represents a Google Tag Manager Parameter.
+              "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+                # Object with schema name: Parameter
+              ],
+              "list": [ # This list parameter's parameters (keys will be ignored).
+                # Object with schema name: Parameter
+              ],
+              "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+              "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+              "type": "A String", # The parameter type. Valid values are:
+                  # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                  # - integer: The value represents a 64-bit signed integer value, in base 10
+                  # - list: A list of parameters should be specified
+                  # - map: A map of parameters should be specified
+                  # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+            },
+          ],
+          "parentFolderId": "A String", # Parent folder id.
+          "accountId": "A String", # GTM Account ID.
+        },
+    ],
+    "notes": "A String", # User notes on how to apply this container version in the container.
+    "rule": [ # The rules in the container that this version was taken from.
+      { # Represents a Google Tag Manager Rule.
+          "name": "A String", # Rule display name.
+          "ruleId": "A String", # The Rule ID uniquely identifies the GTM Rule.
+          "notes": "A String", # User notes on how to apply this rule in the container.
+          "fingerprint": "A String", # The fingerprint of the GTM Rule as computed at storage time. This value is recomputed whenever the rule is modified.
+          "accountId": "A String", # GTM Account ID.
+          "condition": [ # The list of conditions that make up this rule (implicit AND between them).
+            { # Represents a predicate.
+              "type": "A String", # The type of operator for this condition.
+              "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
+                  # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
+                  # - At this time, the left operand (arg0) must be a reference to a macro.
+                  # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
+                  # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
+                { # Represents a Google Tag Manager Parameter.
+                  "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+                    # Object with schema name: Parameter
+                  ],
+                  "list": [ # This list parameter's parameters (keys will be ignored).
+                    # Object with schema name: Parameter
+                  ],
+                  "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+                  "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+                  "type": "A String", # The parameter type. Valid values are:
+                      # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                      # - integer: The value represents a 64-bit signed integer value, in base 10
+                      # - list: A list of parameters should be specified
+                      # - map: A map of parameters should be specified
+                      # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+                },
+              ],
+            },
+          ],
+          "containerId": "A String", # GTM Container ID.
+        },
+    ],
+    "name": "A String", # Container version display name.
+    "tag": [ # The tags in the container that this version was taken from.
+      { # Represents a Google Tag Manager Tag.
         "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag.
         "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag.
-        "containerId": "A String", # GTM Container ID.
         "type": "A String", # GTM Tag Type.
+        "containerId": "A String", # GTM Container ID.
+        "tagFiringOption": "A String", # Option to fire this tag.
         "notes": "A String", # User notes on how to apply this tag in the container.
         "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag.
+        "parentFolderId": "A String", # Parent folder id.
         "name": "A String", # Tag display name.
         "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0.
           "map": [ # This map parameter's parameters (must have keys; keys must be unique).
@@ -2965,6 +2651,12 @@ 

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, + "setupTag": [ # The list of setup tags. Currently we only allow one. + { + "stopOnSetupFailure": True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status. + "tagName": "A String", # The name of the setup tag. + }, + ], "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. "A String", ], @@ -2997,13 +2689,19 @@

Method Details

"blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. "A String", ], + "teardownTag": [ # The list of teardown tags. Currently we only allow one. + { + "stopTeardownOnFailure": True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status. + "tagName": "A String", # The name of the teardown tag. + }, + ], "accountId": "A String", # GTM Account ID. }, - ], - "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version. - "fingerprint": "A String", # The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified. - "variable": [ # The variables in the container that this version was taken from. - { # Represents a Google Tag Manager Variable. + ], + "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version. + "fingerprint": "A String", # The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified. + "variable": [ # The variables in the container that this version was taken from. + { # Represents a Google Tag Manager Variable. "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. "name": "A String", # Variable display name. @@ -3033,14 +2731,24 @@

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, ], + "parentFolderId": "A String", # Parent folder id. "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. "A String", ], "containerId": "A String", # GTM Container ID. }, - ], - "trigger": [ # The triggers in the container that this version was taken from. - { # Represents a Google Tag Manager Trigger + ], + "folder": [ # The folders in the container that this version was taken from. + { # Represents a Google Tag Manager Folder. + "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder. + "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified. + "containerId": "A String", # GTM Container ID. + "name": "A String", # Folder display name. + "accountId": "A String", # GTM Account ID. + }, + ], + "trigger": [ # The triggers in the container that this version was taken from. + { # Represents a Google Tag Manager Trigger "filter": [ # The trigger will only fire iff all Conditions are true. { # Represents a predicate. "type": "A String", # The type of operator for this condition. @@ -3117,6 +2825,7 @@

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, "containerId": "A String", # GTM Container ID. + "type": "A String", # Defines the data layer event that causes this trigger. "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter @@ -3133,7 +2842,7 @@

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. + "parentFolderId": "A String", # Parent folder id. "name": "A String", # Trigger display name. "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). @@ -3254,7 +2963,7 @@

Method Details

], }, ], - "type": "A String", # Defines the data layer event that causes this trigger. + "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter @@ -3271,56 +2980,256 @@

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - "accountId": "A String", # GTM Account ID. - }, + "accountId": "A String", # GTM Account ID. + }, + ], + "accountId": "A String", # GTM Account ID. + }
+
+ +
+ update(accountId, containerId, containerVersionId, body, fingerprint=None) +
Updates a Container Version.
+
+Args:
+  accountId: string, The GTM Account ID. (required)
+  containerId: string, The GTM Container ID. (required)
+  containerVersionId: string, The GTM Container Version ID. (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{ # Represents a Google Tag Manager Container Version.
+  "container": { # Represents a Google Tag Manager Container. # The container that this version was taken from.
+      "timeZoneId": "A String", # Container Time Zone ID.
+      "enabledBuiltInVariable": [ # List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.
+        "A String",
+      ],
+      "timeZoneCountryId": "A String", # Container Country ID.
+      "publicId": "A String", # Container Public ID.
+      "containerId": "A String", # The Container ID uniquely identifies the GTM Container.
+      "domainName": [ # Optional list of domain names associated with the Container.
+        "A String",
+      ],
+      "notes": "A String", # Container Notes.
+      "usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, ios.
+        "A String",
+      ],
+      "fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
+      "accountId": "A String", # GTM Account ID.
+      "name": "A String", # Container display name.
+    },
+  "containerId": "A String", # GTM Container ID.
+  "deleted": True or False, # A value of true indicates this container version has been deleted.
+  "macro": [ # The macros in the container that this version was taken from.
+    { # Represents a Google Tag Manager Macro.
+        "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a macro.
+        "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a macro.
+        "macroId": "A String", # The Macro ID uniquely identifies the GTM Macro.
+        "containerId": "A String", # GTM Container ID.
+        "type": "A String", # GTM Macro Type.
+        "notes": "A String", # User notes on how to apply this macro in the container.
+        "enablingRuleId": [ # For mobile containers only: A list of rule IDs for enabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
+          "A String",
+        ],
+        "name": "A String", # Macro display name.
+        "disablingRuleId": [ # For mobile containers only: A list of rule IDs for disabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
+          "A String",
+        ],
+        "fingerprint": "A String", # The fingerprint of the GTM Macro as computed at storage time. This value is recomputed whenever the macro is modified.
+        "parameter": [ # The macro's parameters.
+          { # Represents a Google Tag Manager Parameter.
+            "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+              # Object with schema name: Parameter
+            ],
+            "list": [ # This list parameter's parameters (keys will be ignored).
+              # Object with schema name: Parameter
+            ],
+            "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+            "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+            "type": "A String", # The parameter type. Valid values are:
+                # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                # - integer: The value represents a 64-bit signed integer value, in base 10
+                # - list: A list of parameters should be specified
+                # - map: A map of parameters should be specified
+                # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+          },
+        ],
+        "parentFolderId": "A String", # Parent folder id.
+        "accountId": "A String", # GTM Account ID.
+      },
+  ],
+  "notes": "A String", # User notes on how to apply this container version in the container.
+  "rule": [ # The rules in the container that this version was taken from.
+    { # Represents a Google Tag Manager Rule.
+        "name": "A String", # Rule display name.
+        "ruleId": "A String", # The Rule ID uniquely identifies the GTM Rule.
+        "notes": "A String", # User notes on how to apply this rule in the container.
+        "fingerprint": "A String", # The fingerprint of the GTM Rule as computed at storage time. This value is recomputed whenever the rule is modified.
+        "accountId": "A String", # GTM Account ID.
+        "condition": [ # The list of conditions that make up this rule (implicit AND between them).
+          { # Represents a predicate.
+            "type": "A String", # The type of operator for this condition.
+            "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
+                # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
+                # - At this time, the left operand (arg0) must be a reference to a macro.
+                # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
+                # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
+              { # Represents a Google Tag Manager Parameter.
+                "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+                  # Object with schema name: Parameter
+                ],
+                "list": [ # This list parameter's parameters (keys will be ignored).
+                  # Object with schema name: Parameter
+                ],
+                "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+                "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+                "type": "A String", # The parameter type. Valid values are:
+                    # - boolean: The value represents a boolean, represented as 'true' or 'false'
+                    # - integer: The value represents a 64-bit signed integer value, in base 10
+                    # - list: A list of parameters should be specified
+                    # - map: A map of parameters should be specified
+                    # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+              },
+            ],
+          },
+        ],
+        "containerId": "A String", # GTM Container ID.
+      },
+  ],
+  "name": "A String", # Container version display name.
+  "tag": [ # The tags in the container that this version was taken from.
+    { # Represents a Google Tag Manager Tag.
+      "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag.
+      "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag.
+      "type": "A String", # GTM Tag Type.
+      "containerId": "A String", # GTM Container ID.
+      "tagFiringOption": "A String", # Option to fire this tag.
+      "notes": "A String", # User notes on how to apply this tag in the container.
+      "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag.
+      "parentFolderId": "A String", # Parent folder id.
+      "name": "A String", # Tag display name.
+      "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0.
+        "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+          # Object with schema name: Parameter
+        ],
+        "list": [ # This list parameter's parameters (keys will be ignored).
+          # Object with schema name: Parameter
+        ],
+        "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+        "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+        "type": "A String", # The parameter type. Valid values are:
+            # - boolean: The value represents a boolean, represented as 'true' or 'false'
+            # - integer: The value represents a 64-bit signed integer value, in base 10
+            # - list: A list of parameters should be specified
+            # - map: A map of parameters should be specified
+            # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+      },
+      "setupTag": [ # The list of setup tags. Currently we only allow one.
+        {
+          "stopOnSetupFailure": True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status.
+          "tagName": "A String", # The name of the setup tag.
+        },
+      ],
+      "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire.
+        "A String",
+      ],
+      "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode).
+      "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified.
+      "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false.
+        "A String",
+      ],
+      "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false.
+        "A String",
+      ],
+      "parameter": [ # The tag's parameters.
+        { # Represents a Google Tag Manager Parameter.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
+          ],
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
+          ],
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+      ],
+      "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire.
+        "A String",
+      ],
+      "teardownTag": [ # The list of teardown tags. Currently we only allow one.
+        {
+          "stopTeardownOnFailure": True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status.
+          "tagName": "A String", # The name of the teardown tag.
+        },
+      ],
+      "accountId": "A String", # GTM Account ID.
+    },
   ],
-  "accountId": "A String", # GTM Account ID.
-}
-
-  fingerprint: string, When provided, this fingerprint must match the fingerprint of the container version in storage.
-
-Returns:
-  An object of the form:
-
-    { # Represents a Google Tag Manager Container Version.
-    "container": { # Represents a Google Tag Manager Container. # The container that this version was taken from.
-        "timeZoneId": "A String", # Container Time Zone ID.
-        "enabledBuiltInVariable": [ # List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId.
-          "A String",
-        ],
-        "timeZoneCountryId": "A String", # Container Country ID.
-        "publicId": "A String", # Container Public ID.
-        "containerId": "A String", # The Container ID uniquely identifies the GTM Container.
-        "domainName": [ # Optional list of domain names associated with the Container.
-          "A String",
-        ],
-        "notes": "A String", # Container Notes.
-        "usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, ios.
-          "A String",
-        ],
-        "fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
-        "accountId": "A String", # GTM Account ID.
-        "name": "A String", # Container display name.
-      },
-    "containerId": "A String", # GTM Container ID.
-    "deleted": True or False, # A value of true indicates this container version has been deleted.
-    "macro": [ # The macros in the container that this version was taken from.
-      { # Represents a Google Tag Manager Macro.
-          "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a macro.
-          "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a macro.
-          "macroId": "A String", # The Macro ID uniquely identifies the GTM Macro.
-          "containerId": "A String", # GTM Container ID.
-          "type": "A String", # GTM Macro Type.
-          "notes": "A String", # User notes on how to apply this macro in the container.
-          "enablingRuleId": [ # For mobile containers only: A list of rule IDs for enabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
-            "A String",
+  "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version.
+  "fingerprint": "A String", # The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified.
+  "variable": [ # The variables in the container that this version was taken from.
+    { # Represents a Google Tag Manager Variable.
+      "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable.
+      "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable.
+      "name": "A String", # Variable display name.
+      "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable.
+      "type": "A String", # GTM Variable Type.
+      "notes": "A String", # User notes on how to apply this variable in the container.
+      "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set.
+        "A String",
+      ],
+      "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified.
+      "accountId": "A String", # GTM Account ID.
+      "parameter": [ # The variable's parameters.
+        { # Represents a Google Tag Manager Parameter.
+          "map": [ # This map parameter's parameters (must have keys; keys must be unique).
+            # Object with schema name: Parameter
           ],
-          "name": "A String", # Macro display name.
-          "disablingRuleId": [ # For mobile containers only: A list of rule IDs for disabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
-            "A String",
+          "list": [ # This list parameter's parameters (keys will be ignored).
+            # Object with schema name: Parameter
           ],
-          "fingerprint": "A String", # The fingerprint of the GTM Macro as computed at storage time. This value is recomputed whenever the macro is modified.
-          "parameter": [ # The macro's parameters.
+          "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type.
+          "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.
+          "type": "A String", # The parameter type. Valid values are:
+              # - boolean: The value represents a boolean, represented as 'true' or 'false'
+              # - integer: The value represents a 64-bit signed integer value, in base 10
+              # - list: A list of parameters should be specified
+              # - map: A map of parameters should be specified
+              # - template: The value represents any text; this can include macro references (even macro references that might return non-string types)
+        },
+      ],
+      "parentFolderId": "A String", # Parent folder id.
+      "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set.
+        "A String",
+      ],
+      "containerId": "A String", # GTM Container ID.
+    },
+  ],
+  "folder": [ # The folders in the container that this version was taken from.
+    { # Represents a Google Tag Manager Folder.
+        "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder.
+        "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified.
+        "containerId": "A String", # GTM Container ID.
+        "name": "A String", # Folder display name.
+        "accountId": "A String", # GTM Account ID.
+      },
+  ],
+  "trigger": [ # The triggers in the container that this version was taken from.
+    { # Represents a Google Tag Manager Trigger
+      "filter": [ # The trigger will only fire iff all Conditions are true.
+        { # Represents a predicate.
+          "type": "A String", # The type of operator for this condition.
+          "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes:
+              # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively.
+              # - At this time, the left operand (arg0) must be a reference to a macro.
+              # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive.
+              # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.
             { # Represents a Google Tag Manager Parameter.
               "map": [ # This map parameter's parameters (must have keys; keys must be unique).
                 # Object with schema name: Parameter
@@ -3338,85 +3247,176 @@ 

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, ], - "accountId": "A String", # GTM Account ID. }, - ], - "notes": "A String", # User notes on how to apply this container version in the container. - "rule": [ # The rules in the container that this version was taken from. - { # Represents a Google Tag Manager Rule. - "name": "A String", # Rule display name. - "ruleId": "A String", # The Rule ID uniquely identifies the GTM Rule. - "notes": "A String", # User notes on how to apply this rule in the container. - "fingerprint": "A String", # The fingerprint of the GTM Rule as computed at storage time. This value is recomputed whenever the rule is modified. - "accountId": "A String", # GTM Account ID. - "condition": [ # The list of conditions that make up this rule (implicit AND between them). - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, + ], + "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "containerId": "A String", # GTM Container ID. + "type": "A String", # Defines the data layer event that causes this trigger. + "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "parentFolderId": "A String", # Parent folder id. + "name": "A String", # Trigger display name. + "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "autoEventFilter": [ # Used in the case of auto event tracking. + { # Represents a predicate. + "type": "A String", # The type of operator for this condition. + "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: + # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + # - At this time, the left operand (arg0) must be a reference to a macro. + # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. + # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, ], - "containerId": "A String", # GTM Container ID. }, - ], - "name": "A String", # Container version display name. - "tag": [ # The tags in the container that this version was taken from. - { # Represents a Google Tag Manager Tag. - "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. - "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. - "containerId": "A String", # GTM Container ID. - "type": "A String", # GTM Tag Type. - "notes": "A String", # User notes on how to apply this tag in the container. - "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. - "name": "A String", # Tag display name. - "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. - "A String", - ], - "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). - "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. - "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false. - "A String", - ], - "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false. - "A String", - ], - "parameter": [ # The tag's parameters. + ], + "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. + "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. + { # Represents a predicate. + "type": "A String", # The type of operator for this condition. + "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: + # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + # - At this time, the left operand (arg0) must be a reference to a macro. + # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. + # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter @@ -3434,28 +3434,75 @@

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, ], - "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. - "A String", - ], - "accountId": "A String", # GTM Account ID. }, - ], - "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version. - "fingerprint": "A String", # The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified. - "variable": [ # The variables in the container that this version was taken from. - { # Represents a Google Tag Manager Variable. - "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. - "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. - "name": "A String", # Variable display name. - "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. - "type": "A String", # GTM Variable Type. - "notes": "A String", # User notes on how to apply this variable in the container. - "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set. + ], + "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. + "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "accountId": "A String", # GTM Account ID. + }, + ], + "accountId": "A String", # GTM Account ID. +} + + fingerprint: string, When provided, this fingerprint must match the fingerprint of the container version in storage. + +Returns: + An object of the form: + + { # Represents a Google Tag Manager Container Version. + "container": { # Represents a Google Tag Manager Container. # The container that this version was taken from. + "timeZoneId": "A String", # Container Time Zone ID. + "enabledBuiltInVariable": [ # List of enabled built-in variables. Valid values include: pageUrl, pageHostname, pagePath, referrer, event, clickElement, clickClasses, clickId, clickTarget, clickUrl, clickText, formElement, formClasses, formId, formTarget, formUrl, formText, errorMessage, errorUrl, errorLine, newHistoryFragment, oldHistoryFragment, newHistoryState, oldHistoryState, historySource, containerVersion, debugMode, randomNumber, containerId. + "A String", + ], + "timeZoneCountryId": "A String", # Container Country ID. + "publicId": "A String", # Container Public ID. + "containerId": "A String", # The Container ID uniquely identifies the GTM Container. + "domainName": [ # Optional list of domain names associated with the Container. + "A String", + ], + "notes": "A String", # Container Notes. + "usageContext": [ # List of Usage Contexts for the Container. Valid values include: web, android, ios. + "A String", + ], + "fingerprint": "A String", # The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified. + "accountId": "A String", # GTM Account ID. + "name": "A String", # Container display name. + }, + "containerId": "A String", # GTM Container ID. + "deleted": True or False, # A value of true indicates this container version has been deleted. + "macro": [ # The macros in the container that this version was taken from. + { # Represents a Google Tag Manager Macro. + "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a macro. + "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a macro. + "macroId": "A String", # The Macro ID uniquely identifies the GTM Macro. + "containerId": "A String", # GTM Container ID. + "type": "A String", # GTM Macro Type. + "notes": "A String", # User notes on how to apply this macro in the container. + "enablingRuleId": [ # For mobile containers only: A list of rule IDs for enabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set. "A String", ], - "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. - "accountId": "A String", # GTM Account ID. - "parameter": [ # The variable's parameters. + "name": "A String", # Macro display name. + "disablingRuleId": [ # For mobile containers only: A list of rule IDs for disabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set. + "A String", + ], + "fingerprint": "A String", # The fingerprint of the GTM Macro as computed at storage time. This value is recomputed whenever the macro is modified. + "parameter": [ # The macro's parameters. { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter @@ -3473,15 +3520,19 @@

Method Details

# - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, ], - "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. - "A String", - ], - "containerId": "A String", # GTM Container ID. + "parentFolderId": "A String", # Parent folder id. + "accountId": "A String", # GTM Account ID. }, ], - "trigger": [ # The triggers in the container that this version was taken from. - { # Represents a Google Tag Manager Trigger - "filter": [ # The trigger will only fire iff all Conditions are true. + "notes": "A String", # User notes on how to apply this container version in the container. + "rule": [ # The rules in the container that this version was taken from. + { # Represents a Google Tag Manager Rule. + "name": "A String", # Rule display name. + "ruleId": "A String", # The Rule ID uniquely identifies the GTM Rule. + "notes": "A String", # User notes on how to apply this rule in the container. + "fingerprint": "A String", # The fingerprint of the GTM Rule as computed at storage time. This value is recomputed whenever the rule is modified. + "accountId": "A String", # GTM Account ID. + "condition": [ # The list of conditions that make up this rule (implicit AND between them). { # Represents a predicate. "type": "A String", # The type of operator for this condition. "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: @@ -3508,133 +3559,56 @@

Method Details

], }, ], - "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, "containerId": "A String", # GTM Container ID. - "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. - "name": "A String", # Trigger display name. - "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - "autoEventFilter": [ # Used in the case of auto event tracking. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, + }, + ], + "name": "A String", # Container version display name. + "tag": [ # The tags in the container that this version was taken from. + { # Represents a Google Tag Manager Tag. + "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a tag. + "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a tag. + "type": "A String", # GTM Tag Type. + "containerId": "A String", # GTM Container ID. + "tagFiringOption": "A String", # Option to fire this tag. + "notes": "A String", # User notes on how to apply this tag in the container. + "tagId": "A String", # The Tag ID uniquely identifies the GTM Tag. + "parentFolderId": "A String", # Parent folder id. + "name": "A String", # Tag display name. + "priority": { # Represents a Google Tag Manager Parameter. # User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter ], - "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "setupTag": [ # The list of setup tags. Currently we only allow one. + { + "stopOnSetupFailure": True or False, # If true, fire the main tag if and only if the setup tag fires successfully. If false, fire the main tag regardless of setup tag firing status. + "tagName": "A String", # The name of the setup tag. }, - "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers. + ], + "blockingRuleId": [ # Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. + "A String", + ], + "liveOnly": True or False, # If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). + "fingerprint": "A String", # The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. + "firingRuleId": [ # Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false. + "A String", + ], + "firingTriggerId": [ # Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false. + "A String", + ], + "parameter": [ # The tag's parameters. + { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], @@ -3650,52 +3624,36 @@

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, - "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + ], + "blockingTriggerId": [ # Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. + "A String", + ], + "teardownTag": [ # The list of teardown tags. Currently we only allow one. + { + "stopTeardownOnFailure": True or False, # If true, fire the teardown tag if and only if the main tag fires successfully. If false, fire the teardown tag regardless of main tag firing status. + "tagName": "A String", # The name of the teardown tag. }, - "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. - "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. - { # Represents a predicate. - "type": "A String", # The type of operator for this condition. - "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: - # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - # - At this time, the left operand (arg0) must be a reference to a macro. - # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. - { # Represents a Google Tag Manager Parameter. - "map": [ # This map parameter's parameters (must have keys; keys must be unique). - # Object with schema name: Parameter - ], - "list": [ # This list parameter's parameters (keys will be ignored). - # Object with schema name: Parameter - ], - "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. - "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. - "type": "A String", # The parameter type. Valid values are: - # - boolean: The value represents a boolean, represented as 'true' or 'false' - # - integer: The value represents a 64-bit signed integer value, in base 10 - # - list: A list of parameters should be specified - # - map: A map of parameters should be specified - # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) - }, - ], - }, - ], - "type": "A String", # Defines the data layer event that causes this trigger. - "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. + ], + "accountId": "A String", # GTM Account ID. + }, + ], + "containerVersionId": "A String", # The Container Version ID uniquely identifies the GTM Container Version. + "fingerprint": "A String", # The fingerprint of the GTM Container Version as computed at storage time. This value is recomputed whenever the container version is modified. + "variable": [ # The variables in the container that this version was taken from. + { # Represents a Google Tag Manager Variable. + "scheduleStartMs": "A String", # The start timestamp in milliseconds to schedule a variable. + "scheduleEndMs": "A String", # The end timestamp in milliseconds to schedule a variable. + "name": "A String", # Variable display name. + "variableId": "A String", # The Variable ID uniquely identifies the GTM Variable. + "type": "A String", # GTM Variable Type. + "notes": "A String", # User notes on how to apply this variable in the container. + "enablingTriggerId": [ # For mobile containers only: A list of trigger IDs for enabling conditional variables; the variable is enabled if one of the enabling triggers is true while all the disabling triggers are false. Treated as an unordered set. + "A String", + ], + "fingerprint": "A String", # The fingerprint of the GTM Variable as computed at storage time. This value is recomputed whenever the variable is modified. + "accountId": "A String", # GTM Account ID. + "parameter": [ # The variable's parameters. + { # Represents a Google Tag Manager Parameter. "map": [ # This map parameter's parameters (must have keys; keys must be unique). # Object with schema name: Parameter ], @@ -3711,9 +3669,259 @@

Method Details

# - map: A map of parameters should be specified # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) }, + ], + "parentFolderId": "A String", # Parent folder id. + "disablingTriggerId": [ # For mobile containers only: A list of trigger IDs for disabling conditional variables; the variable is enabled if one of the enabling trigger is true while all the disabling trigger are false. Treated as an unordered set. + "A String", + ], + "containerId": "A String", # GTM Container ID. + }, + ], + "folder": [ # The folders in the container that this version was taken from. + { # Represents a Google Tag Manager Folder. + "folderId": "A String", # The Folder ID uniquely identifies the GTM Folder. + "fingerprint": "A String", # The fingerprint of the GTM Folder as computed at storage time. This value is recomputed whenever the folder is modified. + "containerId": "A String", # GTM Container ID. + "name": "A String", # Folder display name. "accountId": "A String", # GTM Account ID. }, ], + "trigger": [ # The triggers in the container that this version was taken from. + { # Represents a Google Tag Manager Trigger + "filter": [ # The trigger will only fire iff all Conditions are true. + { # Represents a predicate. + "type": "A String", # The type of operator for this condition. + "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: + # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + # - At this time, the left operand (arg0) must be a reference to a macro. + # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. + # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + }, + ], + "videoPercentageList": { # Represents a Google Tag Manager Parameter. # List of integer percentage values. The trigger will fire as each percentage is reached in any instrumented videos. Only valid for YouTube triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "uniqueTriggerId": { # Represents a Google Tag Manager Parameter. # Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "waitForTags": { # Represents a Google Tag Manager Parameter. # Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action). Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "containerId": "A String", # GTM Container ID. + "type": "A String", # Defines the data layer event that causes this trigger. + "interval": { # Represents a Google Tag Manager Parameter. # Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "parentFolderId": "A String", # Parent folder id. + "name": "A String", # Trigger display name. + "eventName": { # Represents a Google Tag Manager Parameter. # Name of the GTM event that is fired. Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "autoEventFilter": [ # Used in the case of auto event tracking. + { # Represents a predicate. + "type": "A String", # The type of operator for this condition. + "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: + # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + # - At this time, the left operand (arg0) must be a reference to a macro. + # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. + # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + }, + ], + "limit": { # Represents a Google Tag Manager Parameter. # Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "waitForTagsTimeout": { # Represents a Google Tag Manager Parameter. # How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "checkValidation": { # Represents a Google Tag Manager Parameter. # Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation). Only valid for Form Submission and Link Click triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "fingerprint": "A String", # The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified. + "customEventFilter": [ # Used in the case of custom event, which is fired iff all Conditions are true. + { # Represents a predicate. + "type": "A String", # The type of operator for this condition. + "parameter": [ # A list of named parameters (key/value), depending on the condition's type. Notes: + # - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. + # - At this time, the left operand (arg0) must be a reference to a macro. + # - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. + # - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true. + { # Represents a Google Tag Manager Parameter. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + ], + }, + ], + "triggerId": "A String", # The Trigger ID uniquely identifies the GTM Trigger. + "enableAllVideos": { # Represents a Google Tag Manager Parameter. # Reloads the videos in the page that don't already have the YT API enabled. If false, only capture events from videos that already have the API enabled. Only valid for YouTube triggers. + "map": [ # This map parameter's parameters (must have keys; keys must be unique). + # Object with schema name: Parameter + ], + "list": [ # This list parameter's parameters (keys will be ignored). + # Object with schema name: Parameter + ], + "value": "A String", # A parameter's value (may contain macro references such as "{{myMacro}}") as appropriate to the specified type. + "key": "A String", # The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. + "type": "A String", # The parameter type. Valid values are: + # - boolean: The value represents a boolean, represented as 'true' or 'false' + # - integer: The value represents a 64-bit signed integer value, in base 10 + # - list: A list of parameters should be specified + # - map: A map of parameters should be specified + # - template: The value represents any text; this can include macro references (even macro references that might return non-string types) + }, + "accountId": "A String", # GTM Account ID. + }, + ], "accountId": "A String", # GTM Account ID. }
diff --git a/docs/dyn/tasks_v1.tasklists.html b/docs/dyn/tasks_v1.tasklists.html index 3e70ee3cb37..626711773a0 100644 --- a/docs/dyn/tasks_v1.tasklists.html +++ b/docs/dyn/tasks_v1.tasklists.html @@ -117,11 +117,10 @@

Method Details

{ "kind": "tasks#taskList", # Type of the resource. This is always "tasks#taskList". - "title": "A String", # Title of the task list. - "updated": "A String", # Last modification time of the task list (as a RFC 3339 timestamp). "etag": "A String", # ETag of the resource. "id": "A String", # Task list identifier. "selfLink": "A String", # URL pointing to this task list. Used to retrieve, update, or delete this task list. + "title": "A String", # Title of the task list. } @@ -135,11 +134,10 @@

Method Details

{ "kind": "tasks#taskList", # Type of the resource. This is always "tasks#taskList". - "title": "A String", # Title of the task list. - "updated": "A String", # Last modification time of the task list (as a RFC 3339 timestamp). "etag": "A String", # ETag of the resource. "id": "A String", # Task list identifier. "selfLink": "A String", # URL pointing to this task list. Used to retrieve, update, or delete this task list. + "title": "A String", # Title of the task list. } @@ -148,11 +146,10 @@

Method Details

{ "kind": "tasks#taskList", # Type of the resource. This is always "tasks#taskList". - "title": "A String", # Title of the task list. - "updated": "A String", # Last modification time of the task list (as a RFC 3339 timestamp). "etag": "A String", # ETag of the resource. "id": "A String", # Task list identifier. "selfLink": "A String", # URL pointing to this task list. Used to retrieve, update, or delete this task list. + "title": "A String", # Title of the task list. } @@ -162,7 +159,7 @@

Method Details

Args: pageToken: string, Token specifying the result page to return. Optional. - maxResults: string, Maximum number of task lists returned on one page. Optional. The default is 100. + maxResults: integer, Maximum number of task lists returned on one page. Optional. The default is 100. Returns: An object of the form: @@ -172,11 +169,10 @@

Method Details

"items": [ # Collection of task lists. { "kind": "tasks#taskList", # Type of the resource. This is always "tasks#taskList". - "title": "A String", # Title of the task list. - "updated": "A String", # Last modification time of the task list (as a RFC 3339 timestamp). "etag": "A String", # ETag of the resource. "id": "A String", # Task list identifier. "selfLink": "A String", # URL pointing to this task list. Used to retrieve, update, or delete this task list. + "title": "A String", # Title of the task list. }, ], "kind": "tasks#taskLists", # Type of the resource. This is always "tasks#taskLists". @@ -209,11 +205,10 @@

Method Details

{ "kind": "tasks#taskList", # Type of the resource. This is always "tasks#taskList". - "title": "A String", # Title of the task list. - "updated": "A String", # Last modification time of the task list (as a RFC 3339 timestamp). "etag": "A String", # ETag of the resource. "id": "A String", # Task list identifier. "selfLink": "A String", # URL pointing to this task list. Used to retrieve, update, or delete this task list. + "title": "A String", # Title of the task list. } @@ -222,11 +217,10 @@

Method Details

{ "kind": "tasks#taskList", # Type of the resource. This is always "tasks#taskList". - "title": "A String", # Title of the task list. - "updated": "A String", # Last modification time of the task list (as a RFC 3339 timestamp). "etag": "A String", # ETag of the resource. "id": "A String", # Task list identifier. "selfLink": "A String", # URL pointing to this task list. Used to retrieve, update, or delete this task list. + "title": "A String", # Title of the task list. } @@ -241,11 +235,10 @@

Method Details

{ "kind": "tasks#taskList", # Type of the resource. This is always "tasks#taskList". - "title": "A String", # Title of the task list. - "updated": "A String", # Last modification time of the task list (as a RFC 3339 timestamp). "etag": "A String", # ETag of the resource. "id": "A String", # Task list identifier. "selfLink": "A String", # URL pointing to this task list. Used to retrieve, update, or delete this task list. + "title": "A String", # Title of the task list. } @@ -254,11 +247,10 @@

Method Details

{ "kind": "tasks#taskList", # Type of the resource. This is always "tasks#taskList". - "title": "A String", # Title of the task list. - "updated": "A String", # Last modification time of the task list (as a RFC 3339 timestamp). "etag": "A String", # ETag of the resource. "id": "A String", # Task list identifier. "selfLink": "A String", # URL pointing to this task list. Used to retrieve, update, or delete this task list. + "title": "A String", # Title of the task list. } diff --git a/docs/dyn/tasks_v1.tasks.html b/docs/dyn/tasks_v1.tasks.html index d5808334f69..6f2117eeef1 100644 --- a/docs/dyn/tasks_v1.tasks.html +++ b/docs/dyn/tasks_v1.tasks.html @@ -87,7 +87,7 @@

Instance Methods

insert(tasklist, body, parent=None, previous=None)

Creates a new task on the specified task list.

- list(tasklist, showCompleted=None, dueMin=None, dueMax=None, pageToken=None, updatedMin=None, showDeleted=None, completedMax=None, maxResults=None, completedMin=None, showHidden=None)

+ list(tasklist, dueMax=None, pageToken=None, updatedMin=None, maxResults=None, completedMin=None, showDeleted=None, completedMax=None, showHidden=None, showCompleted=None, dueMin=None)

Returns all tasks in the specified task list.

list_next(previous_request, previous_response)

@@ -137,13 +137,6 @@

Method Details

"kind": "tasks#task", # Type of the resource. This is always "tasks#task". "updated": "A String", # Last modification time of the task (as a RFC 3339 timestamp). "parent": "A String", # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level. - "links": [ # Collection of links. This collection is read-only. - { - "type": "A String", # Type of the link, e.g. "email". - "link": "A String", # The URL. - "description": "A String", # The description. In HTML speak: Everything between and . - }, - ], "title": "A String", # Title of the task. "deleted": True or False, # Flag indicating whether the task has been deleted. The default if False. "completed": "A String", # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. @@ -171,13 +164,6 @@

Method Details

"kind": "tasks#task", # Type of the resource. This is always "tasks#task". "updated": "A String", # Last modification time of the task (as a RFC 3339 timestamp). "parent": "A String", # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level. - "links": [ # Collection of links. This collection is read-only. - { - "type": "A String", # Type of the link, e.g. "email". - "link": "A String", # The URL. - "description": "A String", # The description. In HTML speak: Everything between and . - }, - ], "title": "A String", # Title of the task. "deleted": True or False, # Flag indicating whether the task has been deleted. The default if False. "completed": "A String", # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. @@ -201,13 +187,6 @@

Method Details

"kind": "tasks#task", # Type of the resource. This is always "tasks#task". "updated": "A String", # Last modification time of the task (as a RFC 3339 timestamp). "parent": "A String", # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level. - "links": [ # Collection of links. This collection is read-only. - { - "type": "A String", # Type of the link, e.g. "email". - "link": "A String", # The URL. - "description": "A String", # The description. In HTML speak: Everything between and . - }, - ], "title": "A String", # Title of the task. "deleted": True or False, # Flag indicating whether the task has been deleted. The default if False. "completed": "A String", # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. @@ -222,21 +201,21 @@

Method Details

- list(tasklist, showCompleted=None, dueMin=None, dueMax=None, pageToken=None, updatedMin=None, showDeleted=None, completedMax=None, maxResults=None, completedMin=None, showHidden=None) + list(tasklist, dueMax=None, pageToken=None, updatedMin=None, maxResults=None, completedMin=None, showDeleted=None, completedMax=None, showHidden=None, showCompleted=None, dueMin=None)
Returns all tasks in the specified task list.
 
 Args:
   tasklist: string, Task list identifier. (required)
-  showCompleted: boolean, Flag indicating whether completed tasks are returned in the result. Optional. The default is True.
-  dueMin: string, Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.
   dueMax: string, Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.
   pageToken: string, Token specifying the result page to return. Optional.
   updatedMin: string, Lower bound for a task's last modification time (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by last modification time.
+  maxResults: integer, Maximum number of task lists returned on one page. Optional. The default is 100.
+  completedMin: string, Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.
   showDeleted: boolean, Flag indicating whether deleted tasks are returned in the result. Optional. The default is False.
   completedMax: string, Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.
-  maxResults: string, Maximum number of task lists returned on one page. Optional. The default is 100.
-  completedMin: string, Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.
   showHidden: boolean, Flag indicating whether hidden tasks are returned in the result. Optional. The default is False.
+  showCompleted: boolean, Flag indicating whether completed tasks are returned in the result. Optional. The default is True.
+  dueMin: string, Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.
 
 Returns:
   An object of the form:
@@ -249,13 +228,6 @@ 

Method Details

"kind": "tasks#task", # Type of the resource. This is always "tasks#task". "updated": "A String", # Last modification time of the task (as a RFC 3339 timestamp). "parent": "A String", # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level. - "links": [ # Collection of links. This collection is read-only. - { - "type": "A String", # Type of the link, e.g. "email". - "link": "A String", # The URL. - "description": "A String", # The description. In HTML speak: Everything between and . - }, - ], "title": "A String", # Title of the task. "deleted": True or False, # Flag indicating whether the task has been deleted. The default if False. "completed": "A String", # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. @@ -305,13 +277,6 @@

Method Details

"kind": "tasks#task", # Type of the resource. This is always "tasks#task". "updated": "A String", # Last modification time of the task (as a RFC 3339 timestamp). "parent": "A String", # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level. - "links": [ # Collection of links. This collection is read-only. - { - "type": "A String", # Type of the link, e.g. "email". - "link": "A String", # The URL. - "description": "A String", # The description. In HTML speak: Everything between and . - }, - ], "title": "A String", # Title of the task. "deleted": True or False, # Flag indicating whether the task has been deleted. The default if False. "completed": "A String", # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. @@ -340,13 +305,6 @@

Method Details

"kind": "tasks#task", # Type of the resource. This is always "tasks#task". "updated": "A String", # Last modification time of the task (as a RFC 3339 timestamp). "parent": "A String", # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level. - "links": [ # Collection of links. This collection is read-only. - { - "type": "A String", # Type of the link, e.g. "email". - "link": "A String", # The URL. - "description": "A String", # The description. In HTML speak: Everything between and . - }, - ], "title": "A String", # Title of the task. "deleted": True or False, # Flag indicating whether the task has been deleted. The default if False. "completed": "A String", # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. @@ -368,13 +326,6 @@

Method Details

"kind": "tasks#task", # Type of the resource. This is always "tasks#task". "updated": "A String", # Last modification time of the task (as a RFC 3339 timestamp). "parent": "A String", # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level. - "links": [ # Collection of links. This collection is read-only. - { - "type": "A String", # Type of the link, e.g. "email". - "link": "A String", # The URL. - "description": "A String", # The description. In HTML speak: Everything between and . - }, - ], "title": "A String", # Title of the task. "deleted": True or False, # Flag indicating whether the task has been deleted. The default if False. "completed": "A String", # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. @@ -403,13 +354,6 @@

Method Details

"kind": "tasks#task", # Type of the resource. This is always "tasks#task". "updated": "A String", # Last modification time of the task (as a RFC 3339 timestamp). "parent": "A String", # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level. - "links": [ # Collection of links. This collection is read-only. - { - "type": "A String", # Type of the link, e.g. "email". - "link": "A String", # The URL. - "description": "A String", # The description. In HTML speak: Everything between and . - }, - ], "title": "A String", # Title of the task. "deleted": True or False, # Flag indicating whether the task has been deleted. The default if False. "completed": "A String", # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. @@ -431,13 +375,6 @@

Method Details

"kind": "tasks#task", # Type of the resource. This is always "tasks#task". "updated": "A String", # Last modification time of the task (as a RFC 3339 timestamp). "parent": "A String", # Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level. - "links": [ # Collection of links. This collection is read-only. - { - "type": "A String", # Type of the link, e.g. "email". - "link": "A String", # The URL. - "description": "A String", # The description. In HTML speak: Everything between and . - }, - ], "title": "A String", # Title of the task. "deleted": True or False, # Flag indicating whether the task has been deleted. The default if False. "completed": "A String", # Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed. diff --git a/docs/dyn/webmasters_v3.html b/docs/dyn/webmasters_v3.html index 62af147bf1a..ab470263843 100644 --- a/docs/dyn/webmasters_v3.html +++ b/docs/dyn/webmasters_v3.html @@ -74,6 +74,11 @@

Webmaster Tools API

Instance Methods

+

+ searchanalytics() +

+

Returns the searchanalytics Resource.

+

sitemaps()

diff --git a/docs/dyn/webmasters_v3.searchanalytics.html b/docs/dyn/webmasters_v3.searchanalytics.html new file mode 100644 index 00000000000..8793df3ebfd --- /dev/null +++ b/docs/dyn/webmasters_v3.searchanalytics.html @@ -0,0 +1,139 @@ + + + +

Webmaster Tools API . searchanalytics

+

Instance Methods

+

+ query(siteUrl, body)

+

Query your data with filters and parameters that you define. Returns zero or more rows grouped by the row keys that you define. You must define a date range of one or more days.

+

Method Details

+
+ query(siteUrl, body) +
Query your data with filters and parameters that you define. Returns zero or more rows grouped by the row keys that you define. You must define a date range of one or more days.
+
+When date is one of the group by values, any days without data are omitted from the result list. If you need to know which days have data, issue a broad date range query grouped by date for any metric, and see which day rows are returned.
+
+Args:
+  siteUrl: string, The site's URL, including protocol. For example: http://www.example.com/ (required)
+  body: object, The request body. (required)
+    The object takes the form of:
+
+{
+    "startDate": "A String", # [Required] Start date of the requested date range, in YYYY-MM-DD format, in PST time (UTC - 8:00). Must be less than or equal to the end date. This value is included in the range.
+    "endDate": "A String", # [Required] End date of the requested date range, in YYYY-MM-DD format, in PST (UTC - 8:00). Must be greater than or equal to the start date. This value is included in the range.
+    "dimensions": [ # [Optional] Zero or more dimensions to group results by. Dimensions are the group-by values in the Search Analytics page. Dimensions are combined to create a unique row key for each row. Results are grouped in the order that you supply these dimensions.
+      "A String",
+    ],
+    "searchType": "A String", # [Optional; Default is "web"] The search type to filter for.
+    "dimensionFilterGroups": [ # [Optional] Zero or more filters to apply to the dimension grouping values; for example, 'query contains "buy"' to see only data where the query string contains the substring "buy" (not case-sensitive). You can filter by a dimension without grouping by it.
+      {
+        "groupType": "A String",
+        "filters": [
+          {
+            "operator": "A String",
+            "expression": "A String",
+            "dimension": "A String",
+          },
+        ],
+      },
+    ],
+    "rowLimit": 42, # [Optional; Default is 1000] The maximum number of rows to return. Must be a number from 1 to 5,000 (inclusive).
+    "aggregationType": "A String", # [Optional; Default is "auto"] How data is aggregated. If aggregated by property, all data for the same property is aggregated; if aggregated by page, all data is aggregated by canonical URI. If you filter or group by page, choose AUTO; otherwise you can aggregate either by property or by page, depending on how you want your data calculated; see  the help documentation to learn how data is calculated differently by site versus by page.
+        # 
+        # Note: If you group or filter by page, you cannot aggregate by property.
+        # 
+        # If you specify any value other than AUTO, the aggregation type in the result will match the requested type, or if you request an invalid type, you will get an error. The API will never change your aggregation type if the requested type is invalid.
+  }
+
+
+Returns:
+  An object of the form:
+
+    { # A list of rows, one per result, grouped by key. Metrics in each row are aggregated for all data grouped by that key either by page or property, as specified by the aggregation type parameter.
+    "rows": [ # A list of rows grouped by the key values in the order given in the query.
+      {
+        "keys": [
+          "A String",
+        ],
+        "impressions": 3.14,
+        "clicks": 3.14,
+        "ctr": 3.14,
+        "position": 3.14,
+      },
+    ],
+    "responseAggregationType": "A String", # How the results were aggregated.
+  }
+
+ + \ No newline at end of file diff --git a/docs/dyn/webmasters_v3.sitemaps.html b/docs/dyn/webmasters_v3.sitemaps.html index ddcd80583bb..124a9b1e02a 100644 --- a/docs/dyn/webmasters_v3.sitemaps.html +++ b/docs/dyn/webmasters_v3.sitemaps.html @@ -82,7 +82,7 @@

Instance Methods

Retrieves information about a specific sitemap.

list(siteUrl, sitemapIndex=None)

-

Lists sitemaps uploaded to the site.

+

Lists the sitemaps-entries submitted for this site, or included in the sitemap index file (if sitemapIndex is specified in the request).

submit(siteUrl, feedpath)

Submits a sitemap for a site.

@@ -92,8 +92,8 @@

Method Details

Deletes a sitemap from this site.
 
 Args:
-  siteUrl: string, The site's URL, including protocol, for example 'http://www.example.com/' (required)
-  feedpath: string, The URL of the actual sitemap (for example http://www.example.com/sitemap.xml). (required)
+  siteUrl: string, The site's URL, including protocol. For example: http://www.example.com/ (required)
+  feedpath: string, The URL of the actual sitemap. For example: http://www.example.com/sitemap.xml (required)
 
@@ -102,25 +102,25 @@

Method Details

Retrieves information about a specific sitemap.
 
 Args:
-  siteUrl: string, The site's URL, including protocol, for example 'http://www.example.com/' (required)
-  feedpath: string, The URL of the actual sitemap (for example http://www.example.com/sitemap.xml). (required)
+  siteUrl: string, The site's URL, including protocol. For example: http://www.example.com/ (required)
+  feedpath: string, The URL of the actual sitemap. For example: http://www.example.com/sitemap.xml (required)
 
 Returns:
   An object of the form:
 
-    {
-    "errors": "A String", # Number of errors in the sitemap - issues with the sitemap itself, that needs to be fixed before it can be processed correctly.
-    "warnings": "A String", # Number of warnings for the sitemap - issues with URLs in the sitemaps.
+    { # Contains detailed information about a specific URL submitted as a sitemap.
+    "errors": "A String", # Number of errors in the sitemap. These are issues with the sitemap itself that need to be fixed before it can be processed correctly.
+    "warnings": "A String", # Number of warnings for the sitemap. These are generally non-critical issues with URLs in the sitemaps.
     "isPending": True or False, # If true, the sitemap has not been processed.
     "lastSubmitted": "A String", # Date & time in which this sitemap was submitted. Date format is in RFC 3339 format (yyyy-mm-dd).
     "isSitemapsIndex": True or False, # If true, the sitemap is a collection of sitemaps.
     "lastDownloaded": "A String", # Date & time in which this sitemap was last downloaded. Date format is in RFC 3339 format (yyyy-mm-dd).
     "path": "A String", # The url of the sitemap.
-    "type": "A String", # The type of the sitemap (for example "sitemap").
+    "type": "A String", # The type of the sitemap. For example: rssFeed.
     "contents": [ # The various content types in the sitemap.
       { # Information about the various content types in the sitemap.
         "indexed": "A String", # The number of URLs from the sitemap that were indexed (of the content type).
-        "type": "A String", # The specific type of content in this sitemap (for example "web", "images").
+        "type": "A String", # The specific type of content in this sitemap. For example: web.
         "submitted": "A String", # The number of URLs in the sitemap (of the content type).
       },
     ],
@@ -129,30 +129,30 @@ 

Method Details

list(siteUrl, sitemapIndex=None) -
Lists sitemaps uploaded to the site.
+  
Lists the sitemaps-entries submitted for this site, or included in the sitemap index file (if sitemapIndex is specified in the request).
 
 Args:
-  siteUrl: string, The site's URL, including protocol, for example 'http://www.example.com/' (required)
-  sitemapIndex: string, A URL of a site's sitemap index.
+  siteUrl: string, The site's URL, including protocol. For example: http://www.example.com/ (required)
+  sitemapIndex: string, A URL of a site's sitemap index. For example: http://www.example.com/sitemapindex.xml
 
 Returns:
   An object of the form:
 
     { # List of sitemaps.
-    "sitemap": [ # Information about a sitemap entry.
-      {
-        "errors": "A String", # Number of errors in the sitemap - issues with the sitemap itself, that needs to be fixed before it can be processed correctly.
-        "warnings": "A String", # Number of warnings for the sitemap - issues with URLs in the sitemaps.
+    "sitemap": [ # Contains detailed information about a specific URL submitted as a sitemap.
+      { # Contains detailed information about a specific URL submitted as a sitemap.
+        "errors": "A String", # Number of errors in the sitemap. These are issues with the sitemap itself that need to be fixed before it can be processed correctly.
+        "warnings": "A String", # Number of warnings for the sitemap. These are generally non-critical issues with URLs in the sitemaps.
         "isPending": True or False, # If true, the sitemap has not been processed.
         "lastSubmitted": "A String", # Date & time in which this sitemap was submitted. Date format is in RFC 3339 format (yyyy-mm-dd).
         "isSitemapsIndex": True or False, # If true, the sitemap is a collection of sitemaps.
         "lastDownloaded": "A String", # Date & time in which this sitemap was last downloaded. Date format is in RFC 3339 format (yyyy-mm-dd).
         "path": "A String", # The url of the sitemap.
-        "type": "A String", # The type of the sitemap (for example "sitemap").
+        "type": "A String", # The type of the sitemap. For example: rssFeed.
         "contents": [ # The various content types in the sitemap.
           { # Information about the various content types in the sitemap.
             "indexed": "A String", # The number of URLs from the sitemap that were indexed (of the content type).
-            "type": "A String", # The specific type of content in this sitemap (for example "web", "images").
+            "type": "A String", # The specific type of content in this sitemap. For example: web.
             "submitted": "A String", # The number of URLs in the sitemap (of the content type).
           },
         ],
@@ -166,8 +166,8 @@ 

Method Details

Submits a sitemap for a site.
 
 Args:
-  siteUrl: string, The site's URL, including protocol, for example 'http://www.example.com/' (required)
-  feedpath: string, The URL of the sitemap to add. (required)
+  siteUrl: string, The site's URL, including protocol. For example: http://www.example.com/ (required)
+  feedpath: string, The URL of the sitemap to add. For example: http://www.example.com/sitemap.xml (required)
 
diff --git a/docs/dyn/webmasters_v3.sites.html b/docs/dyn/webmasters_v3.sites.html index 20192ba092f..36161c15e35 100644 --- a/docs/dyn/webmasters_v3.sites.html +++ b/docs/dyn/webmasters_v3.sites.html @@ -85,7 +85,7 @@

Instance Methods

Retrieves information about specific site.

list()

-

Lists your Webmaster Tools sites.

+

Lists the user's Webmaster Tools sites.

Method Details

add(siteUrl) @@ -101,7 +101,7 @@

Method Details

Removes a site from the set of the user's Webmaster Tools sites.
 
 Args:
-  siteUrl: string, The site's URL, including protocol, for example 'http://www.example.com/' (required)
+  siteUrl: string, The URI of the property as defined in Search Console. Examples: http://www.example.com/ or android-app://com.example/ (required)
 
@@ -110,12 +110,12 @@

Method Details

Retrieves information about specific site.
 
 Args:
-  siteUrl: string, The site's URL, including protocol, for example 'http://www.example.com/' (required)
+  siteUrl: string, The URI of the property as defined in Search Console. Examples: http://www.example.com/ or android-app://com.example/ (required)
 
 Returns:
   An object of the form:
 
-    { # Access level information for a Webmaster Tools site.
+    { # Contains permission level information about a Webmaster Tools site. For more information, see  Permissions in Webmaster Tools.
     "permissionLevel": "A String", # The user's permission level for the site.
     "siteUrl": "A String", # The URL of the site.
   }
@@ -123,7 +123,7 @@

Method Details

list() -
Lists your Webmaster Tools sites.
+  
Lists the user's Webmaster Tools sites.
 
 Args:
 
@@ -131,8 +131,8 @@ 

Method Details

An object of the form: { # List of sites with access level information. - "siteEntry": [ # Access level information for a Webmaster Tools site. - { # Access level information for a Webmaster Tools site. + "siteEntry": [ # Contains permission level information about a Webmaster Tools site. For more information, see Permissions in Webmaster Tools. + { # Contains permission level information about a Webmaster Tools site. For more information, see Permissions in Webmaster Tools. "permissionLevel": "A String", # The user's permission level for the site. "siteUrl": "A String", # The URL of the site. }, diff --git a/docs/dyn/webmasters_v3.urlcrawlerrorscounts.html b/docs/dyn/webmasters_v3.urlcrawlerrorscounts.html index 606dd4cb041..4cbafc22aa2 100644 --- a/docs/dyn/webmasters_v3.urlcrawlerrorscounts.html +++ b/docs/dyn/webmasters_v3.urlcrawlerrorscounts.html @@ -83,8 +83,8 @@

Method Details

Retrieves a time series of the number of URL crawl errors per error category and platform.
 
 Args:
-  siteUrl: string, The site's URL, including protocol, for example 'http://www.example.com/' (required)
-  category: string, The crawl error category, for example 'serverError'. If not specified, we return results for all categories.
+  siteUrl: string, The site's URL, including protocol. For example: http://www.example.com/ (required)
+  category: string, The crawl error category. For example: serverError. If not specified, returns results for all categories.
     Allowed values
       authPermissions - 
       manyToOneRedirect - 
@@ -94,7 +94,7 @@ 

Method Details

roboted - serverError - soft404 - - platform: string, The user agent type (platform) that made the request, for example 'web'. If not specified, we return results for all platforms. + platform: string, The user agent type (platform) that made the request. For example: web. If not specified, returns results for all platforms. Allowed values mobile - smartphoneOnly - @@ -105,14 +105,14 @@

Method Details

An object of the form: { # A time series of the number of URL crawl errors per error category and platform. - "countPerTypes": [ # The time series of the number of URL crawl errors for per error category and platform. + "countPerTypes": [ # The time series of the number of URL crawl errors per error category and platform. { # Number of errors per day for a specific error type (defined by platform and category). "category": "A String", # The crawl error type. - "platform": "A String", # Corresponding to the user agent that made the request. + "platform": "A String", # The general type of Googlebot that made the request (see list of Googlebot user-agents for the user-agents used). "entries": [ # The error count entries time series. { # An entry in a URL crawl errors time series. "count": "A String", # The error count at the given timestamp. - "timestamp": "A String", # The time (well, date) when errors were detected, in RFC 3339 format. + "timestamp": "A String", # The date and time when the crawl attempt took place, in RFC 3339 format. }, ], }, diff --git a/docs/dyn/webmasters_v3.urlcrawlerrorssamples.html b/docs/dyn/webmasters_v3.urlcrawlerrorssamples.html index 066a3f258f0..e509e3815e1 100644 --- a/docs/dyn/webmasters_v3.urlcrawlerrorssamples.html +++ b/docs/dyn/webmasters_v3.urlcrawlerrorssamples.html @@ -89,9 +89,9 @@

Method Details

Retrieves details about crawl errors for a site's sample URL.
 
 Args:
-  siteUrl: string, The site's URL, including protocol, for example 'http://www.example.com/' (required)
-  url: string, The relative path (without the site) of the sample URL; must be one of the URLs returned by list (required)
-  category: string, The crawl error category, for example 'authPermissions' (required)
+  siteUrl: string, The site's URL, including protocol. For example: http://www.example.com/ (required)
+  url: string, The relative path (without the site) of the sample URL. It must be one of the URLs returned by list(). For example, for the URL https://www.example.com/pagename on the site https://www.example.com/, the url value is pagename (required)
+  category: string, The crawl error category. For example: authPermissions (required)
     Allowed values
       authPermissions - 
       manyToOneRedirect - 
@@ -101,7 +101,7 @@ 

Method Details

roboted - serverError - soft404 - - platform: string, The user agent type (platform) that made the request, for example 'web' (required) + platform: string, The user agent type (platform) that made the request. For example: web (required) Allowed values mobile - smartphoneOnly - @@ -110,7 +110,7 @@

Method Details

Returns: An object of the form: - { + { # Contains information about specific crawl errors. "urlDetails": { # Additional details about the URL, set only when calling get(). # Additional details about the URL, set only when calling get(). "containingSitemaps": [ # List of sitemaps pointing at this URL. "A String", @@ -131,8 +131,8 @@

Method Details

Lists a site's sample URLs for the specified crawl error category and platform.
 
 Args:
-  siteUrl: string, The site's URL, including protocol, for example 'http://www.example.com/' (required)
-  category: string, The crawl error category, for example 'authPermissions' (required)
+  siteUrl: string, The site's URL, including protocol. For example: http://www.example.com/ (required)
+  category: string, The crawl error category. For example: authPermissions (required)
     Allowed values
       authPermissions - 
       manyToOneRedirect - 
@@ -142,7 +142,7 @@ 

Method Details

roboted - serverError - soft404 - - platform: string, The user agent type (platform) that made the request, for example 'web' (required) + platform: string, The user agent type (platform) that made the request. For example: web (required) Allowed values mobile - smartphoneOnly - @@ -153,7 +153,7 @@

Method Details

{ # List of crawl error samples. "urlCrawlErrorSample": [ # Information about the sample URL and its crawl error. - { + { # Contains information about specific crawl errors. "urlDetails": { # Additional details about the URL, set only when calling get(). # Additional details about the URL, set only when calling get(). "containingSitemaps": [ # List of sitemaps pointing at this URL. "A String", @@ -176,9 +176,9 @@

Method Details

Marks the provided site's sample URL as fixed, and removes it from the samples list.
 
 Args:
-  siteUrl: string, The site's URL, including protocol, for example 'http://www.example.com/' (required)
-  url: string, The relative path (without the site) of the sample URL; must be one of the URLs returned by list (required)
-  category: string, The crawl error category, for example 'authPermissions' (required)
+  siteUrl: string, The site's URL, including protocol. For example: http://www.example.com/ (required)
+  url: string, The relative path (without the site) of the sample URL. It must be one of the URLs returned by list(). For example, for the URL https://www.example.com/pagename on the site https://www.example.com/, the url value is pagename (required)
+  category: string, The crawl error category. For example: authPermissions (required)
     Allowed values
       authPermissions - 
       manyToOneRedirect - 
@@ -188,7 +188,7 @@ 

Method Details

roboted - serverError - soft404 - - platform: string, The user agent type (platform) that made the request, for example 'web' (required) + platform: string, The user agent type (platform) that made the request. For example: web (required) Allowed values mobile - smartphoneOnly - diff --git a/docs/dyn/youtube_v3.activities.html b/docs/dyn/youtube_v3.activities.html index c965e665d2c..0ca403fd792 100644 --- a/docs/dyn/youtube_v3.activities.html +++ b/docs/dyn/youtube_v3.activities.html @@ -75,7 +75,7 @@

YouTube Data API . activities

Instance Methods

- insert(part=None, body)

+ insert(part, body)

Posts a bulletin for a specific channel. (The user submitting the request must be authorized to act on the channel's behalf.)

list(part=None, pageToken=None, publishedBefore=None, channelId=None, mine=None, maxResults=None, regionCode=None, home=None, publishedAfter=None)

@@ -85,15 +85,13 @@

Instance Methods

Retrieves the next page of results.

Method Details

- insert(part=None, body) + insert(part, body)
Posts a bulletin for a specific channel. (The user submitting the request must be authorized to act on the channel's behalf.)
 
 Note: Even though an activity resource can contain information about actions like a user rating a video or marking a video as a favorite, you need to use other API methods to generate those activity resources. For example, you would use the API's videos.rate() method to rate a video and the playlistItems.insert() method to mark a video as a favorite.
 
 Args:
-  part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
-
-The part names that you can include in the parameter value are snippet and contentDetails. (required)
+  part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
@@ -403,9 +401,9 @@ 

Method Details

Returns a list of channel activity events that match the request criteria. For example, you can retrieve events associated with a particular channel, events associated with the user's subscriptions and Google+ friends, or the YouTube home page feed, which is customized for each user.
 
 Args:
-  part: string, The part parameter specifies a comma-separated list of one or more activity resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, and contentDetails.
+  part: string, The part parameter specifies a comma-separated list of one or more activity resource properties that the API response will include.
 
-If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a activity resource, the snippet property contains other properties that identify the type of activity, a display title for the activity, and so forth. If you set part=snippet, the API response will also contain all of those nested properties. (required)
+If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in an activity resource, the snippet property contains other properties that identify the type of activity, a display title for the activity, and so forth. If you set part=snippet, the API response will also contain all of those nested properties. (required)
   pageToken: string, The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
   publishedBefore: string, The publishedBefore parameter specifies the date and time before which an activity must have occurred for that activity to be included in the API response. If the parameter value specifies a day, but not a time, then any activities that occurred that day will be excluded from the result set. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
   channelId: string, The channelId parameter specifies a unique YouTube channel ID. The API will then return a list of that channel's activities.
diff --git a/docs/dyn/youtube_v3.captions.html b/docs/dyn/youtube_v3.captions.html
index a7ea63e7707..ecbae0f47fb 100644
--- a/docs/dyn/youtube_v3.captions.html
+++ b/docs/dyn/youtube_v3.captions.html
@@ -75,49 +75,48 @@
 

YouTube Data API . captions

Instance Methods

- delete(id, onBehalfOfContentOwner=None, onBehalfOf=None, debugProjectIdOverride=None)

+ delete(id, onBehalfOf=None, onBehalfOfContentOwner=None)

Deletes a specified caption track.

- download(id, onBehalfOfContentOwner=None, onBehalfOf=None, debugProjectIdOverride=None, tfmt=None, tlang=None)

+ download(id, onBehalfOf=None, tlang=None, onBehalfOfContentOwner=None, tfmt=None)

Downloads a caption track. The caption track is returned in its original format unless the request specifies a value for the tfmt parameter and in its original language unless the request specifies a value for the tlang parameter.

- download_media(id, onBehalfOfContentOwner=None, onBehalfOf=None, debugProjectIdOverride=None, tfmt=None, tlang=None)

+ download_media(id, onBehalfOf=None, tlang=None, onBehalfOfContentOwner=None, tfmt=None)

Downloads a caption track. The caption track is returned in its original format unless the request specifies a value for the tfmt parameter and in its original language unless the request specifies a value for the tlang parameter.

- insert(part, body=None, media_body=None, onBehalfOf=None, sync=None, debugProjectIdOverride=None, onBehalfOfContentOwner=None)

+ insert(part, body=None, media_body=None, onBehalfOf=None, sync=None, onBehalfOfContentOwner=None)

Uploads a caption track.

- list(part, videoId, onBehalfOfContentOwner=None, onBehalfOf=None, debugProjectIdOverride=None, id=None)

+ list(part, videoId, onBehalfOf=None, onBehalfOfContentOwner=None, id=None)

Returns a list of caption tracks that are associated with a specified video. Note that the API response does not contain the actual captions and that the captions.download method provides the ability to retrieve a caption track.

- update(part, body=None, media_body=None, onBehalfOf=None, sync=None, debugProjectIdOverride=None, onBehalfOfContentOwner=None)

+ update(part, body=None, media_body=None, onBehalfOf=None, sync=None, onBehalfOfContentOwner=None)

Updates a caption track. When updating a caption track, you can change the track's draft status, upload a new caption file for the track, or both.

Method Details

- delete(id, onBehalfOfContentOwner=None, onBehalfOf=None, debugProjectIdOverride=None) + delete(id, onBehalfOf=None, onBehalfOfContentOwner=None)
Deletes a specified caption track.
 
 Args:
   id: string, The id parameter identifies the caption track that is being deleted. The value is a caption track ID as identified by the id property in a caption resource. (required)
+  onBehalfOf: string, ID of the Google+ Page for the channel that the request is be on behalf of
   onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
 
 The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.
-  onBehalfOf: string, ID of the Google+ Page for the channel that the request is be on behalf of
-  debugProjectIdOverride: string, The debugProjectIdOverride parameter should be used for mimicking a request for a certain project ID
 
- download(id, onBehalfOfContentOwner=None, onBehalfOf=None, debugProjectIdOverride=None, tfmt=None, tlang=None) + download(id, onBehalfOf=None, tlang=None, onBehalfOfContentOwner=None, tfmt=None)
Downloads a caption track. The caption track is returned in its original format unless the request specifies a value for the tfmt parameter and in its original language unless the request specifies a value for the tlang parameter.
 
 Args:
   id: string, The id parameter identifies the caption track that is being retrieved. The value is a caption track ID as identified by the id property in a caption resource. (required)
+  onBehalfOf: string, ID of the Google+ Page for the channel that the request is be on behalf of
+  tlang: string, The tlang parameter specifies that the API response should return a translation of the specified caption track. The parameter value is an ISO 639-1 two-letter language code that identifies the desired caption language. The translation is generated by using machine translation, such as Google Translate.
   onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
 
 The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.
-  onBehalfOf: string, ID of the Google+ Page for the channel that the request is be on behalf of
-  debugProjectIdOverride: string, The debugProjectIdOverride parameter should be used for mimicking a request for a certain project ID
   tfmt: string, The tfmt parameter specifies that the caption track should be returned in a specific format. If the parameter is not included in the request, the track is returned in its original format.
     Allowed values
       sbv - SubViewer subtitle.
@@ -125,21 +124,20 @@ 

Method Details

srt - SubRip subtitle. ttml - Timed Text Markup Language caption. vtt - Web Video Text Tracks caption. - tlang: string, The tlang parameter specifies that the API response should return a translation of the specified caption track. The parameter value is an ISO 639-1 two-letter language code that identifies the desired caption language. The translation is generated by using machine translation, such as Google Translate.
- download_media(id, onBehalfOfContentOwner=None, onBehalfOf=None, debugProjectIdOverride=None, tfmt=None, tlang=None) + download_media(id, onBehalfOf=None, tlang=None, onBehalfOfContentOwner=None, tfmt=None)
Downloads a caption track. The caption track is returned in its original format unless the request specifies a value for the tfmt parameter and in its original language unless the request specifies a value for the tlang parameter.
 
 Args:
   id: string, The id parameter identifies the caption track that is being retrieved. The value is a caption track ID as identified by the id property in a caption resource. (required)
+  onBehalfOf: string, ID of the Google+ Page for the channel that the request is be on behalf of
+  tlang: string, The tlang parameter specifies that the API response should return a translation of the specified caption track. The parameter value is an ISO 639-1 two-letter language code that identifies the desired caption language. The translation is generated by using machine translation, such as Google Translate.
   onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
 
 The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.
-  onBehalfOf: string, ID of the Google+ Page for the channel that the request is be on behalf of
-  debugProjectIdOverride: string, The debugProjectIdOverride parameter should be used for mimicking a request for a certain project ID
   tfmt: string, The tfmt parameter specifies that the caption track should be returned in a specific format. If the parameter is not included in the request, the track is returned in its original format.
     Allowed values
       sbv - SubViewer subtitle.
@@ -147,12 +145,11 @@ 

Method Details

srt - SubRip subtitle. ttml - Timed Text Markup Language caption. vtt - Web Video Text Tracks caption. - tlang: string, The tlang parameter specifies that the API response should return a translation of the specified caption track. The parameter value is an ISO 639-1 two-letter language code that identifies the desired caption language. The translation is generated by using machine translation, such as Google Translate.
- insert(part, body=None, media_body=None, onBehalfOf=None, sync=None, debugProjectIdOverride=None, onBehalfOfContentOwner=None) + insert(part, body=None, media_body=None, onBehalfOf=None, sync=None, onBehalfOfContentOwner=None)
Uploads a caption track.
 
 Args:
@@ -186,7 +183,6 @@ 

Method Details

sync: boolean, The sync parameter indicates whether YouTube should automatically synchronize the caption file with the audio track of the video. If you set the value to true, YouTube will disregard any time codes that are in the uploaded caption file and generate new time codes for the captions. You should set the sync parameter to true if you are uploading a transcript, which has no time codes, or if you suspect the time codes in your file are incorrect and want YouTube to try to fix them. - debugProjectIdOverride: string, The debugProjectIdOverride parameter should be used for mimicking a request for a certain project ID. onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners. The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner. @@ -217,17 +213,16 @@

Method Details

- list(part, videoId, onBehalfOfContentOwner=None, onBehalfOf=None, debugProjectIdOverride=None, id=None) + list(part, videoId, onBehalfOf=None, onBehalfOfContentOwner=None, id=None)
Returns a list of caption tracks that are associated with a specified video. Note that the API response does not contain the actual captions and that the captions.download method provides the ability to retrieve a caption track.
 
 Args:
   part: string, The part parameter specifies a comma-separated list of one or more caption resource parts that the API response will include. The part names that you can include in the parameter value are id and snippet. (required)
   videoId: string, The videoId parameter specifies the YouTube video ID of the video for which the API should return caption tracks. (required)
+  onBehalfOf: string, ID of the Google+ Page for the channel that the request is on behalf of.
   onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
 
 The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner.
-  onBehalfOf: string, ID of the Google+ Page for the channel that the request is on behalf of.
-  debugProjectIdOverride: string, The debugProjectIdOverride parameter should be used for mimicking a request for a certain project ID.
   id: string, The id parameter specifies a comma-separated list of IDs that identify the caption resources that should be retrieved. Each ID must identify a caption track associated with the specified video.
 
 Returns:
@@ -264,7 +259,7 @@ 

Method Details

- update(part, body=None, media_body=None, onBehalfOf=None, sync=None, debugProjectIdOverride=None, onBehalfOfContentOwner=None) + update(part, body=None, media_body=None, onBehalfOf=None, sync=None, onBehalfOfContentOwner=None)
Updates a caption track. When updating a caption track, you can change the track's draft status, upload a new caption file for the track, or both.
 
 Args:
@@ -298,7 +293,6 @@ 

Method Details

sync: boolean, Note: The API server only processes the parameter value if the request contains an updated caption file. The sync parameter indicates whether YouTube should automatically synchronize the caption file with the audio track of the video. If you set the value to true, YouTube will automatically synchronize the caption track with the audio track. - debugProjectIdOverride: string, The debugProjectIdOverride parameter should be used for mimicking a request for a certain project ID. onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners. The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner. diff --git a/docs/dyn/youtube_v3.channels.html b/docs/dyn/youtube_v3.channels.html index 29f5e3f7cd2..596121074b9 100644 --- a/docs/dyn/youtube_v3.channels.html +++ b/docs/dyn/youtube_v3.channels.html @@ -82,22 +82,26 @@

Instance Methods

Retrieves the next page of results.

update(part=None, body, onBehalfOfContentOwner=None)

-

Updates a channel's metadata.

+

Updates a channel's metadata. Note that this method currently only supports updates to the channel resource's brandingSettings and invideoPromotion objects and their child properties.

Method Details

list(part=None, hl=None, mine=None, mySubscribers=None, id=None, managedByMe=None, onBehalfOfContentOwner=None, forUsername=None, pageToken=None, categoryId=None, maxResults=None)
Returns a collection of zero or more channel resources that match the request criteria.
 
 Args:
-  part: string, The part parameter specifies a comma-separated list of one or more channel resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, statistics, topicDetails, and invideoPromotion.
+  part: string, The part parameter specifies a comma-separated list of one or more channel resource properties that the API response will include.
 
 If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a channel resource, the contentDetails property contains other properties, such as the uploads properties. As such, if you set part=contentDetails, the API response will also contain all of those nested properties. (required)
   hl: string, The hl parameter should be used for filter out the properties that are not in the given language. Used for the brandingSettings part.
   mine: boolean, Set this parameter's value to true to instruct the API to only return channels owned by the authenticated user.
-  mySubscribers: boolean, Set this parameter's value to true to retrieve a list of channels that subscribed to the authenticated user's channel.
+  mySubscribers: boolean, Use the subscriptions.list method and its mySubscribers parameter to retrieve a list of subscribers to the authenticated user's channel.
   id: string, The id parameter specifies a comma-separated list of the YouTube channel ID(s) for the resource(s) that are being retrieved. In a channel resource, the id property specifies the channel's YouTube channel ID.
-  managedByMe: boolean, Set this parameter's value to true to instruct the API to only return channels managed by the content owner that the onBehalfOfContentOwner parameter specifies. The user must be authenticated as a CMS account linked to the specified content owner and onBehalfOfContentOwner must be provided.
-  onBehalfOfContentOwner: string, The onBehalfOfContentOwner parameter indicates that the authenticated user is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with needs to be linked to the specified YouTube content owner.
+  managedByMe: boolean, Note: This parameter is intended exclusively for YouTube content partners.
+
+Set this parameter's value to true to instruct the API to only return channels managed by the content owner that the onBehalfOfContentOwner parameter specifies. The user must be authenticated as a CMS account linked to the specified content owner and onBehalfOfContentOwner must be provided.
+  onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
+
+The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
   forUsername: string, The forUsername parameter specifies a YouTube username, thereby requesting the channel associated with that username.
   pageToken: string, The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
   categoryId: string, The categoryId parameter specifies a YouTube guide category, thereby requesting YouTube channels associated with that category.
@@ -373,14 +377,14 @@ 

Method Details

update(part=None, body, onBehalfOfContentOwner=None) -
Updates a channel's metadata.
+  
Updates a channel's metadata. Note that this method currently only supports updates to the channel resource's brandingSettings and invideoPromotion objects and their child properties.
 
 Args:
   part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
 
-The part names that you can include in the parameter value are id and invideoPromotion.
+The API currently only allows the parameter value to be set to either brandingSettings or invideoPromotion. (You cannot update both of those parts with a single request.)
 
-Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. (required)
+Note that this method overrides the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
diff --git a/docs/dyn/youtube_v3.commentThreads.html b/docs/dyn/youtube_v3.commentThreads.html
index 67016d1fb2a..4ef131a2eb3 100644
--- a/docs/dyn/youtube_v3.commentThreads.html
+++ b/docs/dyn/youtube_v3.commentThreads.html
@@ -75,8 +75,8 @@
 

YouTube Data API . commentThreads

Instance Methods

- insert(part=None, body, shareOnGooglePlus=None)

-

Creates a new comment thread and top level comment.

+ insert(part, body)

+

Creates a new top-level comment. To add a reply to an existing comment, use the comments.insert method instead.

list(part, channelId=None, id=None, pageToken=None, allThreadsRelatedToChannelId=None, moderationStatus=None, videoId=None, maxResults=None, searchTerms=None, textFormat=None, order=None)

Returns a list of comment threads that match the API request parameters.

@@ -84,17 +84,15 @@

Instance Methods

list_next(previous_request, previous_response)

Retrieves the next page of results.

- update(part=None, body)

-

Modifies an existing comment.

+ update(part, body)

+

Modifies the top-level comment in a comment thread.

Method Details

- insert(part=None, body, shareOnGooglePlus=None) -
Creates a new comment thread and top level comment.
+    insert(part, body)
+  
Creates a new top-level comment. To add a reply to an existing comment, use the comments.insert method instead.
 
 Args:
-  part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
-
-The part names that you can include in the parameter value are id and snippet. However only snippet contains properties that can be set. (required)
+  part: string, The part parameter identifies the properties that the API response will include. Set the parameter value to snippet. The snippet part has a quota cost of 2 units. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
@@ -165,7 +163,6 @@ 

Method Details

}, } - shareOnGooglePlus: boolean, The shareOnGooglePlus determines whether this thread should also be posted on Google+. Returns: An object of the form: @@ -243,30 +240,30 @@

Method Details

Returns a list of comment threads that match the API request parameters.
 
 Args:
-  part: string, The part parameter specifies the commentThread resource parts that the API response will include. Supported values are id, snippet and replies. (required)
-  channelId: string, The channelId parameter instructs the API to return the comment threads for all the channel comments (not including comments left on videos).
+  part: string, The part parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include. (required)
+  channelId: string, The channelId parameter instructs the API to return comment threads containing comments about the specified channel. (The response will not include comments left on videos that the channel uploaded.)
   id: string, The id parameter specifies a comma-separated list of comment thread IDs for the resources that should be retrieved.
   pageToken: string, The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken property identifies the next page of the result that can be retrieved.
 
 Note: This parameter is not supported for use in conjunction with the id parameter.
-  allThreadsRelatedToChannelId: string, The allThreadsRelatedToChannelId parameter instructs the API to return the comment threads of all videos of the channel and the channel comments as well.
+  allThreadsRelatedToChannelId: string, The allThreadsRelatedToChannelId parameter instructs the API to return all comment threads associated with the specified channel. The response can include comments about the channel or about the channel's videos.
   moderationStatus: string, Set this parameter to limit the returned comment threads to a particular moderation state.
 
 Note: This parameter is not supported for use in conjunction with the id parameter.
     Allowed values
-      heldForReview - Returns only comment threads awaiting review by a moderator.
-      likelySpam - Returns only comment threads classified as likely being spam.
-      published - Returns only published comment threads.
-  videoId: string, The videoId parameter instructs the API to return the comment threads for the video specified by the video id.
+      heldForReview - Retrieve comment threads that are awaiting review by a moderator. A comment thread can be included in the response if the top-level comment or at least one of the replies to that comment are awaiting review.
+      likelySpam - Retrieve comment threads classified as likely to be spam. A comment thread can be included in the response if the top-level comment or at least one of the replies to that comment is considered likely to be spam.
+      published - Retrieve threads of published comments. This is the default value. A comment thread can be included in the response if its top-level comment has been published.
+  videoId: string, The videoId parameter instructs the API to return comment threads associated with the specified video ID.
   maxResults: integer, The maxResults parameter specifies the maximum number of items that should be returned in the result set.
 
 Note: This parameter is not supported for use in conjunction with the id parameter.
-  searchTerms: string, The searchTerms parameter instructs the API to limit the returned comments to those which contain the specified search terms.
+  searchTerms: string, The searchTerms parameter instructs the API to limit the API response to only contain comments that contain the specified search terms.
 
 Note: This parameter is not supported for use in conjunction with the id parameter.
   textFormat: string, Set this parameter's value to html or plainText to instruct the API to return the comments left by users in html formatted or in plain text.
     Allowed values
-      html - Returns the comments in HTML format.
+      html - Returns the comments in HTML format. This is the default value.
       plainText - Returns the comments in plain text format.
   order: string, The order parameter specifies the order in which the API response should list comment threads. Valid values are: 
 - time - Comment threads are ordered by time. This is the default behavior.
@@ -376,13 +373,11 @@ 

Method Details

- update(part=None, body) -
Modifies an existing comment.
+    update(part, body)
+  
Modifies the top-level comment in a comment thread.
 
 Args:
-  part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
-
-The part names that you can include in the parameter value are id, snippet and replies. However only snippet contains properties that can be updated. (required)
+  part: string, The part parameter specifies a comma-separated list of commentThread resource properties that the API response will include. You must at least include the snippet part in the parameter value since that part contains all of the properties that the API request can update. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
diff --git a/docs/dyn/youtube_v3.comments.html b/docs/dyn/youtube_v3.comments.html
index 5d170c89d14..91e00ad18fb 100644
--- a/docs/dyn/youtube_v3.comments.html
+++ b/docs/dyn/youtube_v3.comments.html
@@ -78,8 +78,8 @@ 

Instance Methods

delete(id)

Deletes a comment.

- insert(part=None, body)

-

Creates a new comment.

+ insert(part, body)

+

Creates a reply to an existing comment. Note: To create a top-level comment, use the commentThreads.insert method.

list(part, pageToken=None, maxResults=None, id=None, parentId=None, textFormat=None)

Returns a list of comments that match the API request parameters.

@@ -88,33 +88,29 @@

Instance Methods

Retrieves the next page of results.

markAsSpam(id)

-

Expresses the caller's opinion that a comment is spam.

+

Expresses the caller's opinion that one or more comments should be flagged as spam.

setModerationStatus(id, moderationStatus, banAuthor=None)

-

Sets the moderation status of one or more comments.

+

Sets the moderation status of one or more comments. The API request must be authorized by the owner of the channel or video associated with the comments.

- update(part=None, body)

-

Modifies an existing comment.

+ update(part, body)

+

Modifies a comment.

Method Details

delete(id)
Deletes a comment.
 
 Args:
-  id: string, The id parameter specifies the comment ID for the resource that should be deleted. (required)
+  id: string, The id parameter specifies the comment ID for the resource that is being deleted. (required)
 
- insert(part=None, body) -
Creates a new comment.
-
-Note: to create a top level comment it is also necessary to create a comment thread. Both are accomplished through the commentThreads resource.
+    insert(part, body)
+  
Creates a reply to an existing comment. Note: To create a top-level comment, use the commentThreads.insert method.
 
 Args:
-  part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
-
-The part names that you can include in the parameter value are id and snippet. However only snippet contains properties that can be set. (required)
+  part: string, The part parameter identifies the properties that the API response will include. Set the parameter value to snippet. The snippet part has a quota cost of 2 units. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
@@ -180,20 +176,20 @@ 

Method Details

Returns a list of comments that match the API request parameters.
 
 Args:
-  part: string, The part parameter specifies the comment resource parts that the API response will include. Supported values are id and snippet. (required)
+  part: string, The part parameter specifies a comma-separated list of one or more comment resource properties that the API response will include. (required)
   pageToken: string, The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken property identifies the next page of the result that can be retrieved.
 
 Note: This parameter is not supported for use in conjunction with the id parameter.
   maxResults: integer, The maxResults parameter specifies the maximum number of items that should be returned in the result set.
 
 Note: This parameter is not supported for use in conjunction with the id parameter.
-  id: string, The id parameter specifies a comma-separated list of comment IDs for the resources that should be retrieved.
+  id: string, The id parameter specifies a comma-separated list of comment IDs for the resources that are being retrieved. In a comment resource, the id property specifies the comment's ID.
   parentId: string, The parentId parameter specifies the ID of the comment for which replies should be retrieved.
 
-Note: Currently YouTube features only one level of replies (ie replies to top level comments). However replies to replies may be supported in the future.
-  textFormat: string, Set this parameter's value to html or plainText to instruct the API to return the comments left by users formatted as HTML or as plain text.
+Note: YouTube currently supports replies only for top-level comments. However, replies to replies may be supported in the future.
+  textFormat: string, This parameter indicates whether the API should return comments formatted as HTML or as plain text.
     Allowed values
-      html - Returns the comments in HTML format.
+      html - Returns the comments in HTML format. This is the default value.
       plainText - Returns the comments in plain text format.
 
 Returns:
@@ -257,42 +253,38 @@ 

Method Details

markAsSpam(id) -
Expresses the caller's opinion that a comment is spam.
+  
Expresses the caller's opinion that one or more comments should be flagged as spam.
 
 Args:
-  id: string, The id parameter specifies a comma-separated list of IDs of comments which should get flagged as spam. (required)
+  id: string, The id parameter specifies a comma-separated list of IDs of comments that the caller believes should be classified as spam. (required)
 
setModerationStatus(id, moderationStatus, banAuthor=None) -
Sets the moderation status of one or more comments.
+  
Sets the moderation status of one or more comments. The API request must be authorized by the owner of the channel or video associated with the comments.
 
 Args:
-  id: string, The id parameter specifies a comma-separated list of IDs of comments whose moderation status should be updated. (required)
-  moderationStatus: string, Determines the new moderation status of the specified comments. (required)
+  id: string, The id parameter specifies a comma-separated list of IDs that identify the comments for which you are updating the moderation status. (required)
+  moderationStatus: string, Identifies the new moderation status of the specified comments. (required)
     Allowed values
       heldForReview - Marks a comment as awaiting review by a moderator.
       published - Clears a comment for public display.
-      rejected - Rejects a comment as not fit for display.
+      rejected - Rejects a comment as being unfit for display. This action also effectively hides all replies to the rejected comment.
 
-Note: currently there is no way to list or otherwise discover a rejected comment. However it is possible to change its moderation status as long as its ID is still known.
+Note: The API does not currently provide a way to list or otherwise discover rejected comments. However, you can change the moderation status of a rejected comment if you still know its ID. If you were to change the moderation status of a rejected comment, the comment replies would subsequently be discoverable again as well.
+  banAuthor: boolean, The banAuthor parameter lets you indicate that you want to automatically reject any additional comments written by the comment's author. Set the parameter value to true to ban the author.
 
-Note: Currently, if you reject a comment you effectively also hide all its replies as there is no longer any way to discover them. This may change in the future.
-  banAuthor: boolean, The banAuthor paramter, if set to true, adds the author of the comment to the ban list. This means all future comments of the author will autmomatically be rejected.
-
-Note: This parameter is only valid in combination with moderationStatus 'rejected'.
+Note: This parameter is only valid if the moderationStatus parameter is also set to rejected.
 
- update(part=None, body) -
Modifies an existing comment.
+    update(part, body)
+  
Modifies a comment.
 
 Args:
-  part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
-
-The part names that you can include in the parameter value are id and snippet. However only snippet contains properties that can be updated. (required)
+  part: string, The part parameter identifies the properties that the API response will include. You must at least include the snippet part in the parameter value since that part contains all of the properties that the API request can update. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
diff --git a/docs/dyn/youtube_v3.guideCategories.html b/docs/dyn/youtube_v3.guideCategories.html
index 68a4d1daed4..1db187abe37 100644
--- a/docs/dyn/youtube_v3.guideCategories.html
+++ b/docs/dyn/youtube_v3.guideCategories.html
@@ -75,17 +75,15 @@
 

YouTube Data API . guideCategories

Instance Methods

- list(part=None, regionCode=None, hl=None, id=None)

+ list(part, regionCode=None, hl=None, id=None)

Returns a list of categories that can be associated with YouTube channels.

Method Details

- list(part=None, regionCode=None, hl=None, id=None) + list(part, regionCode=None, hl=None, id=None)
Returns a list of categories that can be associated with YouTube channels.
 
 Args:
-  part: string, The part parameter specifies a comma-separated list of one or more guideCategory resource properties that the API response will include. The part names that you can include in the parameter value are id and snippet.
-
-If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a guideCategory resource, the snippet property contains other properties, such as the category's title. If you set part=snippet, the API response will also contain all of those nested properties. (required)
+  part: string, The part parameter specifies the guideCategory resource properties that the API response will include. Set the parameter value to snippet. (required)
   regionCode: string, The regionCode parameter instructs the API to return the list of guide categories available in the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.
   hl: string, The hl parameter specifies the language that will be used for text values in the API response.
   id: string, The id parameter specifies a comma-separated list of the YouTube channel category ID(s) for the resource(s) that are being retrieved. In a guideCategory resource, the id property specifies the YouTube channel category ID.
diff --git a/docs/dyn/youtube_v3.i18nLanguages.html b/docs/dyn/youtube_v3.i18nLanguages.html
index 41d29f347b6..a4387d5b7e0 100644
--- a/docs/dyn/youtube_v3.i18nLanguages.html
+++ b/docs/dyn/youtube_v3.i18nLanguages.html
@@ -76,14 +76,14 @@ 

YouTube Data API . list(part, hl=None)

-

Returns a list of supported languages.

+

Returns a list of application languages that the YouTube website supports.

Method Details

list(part, hl=None) -
Returns a list of supported languages.
+  
Returns a list of application languages that the YouTube website supports.
 
 Args:
-  part: string, The part parameter specifies a comma-separated list of one or more i18nLanguage resource properties that the API response will include. The part names that you can include in the parameter value are id and snippet. (required)
+  part: string, The part parameter specifies the i18nLanguage resource properties that the API response will include. Set the parameter value to snippet. (required)
   hl: string, The hl parameter specifies the language that should be used for text values in the API response.
 
 Returns:
diff --git a/docs/dyn/youtube_v3.i18nRegions.html b/docs/dyn/youtube_v3.i18nRegions.html
index 6537a2335d5..2734c6133e3 100644
--- a/docs/dyn/youtube_v3.i18nRegions.html
+++ b/docs/dyn/youtube_v3.i18nRegions.html
@@ -76,14 +76,14 @@ 

YouTube Data API . list(part, hl=None)

-

Returns a list of supported regions.

+

Returns a list of content regions that the YouTube website supports.

Method Details

list(part, hl=None) -
Returns a list of supported regions.
+  
Returns a list of content regions that the YouTube website supports.
 
 Args:
-  part: string, The part parameter specifies a comma-separated list of one or more i18nRegion resource properties that the API response will include. The part names that you can include in the parameter value are id and snippet. (required)
+  part: string, The part parameter specifies the i18nRegion resource properties that the API response will include. Set the parameter value to snippet. (required)
   hl: string, The hl parameter specifies the language that should be used for text values in the API response.
 
 Returns:
diff --git a/docs/dyn/youtube_v3.liveBroadcasts.html b/docs/dyn/youtube_v3.liveBroadcasts.html
index d368b0ffacc..ffa626b70d9 100644
--- a/docs/dyn/youtube_v3.liveBroadcasts.html
+++ b/docs/dyn/youtube_v3.liveBroadcasts.html
@@ -76,7 +76,10 @@ 

YouTube Data API . bind(id, part, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, streamId=None)

-

Binds a YouTube broadcast to a stream or removes an existing binding between a broadcast and a stream. A broadcast can only be bound to one video stream.

+

Binds a YouTube broadcast to a stream or removes an existing binding between a broadcast and a stream. A broadcast can only be bound to one video stream, though a video stream may be bound to more than one broadcast.

+

+ bind_direct(id, part, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, streamId=None)

+

Binds a YouTube broadcast to a stream or removes an existing binding between a broadcast and a stream. A broadcast can only be bound to one video stream, though a video stream may be bound to more than one broadcast.

control(id, part, onBehalfOfContentOwner=None, displaySlate=None, onBehalfOfContentOwnerChannel=None, offsetTimeMs=None, walltime=None)

Controls the settings for a slate that can be displayed in the broadcast stream.

@@ -101,7 +104,122 @@

Instance Methods

Method Details

bind(id, part, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, streamId=None) -
Binds a YouTube broadcast to a stream or removes an existing binding between a broadcast and a stream. A broadcast can only be bound to one video stream.
+  
Binds a YouTube broadcast to a stream or removes an existing binding between a broadcast and a stream. A broadcast can only be bound to one video stream, though a video stream may be bound to more than one broadcast.
+
+Args:
+  id: string, The id parameter specifies the unique ID of the broadcast that is being bound to a video stream. (required)
+  part: string, The part parameter specifies a comma-separated list of one or more liveBroadcast resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status. (required)
+  onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
+
+The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
+  onBehalfOfContentOwnerChannel: string, This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.
+
+The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies.
+
+This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
+  streamId: string, The streamId parameter specifies the unique ID of the video stream that is being bound to a broadcast. If this parameter is omitted, the API will remove any existing binding between the broadcast and a video stream.
+
+Returns:
+  An object of the form:
+
+    { # A liveBroadcast resource represents an event that will be streamed, via live video, on YouTube.
+    "status": { # The status object contains information about the event's status.
+      "recordingStatus": "A String", # The broadcast's recording status.
+      "privacyStatus": "A String", # The broadcast's privacy status. Note that the broadcast represents exactly one YouTube video, so the privacy settings are identical to those supported for videos. In addition, you can set this field by modifying the broadcast resource or by setting the privacyStatus field of the corresponding video resource.
+      "lifeCycleStatus": "A String", # The broadcast's status. The status can be updated using the API's liveBroadcasts.transition method.
+      "liveBroadcastPriority": "A String", # Priority of the live broadcast event (internal state).
+    },
+    "topicDetails": {
+      "topics": [
+        {
+          "snippet": { # Information about the topic matched.
+            "releaseDate": "A String", # The date at which the topic was released. Filled for types: videoGame
+            "name": "A String", # The name of the topic.
+          },
+          "type": "A String", # The type of the topic.
+          "unmatched": True or False, # If this flag is set it means that we have not been able to match the topic title and type provided to a known entity.
+        },
+      ],
+    },
+    "kind": "youtube#liveBroadcast", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveBroadcast".
+    "statistics": { # Statistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts. # The statistics object contains info about the event's current stats. These include concurrent viewers and total chat count. Statistics can change (in either direction) during the lifetime of an event. Statistics are only returned while the event is live.
+      "concurrentViewers": "A String", # The number of viewers currently watching the broadcast. The property and its value will be present if the broadcast has current viewers and the broadcast owner has not hidden the viewcount for the video. Note that YouTube stops tracking the number of concurrent viewers for a broadcast when the broadcast ends. So, this property would not identify the number of viewers watching an archived video of a live broadcast that already ended.
+      "totalChatCount": "A String", # The total number of live chat messages currently on the broadcast. The property and its value will be present if the broadcast is public, has the live chat feature enabled, and has at least one message. Note that this field will not be filled after the broadcast ends. So this property would not identify the number of chat messages for an archived video of a completed live broadcast.
+    },
+    "contentDetails": { # Detailed settings of a broadcast. # The contentDetails object contains information about the event's video content, such as whether the content can be shown in an embedded video player or if it will be archived and therefore available for viewing after the event has concluded.
+      "enableLowLatency": True or False,
+      "boundStreamId": "A String", # This value uniquely identifies the live stream bound to the broadcast.
+      "enableEmbed": True or False, # This setting indicates whether the broadcast video can be played in an embedded player. If you choose to archive the video (using the enableArchive property), this setting will also apply to the archived video.
+      "enableClosedCaptions": True or False, # This setting indicates whether closed captioning is enabled for this broadcast. The ingestion URL of the closed captions is returned through the liveStreams API.
+      "startWithSlate": True or False, # This setting indicates whether the broadcast should automatically begin with an in-stream slate when you update the broadcast's status to live. After updating the status, you then need to send a liveCuepoints.insert request that sets the cuepoint's eventState to end to remove the in-stream slate and make your broadcast stream visible to viewers.
+      "enableContentEncryption": True or False, # This setting indicates whether YouTube should enable content encryption for the broadcast.
+      "recordFromStart": True or False, # Automatically start recording after the event goes live. The default value for this property is true.
+          #
+          #
+          #
+          # Important: You must also set the enableDvr property's value to true if you want the playback to be available immediately after the broadcast ends. If you set this property's value to true but do not also set the enableDvr property to true, there may be a delay of around one day before the archived video will be available for playback.
+      "enableDvr": True or False, # This setting determines whether viewers can access DVR controls while watching the video. DVR controls enable the viewer to control the video playback experience by pausing, rewinding, or fast forwarding content. The default value for this property is true.
+          #
+          #
+          #
+          # Important: You must set the value to true and also set the enableArchive property's value to true if you want to make playback available immediately after the broadcast ends.
+      "monitorStream": { # Settings and Info of the monitor stream # The monitorStream object contains information about the monitor stream, which the broadcaster can use to review the event content before the broadcast stream is shown publicly.
+        "broadcastStreamDelayMs": 42, # If you have set the enableMonitorStream property to true, then this property determines the length of the live broadcast delay.
+        "embedHtml": "A String", # HTML code that embeds a player that plays the monitor stream.
+        "enableMonitorStream": True or False, # This value determines whether the monitor stream is enabled for the broadcast. If the monitor stream is enabled, then YouTube will broadcast the event content on a special stream intended only for the broadcaster's consumption. The broadcaster can use the stream to review the event content and also to identify the optimal times to insert cuepoints.
+            #
+            # You need to set this value to true if you intend to have a broadcast delay for your event.
+            #
+            # Note: This property cannot be updated once the broadcast is in the testing or live state.
+      },
+    },
+    "snippet": { # The snippet object contains basic details about the event, including its title, description, start time, and end time.
+      "actualEndTime": "A String", # The date and time that the broadcast actually ended. This information is only available once the broadcast's state is complete. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
+      "description": "A String", # The broadcast's description. As with the title, you can set this field by modifying the broadcast resource or by setting the description field of the corresponding video resource.
+      "title": "A String", # The broadcast's title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource.
+      "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast.
+      "publishedAt": "A String", # The date and time that the broadcast was added to YouTube's live broadcast schedule. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
+      "liveChatId": "A String", # The id of the live chat for this broadcast.
+      "scheduledStartTime": "A String", # The date and time that the broadcast is scheduled to start. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
+      "actualStartTime": "A String", # The date and time that the broadcast actually started. This information is only available once the broadcast's state is live. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
+      "scheduledEndTime": "A String", # The date and time that the broadcast is scheduled to end. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
+      "isDefaultBroadcast": True or False,
+      "thumbnails": { # Internal representation of thumbnails for a YouTube resource. # A map of thumbnail images associated with the broadcast. For each nested object in this object, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
+        "default": { # A thumbnail is an image representing a YouTube resource. # The default image for this resource.
+          "url": "A String", # The thumbnail image's URL.
+          "width": 42, # (Optional) Width of the thumbnail image.
+          "height": 42, # (Optional) Height of the thumbnail image.
+        },
+        "high": { # A thumbnail is an image representing a YouTube resource. # The high quality image for this resource.
+          "url": "A String", # The thumbnail image's URL.
+          "width": 42, # (Optional) Width of the thumbnail image.
+          "height": 42, # (Optional) Height of the thumbnail image.
+        },
+        "medium": { # A thumbnail is an image representing a YouTube resource. # The medium quality image for this resource.
+          "url": "A String", # The thumbnail image's URL.
+          "width": 42, # (Optional) Width of the thumbnail image.
+          "height": 42, # (Optional) Height of the thumbnail image.
+        },
+        "maxres": { # A thumbnail is an image representing a YouTube resource. # The maximum resolution quality image for this resource.
+          "url": "A String", # The thumbnail image's URL.
+          "width": 42, # (Optional) Width of the thumbnail image.
+          "height": 42, # (Optional) Height of the thumbnail image.
+        },
+        "standard": { # A thumbnail is an image representing a YouTube resource. # The standard quality image for this resource.
+          "url": "A String", # The thumbnail image's URL.
+          "width": 42, # (Optional) Width of the thumbnail image.
+          "height": 42, # (Optional) Height of the thumbnail image.
+        },
+      },
+    },
+    "etag": "A String", # Etag of this resource.
+    "id": "A String", # The ID that YouTube assigns to uniquely identify the broadcast.
+  }
+
+ +
+ bind_direct(id, part, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None, streamId=None) +
Binds a YouTube broadcast to a stream or removes an existing binding between a broadcast and a stream. A broadcast can only be bound to one video stream, though a video stream may be bound to more than one broadcast.
 
 Args:
   id: string, The id parameter specifies the unique ID of the broadcast that is being bound to a video stream. (required)
@@ -176,6 +294,7 @@ 

Method Details

"title": "A String", # The broadcast's title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource. "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast. "publishedAt": "A String", # The date and time that the broadcast was added to YouTube's live broadcast schedule. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + "liveChatId": "A String", # The id of the live chat for this broadcast. "scheduledStartTime": "A String", # The date and time that the broadcast is scheduled to start. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "actualStartTime": "A String", # The date and time that the broadcast actually started. This information is only available once the broadcast's state is live. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "scheduledEndTime": "A String", # The date and time that the broadcast is scheduled to end. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. @@ -296,6 +415,7 @@

Method Details

"title": "A String", # The broadcast's title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource. "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast. "publishedAt": "A String", # The date and time that the broadcast was added to YouTube's live broadcast schedule. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + "liveChatId": "A String", # The id of the live chat for this broadcast. "scheduledStartTime": "A String", # The date and time that the broadcast is scheduled to start. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "actualStartTime": "A String", # The date and time that the broadcast actually started. This information is only available once the broadcast's state is live. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "scheduledEndTime": "A String", # The date and time that the broadcast is scheduled to end. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. @@ -418,6 +538,7 @@

Method Details

"title": "A String", # The broadcast's title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource. "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast. "publishedAt": "A String", # The date and time that the broadcast was added to YouTube's live broadcast schedule. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + "liveChatId": "A String", # The id of the live chat for this broadcast. "scheduledStartTime": "A String", # The date and time that the broadcast is scheduled to start. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "actualStartTime": "A String", # The date and time that the broadcast actually started. This information is only available once the broadcast's state is live. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "scheduledEndTime": "A String", # The date and time that the broadcast is scheduled to end. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. @@ -523,6 +644,7 @@

Method Details

"title": "A String", # The broadcast's title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource. "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast. "publishedAt": "A String", # The date and time that the broadcast was added to YouTube's live broadcast schedule. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + "liveChatId": "A String", # The id of the live chat for this broadcast. "scheduledStartTime": "A String", # The date and time that the broadcast is scheduled to start. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "actualStartTime": "A String", # The date and time that the broadcast actually started. This information is only available once the broadcast's state is live. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "scheduledEndTime": "A String", # The date and time that the broadcast is scheduled to end. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. @@ -651,6 +773,7 @@

Method Details

"title": "A String", # The broadcast's title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource. "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast. "publishedAt": "A String", # The date and time that the broadcast was added to YouTube's live broadcast schedule. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + "liveChatId": "A String", # The id of the live chat for this broadcast. "scheduledStartTime": "A String", # The date and time that the broadcast is scheduled to start. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "actualStartTime": "A String", # The date and time that the broadcast actually started. This information is only available once the broadcast's state is live. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "scheduledEndTime": "A String", # The date and time that the broadcast is scheduled to end. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. @@ -793,6 +916,7 @@

Method Details

"title": "A String", # The broadcast's title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource. "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast. "publishedAt": "A String", # The date and time that the broadcast was added to YouTube's live broadcast schedule. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + "liveChatId": "A String", # The id of the live chat for this broadcast. "scheduledStartTime": "A String", # The date and time that the broadcast is scheduled to start. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "actualStartTime": "A String", # The date and time that the broadcast actually started. This information is only available once the broadcast's state is live. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "scheduledEndTime": "A String", # The date and time that the broadcast is scheduled to end. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. @@ -900,6 +1024,7 @@

Method Details

"title": "A String", # The broadcast's title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource. "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast. "publishedAt": "A String", # The date and time that the broadcast was added to YouTube's live broadcast schedule. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + "liveChatId": "A String", # The id of the live chat for this broadcast. "scheduledStartTime": "A String", # The date and time that the broadcast is scheduled to start. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "actualStartTime": "A String", # The date and time that the broadcast actually started. This information is only available once the broadcast's state is live. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "scheduledEndTime": "A String", # The date and time that the broadcast is scheduled to end. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. @@ -1005,6 +1130,7 @@

Method Details

"title": "A String", # The broadcast's title. Note that the broadcast represents exactly one YouTube video. You can set this field by modifying the broadcast resource or by setting the title field of the corresponding video resource. "channelId": "A String", # The ID that YouTube uses to uniquely identify the channel that is publishing the broadcast. "publishedAt": "A String", # The date and time that the broadcast was added to YouTube's live broadcast schedule. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + "liveChatId": "A String", # The id of the live chat for this broadcast. "scheduledStartTime": "A String", # The date and time that the broadcast is scheduled to start. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "actualStartTime": "A String", # The date and time that the broadcast actually started. This information is only available once the broadcast's state is live. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "scheduledEndTime": "A String", # The date and time that the broadcast is scheduled to end. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. diff --git a/docs/dyn/youtube_v3.liveStreams.html b/docs/dyn/youtube_v3.liveStreams.html index 5bdd401c9c8..2c3118969aa 100644 --- a/docs/dyn/youtube_v3.liveStreams.html +++ b/docs/dyn/youtube_v3.liveStreams.html @@ -131,7 +131,7 @@

Method Details

"severity": "A String", # How severe this issue is to the stream. }, ], - "lastUpdateTimeS": "A String", # The last time this status was updated (in seconds) + "lastUpdateTimeSeconds": "A String", # The last time this status was updated (in seconds) }, }, "kind": "youtube#liveStream", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveStream". @@ -193,7 +193,7 @@

Method Details

"severity": "A String", # How severe this issue is to the stream. }, ], - "lastUpdateTimeS": "A String", # The last time this status was updated (in seconds) + "lastUpdateTimeSeconds": "A String", # The last time this status was updated (in seconds) }, }, "kind": "youtube#liveStream", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveStream". @@ -246,7 +246,7 @@

Method Details

The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel. - maxResults: integer, The maxResults parameter specifies the maximum number of items that should be returned in the result set. Acceptable values are 0 to 50, inclusive. The default value is 5. + maxResults: integer, The maxResults parameter specifies the maximum number of items that should be returned in the result set. mine: boolean, The mine parameter can be used to instruct the API to only return streams owned by the authenticated user. Set the parameter value to true to only retrieve your own streams. id: string, The id parameter specifies a comma-separated list of YouTube stream IDs that identify the streams being retrieved. In a liveStream resource, the id property specifies the stream's ID. @@ -272,7 +272,7 @@

Method Details

"severity": "A String", # How severe this issue is to the stream. }, ], - "lastUpdateTimeS": "A String", # The last time this status was updated (in seconds) + "lastUpdateTimeSeconds": "A String", # The last time this status was updated (in seconds) }, }, "kind": "youtube#liveStream", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveStream". @@ -360,7 +360,7 @@

Method Details

"severity": "A String", # How severe this issue is to the stream. }, ], - "lastUpdateTimeS": "A String", # The last time this status was updated (in seconds) + "lastUpdateTimeSeconds": "A String", # The last time this status was updated (in seconds) }, }, "kind": "youtube#liveStream", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveStream". @@ -422,7 +422,7 @@

Method Details

"severity": "A String", # How severe this issue is to the stream. }, ], - "lastUpdateTimeS": "A String", # The last time this status was updated (in seconds) + "lastUpdateTimeSeconds": "A String", # The last time this status was updated (in seconds) }, }, "kind": "youtube#liveStream", # Identifies what kind of resource this is. Value: the fixed string "youtube#liveStream". diff --git a/docs/dyn/youtube_v3.playlistItems.html b/docs/dyn/youtube_v3.playlistItems.html index 5e250ba416b..bdf5eb057a3 100644 --- a/docs/dyn/youtube_v3.playlistItems.html +++ b/docs/dyn/youtube_v3.playlistItems.html @@ -78,7 +78,7 @@

Instance Methods

delete(id)

Deletes a playlist item.

- insert(part=None, body, onBehalfOfContentOwner=None)

+ insert(part, body, onBehalfOfContentOwner=None)

Adds a resource to a playlist.

list(part=None, onBehalfOfContentOwner=None, pageToken=None, playlistId=None, videoId=None, maxResults=None, id=None)

@@ -100,13 +100,11 @@

Method Details

- insert(part=None, body, onBehalfOfContentOwner=None) + insert(part, body, onBehalfOfContentOwner=None)
Adds a resource to a playlist.
 
 Args:
-  part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
-
-The part names that you can include in the parameter value are snippet, contentDetails, and status. (required)
+  part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
@@ -255,7 +253,7 @@ 

Method Details

Returns a collection of playlist items that match the API request parameters. You can retrieve all of the playlist items in a specified playlist or retrieve one or more playlist items by their unique IDs.
 
 Args:
-  part: string, The part parameter specifies a comma-separated list of one or more playlistItem resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, and status.
+  part: string, The part parameter specifies a comma-separated list of one or more playlistItem resource properties that the API response will include.
 
 If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a playlistItem resource, the snippet property contains numerous fields, including the title, description, position, and resourceId properties. As such, if you set part=snippet, the API response will contain all of those properties. (required)
   onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
@@ -374,8 +372,6 @@ 

Method Details

Args: part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. -The part names that you can include in the parameter value are snippet, contentDetails, and status. - Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a playlist item can specify a start time and end time, which identify the times portion of the video that should play when users watch the video in the playlist. If your request is updating a playlist item that sets these values, and the request's part parameter value includes the contentDetails part, the playlist item's start and end times will be updated to whatever value the request body specifies. If the request body does not specify values, the existing start and end times will be removed and replaced with the default settings. (required) body: object, The request body. (required) The object takes the form of: diff --git a/docs/dyn/youtube_v3.playlists.html b/docs/dyn/youtube_v3.playlists.html index a1ae3db0235..60e68c3b734 100644 --- a/docs/dyn/youtube_v3.playlists.html +++ b/docs/dyn/youtube_v3.playlists.html @@ -78,7 +78,7 @@

Instance Methods

delete(id, onBehalfOfContentOwner=None)

Deletes a playlist.

- insert(part=None, body, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None)

+ insert(part, body, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None)

Creates a playlist.

list(part=None, onBehalfOfContentOwner=None, pageToken=None, onBehalfOfContentOwnerChannel=None, hl=None, channelId=None, mine=None, maxResults=None, id=None)

@@ -103,13 +103,11 @@

Method Details

- insert(part=None, body, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None) + insert(part, body, onBehalfOfContentOwner=None, onBehalfOfContentOwnerChannel=None)
Creates a playlist.
 
 Args:
-  part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
-
-The part names that you can include in the parameter value are snippet and status. (required)
+  part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
@@ -275,7 +273,7 @@ 

Method Details

Returns a collection of playlists that match the API request parameters. For example, you can retrieve all playlists that the authenticated user owns, or you can retrieve one or more playlists by their unique IDs.
 
 Args:
-  part: string, The part parameter specifies a comma-separated list of one or more playlist resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, status, and contentDetails.
+  part: string, The part parameter specifies a comma-separated list of one or more playlist resource properties that the API response will include.
 
 If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a playlist resource, the snippet property contains properties like author, title, description, tags, and timeCreated. As such, if you set part=snippet, the API response will contain all of those properties. (required)
   onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
@@ -406,9 +404,7 @@ 

Method Details

Args: part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. -The part names that you can include in the parameter value are snippet and status. - -Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a playlist's privacy setting is contained in the status part. As such, if your request is updating a private playlist, and the request's part parameter value includes the status part, the playlist's privacy setting will be updated to whatever value the request body specifies. If the request body does not specify a value, the existing privacy setting will be removed and the playlist will revert to the default privacy setting. (required) +Note that this method will override the existing values for mutable properties that are contained in any parts that the request body specifies. For example, a playlist's description is contained in the snippet part, which must be included in the request body. If the request does not specify a value for the snippet.description property, the playlist's existing description will be deleted. (required) body: object, The request body. (required) The object takes the form of: diff --git a/docs/dyn/youtube_v3.search.html b/docs/dyn/youtube_v3.search.html index d535d91cd57..77b21339414 100644 --- a/docs/dyn/youtube_v3.search.html +++ b/docs/dyn/youtube_v3.search.html @@ -75,28 +75,26 @@

YouTube Data API . search

Instance Methods

- list(part=None, eventType=None, channelId=None, forDeveloper=None, videoSyndicated=None, channelType=None, videoCaption=None, publishedAfter=None, onBehalfOfContentOwner=None, forContentOwner=None, regionCode=None, location=None, locationRadius=None, type=None, topicId=None, publishedBefore=None, videoDimension=None, videoLicense=None, maxResults=None, videoType=None, videoDefinition=None, pageToken=None, relatedToVideoId=None, relevanceLanguage=None, videoDuration=None, forMine=None, q=None, safeSearch=None, videoEmbeddable=None, videoCategoryId=None, order=None)

+ list(part, eventType=None, channelId=None, forDeveloper=None, videoSyndicated=None, channelType=None, videoCaption=None, publishedAfter=None, onBehalfOfContentOwner=None, forContentOwner=None, regionCode=None, location=None, locationRadius=None, type=None, topicId=None, publishedBefore=None, videoDimension=None, videoLicense=None, maxResults=None, videoType=None, videoDefinition=None, pageToken=None, relatedToVideoId=None, relevanceLanguage=None, videoDuration=None, forMine=None, q=None, safeSearch=None, videoEmbeddable=None, videoCategoryId=None, order=None)

Returns a collection of search results that match the query parameters specified in the API request. By default, a search result set identifies matching video, channel, and playlist resources, but you can also configure queries to only retrieve a specific type of resource.

list_next(previous_request, previous_response)

Retrieves the next page of results.

Method Details

- list(part=None, eventType=None, channelId=None, forDeveloper=None, videoSyndicated=None, channelType=None, videoCaption=None, publishedAfter=None, onBehalfOfContentOwner=None, forContentOwner=None, regionCode=None, location=None, locationRadius=None, type=None, topicId=None, publishedBefore=None, videoDimension=None, videoLicense=None, maxResults=None, videoType=None, videoDefinition=None, pageToken=None, relatedToVideoId=None, relevanceLanguage=None, videoDuration=None, forMine=None, q=None, safeSearch=None, videoEmbeddable=None, videoCategoryId=None, order=None) + list(part, eventType=None, channelId=None, forDeveloper=None, videoSyndicated=None, channelType=None, videoCaption=None, publishedAfter=None, onBehalfOfContentOwner=None, forContentOwner=None, regionCode=None, location=None, locationRadius=None, type=None, topicId=None, publishedBefore=None, videoDimension=None, videoLicense=None, maxResults=None, videoType=None, videoDefinition=None, pageToken=None, relatedToVideoId=None, relevanceLanguage=None, videoDuration=None, forMine=None, q=None, safeSearch=None, videoEmbeddable=None, videoCategoryId=None, order=None)
Returns a collection of search results that match the query parameters specified in the API request. By default, a search result set identifies matching video, channel, and playlist resources, but you can also configure queries to only retrieve a specific type of resource.
 
 Args:
-  part: string, The part parameter specifies a comma-separated list of one or more search resource properties that the API response will include. The part names that you can include in the parameter value are id and snippet.
-
-If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a search result, the snippet property contains other properties that identify the result's title, description, and so forth. If you set part=snippet, the API response will also contain all of those nested properties. (required)
-  eventType: string, The eventType parameter restricts a search to broadcast events.
+  part: string, The part parameter specifies a comma-separated list of one or more search resource properties that the API response will include. Set the parameter value to snippet. (required)
+  eventType: string, The eventType parameter restricts a search to broadcast events. If you specify a value for this parameter, you must also set the type parameter's value to video.
     Allowed values
       completed - Only include completed broadcasts.
       live - Only include active broadcasts.
       upcoming - Only include upcoming broadcasts.
   channelId: string, The channelId parameter indicates that the API response should only contain resources created by the channel
   forDeveloper: boolean, The forDeveloper parameter restricts the search to only retrieve videos uploaded via the developer's application or website. The API server uses the request's authorization credentials to identify the developer. Therefore, a developer can restrict results to videos uploaded through the developer's own app or website but not to videos uploaded through other apps or sites.
-  videoSyndicated: string, The videoSyndicated parameter lets you to restrict a search to only videos that can be played outside youtube.com.
+  videoSyndicated: string, The videoSyndicated parameter lets you to restrict a search to only videos that can be played outside youtube.com. If you specify a value for this parameter, you must also set the type parameter's value to video.
     Allowed values
       any - Return all videos, syndicated or not.
       true - Only retrieve syndicated videos.
@@ -104,7 +102,7 @@ 

Method Details

Allowed values any - Return all channels. show - Only retrieve shows. - videoCaption: string, The videoCaption parameter indicates whether the API should filter video search results based on whether they have captions. + videoCaption: string, The videoCaption parameter indicates whether the API should filter video search results based on whether they have captions. If you specify a value for this parameter, you must also set the type parameter's value to video. Allowed values any - Do not filter results based on caption availability. closedCaption - Only include videos that have captions. @@ -117,28 +115,36 @@

Method Details

The forContentOwner parameter restricts the search to only retrieve resources owned by the content owner specified by the onBehalfOfContentOwner parameter. The user must be authenticated using a CMS account linked to the specified content owner and onBehalfOfContentOwner must be provided. regionCode: string, The regionCode parameter instructs the API to return search results for the specified country. The parameter value is an ISO 3166-1 alpha-2 country code. - location: string, The location parameter restricts a search to videos that have a geographical location specified in their metadata. The value is a string that specifies geographic latitude/longitude coordinates e.g. (37.42307,-122.08427) - locationRadius: string, The locationRadius, in conjunction with the location parameter, defines a geographic area. If the geographic coordinates associated with a video fall within that area, then the video may be included in search results. This parameter value must be a floating point number followed by a measurement unit. Valid measurement units are m, km, ft, and mi. For example, valid parameter values include 1500m, 5km, 10000ft, and 0.75mi. The API does not support locationRadius parameter values larger than 1000 kilometers. + location: string, The location parameter, in conjunction with the locationRadius parameter, defines a circular geographic area and also restricts a search to videos that specify, in their metadata, a geographic location that falls within that area. The parameter value is a string that specifies latitude/longitude coordinates e.g. (37.42307,-122.08427). + + +- The location parameter value identifies the point at the center of the area. +- The locationRadius parameter specifies the maximum distance that the location associated with a video can be from that point for the video to still be included in the search results.The API returns an error if your request specifies a value for the location parameter but does not also specify a value for the locationRadius parameter. + locationRadius: string, The locationRadius parameter, in conjunction with the location parameter, defines a circular geographic area. + +The parameter value must be a floating point number followed by a measurement unit. Valid measurement units are m, km, ft, and mi. For example, valid parameter values include 1500m, 5km, 10000ft, and 0.75mi. The API does not support locationRadius parameter values larger than 1000 kilometers. + +Note: See the definition of the location parameter for more information. type: string, The type parameter restricts a search query to only retrieve a particular type of resource. The value is a comma-separated list of resource types. topicId: string, The topicId parameter indicates that the API response should only contain resources associated with the specified topic. The value identifies a Freebase topic ID. publishedBefore: string, The publishedBefore parameter indicates that the API response should only contain resources created before the specified time. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z). - videoDimension: string, The videoDimension parameter lets you restrict a search to only retrieve 2D or 3D videos. + videoDimension: string, The videoDimension parameter lets you restrict a search to only retrieve 2D or 3D videos. If you specify a value for this parameter, you must also set the type parameter's value to video. Allowed values 2d - Restrict search results to exclude 3D videos. 3d - Restrict search results to only include 3D videos. any - Include both 3D and non-3D videos in returned results. This is the default value. - videoLicense: string, The videoLicense parameter filters search results to only include videos with a particular license. YouTube lets video uploaders choose to attach either the Creative Commons license or the standard YouTube license to each of their videos. + videoLicense: string, The videoLicense parameter filters search results to only include videos with a particular license. YouTube lets video uploaders choose to attach either the Creative Commons license or the standard YouTube license to each of their videos. If you specify a value for this parameter, you must also set the type parameter's value to video. Allowed values any - Return all videos, regardless of which license they have, that match the query parameters. creativeCommon - Only return videos that have a Creative Commons license. Users can reuse videos with this license in other videos that they create. Learn more. youtube - Only return videos that have the standard YouTube license. maxResults: integer, The maxResults parameter specifies the maximum number of items that should be returned in the result set. - videoType: string, The videoType parameter lets you restrict a search to a particular type of videos. + videoType: string, The videoType parameter lets you restrict a search to a particular type of videos. If you specify a value for this parameter, you must also set the type parameter's value to video. Allowed values any - Return all videos. episode - Only retrieve episodes of shows. movie - Only retrieve movies. - videoDefinition: string, The videoDefinition parameter lets you restrict a search to only include either high definition (HD) or standard definition (SD) videos. HD videos are available for playback in at least 720p, though higher resolutions, like 1080p, might also be available. + videoDefinition: string, The videoDefinition parameter lets you restrict a search to only include either high definition (HD) or standard definition (SD) videos. HD videos are available for playback in at least 720p, though higher resolutions, like 1080p, might also be available. If you specify a value for this parameter, you must also set the type parameter's value to video. Allowed values any - Return all videos, regardless of their resolution. high - Only retrieve HD videos. @@ -146,7 +152,7 @@

Method Details

pageToken: string, The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved. relatedToVideoId: string, The relatedToVideoId parameter retrieves a list of videos that are related to the video that the parameter value identifies. The parameter value must be set to a YouTube video ID and, if you are using this parameter, the type parameter must be set to video. relevanceLanguage: string, The relevanceLanguage parameter instructs the API to return search results that are most relevant to the specified language. The parameter value is typically an ISO 639-1 two-letter language code. However, you should use the values zh-Hans for simplified Chinese and zh-Hant for traditional Chinese. Please note that results in other languages will still be returned if they are highly relevant to the search query term. - videoDuration: string, The videoDuration parameter filters video search results based on their duration. + videoDuration: string, The videoDuration parameter filters video search results based on their duration. If you specify a value for this parameter, you must also set the type parameter's value to video. Allowed values any - Do not filter video search results based on their duration. This is the default value. long - Only include videos longer than 20 minutes. @@ -154,16 +160,18 @@

Method Details

short - Only include videos that are less than four minutes long. forMine: boolean, The forMine parameter restricts the search to only retrieve videos owned by the authenticated user. If you set this parameter to true, then the type parameter's value must also be set to video. q: string, The q parameter specifies the query term to search for. + +Your request can also use the Boolean NOT (-) and OR (|) operators to exclude videos or to find videos that are associated with one of several search terms. For example, to search for videos matching either "boating" or "sailing", set the q parameter value to boating|sailing. Similarly, to search for videos matching either "boating" or "sailing" but not "fishing", set the q parameter value to boating|sailing -fishing. Note that the pipe character must be URL-escaped when it is sent in your API request. The URL-escaped value for the pipe character is %7C. safeSearch: string, The safeSearch parameter indicates whether the search results should include restricted content as well as standard content. Allowed values moderate - YouTube will filter some content from search results and, at the least, will filter content that is restricted in your locale. Based on their content, search results could be removed from search results or demoted in search results. This is the default parameter value. none - YouTube will not filter the search result set. strict - YouTube will try to exclude all restricted content from the search result set. Based on their content, search results could be removed from search results or demoted in search results. - videoEmbeddable: string, The videoEmbeddable parameter lets you to restrict a search to only videos that can be embedded into a webpage. + videoEmbeddable: string, The videoEmbeddable parameter lets you to restrict a search to only videos that can be embedded into a webpage. If you specify a value for this parameter, you must also set the type parameter's value to video. Allowed values any - Return all videos, embeddable or not. true - Only retrieve embeddable videos. - videoCategoryId: string, The videoCategoryId parameter filters video search results based on their category. + videoCategoryId: string, The videoCategoryId parameter filters video search results based on their category. If you specify a value for this parameter, you must also set the type parameter's value to video. order: string, The order parameter specifies the method that will be used to order resources in the API response. Allowed values date - Resources are sorted in reverse chronological order based on the date they were created. diff --git a/docs/dyn/youtube_v3.subscriptions.html b/docs/dyn/youtube_v3.subscriptions.html index 0bda050d197..24fe2e0f1e7 100644 --- a/docs/dyn/youtube_v3.subscriptions.html +++ b/docs/dyn/youtube_v3.subscriptions.html @@ -78,7 +78,7 @@

Instance Methods

delete(id)

Deletes a subscription.

- insert(part=None, body)

+ insert(part, body)

Adds a subscription for the authenticated user's channel.

list(part=None, channelId=None, mine=None, mySubscribers=None, id=None, onBehalfOfContentOwner=None, pageToken=None, forChannelId=None, onBehalfOfContentOwnerChannel=None, maxResults=None, order=None)

@@ -97,13 +97,11 @@

Method Details

- insert(part=None, body) + insert(part, body)
Adds a subscription for the authenticated user's channel.
 
 Args:
-  part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
-
-The part names that you can include in the parameter value are snippet and contentDetails. (required)
+  part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. (required)
   body: object, The request body. (required)
     The object takes the form of:
 
@@ -283,7 +281,7 @@ 

Method Details

Returns subscription resources that match the API request criteria.
 
 Args:
-  part: string, The part parameter specifies a comma-separated list of one or more subscription resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, and contentDetails.
+  part: string, The part parameter specifies a comma-separated list of one or more subscription resource properties that the API response will include.
 
 If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a subscription resource, the snippet property contains other properties, such as a display title for the subscription. If you set part=snippet, the API response will also contain all of those nested properties. (required)
   channelId: string, The channelId parameter specifies a YouTube channel ID. The API will only return that channel's subscriptions.
diff --git a/docs/dyn/youtube_v3.thumbnails.html b/docs/dyn/youtube_v3.thumbnails.html
index 24d40edac27..2aca0203259 100644
--- a/docs/dyn/youtube_v3.thumbnails.html
+++ b/docs/dyn/youtube_v3.thumbnails.html
@@ -85,7 +85,9 @@ 

Method Details

Args: videoId: string, The videoId parameter specifies a YouTube video ID for which the custom video thumbnail is being provided. (required) media_body: string, The filename of the media request body, or an instance of a MediaUpload object. - onBehalfOfContentOwner: string, The onBehalfOfContentOwner parameter indicates that the authenticated user is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with needs to be linked to the specified YouTube content owner. + onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners. + +The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with must be linked to the specified YouTube content owner. Returns: An object of the form: diff --git a/docs/dyn/youtube_v3.videoCategories.html b/docs/dyn/youtube_v3.videoCategories.html index 9d682b30056..5d44960fea9 100644 --- a/docs/dyn/youtube_v3.videoCategories.html +++ b/docs/dyn/youtube_v3.videoCategories.html @@ -83,7 +83,7 @@

Method Details

Returns a list of categories that can be associated with YouTube videos.
 
 Args:
-  part: string, The part parameter specifies the videoCategory resource parts that the API response will include. Supported values are id and snippet. (required)
+  part: string, The part parameter specifies the videoCategory resource properties that the API response will include. Set the parameter value to snippet. (required)
   regionCode: string, The regionCode parameter instructs the API to return the list of video categories available in the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.
   hl: string, The hl parameter specifies the language that should be used for text values in the API response.
   id: string, The id parameter specifies a comma-separated list of video category IDs for the resources that you are retrieving.
diff --git a/docs/dyn/youtube_v3.videos.html b/docs/dyn/youtube_v3.videos.html
index d073e429bfc..83d9050a619 100644
--- a/docs/dyn/youtube_v3.videos.html
+++ b/docs/dyn/youtube_v3.videos.html
@@ -84,13 +84,13 @@ 

Instance Methods

insert(part=None, body=None, media_body=None, onBehalfOfContentOwner=None, stabilize=None, onBehalfOfContentOwnerChannel=None, notifySubscribers=None, autoLevels=None)

Uploads a video to YouTube and optionally sets the video's metadata.

- list(part=None, hl=None, locale=None, id=None, onBehalfOfContentOwner=None, regionCode=None, pageToken=None, maxResults=None, chart=None, myRating=None, debugProjectIdOverride=None, videoCategoryId=None)

+ list(part=None, hl=None, locale=None, id=None, onBehalfOfContentOwner=None, regionCode=None, pageToken=None, maxResults=None, chart=None, myRating=None, videoCategoryId=None)

Returns a list of videos that match the API request parameters.

list_next(previous_request, previous_response)

Retrieves the next page of results.

- rate(id, rating, onBehalfOfContentOwner=None)

+ rate(id, rating)

Add a like or dislike rating to a video or remove a rating from a video.

reportAbuse(body, onBehalfOfContentOwner=None)

@@ -145,7 +145,7 @@

Method Details

Args: part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. -The part names that you can include in the parameter value are snippet, contentDetails, fileDetails, liveStreamingDetails, localizations, player, processingDetails, recordingDetails, statistics, status, suggestions, and topicDetails. However, not all of those parts contain properties that can be set when setting or updating a video's metadata. For example, the statistics object encapsulates statistics that YouTube calculates for a video and does not contain values that you can set or modify. If the parameter value specifies a part that does not contain mutable values, that part will still be included in the API response. (required) +Note that not all parts contain properties that can be set when inserting or updating a video. For example, the statistics object encapsulates statistics that YouTube calculates for a video and does not contain values that you can set or modify. If the parameter value specifies a part that does not contain mutable values, that part will still be included in the API response. (required) body: object, The request body. The object takes the form of: @@ -160,7 +160,7 @@

Method Details

"snippet": { # Basic details about a video, including title, description, uploader, thumbnails and category. # The snippet object contains basic details about the video, such as its title, description, and category. "publishedAt": "A String", # The date and time that the video was uploaded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "description": "A String", # The video's description. - "tags": [ # A list of keyword tags associated with the video. Tags may contain spaces. This field is only visible to the video's uploader. + "tags": [ # A list of keyword tags associated with the video. Tags may contain spaces. "A String", ], "defaultAudioLanguage": "A String", # The default_audio_language property specifies the language spoken in the video's default audio track. @@ -234,73 +234,74 @@

Method Details

], "allowed": True or False, # The value of allowed indicates whether the access to the policy is allowed or denied by default. }, - "contentRating": { # Ratings schemes. The country-specific ratings are mostly for movies and shows. NEXT_ID: 65 # Specifies the ratings that the video received under various rating schemes. - "medietilsynetRating": "A String", # Rating system for Norway - Medietilsynet - "catvfrRating": "A String", # Rating system for French Canadian TV - Regie du cinema - "cbfcRating": "A String", # Rating system in India - Central Board of Film Certification - "bfvcRating": "A String", # Rating system for Thailand - Board of Filmand Video Censors - "mdaRating": "A String", # Rating system for Singapore - Media Development Authority - "nfvcbRating": "A String", # Rating system for Nigeria - National Film and Video Censors Board - "bmukkRating": "A String", # Rating system for Austria - Bundesministeriums f�r Unterricht, Kunst und Kultur! - "chfilmRating": "A String", # Rating system for Switzerland - Switzerland Rating System - "resorteviolenciaRating": "A String", # Rating system for Venezuela - SiBCI - "rteRating": "A String", # Rating system for Ireland - Raidi� Teilif�s �ireann - "csaRating": "A String", # Rating system for France - Conseil sup�rieur de l?audiovisuel - "moctwRating": "A String", # Rating system for Taiwan - Ministry of Culture - Tawan - "catvRating": "A String", # Rating system for Canadian TV - Canadian TV Classification System - "pefilmRating": "A String", # Rating system for Peru - Peru Rating System - "djctqRatingReasons": [ + "contentRating": { # Ratings schemes. The country-specific ratings are mostly for movies and shows. NEXT_ID: 66 # Specifies the ratings that the video received under various rating schemes. + "cncRating": "A String", # Rating system in France - Commission de classification cinematographique + "catvfrRating": "A String", # The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian French-language broadcasts. For more information, see the Canadian Broadcast Standards Council website. + "cbfcRating": "A String", # The video's Central Board of Film Certification (CBFC - India) rating. + "bfvcRating": "A String", # The video's rating from Thailand's Board of Film and Video Censors. + "mdaRating": "A String", # The video's rating from Singapore's Media Development Authority (MDA) and, specifically, it's Board of Film Censors (BFC). + "medietilsynetRating": "A String", # The video's rating from Medietilsynet, the Norwegian Media Authority. + "bmukkRating": "A String", # The video's rating from the Austrian Board of Media Classification (Bundesministerium für Unterricht, Kunst und Kultur). + "chfilmRating": "A String", # The video's rating in Switzerland. + "resorteviolenciaRating": "A String", # The video's rating in Venezuela. + "rteRating": "A String", # The video's rating from Ireland's Raidió Teilifís Éireann. + "csaRating": "A String", # The video's rating from France's Conseil supérieur de l?audiovisuel, which rates broadcast content. + "moctwRating": "A String", # The video's rating from Taiwan's Ministry of Culture (文化部). + "catvRating": "A String", # Rating system for Canadian TV - Canadian TV Classification System The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian English-language broadcasts. For more information, see the Canadian Broadcast Standards Council website. + "pefilmRating": "A String", # The video's rating in Peru. + "djctqRatingReasons": [ # Reasons that explain why the video received its DJCQT (Brazil) rating. "A String", ], - "incaaRating": "A String", # Rating system for Argentina - Instituto Nacional de Cine y Artes Audiovisuales - "oflcRating": "A String", # Rating system in New Zealand - Office of Film and Literature Classification - "fpbRating": "A String", # Rating system for South africa - Film & Publication Board - "mccaaRating": "A String", # Rating system for Malta - Film Age-Classification Board - "tvpgRating": "A String", # TV Parental Guidelines rating of the content. - "rtcRating": "A String", # Rating system in Mexico - General Directorate of Radio, Television and Cinematography - "cscfRating": "A String", # Rating system for Luxembourg - Commission de surveillance de la classification des films - "fskRating": "A String", # Rating system in Germany - Voluntary Self Regulation of the Movie Industry - "bbfcRating": "A String", # British Board of Film Classification - "kmrbRating": "A String", # Rating system in South Korea - Korea Media Rating Board - "smsaRating": "A String", # Rating system for Sweden - Statens medier�d (National Media Council) - "egfilmRating": "A String", # Rating system for Egypt - Egypt Rating System - "cicfRating": "A String", # Rating system for Belgium - Belgium Rating System - "nbcplRating": "A String", # Rating system for Poland - National Broadcasting Council - "nbcRating": "A String", # Rating system for Maldives - National Bureau of Classification - "ytRating": "A String", # Internal YouTube rating. - "djctqRating": "A String", # Rating system in Brazil - Department of Justice, Rating, Titles and Qualification - "ifcoRating": "A String", # Rating system in Ireland - Irish Film Classification Office - "fcoRating": "A String", # Rating system for Hong kong - Office for Film, Newspaper and Article Administration - "eefilmRating": "A String", # Rating system for Estonia - Estonia Rating System - "acbRating": "A String", # Rating system in Australia - Australian Classification Board - "grfilmRating": "A String", # Rating system for Greece - Greece Rating System - "cccRating": "A String", # Rating system for Chile - Consejo de Calificaci�n Cinematogr�fica - "kfcbRating": "A String", # Rating system for Kenya - Kenya Film Classification Board - "czfilmRating": "A String", # Rating system for Czech republic - Czech republic Rating System - "lsfRating": "A String", # Rating system for Indonesia - Lembaga Sensor Film - "fmocRating": "A String", # Rating system in France - French Minister of Culture - "eirinRating": "A String", # Rating system in Japan - Eiga Rinri Kanri Iinkai - "cceRating": "A String", # Rating system for Portugal - Comiss�o de Classifica��o de Espect�culos - "nkclvRating": "A String", # Rating system for Latvia - National Film Center of Latvia - "mtrcbRating": "A String", # Rating system for Philippines - MOVIE AND TELEVISION REVIEW AND CLASSIFICATION BOARD - "mibacRating": "A String", # Rating system in Italy - Ministero dei Beni e delle Attivita Culturali e del Turismo - "anatelRating": "A String", # Rating system for Chile - Asociaci�n Nacional de Televisi�n - "smaisRating": "A String", # Rating system for Iceland - SMAIS - "ilfilmRating": "A String", # Rating system for Israel - Israel Rating System - "russiaRating": "A String", # Rating system in Russia - "mpaaRating": "A String", # Motion Picture Association of America rating for the content. - "agcomRating": "A String", # Rating system for Italy - Autorit� per le Garanzie nelle Comunicazioni - "chvrsRating": "A String", # Canadian Home Video Rating System - "cnaRating": "A String", # Rating system for Romania - CONSILIUL NATIONAL AL AUDIOVIZUALULUI - CNA - "icaaRating": "A String", # Rating system in Spain - Instituto de Cinematografia y de las Artes Audiovisuales - "mccypRating": "A String", # Rating system for Denmark - The Media Council for Children and Young People - "nfrcRating": "A String", # Rating system for Bulgaria - National Film Centre - "skfilmRating": "A String", # Rating system for Slovakia - Slovakia Rating System - "mocRating": "A String", # Rating system for Colombia - MoC - "rcnofRating": "A String", # Rating system for Hungary - Rating Committee of the National Office of Film - "mekuRating": "A String", # Rating system for Finland - Finnish Centre for Media Education and Audiovisual Media - "fcbmRating": "A String", # Rating system for Malaysia - Film Censorship Board of Malaysia - "kijkwijzerRating": "A String", # Rating system for Netherlands - Nederlands Instituut voor de Classificatie van Audiovisuele Media + "incaaRating": "A String", # The video's INCAA (Instituto Nacional de Cine y Artes Audiovisuales - Argentina) rating. + "oflcRating": "A String", # The video's Office of Film and Literature Classification (OFLC - New Zealand) rating. + "fpbRating": "A String", # The video's rating from South Africa's Film and Publication Board. + "mccaaRating": "A String", # The video's rating from Malta's Film Age-Classification Board. + "tvpgRating": "A String", # The video's TV Parental Guidelines (TVPG) rating. + "rtcRating": "A String", # The video's General Directorate of Radio, Television and Cinematography (Mexico) rating. + "cscfRating": "A String", # The video's rating from Luxembourg's Commission de surveillance de la classification des films (CSCF). + "fskRating": "A String", # The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany) rating. + "bbfcRating": "A String", # The video's British Board of Film Classification (BBFC) rating. + "kmrbRating": "A String", # The video's Korea Media Rating Board (영상물등급위원회) rating. The KMRB rates videos in South Korea. + "smsaRating": "A String", # The video's rating from Statens medieråd (Sweden's National Media Council). + "egfilmRating": "A String", # The video's rating in Egypt. + "cicfRating": "A String", # The video's rating from the Commission de Contrôle des Films (Belgium). + "nbcplRating": "A String", # The video's rating in Poland. + "nbcRating": "A String", # The video's rating from the Maldives National Bureau of Classification. + "ytRating": "A String", # A rating that YouTube uses to identify age-restricted content. + "nfvcbRating": "A String", # The video's rating from Nigeria's National Film and Video Censors Board. + "djctqRating": "A String", # The video's Departamento de Justiça, Classificação, Qualificação e Títulos (DJCQT - Brazil) rating. + "ifcoRating": "A String", # The video's Irish Film Classification Office (IFCO - Ireland) rating. See the IFCO website for more information. + "fcoRating": "A String", # The video's rating from Hong Kong's Office for Film, Newspaper and Article Administration. + "eefilmRating": "A String", # The video's rating in Estonia. + "acbRating": "A String", # The video's Australian Classification Board (ACB) or Australian Communications and Media Authority (ACMA) rating. ACMA ratings are used to classify children's television programming. + "grfilmRating": "A String", # The video's rating in Greece. + "cccRating": "A String", # The video's Consejo de Calificación Cinematográfica (Chile) rating. + "kfcbRating": "A String", # The video's rating from the Kenya Film Classification Board. + "czfilmRating": "A String", # The video's rating in the Czech Republic. + "lsfRating": "A String", # The video's rating from Indonesia's Lembaga Sensor Film. + "fmocRating": "A String", # This property has been deprecated. Use the contentDetails.contentRating.cncRating instead. + "eirinRating": "A String", # The video's Eirin (映倫) rating. Eirin is the Japanese rating system. + "cceRating": "A String", # The video's rating from Portugal's Comissão de Classificação de Espect´culos. + "nkclvRating": "A String", # The video's rating from the Nacionãlais Kino centrs (National Film Centre of Latvia). + "mtrcbRating": "A String", # The video's rating from the Movie and Television Review and Classification Board (Philippines). + "mibacRating": "A String", # The video's rating from the Ministero dei Beni e delle Attività Culturali e del Turismo (Italy). + "anatelRating": "A String", # The video's Anatel (Asociación Nacional de Televisión) rating for Chilean television. + "smaisRating": "A String", # The video's rating in Iceland. + "ilfilmRating": "A String", # The video's rating in Israel. + "russiaRating": "A String", # The video's National Film Registry of the Russian Federation (MKRF - Russia) rating. + "mpaaRating": "A String", # The video's Motion Picture Association of America (MPAA) rating. + "agcomRating": "A String", # The video's rating from Italy's Autorità per le Garanzie nelle Comunicazioni (AGCOM). + "chvrsRating": "A String", # The video's Canadian Home Video Rating System (CHVRS) rating. + "cnaRating": "A String", # The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI (CNA). + "icaaRating": "A String", # The video's Instituto de la Cinematografía y de las Artes Audiovisuales (ICAA - Spain) rating. + "mccypRating": "A String", # The video's rating from the Danish Film Institute's (Det Danske Filminstitut) Media Council for Children and Young People. + "nfrcRating": "A String", # The video's rating from the Bulgarian National Film Center. + "skfilmRating": "A String", # The video's rating in Slovakia. + "mocRating": "A String", # The video's Ministerio de Cultura (Colombia) rating. + "rcnofRating": "A String", # The video's rating from the Hungarian Nemzeti Filmiroda, the Rating Committee of the National Office of Film. + "mekuRating": "A String", # The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti (National Audiovisual Institute). + "fcbmRating": "A String", # The video's rating from Malaysia's Film Censorship Board. + "kijkwijzerRating": "A String", # voor de Classificatie van Audiovisuele Media (Netherlands). }, "caption": "A String", # The value of captions indicates whether the video has captions or not. "regionRestriction": { # DEPRECATED Region restriction of the video. # The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property. @@ -453,7 +454,7 @@

Method Details

The onBehalfOfContentOwnerChannel parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel. - notifySubscribers: boolean, The notifySubscribers parameter indicates whether YouTube should send notification to subscribers about the inserted video. + notifySubscribers: boolean, The notifySubscribers parameter indicates whether YouTube should send a notification about the new video to users who subscribe to the video's channel. A parameter value of True indicates that subscribers will be notified of newly uploaded videos. However, a channel owner who is uploading many videos might prefer to set the value to False to avoid sending a notification about each new video to the channel's subscribers. autoLevels: boolean, The autoLevels parameter indicates whether YouTube should automatically enhance the video's lighting and color. Returns: @@ -470,7 +471,7 @@

Method Details

"snippet": { # Basic details about a video, including title, description, uploader, thumbnails and category. # The snippet object contains basic details about the video, such as its title, description, and category. "publishedAt": "A String", # The date and time that the video was uploaded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "description": "A String", # The video's description. - "tags": [ # A list of keyword tags associated with the video. Tags may contain spaces. This field is only visible to the video's uploader. + "tags": [ # A list of keyword tags associated with the video. Tags may contain spaces. "A String", ], "defaultAudioLanguage": "A String", # The default_audio_language property specifies the language spoken in the video's default audio track. @@ -544,73 +545,74 @@

Method Details

], "allowed": True or False, # The value of allowed indicates whether the access to the policy is allowed or denied by default. }, - "contentRating": { # Ratings schemes. The country-specific ratings are mostly for movies and shows. NEXT_ID: 65 # Specifies the ratings that the video received under various rating schemes. - "medietilsynetRating": "A String", # Rating system for Norway - Medietilsynet - "catvfrRating": "A String", # Rating system for French Canadian TV - Regie du cinema - "cbfcRating": "A String", # Rating system in India - Central Board of Film Certification - "bfvcRating": "A String", # Rating system for Thailand - Board of Filmand Video Censors - "mdaRating": "A String", # Rating system for Singapore - Media Development Authority - "nfvcbRating": "A String", # Rating system for Nigeria - National Film and Video Censors Board - "bmukkRating": "A String", # Rating system for Austria - Bundesministeriums f�r Unterricht, Kunst und Kultur! - "chfilmRating": "A String", # Rating system for Switzerland - Switzerland Rating System - "resorteviolenciaRating": "A String", # Rating system for Venezuela - SiBCI - "rteRating": "A String", # Rating system for Ireland - Raidi� Teilif�s �ireann - "csaRating": "A String", # Rating system for France - Conseil sup�rieur de l?audiovisuel - "moctwRating": "A String", # Rating system for Taiwan - Ministry of Culture - Tawan - "catvRating": "A String", # Rating system for Canadian TV - Canadian TV Classification System - "pefilmRating": "A String", # Rating system for Peru - Peru Rating System - "djctqRatingReasons": [ + "contentRating": { # Ratings schemes. The country-specific ratings are mostly for movies and shows. NEXT_ID: 66 # Specifies the ratings that the video received under various rating schemes. + "cncRating": "A String", # Rating system in France - Commission de classification cinematographique + "catvfrRating": "A String", # The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian French-language broadcasts. For more information, see the Canadian Broadcast Standards Council website. + "cbfcRating": "A String", # The video's Central Board of Film Certification (CBFC - India) rating. + "bfvcRating": "A String", # The video's rating from Thailand's Board of Film and Video Censors. + "mdaRating": "A String", # The video's rating from Singapore's Media Development Authority (MDA) and, specifically, it's Board of Film Censors (BFC). + "medietilsynetRating": "A String", # The video's rating from Medietilsynet, the Norwegian Media Authority. + "bmukkRating": "A String", # The video's rating from the Austrian Board of Media Classification (Bundesministerium für Unterricht, Kunst und Kultur). + "chfilmRating": "A String", # The video's rating in Switzerland. + "resorteviolenciaRating": "A String", # The video's rating in Venezuela. + "rteRating": "A String", # The video's rating from Ireland's Raidió Teilifís Éireann. + "csaRating": "A String", # The video's rating from France's Conseil supérieur de l?audiovisuel, which rates broadcast content. + "moctwRating": "A String", # The video's rating from Taiwan's Ministry of Culture (文化部). + "catvRating": "A String", # Rating system for Canadian TV - Canadian TV Classification System The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian English-language broadcasts. For more information, see the Canadian Broadcast Standards Council website. + "pefilmRating": "A String", # The video's rating in Peru. + "djctqRatingReasons": [ # Reasons that explain why the video received its DJCQT (Brazil) rating. "A String", ], - "incaaRating": "A String", # Rating system for Argentina - Instituto Nacional de Cine y Artes Audiovisuales - "oflcRating": "A String", # Rating system in New Zealand - Office of Film and Literature Classification - "fpbRating": "A String", # Rating system for South africa - Film & Publication Board - "mccaaRating": "A String", # Rating system for Malta - Film Age-Classification Board - "tvpgRating": "A String", # TV Parental Guidelines rating of the content. - "rtcRating": "A String", # Rating system in Mexico - General Directorate of Radio, Television and Cinematography - "cscfRating": "A String", # Rating system for Luxembourg - Commission de surveillance de la classification des films - "fskRating": "A String", # Rating system in Germany - Voluntary Self Regulation of the Movie Industry - "bbfcRating": "A String", # British Board of Film Classification - "kmrbRating": "A String", # Rating system in South Korea - Korea Media Rating Board - "smsaRating": "A String", # Rating system for Sweden - Statens medier�d (National Media Council) - "egfilmRating": "A String", # Rating system for Egypt - Egypt Rating System - "cicfRating": "A String", # Rating system for Belgium - Belgium Rating System - "nbcplRating": "A String", # Rating system for Poland - National Broadcasting Council - "nbcRating": "A String", # Rating system for Maldives - National Bureau of Classification - "ytRating": "A String", # Internal YouTube rating. - "djctqRating": "A String", # Rating system in Brazil - Department of Justice, Rating, Titles and Qualification - "ifcoRating": "A String", # Rating system in Ireland - Irish Film Classification Office - "fcoRating": "A String", # Rating system for Hong kong - Office for Film, Newspaper and Article Administration - "eefilmRating": "A String", # Rating system for Estonia - Estonia Rating System - "acbRating": "A String", # Rating system in Australia - Australian Classification Board - "grfilmRating": "A String", # Rating system for Greece - Greece Rating System - "cccRating": "A String", # Rating system for Chile - Consejo de Calificaci�n Cinematogr�fica - "kfcbRating": "A String", # Rating system for Kenya - Kenya Film Classification Board - "czfilmRating": "A String", # Rating system for Czech republic - Czech republic Rating System - "lsfRating": "A String", # Rating system for Indonesia - Lembaga Sensor Film - "fmocRating": "A String", # Rating system in France - French Minister of Culture - "eirinRating": "A String", # Rating system in Japan - Eiga Rinri Kanri Iinkai - "cceRating": "A String", # Rating system for Portugal - Comiss�o de Classifica��o de Espect�culos - "nkclvRating": "A String", # Rating system for Latvia - National Film Center of Latvia - "mtrcbRating": "A String", # Rating system for Philippines - MOVIE AND TELEVISION REVIEW AND CLASSIFICATION BOARD - "mibacRating": "A String", # Rating system in Italy - Ministero dei Beni e delle Attivita Culturali e del Turismo - "anatelRating": "A String", # Rating system for Chile - Asociaci�n Nacional de Televisi�n - "smaisRating": "A String", # Rating system for Iceland - SMAIS - "ilfilmRating": "A String", # Rating system for Israel - Israel Rating System - "russiaRating": "A String", # Rating system in Russia - "mpaaRating": "A String", # Motion Picture Association of America rating for the content. - "agcomRating": "A String", # Rating system for Italy - Autorit� per le Garanzie nelle Comunicazioni - "chvrsRating": "A String", # Canadian Home Video Rating System - "cnaRating": "A String", # Rating system for Romania - CONSILIUL NATIONAL AL AUDIOVIZUALULUI - CNA - "icaaRating": "A String", # Rating system in Spain - Instituto de Cinematografia y de las Artes Audiovisuales - "mccypRating": "A String", # Rating system for Denmark - The Media Council for Children and Young People - "nfrcRating": "A String", # Rating system for Bulgaria - National Film Centre - "skfilmRating": "A String", # Rating system for Slovakia - Slovakia Rating System - "mocRating": "A String", # Rating system for Colombia - MoC - "rcnofRating": "A String", # Rating system for Hungary - Rating Committee of the National Office of Film - "mekuRating": "A String", # Rating system for Finland - Finnish Centre for Media Education and Audiovisual Media - "fcbmRating": "A String", # Rating system for Malaysia - Film Censorship Board of Malaysia - "kijkwijzerRating": "A String", # Rating system for Netherlands - Nederlands Instituut voor de Classificatie van Audiovisuele Media + "incaaRating": "A String", # The video's INCAA (Instituto Nacional de Cine y Artes Audiovisuales - Argentina) rating. + "oflcRating": "A String", # The video's Office of Film and Literature Classification (OFLC - New Zealand) rating. + "fpbRating": "A String", # The video's rating from South Africa's Film and Publication Board. + "mccaaRating": "A String", # The video's rating from Malta's Film Age-Classification Board. + "tvpgRating": "A String", # The video's TV Parental Guidelines (TVPG) rating. + "rtcRating": "A String", # The video's General Directorate of Radio, Television and Cinematography (Mexico) rating. + "cscfRating": "A String", # The video's rating from Luxembourg's Commission de surveillance de la classification des films (CSCF). + "fskRating": "A String", # The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany) rating. + "bbfcRating": "A String", # The video's British Board of Film Classification (BBFC) rating. + "kmrbRating": "A String", # The video's Korea Media Rating Board (영상물등급위원회) rating. The KMRB rates videos in South Korea. + "smsaRating": "A String", # The video's rating from Statens medieråd (Sweden's National Media Council). + "egfilmRating": "A String", # The video's rating in Egypt. + "cicfRating": "A String", # The video's rating from the Commission de Contrôle des Films (Belgium). + "nbcplRating": "A String", # The video's rating in Poland. + "nbcRating": "A String", # The video's rating from the Maldives National Bureau of Classification. + "ytRating": "A String", # A rating that YouTube uses to identify age-restricted content. + "nfvcbRating": "A String", # The video's rating from Nigeria's National Film and Video Censors Board. + "djctqRating": "A String", # The video's Departamento de Justiça, Classificação, Qualificação e Títulos (DJCQT - Brazil) rating. + "ifcoRating": "A String", # The video's Irish Film Classification Office (IFCO - Ireland) rating. See the IFCO website for more information. + "fcoRating": "A String", # The video's rating from Hong Kong's Office for Film, Newspaper and Article Administration. + "eefilmRating": "A String", # The video's rating in Estonia. + "acbRating": "A String", # The video's Australian Classification Board (ACB) or Australian Communications and Media Authority (ACMA) rating. ACMA ratings are used to classify children's television programming. + "grfilmRating": "A String", # The video's rating in Greece. + "cccRating": "A String", # The video's Consejo de Calificación Cinematográfica (Chile) rating. + "kfcbRating": "A String", # The video's rating from the Kenya Film Classification Board. + "czfilmRating": "A String", # The video's rating in the Czech Republic. + "lsfRating": "A String", # The video's rating from Indonesia's Lembaga Sensor Film. + "fmocRating": "A String", # This property has been deprecated. Use the contentDetails.contentRating.cncRating instead. + "eirinRating": "A String", # The video's Eirin (映倫) rating. Eirin is the Japanese rating system. + "cceRating": "A String", # The video's rating from Portugal's Comissão de Classificação de Espect´culos. + "nkclvRating": "A String", # The video's rating from the Nacionãlais Kino centrs (National Film Centre of Latvia). + "mtrcbRating": "A String", # The video's rating from the Movie and Television Review and Classification Board (Philippines). + "mibacRating": "A String", # The video's rating from the Ministero dei Beni e delle Attività Culturali e del Turismo (Italy). + "anatelRating": "A String", # The video's Anatel (Asociación Nacional de Televisión) rating for Chilean television. + "smaisRating": "A String", # The video's rating in Iceland. + "ilfilmRating": "A String", # The video's rating in Israel. + "russiaRating": "A String", # The video's National Film Registry of the Russian Federation (MKRF - Russia) rating. + "mpaaRating": "A String", # The video's Motion Picture Association of America (MPAA) rating. + "agcomRating": "A String", # The video's rating from Italy's Autorità per le Garanzie nelle Comunicazioni (AGCOM). + "chvrsRating": "A String", # The video's Canadian Home Video Rating System (CHVRS) rating. + "cnaRating": "A String", # The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI (CNA). + "icaaRating": "A String", # The video's Instituto de la Cinematografía y de las Artes Audiovisuales (ICAA - Spain) rating. + "mccypRating": "A String", # The video's rating from the Danish Film Institute's (Det Danske Filminstitut) Media Council for Children and Young People. + "nfrcRating": "A String", # The video's rating from the Bulgarian National Film Center. + "skfilmRating": "A String", # The video's rating in Slovakia. + "mocRating": "A String", # The video's Ministerio de Cultura (Colombia) rating. + "rcnofRating": "A String", # The video's rating from the Hungarian Nemzeti Filmiroda, the Rating Committee of the National Office of Film. + "mekuRating": "A String", # The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti (National Audiovisual Institute). + "fcbmRating": "A String", # The video's rating from Malaysia's Film Censorship Board. + "kijkwijzerRating": "A String", # voor de Classificatie van Audiovisuele Media (Netherlands). }, "caption": "A String", # The value of captions indicates whether the video has captions or not. "regionRestriction": { # DEPRECATED Region restriction of the video. # The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property. @@ -755,14 +757,16 @@

Method Details

- list(part=None, hl=None, locale=None, id=None, onBehalfOfContentOwner=None, regionCode=None, pageToken=None, maxResults=None, chart=None, myRating=None, debugProjectIdOverride=None, videoCategoryId=None) + list(part=None, hl=None, locale=None, id=None, onBehalfOfContentOwner=None, regionCode=None, pageToken=None, maxResults=None, chart=None, myRating=None, videoCategoryId=None)
Returns a list of videos that match the API request parameters.
 
 Args:
-  part: string, The part parameter specifies a comma-separated list of one or more video resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, contentDetails, fileDetails, liveStreamingDetails, localizations, player, processingDetails, recordingDetails, statistics, status, suggestions, and topicDetails.
+  part: string, The part parameter specifies a comma-separated list of one or more video resource properties that the API response will include.
 
 If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a video resource, the snippet property contains the channelId, title, description, tags, and categoryId properties. As such, if you set part=snippet, the API response will contain all of those properties. (required)
-  hl: string, The hl parameter instructs the API to return a localized version of the video details. If localized text is nor available for the requested language, the localizations object in the API response will contain the requested information in the default language instead. The parameter value is a BCP-47 language code. Your application can determine whether the requested localization was returned by checking the value of the snippet.localized.language property in the API response.
+  hl: string, The hl parameter instructs the API to retrieve localized resource metadata for a specific application language that the YouTube website supports. The parameter value must be a language code included in the list returned by the i18nLanguages.list method.
+
+If localized resource details are available in that language, the resource's snippet.localized object will contain the localized values. However, if localized details are not available, the snippet.localized object will contain resource details in the resource's default language.
   locale: string, DEPRECATED
   id: string, The id parameter specifies a comma-separated list of the YouTube video ID(s) for the resource(s) that are being retrieved. In a video resource, the id property specifies the video's ID.
   onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
@@ -782,7 +786,6 @@ 

Method Details

Allowed values dislike - Returns only videos disliked by the authenticated user. like - Returns only video liked by the authenticated user. - debugProjectIdOverride: string, The debugProjectIdOverride parameter should be used for mimicking a request for a certain project ID videoCategoryId: string, The videoCategoryId parameter identifies the video category for which the chart should be retrieved. This parameter can only be used in conjunction with the chart parameter. By default, charts are not restricted to a particular category. Returns: @@ -805,7 +808,7 @@

Method Details

"snippet": { # Basic details about a video, including title, description, uploader, thumbnails and category. # The snippet object contains basic details about the video, such as its title, description, and category. "publishedAt": "A String", # The date and time that the video was uploaded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "description": "A String", # The video's description. - "tags": [ # A list of keyword tags associated with the video. Tags may contain spaces. This field is only visible to the video's uploader. + "tags": [ # A list of keyword tags associated with the video. Tags may contain spaces. "A String", ], "defaultAudioLanguage": "A String", # The default_audio_language property specifies the language spoken in the video's default audio track. @@ -879,73 +882,74 @@

Method Details

], "allowed": True or False, # The value of allowed indicates whether the access to the policy is allowed or denied by default. }, - "contentRating": { # Ratings schemes. The country-specific ratings are mostly for movies and shows. NEXT_ID: 65 # Specifies the ratings that the video received under various rating schemes. - "medietilsynetRating": "A String", # Rating system for Norway - Medietilsynet - "catvfrRating": "A String", # Rating system for French Canadian TV - Regie du cinema - "cbfcRating": "A String", # Rating system in India - Central Board of Film Certification - "bfvcRating": "A String", # Rating system for Thailand - Board of Filmand Video Censors - "mdaRating": "A String", # Rating system for Singapore - Media Development Authority - "nfvcbRating": "A String", # Rating system for Nigeria - National Film and Video Censors Board - "bmukkRating": "A String", # Rating system for Austria - Bundesministeriums f�r Unterricht, Kunst und Kultur! - "chfilmRating": "A String", # Rating system for Switzerland - Switzerland Rating System - "resorteviolenciaRating": "A String", # Rating system for Venezuela - SiBCI - "rteRating": "A String", # Rating system for Ireland - Raidi� Teilif�s �ireann - "csaRating": "A String", # Rating system for France - Conseil sup�rieur de l?audiovisuel - "moctwRating": "A String", # Rating system for Taiwan - Ministry of Culture - Tawan - "catvRating": "A String", # Rating system for Canadian TV - Canadian TV Classification System - "pefilmRating": "A String", # Rating system for Peru - Peru Rating System - "djctqRatingReasons": [ + "contentRating": { # Ratings schemes. The country-specific ratings are mostly for movies and shows. NEXT_ID: 66 # Specifies the ratings that the video received under various rating schemes. + "cncRating": "A String", # Rating system in France - Commission de classification cinematographique + "catvfrRating": "A String", # The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian French-language broadcasts. For more information, see the Canadian Broadcast Standards Council website. + "cbfcRating": "A String", # The video's Central Board of Film Certification (CBFC - India) rating. + "bfvcRating": "A String", # The video's rating from Thailand's Board of Film and Video Censors. + "mdaRating": "A String", # The video's rating from Singapore's Media Development Authority (MDA) and, specifically, it's Board of Film Censors (BFC). + "medietilsynetRating": "A String", # The video's rating from Medietilsynet, the Norwegian Media Authority. + "bmukkRating": "A String", # The video's rating from the Austrian Board of Media Classification (Bundesministerium für Unterricht, Kunst und Kultur). + "chfilmRating": "A String", # The video's rating in Switzerland. + "resorteviolenciaRating": "A String", # The video's rating in Venezuela. + "rteRating": "A String", # The video's rating from Ireland's Raidió Teilifís Éireann. + "csaRating": "A String", # The video's rating from France's Conseil supérieur de l?audiovisuel, which rates broadcast content. + "moctwRating": "A String", # The video's rating from Taiwan's Ministry of Culture (文化部). + "catvRating": "A String", # Rating system for Canadian TV - Canadian TV Classification System The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian English-language broadcasts. For more information, see the Canadian Broadcast Standards Council website. + "pefilmRating": "A String", # The video's rating in Peru. + "djctqRatingReasons": [ # Reasons that explain why the video received its DJCQT (Brazil) rating. "A String", ], - "incaaRating": "A String", # Rating system for Argentina - Instituto Nacional de Cine y Artes Audiovisuales - "oflcRating": "A String", # Rating system in New Zealand - Office of Film and Literature Classification - "fpbRating": "A String", # Rating system for South africa - Film & Publication Board - "mccaaRating": "A String", # Rating system for Malta - Film Age-Classification Board - "tvpgRating": "A String", # TV Parental Guidelines rating of the content. - "rtcRating": "A String", # Rating system in Mexico - General Directorate of Radio, Television and Cinematography - "cscfRating": "A String", # Rating system for Luxembourg - Commission de surveillance de la classification des films - "fskRating": "A String", # Rating system in Germany - Voluntary Self Regulation of the Movie Industry - "bbfcRating": "A String", # British Board of Film Classification - "kmrbRating": "A String", # Rating system in South Korea - Korea Media Rating Board - "smsaRating": "A String", # Rating system for Sweden - Statens medier�d (National Media Council) - "egfilmRating": "A String", # Rating system for Egypt - Egypt Rating System - "cicfRating": "A String", # Rating system for Belgium - Belgium Rating System - "nbcplRating": "A String", # Rating system for Poland - National Broadcasting Council - "nbcRating": "A String", # Rating system for Maldives - National Bureau of Classification - "ytRating": "A String", # Internal YouTube rating. - "djctqRating": "A String", # Rating system in Brazil - Department of Justice, Rating, Titles and Qualification - "ifcoRating": "A String", # Rating system in Ireland - Irish Film Classification Office - "fcoRating": "A String", # Rating system for Hong kong - Office for Film, Newspaper and Article Administration - "eefilmRating": "A String", # Rating system for Estonia - Estonia Rating System - "acbRating": "A String", # Rating system in Australia - Australian Classification Board - "grfilmRating": "A String", # Rating system for Greece - Greece Rating System - "cccRating": "A String", # Rating system for Chile - Consejo de Calificaci�n Cinematogr�fica - "kfcbRating": "A String", # Rating system for Kenya - Kenya Film Classification Board - "czfilmRating": "A String", # Rating system for Czech republic - Czech republic Rating System - "lsfRating": "A String", # Rating system for Indonesia - Lembaga Sensor Film - "fmocRating": "A String", # Rating system in France - French Minister of Culture - "eirinRating": "A String", # Rating system in Japan - Eiga Rinri Kanri Iinkai - "cceRating": "A String", # Rating system for Portugal - Comiss�o de Classifica��o de Espect�culos - "nkclvRating": "A String", # Rating system for Latvia - National Film Center of Latvia - "mtrcbRating": "A String", # Rating system for Philippines - MOVIE AND TELEVISION REVIEW AND CLASSIFICATION BOARD - "mibacRating": "A String", # Rating system in Italy - Ministero dei Beni e delle Attivita Culturali e del Turismo - "anatelRating": "A String", # Rating system for Chile - Asociaci�n Nacional de Televisi�n - "smaisRating": "A String", # Rating system for Iceland - SMAIS - "ilfilmRating": "A String", # Rating system for Israel - Israel Rating System - "russiaRating": "A String", # Rating system in Russia - "mpaaRating": "A String", # Motion Picture Association of America rating for the content. - "agcomRating": "A String", # Rating system for Italy - Autorit� per le Garanzie nelle Comunicazioni - "chvrsRating": "A String", # Canadian Home Video Rating System - "cnaRating": "A String", # Rating system for Romania - CONSILIUL NATIONAL AL AUDIOVIZUALULUI - CNA - "icaaRating": "A String", # Rating system in Spain - Instituto de Cinematografia y de las Artes Audiovisuales - "mccypRating": "A String", # Rating system for Denmark - The Media Council for Children and Young People - "nfrcRating": "A String", # Rating system for Bulgaria - National Film Centre - "skfilmRating": "A String", # Rating system for Slovakia - Slovakia Rating System - "mocRating": "A String", # Rating system for Colombia - MoC - "rcnofRating": "A String", # Rating system for Hungary - Rating Committee of the National Office of Film - "mekuRating": "A String", # Rating system for Finland - Finnish Centre for Media Education and Audiovisual Media - "fcbmRating": "A String", # Rating system for Malaysia - Film Censorship Board of Malaysia - "kijkwijzerRating": "A String", # Rating system for Netherlands - Nederlands Instituut voor de Classificatie van Audiovisuele Media + "incaaRating": "A String", # The video's INCAA (Instituto Nacional de Cine y Artes Audiovisuales - Argentina) rating. + "oflcRating": "A String", # The video's Office of Film and Literature Classification (OFLC - New Zealand) rating. + "fpbRating": "A String", # The video's rating from South Africa's Film and Publication Board. + "mccaaRating": "A String", # The video's rating from Malta's Film Age-Classification Board. + "tvpgRating": "A String", # The video's TV Parental Guidelines (TVPG) rating. + "rtcRating": "A String", # The video's General Directorate of Radio, Television and Cinematography (Mexico) rating. + "cscfRating": "A String", # The video's rating from Luxembourg's Commission de surveillance de la classification des films (CSCF). + "fskRating": "A String", # The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany) rating. + "bbfcRating": "A String", # The video's British Board of Film Classification (BBFC) rating. + "kmrbRating": "A String", # The video's Korea Media Rating Board (영상물등급위원회) rating. The KMRB rates videos in South Korea. + "smsaRating": "A String", # The video's rating from Statens medieråd (Sweden's National Media Council). + "egfilmRating": "A String", # The video's rating in Egypt. + "cicfRating": "A String", # The video's rating from the Commission de Contrôle des Films (Belgium). + "nbcplRating": "A String", # The video's rating in Poland. + "nbcRating": "A String", # The video's rating from the Maldives National Bureau of Classification. + "ytRating": "A String", # A rating that YouTube uses to identify age-restricted content. + "nfvcbRating": "A String", # The video's rating from Nigeria's National Film and Video Censors Board. + "djctqRating": "A String", # The video's Departamento de Justiça, Classificação, Qualificação e Títulos (DJCQT - Brazil) rating. + "ifcoRating": "A String", # The video's Irish Film Classification Office (IFCO - Ireland) rating. See the IFCO website for more information. + "fcoRating": "A String", # The video's rating from Hong Kong's Office for Film, Newspaper and Article Administration. + "eefilmRating": "A String", # The video's rating in Estonia. + "acbRating": "A String", # The video's Australian Classification Board (ACB) or Australian Communications and Media Authority (ACMA) rating. ACMA ratings are used to classify children's television programming. + "grfilmRating": "A String", # The video's rating in Greece. + "cccRating": "A String", # The video's Consejo de Calificación Cinematográfica (Chile) rating. + "kfcbRating": "A String", # The video's rating from the Kenya Film Classification Board. + "czfilmRating": "A String", # The video's rating in the Czech Republic. + "lsfRating": "A String", # The video's rating from Indonesia's Lembaga Sensor Film. + "fmocRating": "A String", # This property has been deprecated. Use the contentDetails.contentRating.cncRating instead. + "eirinRating": "A String", # The video's Eirin (映倫) rating. Eirin is the Japanese rating system. + "cceRating": "A String", # The video's rating from Portugal's Comissão de Classificação de Espect´culos. + "nkclvRating": "A String", # The video's rating from the Nacionãlais Kino centrs (National Film Centre of Latvia). + "mtrcbRating": "A String", # The video's rating from the Movie and Television Review and Classification Board (Philippines). + "mibacRating": "A String", # The video's rating from the Ministero dei Beni e delle Attività Culturali e del Turismo (Italy). + "anatelRating": "A String", # The video's Anatel (Asociación Nacional de Televisión) rating for Chilean television. + "smaisRating": "A String", # The video's rating in Iceland. + "ilfilmRating": "A String", # The video's rating in Israel. + "russiaRating": "A String", # The video's National Film Registry of the Russian Federation (MKRF - Russia) rating. + "mpaaRating": "A String", # The video's Motion Picture Association of America (MPAA) rating. + "agcomRating": "A String", # The video's rating from Italy's Autorità per le Garanzie nelle Comunicazioni (AGCOM). + "chvrsRating": "A String", # The video's Canadian Home Video Rating System (CHVRS) rating. + "cnaRating": "A String", # The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI (CNA). + "icaaRating": "A String", # The video's Instituto de la Cinematografía y de las Artes Audiovisuales (ICAA - Spain) rating. + "mccypRating": "A String", # The video's rating from the Danish Film Institute's (Det Danske Filminstitut) Media Council for Children and Young People. + "nfrcRating": "A String", # The video's rating from the Bulgarian National Film Center. + "skfilmRating": "A String", # The video's rating in Slovakia. + "mocRating": "A String", # The video's Ministerio de Cultura (Colombia) rating. + "rcnofRating": "A String", # The video's rating from the Hungarian Nemzeti Filmiroda, the Rating Committee of the National Office of Film. + "mekuRating": "A String", # The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti (National Audiovisual Institute). + "fcbmRating": "A String", # The video's rating from Malaysia's Film Censorship Board. + "kijkwijzerRating": "A String", # voor de Classificatie van Audiovisuele Media (Netherlands). }, "caption": "A String", # The value of captions indicates whether the video has captions or not. "regionRestriction": { # DEPRECATED Region restriction of the video. # The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property. @@ -1114,7 +1118,7 @@

Method Details

- rate(id, rating, onBehalfOfContentOwner=None) + rate(id, rating)
Add a like or dislike rating to a video or remove a rating from a video.
 
 Args:
@@ -1124,9 +1128,6 @@ 

Method Details

dislike - Records that the authenticated user disliked the video. like - Records that the authenticated user liked the video. none - Removes any rating that the authenticated user had previously set for the video. - onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners. - -The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
@@ -1159,11 +1160,9 @@

Method Details

Args: part: string, The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. -The part names that you can include in the parameter value are snippet, contentDetails, fileDetails, liveStreamingDetails, localizations, player, processingDetails, recordingDetails, statistics, status, suggestions, and topicDetails. - Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. For example, a video's privacy setting is contained in the status part. As such, if your request is updating a private video, and the request's part parameter value includes the status part, the video's privacy setting will be updated to whatever value the request body specifies. If the request body does not specify a value, the existing privacy setting will be removed and the video will revert to the default privacy setting. -In addition, not all of those parts contain properties that can be set when setting or updating a video's metadata. For example, the statistics object encapsulates statistics that YouTube calculates for a video and does not contain values that you can set or modify. If the parameter value specifies a part that does not contain mutable values, that part will still be included in the API response. (required) +In addition, not all parts contain properties that can be set when inserting or updating a video. For example, the statistics object encapsulates statistics that YouTube calculates for a video and does not contain values that you can set or modify. If the parameter value specifies a part that does not contain mutable values, that part will still be included in the API response. (required) body: object, The request body. (required) The object takes the form of: @@ -1178,7 +1177,7 @@

Method Details

"snippet": { # Basic details about a video, including title, description, uploader, thumbnails and category. # The snippet object contains basic details about the video, such as its title, description, and category. "publishedAt": "A String", # The date and time that the video was uploaded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "description": "A String", # The video's description. - "tags": [ # A list of keyword tags associated with the video. Tags may contain spaces. This field is only visible to the video's uploader. + "tags": [ # A list of keyword tags associated with the video. Tags may contain spaces. "A String", ], "defaultAudioLanguage": "A String", # The default_audio_language property specifies the language spoken in the video's default audio track. @@ -1252,73 +1251,74 @@

Method Details

], "allowed": True or False, # The value of allowed indicates whether the access to the policy is allowed or denied by default. }, - "contentRating": { # Ratings schemes. The country-specific ratings are mostly for movies and shows. NEXT_ID: 65 # Specifies the ratings that the video received under various rating schemes. - "medietilsynetRating": "A String", # Rating system for Norway - Medietilsynet - "catvfrRating": "A String", # Rating system for French Canadian TV - Regie du cinema - "cbfcRating": "A String", # Rating system in India - Central Board of Film Certification - "bfvcRating": "A String", # Rating system for Thailand - Board of Filmand Video Censors - "mdaRating": "A String", # Rating system for Singapore - Media Development Authority - "nfvcbRating": "A String", # Rating system for Nigeria - National Film and Video Censors Board - "bmukkRating": "A String", # Rating system for Austria - Bundesministeriums f�r Unterricht, Kunst und Kultur! - "chfilmRating": "A String", # Rating system for Switzerland - Switzerland Rating System - "resorteviolenciaRating": "A String", # Rating system for Venezuela - SiBCI - "rteRating": "A String", # Rating system for Ireland - Raidi� Teilif�s �ireann - "csaRating": "A String", # Rating system for France - Conseil sup�rieur de l?audiovisuel - "moctwRating": "A String", # Rating system for Taiwan - Ministry of Culture - Tawan - "catvRating": "A String", # Rating system for Canadian TV - Canadian TV Classification System - "pefilmRating": "A String", # Rating system for Peru - Peru Rating System - "djctqRatingReasons": [ + "contentRating": { # Ratings schemes. The country-specific ratings are mostly for movies and shows. NEXT_ID: 66 # Specifies the ratings that the video received under various rating schemes. + "cncRating": "A String", # Rating system in France - Commission de classification cinematographique + "catvfrRating": "A String", # The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian French-language broadcasts. For more information, see the Canadian Broadcast Standards Council website. + "cbfcRating": "A String", # The video's Central Board of Film Certification (CBFC - India) rating. + "bfvcRating": "A String", # The video's rating from Thailand's Board of Film and Video Censors. + "mdaRating": "A String", # The video's rating from Singapore's Media Development Authority (MDA) and, specifically, it's Board of Film Censors (BFC). + "medietilsynetRating": "A String", # The video's rating from Medietilsynet, the Norwegian Media Authority. + "bmukkRating": "A String", # The video's rating from the Austrian Board of Media Classification (Bundesministerium für Unterricht, Kunst und Kultur). + "chfilmRating": "A String", # The video's rating in Switzerland. + "resorteviolenciaRating": "A String", # The video's rating in Venezuela. + "rteRating": "A String", # The video's rating from Ireland's Raidió Teilifís Éireann. + "csaRating": "A String", # The video's rating from France's Conseil supérieur de l?audiovisuel, which rates broadcast content. + "moctwRating": "A String", # The video's rating from Taiwan's Ministry of Culture (文化部). + "catvRating": "A String", # Rating system for Canadian TV - Canadian TV Classification System The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian English-language broadcasts. For more information, see the Canadian Broadcast Standards Council website. + "pefilmRating": "A String", # The video's rating in Peru. + "djctqRatingReasons": [ # Reasons that explain why the video received its DJCQT (Brazil) rating. "A String", ], - "incaaRating": "A String", # Rating system for Argentina - Instituto Nacional de Cine y Artes Audiovisuales - "oflcRating": "A String", # Rating system in New Zealand - Office of Film and Literature Classification - "fpbRating": "A String", # Rating system for South africa - Film & Publication Board - "mccaaRating": "A String", # Rating system for Malta - Film Age-Classification Board - "tvpgRating": "A String", # TV Parental Guidelines rating of the content. - "rtcRating": "A String", # Rating system in Mexico - General Directorate of Radio, Television and Cinematography - "cscfRating": "A String", # Rating system for Luxembourg - Commission de surveillance de la classification des films - "fskRating": "A String", # Rating system in Germany - Voluntary Self Regulation of the Movie Industry - "bbfcRating": "A String", # British Board of Film Classification - "kmrbRating": "A String", # Rating system in South Korea - Korea Media Rating Board - "smsaRating": "A String", # Rating system for Sweden - Statens medier�d (National Media Council) - "egfilmRating": "A String", # Rating system for Egypt - Egypt Rating System - "cicfRating": "A String", # Rating system for Belgium - Belgium Rating System - "nbcplRating": "A String", # Rating system for Poland - National Broadcasting Council - "nbcRating": "A String", # Rating system for Maldives - National Bureau of Classification - "ytRating": "A String", # Internal YouTube rating. - "djctqRating": "A String", # Rating system in Brazil - Department of Justice, Rating, Titles and Qualification - "ifcoRating": "A String", # Rating system in Ireland - Irish Film Classification Office - "fcoRating": "A String", # Rating system for Hong kong - Office for Film, Newspaper and Article Administration - "eefilmRating": "A String", # Rating system for Estonia - Estonia Rating System - "acbRating": "A String", # Rating system in Australia - Australian Classification Board - "grfilmRating": "A String", # Rating system for Greece - Greece Rating System - "cccRating": "A String", # Rating system for Chile - Consejo de Calificaci�n Cinematogr�fica - "kfcbRating": "A String", # Rating system for Kenya - Kenya Film Classification Board - "czfilmRating": "A String", # Rating system for Czech republic - Czech republic Rating System - "lsfRating": "A String", # Rating system for Indonesia - Lembaga Sensor Film - "fmocRating": "A String", # Rating system in France - French Minister of Culture - "eirinRating": "A String", # Rating system in Japan - Eiga Rinri Kanri Iinkai - "cceRating": "A String", # Rating system for Portugal - Comiss�o de Classifica��o de Espect�culos - "nkclvRating": "A String", # Rating system for Latvia - National Film Center of Latvia - "mtrcbRating": "A String", # Rating system for Philippines - MOVIE AND TELEVISION REVIEW AND CLASSIFICATION BOARD - "mibacRating": "A String", # Rating system in Italy - Ministero dei Beni e delle Attivita Culturali e del Turismo - "anatelRating": "A String", # Rating system for Chile - Asociaci�n Nacional de Televisi�n - "smaisRating": "A String", # Rating system for Iceland - SMAIS - "ilfilmRating": "A String", # Rating system for Israel - Israel Rating System - "russiaRating": "A String", # Rating system in Russia - "mpaaRating": "A String", # Motion Picture Association of America rating for the content. - "agcomRating": "A String", # Rating system for Italy - Autorit� per le Garanzie nelle Comunicazioni - "chvrsRating": "A String", # Canadian Home Video Rating System - "cnaRating": "A String", # Rating system for Romania - CONSILIUL NATIONAL AL AUDIOVIZUALULUI - CNA - "icaaRating": "A String", # Rating system in Spain - Instituto de Cinematografia y de las Artes Audiovisuales - "mccypRating": "A String", # Rating system for Denmark - The Media Council for Children and Young People - "nfrcRating": "A String", # Rating system for Bulgaria - National Film Centre - "skfilmRating": "A String", # Rating system for Slovakia - Slovakia Rating System - "mocRating": "A String", # Rating system for Colombia - MoC - "rcnofRating": "A String", # Rating system for Hungary - Rating Committee of the National Office of Film - "mekuRating": "A String", # Rating system for Finland - Finnish Centre for Media Education and Audiovisual Media - "fcbmRating": "A String", # Rating system for Malaysia - Film Censorship Board of Malaysia - "kijkwijzerRating": "A String", # Rating system for Netherlands - Nederlands Instituut voor de Classificatie van Audiovisuele Media + "incaaRating": "A String", # The video's INCAA (Instituto Nacional de Cine y Artes Audiovisuales - Argentina) rating. + "oflcRating": "A String", # The video's Office of Film and Literature Classification (OFLC - New Zealand) rating. + "fpbRating": "A String", # The video's rating from South Africa's Film and Publication Board. + "mccaaRating": "A String", # The video's rating from Malta's Film Age-Classification Board. + "tvpgRating": "A String", # The video's TV Parental Guidelines (TVPG) rating. + "rtcRating": "A String", # The video's General Directorate of Radio, Television and Cinematography (Mexico) rating. + "cscfRating": "A String", # The video's rating from Luxembourg's Commission de surveillance de la classification des films (CSCF). + "fskRating": "A String", # The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany) rating. + "bbfcRating": "A String", # The video's British Board of Film Classification (BBFC) rating. + "kmrbRating": "A String", # The video's Korea Media Rating Board (영상물등급위원회) rating. The KMRB rates videos in South Korea. + "smsaRating": "A String", # The video's rating from Statens medieråd (Sweden's National Media Council). + "egfilmRating": "A String", # The video's rating in Egypt. + "cicfRating": "A String", # The video's rating from the Commission de Contrôle des Films (Belgium). + "nbcplRating": "A String", # The video's rating in Poland. + "nbcRating": "A String", # The video's rating from the Maldives National Bureau of Classification. + "ytRating": "A String", # A rating that YouTube uses to identify age-restricted content. + "nfvcbRating": "A String", # The video's rating from Nigeria's National Film and Video Censors Board. + "djctqRating": "A String", # The video's Departamento de Justiça, Classificação, Qualificação e Títulos (DJCQT - Brazil) rating. + "ifcoRating": "A String", # The video's Irish Film Classification Office (IFCO - Ireland) rating. See the IFCO website for more information. + "fcoRating": "A String", # The video's rating from Hong Kong's Office for Film, Newspaper and Article Administration. + "eefilmRating": "A String", # The video's rating in Estonia. + "acbRating": "A String", # The video's Australian Classification Board (ACB) or Australian Communications and Media Authority (ACMA) rating. ACMA ratings are used to classify children's television programming. + "grfilmRating": "A String", # The video's rating in Greece. + "cccRating": "A String", # The video's Consejo de Calificación Cinematográfica (Chile) rating. + "kfcbRating": "A String", # The video's rating from the Kenya Film Classification Board. + "czfilmRating": "A String", # The video's rating in the Czech Republic. + "lsfRating": "A String", # The video's rating from Indonesia's Lembaga Sensor Film. + "fmocRating": "A String", # This property has been deprecated. Use the contentDetails.contentRating.cncRating instead. + "eirinRating": "A String", # The video's Eirin (映倫) rating. Eirin is the Japanese rating system. + "cceRating": "A String", # The video's rating from Portugal's Comissão de Classificação de Espect´culos. + "nkclvRating": "A String", # The video's rating from the Nacionãlais Kino centrs (National Film Centre of Latvia). + "mtrcbRating": "A String", # The video's rating from the Movie and Television Review and Classification Board (Philippines). + "mibacRating": "A String", # The video's rating from the Ministero dei Beni e delle Attività Culturali e del Turismo (Italy). + "anatelRating": "A String", # The video's Anatel (Asociación Nacional de Televisión) rating for Chilean television. + "smaisRating": "A String", # The video's rating in Iceland. + "ilfilmRating": "A String", # The video's rating in Israel. + "russiaRating": "A String", # The video's National Film Registry of the Russian Federation (MKRF - Russia) rating. + "mpaaRating": "A String", # The video's Motion Picture Association of America (MPAA) rating. + "agcomRating": "A String", # The video's rating from Italy's Autorità per le Garanzie nelle Comunicazioni (AGCOM). + "chvrsRating": "A String", # The video's Canadian Home Video Rating System (CHVRS) rating. + "cnaRating": "A String", # The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI (CNA). + "icaaRating": "A String", # The video's Instituto de la Cinematografía y de las Artes Audiovisuales (ICAA - Spain) rating. + "mccypRating": "A String", # The video's rating from the Danish Film Institute's (Det Danske Filminstitut) Media Council for Children and Young People. + "nfrcRating": "A String", # The video's rating from the Bulgarian National Film Center. + "skfilmRating": "A String", # The video's rating in Slovakia. + "mocRating": "A String", # The video's Ministerio de Cultura (Colombia) rating. + "rcnofRating": "A String", # The video's rating from the Hungarian Nemzeti Filmiroda, the Rating Committee of the National Office of Film. + "mekuRating": "A String", # The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti (National Audiovisual Institute). + "fcbmRating": "A String", # The video's rating from Malaysia's Film Censorship Board. + "kijkwijzerRating": "A String", # voor de Classificatie van Audiovisuele Media (Netherlands). }, "caption": "A String", # The value of captions indicates whether the video has captions or not. "regionRestriction": { # DEPRECATED Region restriction of the video. # The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property. @@ -1479,7 +1479,7 @@

Method Details

"snippet": { # Basic details about a video, including title, description, uploader, thumbnails and category. # The snippet object contains basic details about the video, such as its title, description, and category. "publishedAt": "A String", # The date and time that the video was uploaded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. "description": "A String", # The video's description. - "tags": [ # A list of keyword tags associated with the video. Tags may contain spaces. This field is only visible to the video's uploader. + "tags": [ # A list of keyword tags associated with the video. Tags may contain spaces. "A String", ], "defaultAudioLanguage": "A String", # The default_audio_language property specifies the language spoken in the video's default audio track. @@ -1553,73 +1553,74 @@

Method Details

], "allowed": True or False, # The value of allowed indicates whether the access to the policy is allowed or denied by default. }, - "contentRating": { # Ratings schemes. The country-specific ratings are mostly for movies and shows. NEXT_ID: 65 # Specifies the ratings that the video received under various rating schemes. - "medietilsynetRating": "A String", # Rating system for Norway - Medietilsynet - "catvfrRating": "A String", # Rating system for French Canadian TV - Regie du cinema - "cbfcRating": "A String", # Rating system in India - Central Board of Film Certification - "bfvcRating": "A String", # Rating system for Thailand - Board of Filmand Video Censors - "mdaRating": "A String", # Rating system for Singapore - Media Development Authority - "nfvcbRating": "A String", # Rating system for Nigeria - National Film and Video Censors Board - "bmukkRating": "A String", # Rating system for Austria - Bundesministeriums f�r Unterricht, Kunst und Kultur! - "chfilmRating": "A String", # Rating system for Switzerland - Switzerland Rating System - "resorteviolenciaRating": "A String", # Rating system for Venezuela - SiBCI - "rteRating": "A String", # Rating system for Ireland - Raidi� Teilif�s �ireann - "csaRating": "A String", # Rating system for France - Conseil sup�rieur de l?audiovisuel - "moctwRating": "A String", # Rating system for Taiwan - Ministry of Culture - Tawan - "catvRating": "A String", # Rating system for Canadian TV - Canadian TV Classification System - "pefilmRating": "A String", # Rating system for Peru - Peru Rating System - "djctqRatingReasons": [ + "contentRating": { # Ratings schemes. The country-specific ratings are mostly for movies and shows. NEXT_ID: 66 # Specifies the ratings that the video received under various rating schemes. + "cncRating": "A String", # Rating system in France - Commission de classification cinematographique + "catvfrRating": "A String", # The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian French-language broadcasts. For more information, see the Canadian Broadcast Standards Council website. + "cbfcRating": "A String", # The video's Central Board of Film Certification (CBFC - India) rating. + "bfvcRating": "A String", # The video's rating from Thailand's Board of Film and Video Censors. + "mdaRating": "A String", # The video's rating from Singapore's Media Development Authority (MDA) and, specifically, it's Board of Film Censors (BFC). + "medietilsynetRating": "A String", # The video's rating from Medietilsynet, the Norwegian Media Authority. + "bmukkRating": "A String", # The video's rating from the Austrian Board of Media Classification (Bundesministerium für Unterricht, Kunst und Kultur). + "chfilmRating": "A String", # The video's rating in Switzerland. + "resorteviolenciaRating": "A String", # The video's rating in Venezuela. + "rteRating": "A String", # The video's rating from Ireland's Raidió Teilifís Éireann. + "csaRating": "A String", # The video's rating from France's Conseil supérieur de l?audiovisuel, which rates broadcast content. + "moctwRating": "A String", # The video's rating from Taiwan's Ministry of Culture (文化部). + "catvRating": "A String", # Rating system for Canadian TV - Canadian TV Classification System The video's rating from the Canadian Radio-Television and Telecommunications Commission (CRTC) for Canadian English-language broadcasts. For more information, see the Canadian Broadcast Standards Council website. + "pefilmRating": "A String", # The video's rating in Peru. + "djctqRatingReasons": [ # Reasons that explain why the video received its DJCQT (Brazil) rating. "A String", ], - "incaaRating": "A String", # Rating system for Argentina - Instituto Nacional de Cine y Artes Audiovisuales - "oflcRating": "A String", # Rating system in New Zealand - Office of Film and Literature Classification - "fpbRating": "A String", # Rating system for South africa - Film & Publication Board - "mccaaRating": "A String", # Rating system for Malta - Film Age-Classification Board - "tvpgRating": "A String", # TV Parental Guidelines rating of the content. - "rtcRating": "A String", # Rating system in Mexico - General Directorate of Radio, Television and Cinematography - "cscfRating": "A String", # Rating system for Luxembourg - Commission de surveillance de la classification des films - "fskRating": "A String", # Rating system in Germany - Voluntary Self Regulation of the Movie Industry - "bbfcRating": "A String", # British Board of Film Classification - "kmrbRating": "A String", # Rating system in South Korea - Korea Media Rating Board - "smsaRating": "A String", # Rating system for Sweden - Statens medier�d (National Media Council) - "egfilmRating": "A String", # Rating system for Egypt - Egypt Rating System - "cicfRating": "A String", # Rating system for Belgium - Belgium Rating System - "nbcplRating": "A String", # Rating system for Poland - National Broadcasting Council - "nbcRating": "A String", # Rating system for Maldives - National Bureau of Classification - "ytRating": "A String", # Internal YouTube rating. - "djctqRating": "A String", # Rating system in Brazil - Department of Justice, Rating, Titles and Qualification - "ifcoRating": "A String", # Rating system in Ireland - Irish Film Classification Office - "fcoRating": "A String", # Rating system for Hong kong - Office for Film, Newspaper and Article Administration - "eefilmRating": "A String", # Rating system for Estonia - Estonia Rating System - "acbRating": "A String", # Rating system in Australia - Australian Classification Board - "grfilmRating": "A String", # Rating system for Greece - Greece Rating System - "cccRating": "A String", # Rating system for Chile - Consejo de Calificaci�n Cinematogr�fica - "kfcbRating": "A String", # Rating system for Kenya - Kenya Film Classification Board - "czfilmRating": "A String", # Rating system for Czech republic - Czech republic Rating System - "lsfRating": "A String", # Rating system for Indonesia - Lembaga Sensor Film - "fmocRating": "A String", # Rating system in France - French Minister of Culture - "eirinRating": "A String", # Rating system in Japan - Eiga Rinri Kanri Iinkai - "cceRating": "A String", # Rating system for Portugal - Comiss�o de Classifica��o de Espect�culos - "nkclvRating": "A String", # Rating system for Latvia - National Film Center of Latvia - "mtrcbRating": "A String", # Rating system for Philippines - MOVIE AND TELEVISION REVIEW AND CLASSIFICATION BOARD - "mibacRating": "A String", # Rating system in Italy - Ministero dei Beni e delle Attivita Culturali e del Turismo - "anatelRating": "A String", # Rating system for Chile - Asociaci�n Nacional de Televisi�n - "smaisRating": "A String", # Rating system for Iceland - SMAIS - "ilfilmRating": "A String", # Rating system for Israel - Israel Rating System - "russiaRating": "A String", # Rating system in Russia - "mpaaRating": "A String", # Motion Picture Association of America rating for the content. - "agcomRating": "A String", # Rating system for Italy - Autorit� per le Garanzie nelle Comunicazioni - "chvrsRating": "A String", # Canadian Home Video Rating System - "cnaRating": "A String", # Rating system for Romania - CONSILIUL NATIONAL AL AUDIOVIZUALULUI - CNA - "icaaRating": "A String", # Rating system in Spain - Instituto de Cinematografia y de las Artes Audiovisuales - "mccypRating": "A String", # Rating system for Denmark - The Media Council for Children and Young People - "nfrcRating": "A String", # Rating system for Bulgaria - National Film Centre - "skfilmRating": "A String", # Rating system for Slovakia - Slovakia Rating System - "mocRating": "A String", # Rating system for Colombia - MoC - "rcnofRating": "A String", # Rating system for Hungary - Rating Committee of the National Office of Film - "mekuRating": "A String", # Rating system for Finland - Finnish Centre for Media Education and Audiovisual Media - "fcbmRating": "A String", # Rating system for Malaysia - Film Censorship Board of Malaysia - "kijkwijzerRating": "A String", # Rating system for Netherlands - Nederlands Instituut voor de Classificatie van Audiovisuele Media + "incaaRating": "A String", # The video's INCAA (Instituto Nacional de Cine y Artes Audiovisuales - Argentina) rating. + "oflcRating": "A String", # The video's Office of Film and Literature Classification (OFLC - New Zealand) rating. + "fpbRating": "A String", # The video's rating from South Africa's Film and Publication Board. + "mccaaRating": "A String", # The video's rating from Malta's Film Age-Classification Board. + "tvpgRating": "A String", # The video's TV Parental Guidelines (TVPG) rating. + "rtcRating": "A String", # The video's General Directorate of Radio, Television and Cinematography (Mexico) rating. + "cscfRating": "A String", # The video's rating from Luxembourg's Commission de surveillance de la classification des films (CSCF). + "fskRating": "A String", # The video's Freiwillige Selbstkontrolle der Filmwirtschaft (FSK - Germany) rating. + "bbfcRating": "A String", # The video's British Board of Film Classification (BBFC) rating. + "kmrbRating": "A String", # The video's Korea Media Rating Board (영상물등급위원회) rating. The KMRB rates videos in South Korea. + "smsaRating": "A String", # The video's rating from Statens medieråd (Sweden's National Media Council). + "egfilmRating": "A String", # The video's rating in Egypt. + "cicfRating": "A String", # The video's rating from the Commission de Contrôle des Films (Belgium). + "nbcplRating": "A String", # The video's rating in Poland. + "nbcRating": "A String", # The video's rating from the Maldives National Bureau of Classification. + "ytRating": "A String", # A rating that YouTube uses to identify age-restricted content. + "nfvcbRating": "A String", # The video's rating from Nigeria's National Film and Video Censors Board. + "djctqRating": "A String", # The video's Departamento de Justiça, Classificação, Qualificação e Títulos (DJCQT - Brazil) rating. + "ifcoRating": "A String", # The video's Irish Film Classification Office (IFCO - Ireland) rating. See the IFCO website for more information. + "fcoRating": "A String", # The video's rating from Hong Kong's Office for Film, Newspaper and Article Administration. + "eefilmRating": "A String", # The video's rating in Estonia. + "acbRating": "A String", # The video's Australian Classification Board (ACB) or Australian Communications and Media Authority (ACMA) rating. ACMA ratings are used to classify children's television programming. + "grfilmRating": "A String", # The video's rating in Greece. + "cccRating": "A String", # The video's Consejo de Calificación Cinematográfica (Chile) rating. + "kfcbRating": "A String", # The video's rating from the Kenya Film Classification Board. + "czfilmRating": "A String", # The video's rating in the Czech Republic. + "lsfRating": "A String", # The video's rating from Indonesia's Lembaga Sensor Film. + "fmocRating": "A String", # This property has been deprecated. Use the contentDetails.contentRating.cncRating instead. + "eirinRating": "A String", # The video's Eirin (映倫) rating. Eirin is the Japanese rating system. + "cceRating": "A String", # The video's rating from Portugal's Comissão de Classificação de Espect´culos. + "nkclvRating": "A String", # The video's rating from the Nacionãlais Kino centrs (National Film Centre of Latvia). + "mtrcbRating": "A String", # The video's rating from the Movie and Television Review and Classification Board (Philippines). + "mibacRating": "A String", # The video's rating from the Ministero dei Beni e delle Attività Culturali e del Turismo (Italy). + "anatelRating": "A String", # The video's Anatel (Asociación Nacional de Televisión) rating for Chilean television. + "smaisRating": "A String", # The video's rating in Iceland. + "ilfilmRating": "A String", # The video's rating in Israel. + "russiaRating": "A String", # The video's National Film Registry of the Russian Federation (MKRF - Russia) rating. + "mpaaRating": "A String", # The video's Motion Picture Association of America (MPAA) rating. + "agcomRating": "A String", # The video's rating from Italy's Autorità per le Garanzie nelle Comunicazioni (AGCOM). + "chvrsRating": "A String", # The video's Canadian Home Video Rating System (CHVRS) rating. + "cnaRating": "A String", # The video's rating from Romania's CONSILIUL NATIONAL AL AUDIOVIZUALULUI (CNA). + "icaaRating": "A String", # The video's Instituto de la Cinematografía y de las Artes Audiovisuales (ICAA - Spain) rating. + "mccypRating": "A String", # The video's rating from the Danish Film Institute's (Det Danske Filminstitut) Media Council for Children and Young People. + "nfrcRating": "A String", # The video's rating from the Bulgarian National Film Center. + "skfilmRating": "A String", # The video's rating in Slovakia. + "mocRating": "A String", # The video's Ministerio de Cultura (Colombia) rating. + "rcnofRating": "A String", # The video's rating from the Hungarian Nemzeti Filmiroda, the Rating Committee of the National Office of Film. + "mekuRating": "A String", # The video's rating from Finland's Kansallinen Audiovisuaalinen Instituutti (National Audiovisual Institute). + "fcbmRating": "A String", # The video's rating from Malaysia's Film Censorship Board. + "kijkwijzerRating": "A String", # voor de Classificatie van Audiovisuele Media (Netherlands). }, "caption": "A String", # The value of captions indicates whether the video has captions or not. "regionRestriction": { # DEPRECATED Region restriction of the video. # The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property. diff --git a/docs/dyn/youtube_v3.watermarks.html b/docs/dyn/youtube_v3.watermarks.html index 5820bf8db29..76e313f3603 100644 --- a/docs/dyn/youtube_v3.watermarks.html +++ b/docs/dyn/youtube_v3.watermarks.html @@ -79,14 +79,14 @@

Instance Methods

Uploads a watermark image to YouTube and sets it for a channel.

unset(channelId, onBehalfOfContentOwner=None)

-

Deletes a watermark.

+

Deletes a channel's watermark image.

Method Details

set(channelId, body=None, media_body=None, onBehalfOfContentOwner=None)
Uploads a watermark image to YouTube and sets it for a channel.
 
 Args:
-  channelId: string, The channelId parameter specifies a YouTube channel ID for which the watermark is being provided. (required)
+  channelId: string, The channelId parameter specifies the YouTube channel ID for which the watermark is being provided. (required)
   body: object, The request body.
     The object takes the form of:
 
@@ -106,17 +106,21 @@ 

Method Details

} media_body: string, The filename of the media request body, or an instance of a MediaUpload object. - onBehalfOfContentOwner: string, The onBehalfOfContentOwner parameter indicates that the authenticated user is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with needs to be linked to the specified YouTube content owner. + onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners. + +The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
unset(channelId, onBehalfOfContentOwner=None) -
Deletes a watermark.
+  
Deletes a channel's watermark image.
 
 Args:
-  channelId: string, The channelId parameter specifies a YouTube channel ID for which the watermark is being unset. (required)
-  onBehalfOfContentOwner: string, The onBehalfOfContentOwner parameter indicates that the authenticated user is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The actual CMS account that the user authenticates with needs to be linked to the specified YouTube content owner.
+  channelId: string, The channelId parameter specifies the YouTube channel ID for which the watermark is being unset. (required)
+  onBehalfOfContentOwner: string, Note: This parameter is intended exclusively for YouTube content partners.
+
+The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.
 
diff --git a/docs/epy/api-objects.txt b/docs/epy/api-objects.txt index 41ede1dacd3..245f609378e 100644 --- a/docs/epy/api-objects.txt +++ b/docs/epy/api-objects.txt @@ -13,6 +13,7 @@ googleapiclient.channel.X_GOOG_RESOURCE_ID googleapiclient.channel-module.html#X googleapiclient.discovery googleapiclient.discovery-module.html googleapiclient.discovery.MEDIA_BODY_PARAMETER_DEFAULT_VALUE googleapiclient.discovery-module.html#MEDIA_BODY_PARAMETER_DEFAULT_VALUE googleapiclient.discovery._cast googleapiclient.discovery-module.html#_cast +googleapiclient.discovery._retrieve_discovery_doc googleapiclient.discovery-module.html#_retrieve_discovery_doc googleapiclient.discovery._MEDIA_SIZE_BIT_SHIFTS googleapiclient.discovery-module.html#_MEDIA_SIZE_BIT_SHIFTS googleapiclient.discovery._fix_up_parameters googleapiclient.discovery-module.html#_fix_up_parameters googleapiclient.discovery.HTTP_PAYLOAD_METHODS googleapiclient.discovery-module.html#HTTP_PAYLOAD_METHODS @@ -36,6 +37,20 @@ googleapiclient.discovery.fix_method_name googleapiclient.discovery-module.html# googleapiclient.discovery.STACK_QUERY_PARAMETERS googleapiclient.discovery-module.html#STACK_QUERY_PARAMETERS googleapiclient.discovery.DISCOVERY_URI googleapiclient.discovery-module.html#DISCOVERY_URI googleapiclient.discovery.URITEMPLATE googleapiclient.discovery-module.html#URITEMPLATE +googleapiclient.discovery_cache googleapiclient.discovery_cache-module.html +googleapiclient.discovery_cache.autodetect googleapiclient.discovery_cache-module.html#autodetect +googleapiclient.discovery_cache.DISCOVERY_DOC_MAX_AGE googleapiclient.discovery_cache-module.html#DISCOVERY_DOC_MAX_AGE +googleapiclient.discovery_cache.appengine_memcache googleapiclient.discovery_cache.appengine_memcache-module.html +googleapiclient.discovery_cache.appengine_memcache.cache googleapiclient.discovery_cache.appengine_memcache-module.html#cache +googleapiclient.discovery_cache.appengine_memcache.NAMESPACE googleapiclient.discovery_cache.appengine_memcache-module.html#NAMESPACE +googleapiclient.discovery_cache.base googleapiclient.discovery_cache.base-module.html +googleapiclient.discovery_cache.file_cache googleapiclient.discovery_cache.file_cache-module.html +googleapiclient.discovery_cache.file_cache._to_timestamp googleapiclient.discovery_cache.file_cache-module.html#_to_timestamp +googleapiclient.discovery_cache.file_cache._read_or_initialize_cache googleapiclient.discovery_cache.file_cache-module.html#_read_or_initialize_cache +googleapiclient.discovery_cache.file_cache.cache googleapiclient.discovery_cache.file_cache-module.html#cache +googleapiclient.discovery_cache.file_cache.EPOCH googleapiclient.discovery_cache.file_cache-module.html#EPOCH +googleapiclient.discovery_cache.file_cache.logger googleapiclient.discovery_cache.file_cache-module.html#logger +googleapiclient.discovery_cache.file_cache.FILENAME googleapiclient.discovery_cache.file_cache-module.html#FILENAME googleapiclient.errors googleapiclient.errors-module.html googleapiclient.http googleapiclient.http-module.html googleapiclient.http.set_user_agent googleapiclient.http-module.html#set_user_agent @@ -77,6 +92,20 @@ googleapiclient.discovery.Resource._add_basic_methods googleapiclient.discovery. googleapiclient.discovery.ResourceMethodParameters googleapiclient.discovery.ResourceMethodParameters-class.html googleapiclient.discovery.ResourceMethodParameters.set_parameters googleapiclient.discovery.ResourceMethodParameters-class.html#set_parameters googleapiclient.discovery.ResourceMethodParameters.__init__ googleapiclient.discovery.ResourceMethodParameters-class.html#__init__ +googleapiclient.discovery_cache.appengine_memcache.Cache googleapiclient.discovery_cache.appengine_memcache.Cache-class.html +googleapiclient.discovery_cache.appengine_memcache.Cache.set googleapiclient.discovery_cache.appengine_memcache.Cache-class.html#set +googleapiclient.discovery_cache.base.Cache.__metaclass__ googleapiclient.discovery_cache.base.Cache-class.html#__metaclass__ +googleapiclient.discovery_cache.appengine_memcache.Cache.get googleapiclient.discovery_cache.appengine_memcache.Cache-class.html#get +googleapiclient.discovery_cache.appengine_memcache.Cache.__init__ googleapiclient.discovery_cache.appengine_memcache.Cache-class.html#__init__ +googleapiclient.discovery_cache.base.Cache googleapiclient.discovery_cache.base.Cache-class.html +googleapiclient.discovery_cache.base.Cache.set googleapiclient.discovery_cache.base.Cache-class.html#set +googleapiclient.discovery_cache.base.Cache.__metaclass__ googleapiclient.discovery_cache.base.Cache-class.html#__metaclass__ +googleapiclient.discovery_cache.base.Cache.get googleapiclient.discovery_cache.base.Cache-class.html#get +googleapiclient.discovery_cache.file_cache.Cache googleapiclient.discovery_cache.file_cache.Cache-class.html +googleapiclient.discovery_cache.file_cache.Cache.set googleapiclient.discovery_cache.file_cache.Cache-class.html#set +googleapiclient.discovery_cache.base.Cache.__metaclass__ googleapiclient.discovery_cache.base.Cache-class.html#__metaclass__ +googleapiclient.discovery_cache.file_cache.Cache.get googleapiclient.discovery_cache.file_cache.Cache-class.html#get +googleapiclient.discovery_cache.file_cache.Cache.__init__ googleapiclient.discovery_cache.file_cache.Cache-class.html#__init__ googleapiclient.errors.BatchError googleapiclient.errors.BatchError-class.html googleapiclient.errors.BatchError.__str__ googleapiclient.errors.BatchError-class.html#__str__ googleapiclient.errors.BatchError.__repr__ googleapiclient.errors.BatchError-class.html#__repr__ diff --git a/docs/epy/class-tree.html b/docs/epy/class-tree.html index 8445ae0643e..208e33e1b04 100644 --- a/docs/epy/class-tree.html +++ b/docs/epy/class-tree.html @@ -74,6 +74,9 @@

Class Hierarchy

  • googleapiclient.http.BatchHttpRequest: Batches multiple HttpRequest objects into a single HTTP request.
  • +
  • googleapiclient.discovery_cache.base.Cache: + A base abstract cache class. +
  • googleapiclient.channel.Channel: A Channel for notifications.
  • @@ -154,7 +157,7 @@

    Class Hierarchy