Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2100)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Aug 6, 2023
1 parent b16a2d3 commit 262aa70
Show file tree
Hide file tree
Showing 9 changed files with 347 additions and 77 deletions.
15 changes: 15 additions & 0 deletions api-list.json
Expand Up @@ -1186,6 +1186,21 @@
"documentationLink": "https://cloud.google.com/channel",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "clouddebugger:v2",
"name": "clouddebugger",
"version": "v2",
"title": "Cloud Debugger API (Deprecated)",
"description": "Examines the call stack and variables of a running application without stopping or slowing it down. (Deprecated)",
"discoveryRestUrl": "https://clouddebugger.googleapis.com/$discovery/rest?version=v2",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"documentationLink": "https://cloud.google.com/debugger",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "clouddeploy:v1",
Expand Down
38 changes: 37 additions & 1 deletion apigee/v1/apigee-api.json
Expand Up @@ -9242,7 +9242,7 @@
}
}
},
"revision": "20230715",
"revision": "20230724",
"rootUrl": "https://apigee.googleapis.com/",
"schemas": {
"EdgeConfigstoreBundleBadBundle": {
Expand Down Expand Up @@ -9759,6 +9759,11 @@
"description": "Metadata describing the API proxy revision as a key-value map.",
"type": "object"
},
"hasExtensiblePolicy": {
"description": "Output only. This field will be marked as true if revision contains any policies marked as extensible.",
"readOnly": true,
"type": "boolean"
},
"integrationEndpoints": {
"description": "List of IntegrationEndpoints in the '/integration-endpoints' directory of the API proxy. This is a 'manifest' setting designed to provide visibility into the contents of the API proxy.",
"items": {
Expand Down Expand Up @@ -11167,6 +11172,21 @@
},
"type": "array"
},
"proxyDeploymentType": {
"description": "Output only. The type of the deployment (standard or extensible) Deployed proxy revision will be marked as extensible in following 2 cases. 1. The deployed proxy revision uses extensible policies. 2. If a environment supports flowhooks and flow hook is configured.",
"enum": [
"PROXY_DEPLOYMENT_TYPE_UNSPECIFIED",
"STANDARD",
"EXTENSIBLE"
],
"enumDescriptions": [
"Default value till public preview. After public preview this value should not be returned.",
"Deployment will be of type Standard if only Standard proxies are used",
"Proxy will be of type Extensible if deployments uses one or more Extensible proxies"
],
"readOnly": true,
"type": "string"
},
"revision": {
"description": "API proxy revision.",
"type": "string"
Expand Down Expand Up @@ -11900,6 +11920,22 @@
],
"readOnly": true,
"type": "string"
},
"type": {
"description": "Optional. EnvironmentType selected for the environment.",
"enum": [
"ENVIRONMENT_TYPE_UNSPECIFIED",
"BASE",
"INTERMEDIATE",
"COMPREHENSIVE"
],
"enumDescriptions": [
"Environment type not specified.",
"Base environment has limited capacity and capabilities and are usually used when you are getting started with Apigee or while experimenting. Refer to Apigee's public documentation for more details.",
"This is the default type and it supports API management features and higher capacity than Base environment. Refer to Apigee's public documentation for more details.",
"Comprehensive environment supports advanced capabilites and even higher capacity than Intermediate environment. Refer to Apigee's public documentation for more details."
],
"type": "string"
}
},
"type": "object"
Expand Down
35 changes: 35 additions & 0 deletions apigee/v1/apigee-gen.go

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

4 changes: 2 additions & 2 deletions contactcenterinsights/v1/contactcenterinsights-api.json
Expand Up @@ -1384,7 +1384,7 @@
}
}
},
"revision": "20230702",
"revision": "20230803",
"rootUrl": "https://contactcenterinsights.googleapis.com/",
"schemas": {
"GoogleCloudContactcenterinsightsV1Analysis": {
Expand Down Expand Up @@ -5511,7 +5511,7 @@
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"description": "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`.",
"description": "The normal, successful response of the operation. 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`.",
"type": "object"
}
},
Expand Down
4 changes: 2 additions & 2 deletions contactcenterinsights/v1/contactcenterinsights-gen.go

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

