diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6e9f62833aa..923ef772479 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -83,7 +83,7 @@ jobs: working-directory: ./scripts - name: Create PR - uses: actions/github-script@v4.0.2 + uses: actions/github-script@v6.0.0 with: github-token: ${{secrets.YOSHI_CODE_BOT_TOKEN}} script: | @@ -92,7 +92,7 @@ jobs: const branch = 'update-discovery-artifacts-${{ steps.date.outputs.current_date }}' let prBody = `${{ steps.pr_body.outputs.change_summary }}` const prTitle = 'chore: Update discovery artifacts' - const pullRequests = await github.pulls.list({ + const pullRequests = await github.rest.pulls.list({ owner: owner, repo: repo, head: `${owner}:${branch}`, @@ -101,7 +101,7 @@ jobs: if (pullRequests.data.length === 1) { prNumber = pullRequests.data[0].number - await github.pulls.update({ + await github.rest.pulls.update({ owner: owner, repo: repo, pull_number: prNumber, @@ -110,7 +110,7 @@ jobs: }) console.log('Updated PR') } else { - const createPrResult = await github.pulls.create({ + const createPrResult = await github.rest.pulls.create({ owner: owner, repo: repo, base: 'main', diff --git a/CHANGELOG.md b/CHANGELOG.md index 03cc538b70a..ffb697d1eac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## [2.42.0](https://github.com/googleapis/google-api-python-client/compare/v2.41.0...v2.42.0) (2022-03-22) + + +### Features + +* **analyticsadmin:** update the api https://github.com/googleapis/google-api-python-client/commit/908b1fa724a11415a7e181cae916bb882489d1f0 ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **androidmanagement:** update the api https://github.com/googleapis/google-api-python-client/commit/ae2e5c2afbc1e6b4c7ea991d86ad57420ee0c760 ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **apigee:** update the api https://github.com/googleapis/google-api-python-client/commit/05d347993b1ebcbfa2f8fae88fda23dab826c80b ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **apikeys:** update the api https://github.com/googleapis/google-api-python-client/commit/0a7914ea43f115286281e2f91e743c7b65b34622 ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **artifactregistry:** update the api https://github.com/googleapis/google-api-python-client/commit/8e39a75b5e14ed4e9f14889ae07e27d3b720c0ed ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **baremetalsolution:** update the api https://github.com/googleapis/google-api-python-client/commit/badd5b1838b6c47241b1f581956caaf447c3c7d0 ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **bigquery:** update the api https://github.com/googleapis/google-api-python-client/commit/d522ad1d179ff42612ed361258091b0fdf27eeff ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **cloudsearch:** update the api https://github.com/googleapis/google-api-python-client/commit/4a3e8733eb7b1464fc0edd13921abf5f4c47700d ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **compute:** update the api https://github.com/googleapis/google-api-python-client/commit/4cc4fb7063c50d07d06afdae373b799fc2ee513c ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **datafusion:** update the api https://github.com/googleapis/google-api-python-client/commit/ba1e4f8cfe0d66734da8c473a788fef8a2e2c16d ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **documentai:** update the api https://github.com/googleapis/google-api-python-client/commit/f2773dce6e38d45709369c60e179b83c4722dc9f ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **eventarc:** update the api https://github.com/googleapis/google-api-python-client/commit/cd23853a9d2a923a035b1bf4fa1de7ce03e3db17 ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **firestore:** update the api https://github.com/googleapis/google-api-python-client/commit/544fbd304651f548fbe4e47c7d6cb0cc829b2d4a ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **iam:** update the api https://github.com/googleapis/google-api-python-client/commit/2ebd974ccb4de6541a81d7d0a7231d00f1fd3a12 ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **logging:** update the api https://github.com/googleapis/google-api-python-client/commit/8252d87cb38eb09afd7a89b00a1e41c50bca4442 ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **memcache:** update the api https://github.com/googleapis/google-api-python-client/commit/8f78e3de8ca5d0e3c2f29fa5546b8ebf6bc39147 ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **prod_tt_sasportal:** update the api https://github.com/googleapis/google-api-python-client/commit/5c5b504d38cee38749a667e239a20e87ac3f7de2 ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **retail:** update the api https://github.com/googleapis/google-api-python-client/commit/1ac6e1aa7ff24200da4d05ea96b9263f80d72874 ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **spanner:** update the api https://github.com/googleapis/google-api-python-client/commit/be17e4deb53d6a989e700ca2ecfb82c479fbd37c ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **sqladmin:** update the api https://github.com/googleapis/google-api-python-client/commit/a0b990c973fabd4e4867fcc9ba143776fe77126a ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **testing:** update the api https://github.com/googleapis/google-api-python-client/commit/3e0f5527d728f0782795f20c4f303f09698bddec ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **texttospeech:** update the api https://github.com/googleapis/google-api-python-client/commit/8aea2ac640a3271aad629a1e8038408de957f9a3 ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) +* **youtube:** update the api https://github.com/googleapis/google-api-python-client/commit/a165ea29b31c0ad3304e5cbfec9db93592b44103 ([5621484](https://github.com/googleapis/google-api-python-client/commit/56214844c720893b15ed28f14e598940a99d7a0b)) + ## [2.41.0](https://github.com/googleapis/google-api-python-client/compare/v2.40.0...v2.41.0) (2022-03-15) diff --git a/docs/dyn/accessapproval_v1.folders.html b/docs/dyn/accessapproval_v1.folders.html index 00cd65bf559..51896b1f31e 100644 --- a/docs/dyn/accessapproval_v1.folders.html +++ b/docs/dyn/accessapproval_v1.folders.html @@ -114,7 +114,7 @@
Close httplib2 connections.
get(packageName, editId, track, x__xgafv=None)
Gets testers.
+Gets testers. Note: Testers resource does not support email lists.
patch(packageName, editId, track, body=None, x__xgafv=None)
Patches testers.
+Patches testers. Note: Testers resource does not support email lists.
update(packageName, editId, track, body=None, x__xgafv=None)
Updates testers.
+Updates testers. Note: Testers resource does not support email lists.
close()
@@ -94,7 +94,7 @@ get(packageName, editId, track, x__xgafv=None)
- Gets testers. +Gets testers. Note: Testers resource does not support email lists. Args: packageName: string, Package name of the app. (required) @@ -108,7 +108,7 @@Method Details
Returns: An object of the form: - { # The testers of an app. The resource for TestersService. + { # The testers of an app. The resource for TestersService. Note: while it is possible in the Play Console UI to add testers via email lists, email lists are not supported by this resource. "googleGroups": [ # All testing Google Groups, as email addresses. "A String", ], @@ -117,7 +117,7 @@Method Details
@@ -287,7 +287,7 @@patch(packageName, editId, track, body=None, x__xgafv=None)-Patches testers. +Patches testers. Note: Testers resource does not support email lists. Args: packageName: string, Package name of the app. (required) @@ -126,7 +126,7 @@Method Details
body: object, The request body. The object takes the form of: -{ # The testers of an app. The resource for TestersService. +{ # The testers of an app. The resource for TestersService. Note: while it is possible in the Play Console UI to add testers via email lists, email lists are not supported by this resource. "googleGroups": [ # All testing Google Groups, as email addresses. "A String", ], @@ -140,7 +140,7 @@Method Details
Returns: An object of the form: - { # The testers of an app. The resource for TestersService. + { # The testers of an app. The resource for TestersService. Note: while it is possible in the Play Console UI to add testers via email lists, email lists are not supported by this resource. "googleGroups": [ # All testing Google Groups, as email addresses. "A String", ], @@ -149,7 +149,7 @@Method Details
@@ -219,6 +221,7 @@update(packageName, editId, track, body=None, x__xgafv=None)-Updates testers. +Updates testers. Note: Testers resource does not support email lists. Args: packageName: string, Package name of the app. (required) @@ -158,7 +158,7 @@Method Details
body: object, The request body. The object takes the form of: -{ # The testers of an app. The resource for TestersService. +{ # The testers of an app. The resource for TestersService. Note: while it is possible in the Play Console UI to add testers via email lists, email lists are not supported by this resource. "googleGroups": [ # All testing Google Groups, as email addresses. "A String", ], @@ -172,7 +172,7 @@Method Details
Returns: An object of the form: - { # The testers of an app. The resource for TestersService. + { # The testers of an app. The resource for TestersService. Note: while it is possible in the Play Console UI to add testers via email lists, email lists are not supported by this resource. "googleGroups": [ # All testing Google Groups, as email addresses. "A String", ], diff --git a/docs/dyn/apigee_v1.organizations.envgroups.attachments.html b/docs/dyn/apigee_v1.organizations.envgroups.attachments.html index df8d7ba2922..b6a6568cc81 100644 --- a/docs/dyn/apigee_v1.organizations.envgroups.attachments.html +++ b/docs/dyn/apigee_v1.organizations.envgroups.attachments.html @@ -110,6 +110,7 @@Method Details
{ # EnvironmentGroupAttachment is a resource which defines an attachment of an environment to an environment group. "createdAt": "A String", # Output only. The time at which the environment group attachment was created as milliseconds since epoch. "environment": "A String", # Required. ID of the attached environment. + "environmentGroupId": "A String", # Output only. ID of the environment group. "name": "A String", # ID of the environment group attachment. } @@ -194,6 +195,7 @@Method Details
{ # EnvironmentGroupAttachment is a resource which defines an attachment of an environment to an environment group. "createdAt": "A String", # Output only. The time at which the environment group attachment was created as milliseconds since epoch. "environment": "A String", # Required. ID of the attached environment. + "environmentGroupId": "A String", # Output only. ID of the environment group. "name": "A String", # ID of the environment group attachment. }Method Details
{ # EnvironmentGroupAttachment is a resource which defines an attachment of an environment to an environment group. "createdAt": "A String", # Output only. The time at which the environment group attachment was created as milliseconds since epoch. "environment": "A String", # Required. ID of the attached environment. + "environmentGroupId": "A String", # Output only. ID of the environment group. "name": "A String", # ID of the environment group attachment. }, ], diff --git a/docs/dyn/apikeys_v2.projects.locations.keys.html b/docs/dyn/apikeys_v2.projects.locations.keys.html index e95e1c85ea9..e61ba414432 100644 --- a/docs/dyn/apikeys_v2.projects.locations.keys.html +++ b/docs/dyn/apikeys_v2.projects.locations.keys.html @@ -162,6 +162,9 @@Method Details
The object takes the form of: { # The representation of a key managed by the API Keys API. + "annotations": { # Annotations is an unstructured key-value map stored with a policy that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. + "a_key": "A String", + }, "createTime": "A String", # Output only. A timestamp identifying the time this key was originally created. "deleteTime": "A String", # Output only. A timestamp when this key was deleted. If the resource is not deleted, this must be empty. "displayName": "A String", # Human-readable display name of this key that you can modify. The maximum length is 63 characters. @@ -286,6 +289,9 @@Method Details
An object of the form: { # The representation of a key managed by the API Keys API. + "annotations": { # Annotations is an unstructured key-value map stored with a policy that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. + "a_key": "A String", + }, "createTime": "A String", # Output only. A timestamp identifying the time this key was originally created. "deleteTime": "A String", # Output only. A timestamp when this key was deleted. If the resource is not deleted, this must be empty. "displayName": "A String", # Human-readable display name of this key that you can modify. The maximum length is 63 characters. @@ -370,6 +376,9 @@Method Details
{ # Response message for `ListKeys` method. "keys": [ # A list of API keys. { # The representation of a key managed by the API Keys API. + "annotations": { # Annotations is an unstructured key-value map stored with a policy that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. + "a_key": "A String", + }, "createTime": "A String", # Output only. A timestamp identifying the time this key was originally created. "deleteTime": "A String", # Output only. A timestamp when this key was deleted. If the resource is not deleted, this must be empty. "displayName": "A String", # Human-readable display name of this key that you can modify. The maximum length is 63 characters. @@ -441,6 +450,9 @@Method Details
The object takes the form of: { # The representation of a key managed by the API Keys API. + "annotations": { # Annotations is an unstructured key-value map stored with a policy that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. + "a_key": "A String", + }, "createTime": "A String", # Output only. A timestamp identifying the time this key was originally created. "deleteTime": "A String", # Output only. A timestamp when this key was deleted. If the resource is not deleted, this must be empty. "displayName": "A String", # Human-readable display name of this key that you can modify. The maximum length is 63 characters. diff --git a/docs/dyn/area120tables_v1alpha1.tables.rows.html b/docs/dyn/area120tables_v1alpha1.tables.rows.html index 1c438d9c566..8cfaa55cc6b 100644 --- a/docs/dyn/area120tables_v1alpha1.tables.rows.html +++ b/docs/dyn/area120tables_v1alpha1.tables.rows.html @@ -176,7 +176,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); } The JSON representation for `Empty` is empty JSON object `{}`. + { # 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); } }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); } The JSON representation for `Empty` is empty JSON object `{}`. + { # 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); } }
Close httplib2 connections.
+ +Gets information about a location.
+
+ list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists information about the supported locations for this service.
+
+ list_next(previous_request, previous_response)
Retrieves the next page of results.
close()
Close httplib2 connections.
get(name, x__xgafv=None)
+ Gets information about a location.
+
+Args:
+ name: string, Resource name for the location. (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 that represents Google Cloud Platform location.
+ "displayName": "A String", # The friendly name for this location, typically a nearby city name. For example, "Tokyo".
+ "labels": { # Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
+ "a_key": "A String",
+ },
+ "locationId": "A String", # The canonical id for this location. For example: `"us-east1"`.
+ "metadata": { # Service-specific metadata. For example the available capacity at the given location.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ "name": "A String", # Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"`
+}
+list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
+ Lists information about the supported locations for this service.
+
+Args:
+ name: string, The resource that owns the locations collection, if applicable. (required)
+ filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
+ pageSize: integer, The maximum number of results to return. If not set, the service selects a default.
+ pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
+ x__xgafv: string, V1 error format.
+ Allowed values
+ 1 - v1 error format
+ 2 - v2 error format
+
+Returns:
+ An object of the form:
+
+ { # The response message for Locations.ListLocations.
+ "locations": [ # A list of locations that matches the specified filter in the request.
+ { # A resource that represents Google Cloud Platform location.
+ "displayName": "A String", # The friendly name for this location, typically a nearby city name. For example, "Tokyo".
+ "labels": { # Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
+ "a_key": "A String",
+ },
+ "locationId": "A String", # The canonical id for this location. For example: `"us-east1"`.
+ "metadata": { # Service-specific metadata. For example the available capacity at the given location.
+ "a_key": "", # Properties of the object. Contains field @type with type URL.
+ },
+ "name": "A String", # Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"`
+ },
+ ],
+ "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. ++