Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2770)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Sep 4, 2024
1 parent 6273efe commit 07782e2
Show file tree
Hide file tree
Showing 13 changed files with 60 additions and 294 deletions.
18 changes: 16 additions & 2 deletions androidmanagement/v1/androidmanagement-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@
}
}
},
"revision": "20240821",
"revision": "20240902",
"rootUrl": "https://androidmanagement.googleapis.com/",
"schemas": {
"AdbShellCommandEvent": {
Expand Down Expand Up @@ -4853,6 +4853,20 @@
},
"type": "array"
},
"assistContentPolicy": {
"description": "Optional. Controls whether AssistContent (https://developer.android.com/reference/android/app/assist/AssistContent) is allowed to be sent to a privileged app such as an assistant app. AssistContent includes screenshots and information about an app, such as package name. This is supported on Android 15 and above.",
"enum": [
"ASSIST_CONTENT_POLICY_UNSPECIFIED",
"ASSIST_CONTENT_DISALLOWED",
"ASSIST_CONTENT_ALLOWED"
],
"enumDescriptions": [
"Unspecified. Defaults to ASSIST_CONTENT_ALLOWED.",
"Assist content is blocked from being sent to a privileged app.Supported on Android 15 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 15.",
"Assist content is allowed to be sent to a privileged app.Supported on Android 15 and above."
],
"type": "string"
},
"autoDateAndTimeZone": {
"description": "Whether auto date, time, and time zone are enabled on a company-owned device. If this is set, then autoTimeRequired is ignored.",
"enum": [
Expand Down Expand Up @@ -5412,7 +5426,7 @@
},
"wifiConfigsLockdownEnabled": {
"deprecated": true,
"description": "DEPRECATED - Use wifi_config_disabled.",
"description": "This is deprecated.",
"type": "boolean"
}
},
Expand Down
17 changes: 16 additions & 1 deletion androidmanagement/v1/androidmanagement-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

65 changes: 3 additions & 62 deletions cloudasset/v1/cloudasset-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -358,59 +358,6 @@
},
"operations": {
"methods": {
"cancel": {
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
"flatPath": "v1/operations/{operationsId}:cancel",
"httpMethod": "POST",
"id": "cloudasset.operations.cancel",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name of the operation resource to be cancelled.",
"location": "path",
"pattern": "^operations/.*$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:cancel",
"request": {
"$ref": "CancelOperationRequest"
},
"response": {
"$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.",
"flatPath": "v1/operations/{operationsId}",
"httpMethod": "DELETE",
"id": "cloudasset.operations.delete",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name of the operation resource to be deleted.",
"location": "path",
"pattern": "^operations/.*$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "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.",
"flatPath": "v1/{v1Id}/{v1Id1}/operations/{operationsId}/{operationsId1}",
Expand Down Expand Up @@ -1148,7 +1095,7 @@
}
}
},
"revision": "20240823",
"revision": "20240831",
"rootUrl": "https://cloudasset.googleapis.com/",
"schemas": {
"AccessSelector": {
Expand Down Expand Up @@ -1578,12 +1525,6 @@
},
"type": "object"
},
"CancelOperationRequest": {
"description": "The request message for Operations.CancelOperation.",
"id": "CancelOperationRequest",
"properties": {},
"type": "object"
},
"ConditionContext": {
"description": "The IAM conditions context.",
"id": "ConditionContext",
Expand Down Expand Up @@ -3526,7 +3467,7 @@
"AVAILABLE_PACKAGE"
],
"enumDescriptions": [
"Invalid. An type must be specified.",
"Invalid. A type must be specified.",
"This represents a package that is installed on the VM.",
"This represents an update that is available for a package."
],
Expand Down Expand Up @@ -4207,7 +4148,7 @@
"type": "array"
},
"enrichments": {
"description": "Enrichments of the asset. Currently supported enrichment types with SearchAllResources API: * RESOURCE_OWNERS The corresponding read masks in order to get the enrichment: * enrichments.resource_owners The corresponding required permissions: * cloudasset.assets.searchEnrichmentResourceOwners Example query to get resource owner enrichment: scope: \"projects/my-project\" query: \"name: my-project\" assetTypes: \"cloudresourcemanager.googleapis.com/Project\" readMask: { paths: \"asset_type\" paths: \"name\" paths: \"enrichments.resource_owners\" }",
"description": "Enrichments of the asset. Currently supported enrichment types with SearchAllResources API: * RESOURCE_OWNERS The corresponding read masks in order to get the enrichment: * enrichments.resource_owners The corresponding required permissions: * cloudasset.assets.searchEnrichmentResourceOwners Example query to get resource owner enrichment: ``` scope: \"projects/my-project\" query: \"name: my-project\" assetTypes: \"cloudresourcemanager.googleapis.com/Project\" readMask: { paths: \"asset_type\" paths: \"name\" paths: \"enrichments.resource_owners\" } ```",
"items": {
"$ref": "AssetEnrichment"
},
Expand Down
Loading

0 comments on commit 07782e2

Please sign in to comment.