diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index ff5126c188d..eecb84c21b2 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:dfa9b663b32de8b5b327e32c1da665a80de48876558dd58091d8160c60ad7355 + digest: sha256:ae600f36b6bc972b368367b6f83a1d91ec2c82a4a116b383d67d547c56fe6de3 diff --git a/.kokoro/release.sh b/.kokoro/release.sh index e10bd8921a7..2df773a7632 100755 --- a/.kokoro/release.sh +++ b/.kokoro/release.sh @@ -26,7 +26,7 @@ python3 -m pip install --upgrade twine wheel setuptools export PYTHONUNBUFFERED=1 # Move into the package, build the distribution and upload. -TWINE_PASSWORD=$(cat "${KOKORO_GFILE_DIR}/secret_manager/google-cloud-pypi-token") +TWINE_PASSWORD=$(cat "${KOKORO_KEYSTORE_DIR}/73713_google-cloud-pypi-token-keystore-1") cd github/google-api-python-client python3 setup.py sdist bdist_wheel twine upload --username __token__ --password "${TWINE_PASSWORD}" dist/* diff --git a/.kokoro/release/common.cfg b/.kokoro/release/common.cfg index 2ea8e554f8d..40e322d97a9 100644 --- a/.kokoro/release/common.cfg +++ b/.kokoro/release/common.cfg @@ -23,8 +23,18 @@ env_vars: { value: "github/google-api-python-client/.kokoro/release.sh" } +# Fetch PyPI password +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "google-cloud-pypi-token-keystore-1" + } + } +} + # Tokens needed to report release status back to GitHub env_vars: { key: "SECRET_MANAGER_KEYS" - value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem,google-cloud-pypi-token" + value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem" } diff --git a/CHANGELOG.md b/CHANGELOG.md index efe50a35a64..e379c94ffd2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,29 @@ # Changelog +## [2.36.0](https://github.com/googleapis/google-api-python-client/compare/v2.35.0...v2.36.0) (2022-01-18) + + +### Features + +* **analyticsadmin:** update the api https://github.com/googleapis/google-api-python-client/commit/981bbe36878d2c3d5687c56e89bedf562ff9b619 ([4d5c983](https://github.com/googleapis/google-api-python-client/commit/4d5c983f4cb58820b1ae5fc1ee966216b056220c)) +* **artifactregistry:** update the api https://github.com/googleapis/google-api-python-client/commit/0d1152f61591215b004f3f293cc37b995abe422c ([4d5c983](https://github.com/googleapis/google-api-python-client/commit/4d5c983f4cb58820b1ae5fc1ee966216b056220c)) +* **content:** update the api https://github.com/googleapis/google-api-python-client/commit/195bfc241437417c544b89025ca16e9962915830 ([4d5c983](https://github.com/googleapis/google-api-python-client/commit/4d5c983f4cb58820b1ae5fc1ee966216b056220c)) +* **datapipelines:** update the api https://github.com/googleapis/google-api-python-client/commit/3bb19370a5aac772774c64c703411c6cc7343e4e ([4d5c983](https://github.com/googleapis/google-api-python-client/commit/4d5c983f4cb58820b1ae5fc1ee966216b056220c)) +* **dataproc:** update the api https://github.com/googleapis/google-api-python-client/commit/2fc3a16831166c7ffe87864723f3fecc5edadf66 ([4d5c983](https://github.com/googleapis/google-api-python-client/commit/4d5c983f4cb58820b1ae5fc1ee966216b056220c)) +* **datastream:** update the api https://github.com/googleapis/google-api-python-client/commit/d51a6ee7486c646b061964e8a960a4a7969c0fae ([4d5c983](https://github.com/googleapis/google-api-python-client/commit/4d5c983f4cb58820b1ae5fc1ee966216b056220c)) +* **displayvideo:** update the api https://github.com/googleapis/google-api-python-client/commit/459a6363792c76c3b62f0351f6c11c19ebec69bd ([4d5c983](https://github.com/googleapis/google-api-python-client/commit/4d5c983f4cb58820b1ae5fc1ee966216b056220c)) +* **drive:** update the api https://github.com/googleapis/google-api-python-client/commit/92ec7cf5969f4630ef6b626aaa102edbefcce2e9 ([4d5c983](https://github.com/googleapis/google-api-python-client/commit/4d5c983f4cb58820b1ae5fc1ee966216b056220c)) +* **eventarc:** update the api https://github.com/googleapis/google-api-python-client/commit/8fd4b62bb45609f892902340386691d08916577b ([4d5c983](https://github.com/googleapis/google-api-python-client/commit/4d5c983f4cb58820b1ae5fc1ee966216b056220c)) +* **metastore:** update the api https://github.com/googleapis/google-api-python-client/commit/b7f92e49126ce0a2b51699f1cdcd9688050202a1 ([4d5c983](https://github.com/googleapis/google-api-python-client/commit/4d5c983f4cb58820b1ae5fc1ee966216b056220c)) +* **ondemandscanning:** update the api https://github.com/googleapis/google-api-python-client/commit/e8a20085b2c69058644955733a2806e3e2ca7fa6 ([4d5c983](https://github.com/googleapis/google-api-python-client/commit/4d5c983f4cb58820b1ae5fc1ee966216b056220c)) +* **osconfig:** update the api https://github.com/googleapis/google-api-python-client/commit/974f389117b61e70dcae964a4cbbc09de3506c25 ([4d5c983](https://github.com/googleapis/google-api-python-client/commit/4d5c983f4cb58820b1ae5fc1ee966216b056220c)) +* **privateca:** update the api https://github.com/googleapis/google-api-python-client/commit/f48c5289642548735424198ab5ed131521e5d680 ([4d5c983](https://github.com/googleapis/google-api-python-client/commit/4d5c983f4cb58820b1ae5fc1ee966216b056220c)) +* **recaptchaenterprise:** update the api https://github.com/googleapis/google-api-python-client/commit/edd3d24b7b41b0bcfe851358dbf58939be9e64cc ([4d5c983](https://github.com/googleapis/google-api-python-client/commit/4d5c983f4cb58820b1ae5fc1ee966216b056220c)) +* **redis:** update the api https://github.com/googleapis/google-api-python-client/commit/0a68f42ad8d594cb024d998e83b536d18d07d35a ([4d5c983](https://github.com/googleapis/google-api-python-client/commit/4d5c983f4cb58820b1ae5fc1ee966216b056220c)) +* **run:** update the api https://github.com/googleapis/google-api-python-client/commit/59c518fb1802074b03a4e55be3efb9ab25692b84 ([4d5c983](https://github.com/googleapis/google-api-python-client/commit/4d5c983f4cb58820b1ae5fc1ee966216b056220c)) +* **sasportal:** update the api https://github.com/googleapis/google-api-python-client/commit/1517d9dcd845edf8a55baaef3d27db88f4beaa54 ([4d5c983](https://github.com/googleapis/google-api-python-client/commit/4d5c983f4cb58820b1ae5fc1ee966216b056220c)) +* **servicedirectory:** update the api https://github.com/googleapis/google-api-python-client/commit/298a0e1617d486b3a6353b1b965def9dbc4f76e2 ([4d5c983](https://github.com/googleapis/google-api-python-client/commit/4d5c983f4cb58820b1ae5fc1ee966216b056220c)) + ## [2.35.0](https://github.com/googleapis/google-api-python-client/compare/v2.34.0...v2.35.0) (2022-01-13) diff --git a/docs/dyn/analyticsadmin_v1alpha.properties.dataStreams.html b/docs/dyn/analyticsadmin_v1alpha.properties.dataStreams.html index 4d17ed1a074..4f133330802 100644 --- a/docs/dyn/analyticsadmin_v1alpha.properties.dataStreams.html +++ b/docs/dyn/analyticsadmin_v1alpha.properties.dataStreams.html @@ -74,6 +74,11 @@
+ measurementProtocolSecrets()
+
Returns the measurementProtocolSecrets Resource.
+Close httplib2 connections.
diff --git a/docs/dyn/analyticsadmin_v1alpha.properties.dataStreams.measurementProtocolSecrets.html b/docs/dyn/analyticsadmin_v1alpha.properties.dataStreams.measurementProtocolSecrets.html new file mode 100644 index 00000000000..5c7f29eae8a --- /dev/null +++ b/docs/dyn/analyticsadmin_v1alpha.properties.dataStreams.measurementProtocolSecrets.html @@ -0,0 +1,246 @@ + + + +
+ close()
Close httplib2 connections.
+
+ create(parent, body=None, x__xgafv=None)
Creates a measurement protocol secret.
+ +Deletes target MeasurementProtocolSecret.
+ +Lookup for a single "GA4" MeasurementProtocolSecret.
+
+ list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Returns child MeasurementProtocolSecrets under the specified parent Property.
+
+ list_next(previous_request, previous_response)
Retrieves the next page of results.
+
+ patch(name, body=None, updateMask=None, x__xgafv=None)
Updates a measurement protocol secret.
+close()
+ Close httplib2 connections.+
create(parent, body=None, x__xgafv=None)
+ Creates a measurement protocol secret.
+
+Args:
+ parent: string, Required. The parent resource where this secret will be created. Format: properties/{property}/dataStreams/{dataStream} (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # A secret value used for sending hits to Measurement Protocol.
+ "displayName": "A String", # Required. Human-readable display name for this secret.
+ "name": "A String", # Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/webDataStreams/{webDataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+ "secretValue": "A String", # Output only. The measurement protocol secret value. Pass this value to the api_secret field of the Measurement Protocol API when sending hits to this secret's parent property.
+}
+
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # A secret value used for sending hits to Measurement Protocol.
+ "displayName": "A String", # Required. Human-readable display name for this secret.
+ "name": "A String", # Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/webDataStreams/{webDataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+ "secretValue": "A String", # Output only. The measurement protocol secret value. Pass this value to the api_secret field of the Measurement Protocol API when sending hits to this secret's parent property.
+}
+delete(name, x__xgafv=None)
+ Deletes target MeasurementProtocolSecret.
+
+Args:
+ name: string, Required. The name of the MeasurementProtocolSecret to delete. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} (required)
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 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)
+ Lookup for a single "GA4" MeasurementProtocolSecret.
+
+Args:
+ name: string, Required. The name of the measurement protocol secret to lookup. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} (required)
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # A secret value used for sending hits to Measurement Protocol.
+ "displayName": "A String", # Required. Human-readable display name for this secret.
+ "name": "A String", # Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/webDataStreams/{webDataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+ "secretValue": "A String", # Output only. The measurement protocol secret value. Pass this value to the api_secret field of the Measurement Protocol API when sending hits to this secret's parent property.
+}
+list(parent, pageSize=None, pageToken=None, x__xgafv=None)
+ Returns child MeasurementProtocolSecrets under the specified parent Property.
+
+Args:
+ parent: string, Required. The resource name of the parent stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets (required)
+ pageSize: integer, The maximum number of resources to return. If unspecified, at most 10 resources will be returned. The maximum value is 10. Higher values will be coerced to the maximum.
+ pageToken: string, A page token, received from a previous `ListMeasurementProtocolSecrets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMeasurementProtocolSecrets` must match the call that provided the page token.
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # Response message for ListMeasurementProtocolSecret RPC
+ "measurementProtocolSecrets": [ # A list of secrets for the parent stream specified in the request.
+ { # A secret value used for sending hits to Measurement Protocol.
+ "displayName": "A String", # Required. Human-readable display name for this secret.
+ "name": "A String", # Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/webDataStreams/{webDataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+ "secretValue": "A String", # Output only. The measurement protocol secret value. Pass this value to the api_secret field of the Measurement Protocol API when sending hits to this secret's parent property.
+ },
+ ],
+ "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
+}
+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(name, body=None, updateMask=None, x__xgafv=None)
+ Updates a measurement protocol secret.
+
+Args:
+ name: string, Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/webDataStreams/{webDataStream}/measurementProtocolSecrets/{measurementProtocolSecret} (required)
+ body: object, The request body.
+ The object takes the form of:
+
+{ # A secret value used for sending hits to Measurement Protocol.
+ "displayName": "A String", # Required. Human-readable display name for this secret.
+ "name": "A String", # Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/webDataStreams/{webDataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+ "secretValue": "A String", # Output only. The measurement protocol secret value. Pass this value to the api_secret field of the Measurement Protocol API when sending hits to this secret's parent property.
+}
+
+ updateMask: string, The list of fields to be updated. Omitted fields will not be updated.
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # A secret value used for sending hits to Measurement Protocol.
+ "displayName": "A String", # Required. Human-readable display name for this secret.
+ "name": "A String", # Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/webDataStreams/{webDataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
+ "secretValue": "A String", # Output only. The measurement protocol secret value. Pass this value to the api_secret field of the Measurement Protocol API when sending hits to this secret's parent property.
+}
+Returns the androidAppDataStreams Resource.
- @@ -119,11 +114,6 @@Returns the googleAdsLinks Resource.
- -Returns the iosAppDataStreams Resource.
- @@ -355,7 +345,7 @@Returns child Properties under the specified parent Account. Only "GA4" properties will be returned. Properties will be excluded if the caller does not have access. Soft-deleted (ie: "trashed") properties are excluded by default. Returns an empty list if no relevant properties are found. Args: - filter: string, Required. An expression for filtering the results of the request. Fields eligible for filtering are: `parent:`(The resource name of the parent account) or `firebase_project:`(The id or number of the linked firebase project). Some examples of filters: ``` | Filter | Description | |-----------------------------|-------------------------------------------| | parent:accounts/123 | The account with account id: 123. | | firebase_project:project-id | The firebase project with id: project-id. | | firebase_project:123 | The firebase project with number: 123. | ``` + filter: string, Required. An expression for filtering the results of the request. Fields eligible for filtering are: `parent:`(The resource name of the parent account) or `ancestor:`(The resource name of the parent account) or `firebase_project:`(The id or number of the linked firebase project). Some examples of filters: ``` | Filter | Description | |-----------------------------|-------------------------------------------| | parent:accounts/123 | The account with account id: 123. | | ancestor:accounts/123 | The account with account id: 123. | | firebase_project:project-id | The firebase project with id: project-id. | | firebase_project:123 | The firebase project with number: 123. | ``` pageSize: integer, The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) pageToken: string, A page token, received from a previous `ListProperties` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProperties` must match the call that provided the page token. showDeleted: boolean, Whether to include soft-deleted (ie: "trashed") Properties in the results. Properties can be inspected to determine whether they are deleted or not. diff --git a/docs/dyn/analyticsadmin_v1alpha.properties.webDataStreams.html b/docs/dyn/analyticsadmin_v1alpha.properties.webDataStreams.html index 1ffbe9b1b4b..adaa0cf5ad3 100644 --- a/docs/dyn/analyticsadmin_v1alpha.properties.webDataStreams.html +++ b/docs/dyn/analyticsadmin_v1alpha.properties.webDataStreams.html @@ -74,122 +74,18 @@Google Analytics Admin API . properties . webDataStreams
Instance Methods
--
-measurementProtocolSecrets()-Returns the measurementProtocolSecrets Resource.
-Close httplib2 connections.
--
-create(parent, body=None, x__xgafv=None)Creates a web stream with the specified location and attributes.
- -Deletes a web stream on a property.
- -Lookup for a single WebDataStream
getGlobalSiteTag(name, x__xgafv=None)Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.
--
-list(parent, pageSize=None, pageToken=None, x__xgafv=None)Returns child web data streams under the specified parent property. Web data streams will be excluded if the caller does not have access. Returns an empty list if no relevant web data streams are found.
--
-list_next(previous_request, previous_response)Retrieves the next page of results.
--
-patch(name, body=None, updateMask=None, x__xgafv=None)Updates a web stream on a property.
Method Details
-close()Close httplib2 connections.-- -create(parent, body=None, x__xgafv=None)-Creates a web stream with the specified location and attributes. - -Args: - parent: string, Required. The parent resource where this web data stream will be created. Format: properties/123 (required) - body: object, The request body. - The object takes the form of: - -{ # A resource message representing a Google Analytics web stream. - "createTime": "A String", # Output only. Time when this stream was originally created. - "defaultUri": "A String", # Immutable. Domain name of the web app being measured, or empty. Example: "http://www.google.com", "https://www.google.com" - "displayName": "A String", # Required. Human-readable display name for the Data Stream. The max allowed display name length is 255 UTF-16 code units. - "firebaseAppId": "A String", # Output only. ID of the corresponding web app in Firebase, if any. This ID can change if the web app is deleted and recreated. - "measurementId": "A String", # Output only. Analytics "Measurement ID", without the "G-" prefix. Example: "G-1A2BCD345E" would just be "1A2BCD345E" - "name": "A String", # Output only. Resource name of this Data Stream. Format: properties/{property_id}/webDataStreams/{stream_id} Example: "properties/1000/webDataStreams/2000" - "updateTime": "A String", # Output only. Time when stream payload fields were last updated. -} - - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { # A resource message representing a Google Analytics web stream. - "createTime": "A String", # Output only. Time when this stream was originally created. - "defaultUri": "A String", # Immutable. Domain name of the web app being measured, or empty. Example: "http://www.google.com", "https://www.google.com" - "displayName": "A String", # Required. Human-readable display name for the Data Stream. The max allowed display name length is 255 UTF-16 code units. - "firebaseAppId": "A String", # Output only. ID of the corresponding web app in Firebase, if any. This ID can change if the web app is deleted and recreated. - "measurementId": "A String", # Output only. Analytics "Measurement ID", without the "G-" prefix. Example: "G-1A2BCD345E" would just be "1A2BCD345E" - "name": "A String", # Output only. Resource name of this Data Stream. Format: properties/{property_id}/webDataStreams/{stream_id} Example: "properties/1000/webDataStreams/2000" - "updateTime": "A String", # Output only. Time when stream payload fields were last updated. -}--- -delete(name, x__xgafv=None)-Deletes a web stream on a property. - -Args: - name: string, Required. The name of the web data stream to delete. Format: properties/{property_id}/webDataStreams/{stream_id} Example: "properties/123/webDataStreams/456" (required) - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 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)-Lookup for a single WebDataStream - -Args: - name: string, Required. The name of the web data stream to lookup. Format: properties/{property_id}/webDataStreams/{stream_id} Example: "properties/123/webDataStreams/456" (required) - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { # A resource message representing a Google Analytics web stream. - "createTime": "A String", # Output only. Time when this stream was originally created. - "defaultUri": "A String", # Immutable. Domain name of the web app being measured, or empty. Example: "http://www.google.com", "https://www.google.com" - "displayName": "A String", # Required. Human-readable display name for the Data Stream. The max allowed display name length is 255 UTF-16 code units. - "firebaseAppId": "A String", # Output only. ID of the corresponding web app in Firebase, if any. This ID can change if the web app is deleted and recreated. - "measurementId": "A String", # Output only. Analytics "Measurement ID", without the "G-" prefix. Example: "G-1A2BCD345E" would just be "1A2BCD345E" - "name": "A String", # Output only. Resource name of this Data Stream. Format: properties/{property_id}/webDataStreams/{stream_id} Example: "properties/1000/webDataStreams/2000" - "updateTime": "A String", # Output only. Time when stream payload fields were last updated. -}--getGlobalSiteTag(name, x__xgafv=None)Returns the Site Tag for the specified web stream. Site Tags are immutable singletons. @@ -210,89 +106,4 @@Method Details
}-- -list(parent, pageSize=None, pageToken=None, x__xgafv=None)-Returns child web data streams under the specified parent property. Web data streams will be excluded if the caller does not have access. Returns an empty list if no relevant web data streams are found. - -Args: - parent: string, Required. The name of the parent property. For example, to list results of web streams under the property with Id 123: "properties/123" (required) - pageSize: integer, The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) - pageToken: string, A page token, received from a previous `ListWebDataStreams` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListWebDataStreams` must match the call that provided the page token. - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { # Request message for ListWebDataStreams RPC. - "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. - "webDataStreams": [ # Results that matched the filter criteria and were accessible to the caller. - { # A resource message representing a Google Analytics web stream. - "createTime": "A String", # Output only. Time when this stream was originally created. - "defaultUri": "A String", # Immutable. Domain name of the web app being measured, or empty. Example: "http://www.google.com", "https://www.google.com" - "displayName": "A String", # Required. Human-readable display name for the Data Stream. The max allowed display name length is 255 UTF-16 code units. - "firebaseAppId": "A String", # Output only. ID of the corresponding web app in Firebase, if any. This ID can change if the web app is deleted and recreated. - "measurementId": "A String", # Output only. Analytics "Measurement ID", without the "G-" prefix. Example: "G-1A2BCD345E" would just be "1A2BCD345E" - "name": "A String", # Output only. Resource name of this Data Stream. Format: properties/{property_id}/webDataStreams/{stream_id} Example: "properties/1000/webDataStreams/2000" - "updateTime": "A String", # Output only. Time when stream payload fields were last updated. - }, - ], -}--- -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(name, body=None, updateMask=None, x__xgafv=None)-Updates a web stream on a property. - -Args: - name: string, Output only. Resource name of this Data Stream. Format: properties/{property_id}/webDataStreams/{stream_id} Example: "properties/1000/webDataStreams/2000" (required) - body: object, The request body. - The object takes the form of: - -{ # A resource message representing a Google Analytics web stream. - "createTime": "A String", # Output only. Time when this stream was originally created. - "defaultUri": "A String", # Immutable. Domain name of the web app being measured, or empty. Example: "http://www.google.com", "https://www.google.com" - "displayName": "A String", # Required. Human-readable display name for the Data Stream. The max allowed display name length is 255 UTF-16 code units. - "firebaseAppId": "A String", # Output only. ID of the corresponding web app in Firebase, if any. This ID can change if the web app is deleted and recreated. - "measurementId": "A String", # Output only. Analytics "Measurement ID", without the "G-" prefix. Example: "G-1A2BCD345E" would just be "1A2BCD345E" - "name": "A String", # Output only. Resource name of this Data Stream. Format: properties/{property_id}/webDataStreams/{stream_id} Example: "properties/1000/webDataStreams/2000" - "updateTime": "A String", # Output only. Time when stream payload fields were last updated. -} - - updateMask: string, Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. - x__xgafv: string, V1 error format. - Allowed values - 1 - v1 error format - 2 - v2 error format - -Returns: - An object of the form: - - { # A resource message representing a Google Analytics web stream. - "createTime": "A String", # Output only. Time when this stream was originally created. - "defaultUri": "A String", # Immutable. Domain name of the web app being measured, or empty. Example: "http://www.google.com", "https://www.google.com" - "displayName": "A String", # Required. Human-readable display name for the Data Stream. The max allowed display name length is 255 UTF-16 code units. - "firebaseAppId": "A String", # Output only. ID of the corresponding web app in Firebase, if any. This ID can change if the web app is deleted and recreated. - "measurementId": "A String", # Output only. Analytics "Measurement ID", without the "G-" prefix. Example: "G-1A2BCD345E" would just be "1A2BCD345E" - "name": "A String", # Output only. Resource name of this Data Stream. Format: properties/{property_id}/webDataStreams/{stream_id} Example: "properties/1000/webDataStreams/2000" - "updateTime": "A String", # Output only. Time when stream payload fields were last updated. -}-