Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1541)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored May 12, 2022
1 parent acc2992 commit d4bf66e
Show file tree
Hide file tree
Showing 32 changed files with 15,107 additions and 5,372 deletions.
1,693 changes: 1,673 additions & 20 deletions androidpublisher/v3/androidpublisher-api.json

Large diffs are not rendered by default.

14,126 changes: 9,433 additions & 4,693 deletions androidpublisher/v3/androidpublisher-gen.go

Large diffs are not rendered by default.

70 changes: 63 additions & 7 deletions compute/v0.alpha/compute-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -21451,6 +21451,55 @@
"https://www.googleapis.com/auth/compute"
]
},
"setSecurityPolicy": {
"description": "Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview",
"flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}/setSecurityPolicy",
"httpMethod": "POST",
"id": "compute.regionBackendServices.setSecurityPolicy",
"parameterOrder": [
"project",
"region",
"backendService"
],
"parameters": {
"backendService": {
"description": "Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035.",
"location": "path",
"required": true,
"type": "string"
},
"project": {
"description": "Project ID for this request.",
"location": "path",
"pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))",
"required": true,
"type": "string"
},
"region": {
"description": "Name of the region scoping this request.",
"location": "path",
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"required": true,
"type": "string"
},
"requestId": {
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).",
"location": "query",
"type": "string"
}
},
"path": "projects/{project}/regions/{region}/backendServices/{backendService}/setSecurityPolicy",
"request": {
"$ref": "SecurityPolicyReference"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute"
]
},
"testIamPermissions": {
"description": "Returns permissions that a caller has on the specified resource.",
"flatPath": "projects/{project}/regions/{region}/backendServices/{resource}/testIamPermissions",
Expand Down Expand Up @@ -38660,7 +38709,7 @@
}
}
},
"revision": "20220426",
"revision": "20220506",
"rootUrl": "https://compute.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -44852,11 +44901,13 @@
"description": "The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).",
"enum": [
"ANY",
"ANY_SINGLE_ZONE",
"BALANCED",
"EVEN"
],
"enumDescriptions": [
"The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability.",
"The group creates all VM instances within a single zone. The zone is selected based on the present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads with heavy interprocess communication.",
"The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads.",
"The group schedules VM instance creation and deletion to achieve and maintain an even number of managed instances across the selected zones. The distribution is even when the number of managed instances does not differ by more than 1 between any two zones. Recommended for highly available serving workloads."
],
Expand Down Expand Up @@ -46101,7 +46152,7 @@
"id": "ForwardingRule",
"properties": {
"IPAddress": {
"description": "IP address that this forwarding rule serves. When a client sends traffic to this IP address, the forwarding rule directs the traffic to the target that you specify in the forwarding rule. If you don't specify a reserved IP address, an ephemeral IP address is assigned. Methods for specifying an IP address: * IPv4 dotted decimal, as in `100.1.2.3` * Full URL, as in https://www.googleapis.com/compute/v1/projects/project_id/regions/region /addresses/address-name * Partial URL or by name, as in: - projects/project_id/regions/region/addresses/address-name - regions/region/addresses/address-name - global/addresses/address-name - address-name The loadBalancingScheme and the forwarding rule's target determine the type of IP address that you can use. For detailed information, see [IP address specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). Must be set to `0.0.0.0` when the target is targetGrpcProxy that has validateForProxyless field set to true. For Private Service Connect forwarding rules that forward traffic to Google APIs, IP address must be provided.",
"description": "IP address for which this forwarding rule accepts traffic. When a client sends traffic to this IP address, the forwarding rule directs the traffic to the referenced target or backendService. While creating a forwarding rule, specifying an IPAddress is required under the following circumstances: - When the target is set to targetGrpcProxy and validateForProxyless is set to true, the IPAddress should be set to 0.0.0.0. - When the target is a Private Service Connect Google APIs bundle, you must specify an IPAddress. Otherwise, you can optionally specify an IP address that references an existing static (reserved) IP address resource. When omitted, Google Cloud assigns an ephemeral IP address. Use one of the following formats to specify an IP address while creating a forwarding rule: * IP address number, as in `100.1.2.3` * Full resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/regions/region /addresses/address-name * Partial URL or by name, as in: - projects/project_id/regions/region/addresses/address-name - regions/region/addresses/address-name - global/addresses/address-name - address-name The forwarding rule's target or backendService, and in most cases, also the loadBalancingScheme, determine the type of IP address that you can use. For detailed information, see [IP address specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). When reading an IPAddress, the API always returns the IP address number.",
"type": "string"
},
"IPProtocol": {
Expand Down Expand Up @@ -48691,7 +48742,7 @@
"type": "string"
},
"hosts": {
"description": "The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of ([a-z0-9-.]*). In that case, * must be the first character and must be followed in the pattern by either - or .. * based matching is not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.",
"description": "The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of ([a-z0-9-.]*). In that case, * must be the first character, and if followed by anything, the immediate following character must be either - or .. * based matching is not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.",
"items": {
"type": "string"
},
Expand Down Expand Up @@ -49153,7 +49204,7 @@
},
"faultInjectionPolicy": {
"$ref": "HttpFaultInjection",
"description": "The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection."
"description": "The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the global external HTTP(S) load balancer (classic). To see which load balancers support fault injection, see Load balancing: Routing and traffic management features."
},
"maxStreamDuration": {
"$ref": "Duration",
Expand Down Expand Up @@ -51351,7 +51402,7 @@
"type": "integer"
},
"minimalAction": {
"description": "Minimal action to be taken on an instance. You can specify either RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a RESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.",
"description": "Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes. ",
"enum": [
"NONE",
"REFRESH",
Expand Down Expand Up @@ -66308,7 +66359,7 @@
"id": "ResourcePolicyGroupPlacementPolicy",
"properties": {
"availabilityDomainCount": {
"description": "The number of availability domains instances will be spread across. If two instances are in different availability domain, they will not be put in the same low latency network",
"description": "The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.",
"format": "int32",
"type": "integer"
},
Expand Down Expand Up @@ -66367,7 +66418,7 @@
"type": "string"
},
"vmCount": {
"description": "Number of vms in this placement group",
"description": "Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.",
"format": "int32",
"type": "integer"
}
Expand Down Expand Up @@ -70807,6 +70858,11 @@
"description": "Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value.",
"type": "string"
},
"creationSizeBytes": {
"description": "[Output Only] Size in bytes of the snapshot at creation time.",
"format": "int64",
"type": "string"
},
"creationTimestamp": {
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
"type": "string"
Expand Down
Loading

0 comments on commit d4bf66e

Please sign in to comment.