28 changes: 3 additions & 25 deletions container/v1beta1/container-api.json
Expand Up @@ -2565,7 +2565,7 @@
}
}
},
"revision": "20230723",
"revision": "20230724",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -2964,25 +2964,14 @@
"enum": [
"EVALUATION_MODE_UNSPECIFIED",
"DISABLED",
"PROJECT_SINGLETON_POLICY_ENFORCE",
"POLICY_BINDINGS",
"POLICY_BINDINGS_AND_PROJECT_SINGLETON_POLICY_ENFORCE"
"PROJECT_SINGLETON_POLICY_ENFORCE"
],
"enumDescriptions": [
"Default value",
"Disable BinaryAuthorization",
"Enforce Kubernetes admission requests with BinaryAuthorization using the project's singleton policy. This is equivalent to setting the enabled boolean to true.",
"Use Binary Authorization with the policies specified in policy_bindings.",
"Use Binary Authorization with the policies specified in policy_bindings, and also with the project's singleton policy in enforcement mode."
"Enforce Kubernetes admission requests with BinaryAuthorization using the project's singleton policy. This is equivalent to setting the enabled boolean to true."
],
"type": "string"
},
"policyBindings": {
"description": "Optional. Binauthz policies that apply to this cluster.",
"items": {
"$ref": "PolicyBinding"
},
"type": "array"
}
},
"type": "object"
Expand Down Expand Up @@ -6202,17 +6191,6 @@
},
"type": "object"
},
"PolicyBinding": {
"description": "Binauthz policy that applies to this cluster.",
"id": "PolicyBinding",
"properties": {
"name": {
"description": "The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.",
"type": "string"
}
},
"type": "object"
},
"PrivateClusterConfig": {
"description": "Configuration options for private clusters.",
"id": "PrivateClusterConfig",
Expand Down
39 changes: 0 additions & 39 deletions container/v1beta1/container-gen.go

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

56 changes: 55 additions & 1 deletion tpu/v2alpha1/tpu-api.json
Expand Up @@ -814,6 +814,34 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"reset": {
"description": "Resets a QueuedResource TPU instance",
"flatPath": "v2alpha1/projects/{projectsId}/locations/{locationsId}/queuedResources/{queuedResourcesId}:reset",
"httpMethod": "POST",
"id": "tpu.projects.locations.queuedResources.reset",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the queued resource.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/queuedResources/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v2alpha1/{+name}:reset",
"request": {
"$ref": "ResetQueuedResourceRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
Expand Down Expand Up @@ -897,7 +925,7 @@
}
}
},
"revision": "20230717",
"revision": "20230731",
"rootUrl": "https://tpu.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -1333,6 +1361,22 @@
},
"type": "object"
},
"MultiNodeParams": {
"description": "Parameters to specify for multi-node QueuedResource requests. This field must be populated in case of multi-node requests instead of node_id. It's an error to specify both node_id and multi_node_params.",
"id": "MultiNodeParams",
"properties": {
"nodeCount": {
"description": "Required. Number of nodes with this spec. The system will attempt to provison \"node_count\" nodes as part of the request. This needs to be \u003e 1.",
"format": "int32",
"type": "integer"
},
"nodeIdPrefix": {
"description": "Prefix of node_ids in case of multi-node request Should follow the `^[A-Za-z0-9_.~+%-]+$` regex format. If node_count = 3 and node_id_prefix = \"np\", node ids of nodes created will be \"np-0\", \"np-1\", \"np-2\". If this field is not provided we use queued_resource_id as the node_id_prefix.",
"type": "string"
}
},
"type": "object"
},
"NetworkConfig": {
"description": "Network related configurations.",
"id": "NetworkConfig",
Expand Down Expand Up @@ -1573,6 +1617,10 @@
"description": "Details of the TPU node(s) being requested. Users can request either a single node or multiple nodes. NodeSpec provides the specification for node(s) to be created.",
"id": "NodeSpec",
"properties": {
"multiNodeParams": {
"$ref": "MultiNodeParams",
"description": "Optional. Fields to specify in case of multi-node request."
},
"node": {
"$ref": "Node",
"description": "Required. The node."
Expand Down Expand Up @@ -1818,6 +1866,12 @@
},
"type": "object"
},
"ResetQueuedResourceRequest": {
"description": "Request for ResetQueuedResource.",
"id": "ResetQueuedResourceRequest",
"properties": {},
"type": "object"
},
"RuntimeVersion": {
"description": "A runtime version that a Node can be configured with.",
"id": "RuntimeVersion",
Expand Down

0 comments on commit 262aa70

Please sign in to comment.