Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: run the generator #2424

Merged
merged 19 commits into from
Nov 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions discovery/admin-datatransfer_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
}
},
"basePath": "",
"baseUrl": "https://www.googleapis.com/",
"batchPath": "batch/admin/datatransfer_v1",
"baseUrl": "https://admin.googleapis.com/",
"batchPath": "batch",
"canonicalName": "DataTransfer",
"description": "Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.",
"discoveryVersion": "v1",
Expand All @@ -25,7 +25,7 @@
},
"id": "admin:datatransfer_v1",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://www.mtls.googleapis.com/",
"mtlsRootUrl": "https://admin.mtls.googleapis.com/",
"name": "admin",
"ownerDomain": "google.com",
"ownerName": "Google",
Expand Down Expand Up @@ -272,8 +272,8 @@
}
}
},
"revision": "20200819",
"rootUrl": "https://www.googleapis.com/",
"revision": "20201031",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Application": {
"description": "The JSON template for an Application resource. STEPLADDER: Generated unstable field number for field 'kind'. (See http://go/stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for field 'etag'. (See http://go/stepladder-help#fieldNumber)",
Expand Down
12 changes: 6 additions & 6 deletions discovery/admin-directory_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@
}
},
"basePath": "",
"baseUrl": "https://www.googleapis.com/",
"batchPath": "batch/admin/directory_v1",
"baseUrl": "https://admin.googleapis.com/",
"batchPath": "batch",
"canonicalName": "directory",
"description": "Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.",
"discoveryVersion": "v1",
Expand All @@ -100,7 +100,7 @@
},
"id": "admin:directory_v1",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://www.mtls.googleapis.com/",
"mtlsRootUrl": "https://admin.mtls.googleapis.com/",
"name": "admin",
"ownerDomain": "google.com",
"ownerName": "Google",
Expand Down Expand Up @@ -4139,8 +4139,8 @@
}
}
},
"revision": "20201020",
"rootUrl": "https://www.googleapis.com/",
"revision": "20201103",
"rootUrl": "https://admin.googleapis.com/",
"schemas": {
"Alias": {
"description": "JSON template for Alias object in Directory API.",
Expand Down Expand Up @@ -6921,7 +6921,7 @@
"type": "object"
},
"UserPosixAccount": {
"description": "JSON template for a POSIX account entry. Description of the field family: go/fbs-posix.",
"description": "JSON template for a POSIX account entry.",
"id": "UserPosixAccount",
"properties": {
"accountId": {
Expand Down
7 changes: 5 additions & 2 deletions discovery/apigateway-v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@
}
}
},
"revision": "20200924",
"revision": "20201029",
"rootUrl": "https://apigateway.googleapis.com/",
"schemas": {
"ApigatewayApi": {
Expand Down Expand Up @@ -1147,7 +1147,7 @@
"type": "object"
},
"ApigatewayApiConfig": {
"description": "An API Configuration is an association of an API Controller Config and a Gateway Config. For APIs with a Managed Service API Controller, this resource is associated with one or more Service Configs and a Service Rollout. Initially, this resource will extract the Gateway Config from the API Controller Config.",
"description": "An API Configuration is a combination of settings for both the Managed Service and Gateways serving this API Config.",
"id": "ApigatewayApiConfig",
"properties": {
"createTime": {
Expand Down Expand Up @@ -1342,6 +1342,9 @@
"description": "Associates `members` with a `role`.",
"id": "ApigatewayBinding",
"properties": {
"bindingId": {
"type": "string"
},
"condition": {
"$ref": "ApigatewayExpr",
"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
Expand Down
3 changes: 1 addition & 2 deletions discovery/binaryauthorization-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@
}
}
},
"revision": "20201016",
"revision": "20201030",
"rootUrl": "https://binaryauthorization.googleapis.com/",
"schemas": {
"AdmissionRule": {
Expand Down Expand Up @@ -659,7 +659,6 @@
"id": "Binding",
"properties": {
"bindingId": {
"description": "A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API.",
"type": "string"
},
"condition": {
Expand Down
4 changes: 2 additions & 2 deletions discovery/chat-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@
}
}
},
"revision": "20201019",
"revision": "20201028",
"rootUrl": "https://chat.googleapis.com/",
"schemas": {
"ActionParameter": {
Expand Down Expand Up @@ -1247,7 +1247,7 @@
"type": "string"
},
"isAnonymous": {
"description": "Set to true if none of the depending services (Gaia, PeopleApi) returns any info for this user.",
"description": "True when the user is deleted or the user's proifle is not visible.",
"type": "boolean"
},
"name": {
Expand Down
3 changes: 1 addition & 2 deletions discovery/cloudiot-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@
}
}
},
"revision": "20200922",
"revision": "20201027",
"rootUrl": "https://cloudiot.googleapis.com/",
"schemas": {
"BindDeviceToGatewayRequest": {
Expand Down Expand Up @@ -967,7 +967,6 @@
"id": "Binding",
"properties": {
"bindingId": {
"description": "A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API.",
"type": "string"
},
"condition": {
Expand Down
105 changes: 102 additions & 3 deletions discovery/compute-alpha.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"description": "Creates and runs virtual machines on Google Cloud Platform.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/compute/docs/reference/latest/",
"etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/-j-4kEaw-IymDYPchM3d5GvWF38\"",
"etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/axYSpezpsrRN9uJAkuL9_ckfG58\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/compute_engine-16.png",
"x32": "https://www.google.com/images/icons/product/compute_engine-32.png"
Expand Down Expand Up @@ -1320,6 +1320,46 @@
"https://www.googleapis.com/auth/compute"
]
},
"setEdgeSecurityPolicy": {
"description": "Sets the edge security policy for the specified backend bucket.",
"httpMethod": "POST",
"id": "compute.backendBuckets.setEdgeSecurityPolicy",
"parameterOrder": [
"project",
"backendBucket"
],
"parameters": {
"backendBucket": {
"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"
},
"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.\n\nFor 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.\n\nThe 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}/global/backendBuckets/{backendBucket}/setEdgeSecurityPolicy",
"request": {
"$ref": "SecurityPolicyReference"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute"
]
},
"setIamPolicy": {
"description": "Sets the access control policy on the specified resource. Replaces any existing policy.",
"httpMethod": "POST",
Expand Down Expand Up @@ -1817,6 +1857,46 @@
"https://www.googleapis.com/auth/compute"
]
},
"setEdgeSecurityPolicy": {
"description": "Sets the edge security policy for the specified backend service.",
"httpMethod": "POST",
"id": "compute.backendServices.setEdgeSecurityPolicy",
"parameterOrder": [
"project",
"backendService"
],
"parameters": {
"backendService": {
"description": "Name of the BackendService resource to which the edge 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"
},
"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.\n\nFor 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.\n\nThe 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}/global/backendServices/{backendService}/setEdgeSecurityPolicy",
"request": {
"$ref": "SecurityPolicyReference"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/compute"
]
},
"setSecurityPolicy": {
"description": "Sets the security policy for the specified backend service.",
"httpMethod": "POST",
Expand Down Expand Up @@ -33350,7 +33430,7 @@
}
}
},
"revision": "20201007",
"revision": "20201019",
"rootUrl": "https://compute.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -34481,6 +34561,10 @@
"format": "int64",
"type": "string"
},
"forceAttach": {
"description": "[Input Only] Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error.",
"type": "boolean"
},
"guestOsFeatures": {
"description": "A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.",
"items": {
Expand Down Expand Up @@ -35600,6 +35684,10 @@
"description": "An optional textual description of the resource; provided by the client when the resource is created.",
"type": "string"
},
"edgeSecurityPolicy": {
"description": "[Output Only] The resource URL for the edge security policy associated with this backend bucket.",
"type": "string"
},
"enableCdn": {
"description": "If true, enable Cloud CDN for this BackendBucket.",
"type": "boolean"
Expand Down Expand Up @@ -35904,6 +35992,10 @@
"description": "An optional description of this resource. Provide this property when you create the resource.",
"type": "string"
},
"edgeSecurityPolicy": {
"description": "[Output Only] The resource URL for the edge security policy associated with this backend service.",
"type": "string"
},
"enableCDN": {
"description": "If true, enables Cloud CDN for the backend service. Only applicable if the loadBalancingScheme is EXTERNAL and the protocol is HTTP or HTTPS.",
"type": "boolean"
Expand Down Expand Up @@ -46678,6 +46770,11 @@
"description": "[Output Only] IPv4 address + prefix length to be configured on the customer router subinterface for this interconnect attachment.",
"type": "string"
},
"dataplaneVersion": {
"description": "[Output Only] Dataplane version for this InterconnectAttachment.",
"format": "int32",
"type": "integer"
},
"description": {
"description": "An optional description of this resource.",
"type": "string"
Expand Down Expand Up @@ -48473,7 +48570,7 @@
"type": "object"
},
"LocationPolicy": {
"description": "Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region). Note that this message has a copy in logs/proto/bigcluster/bulk_apis.proto.",
"description": "Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region).",
"id": "LocationPolicy",
"properties": {
"locations": {
Expand Down Expand Up @@ -59834,9 +59931,11 @@
"description": "The type indicates the intended use of the security policy. CLOUD_ARMOR policies apply to backend services. FIREWALL policies apply to organizations.",
"enum": [
"CLOUD_ARMOR",
"CLOUD_ARMOR_EDGE",
"FIREWALL"
],
"enumDescriptions": [
"",
"",
""
],
Expand Down
3 changes: 1 addition & 2 deletions discovery/containeranalysis-v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@
}
}
},
"revision": "20200925",
"revision": "20201030",
"rootUrl": "https://containeranalysis.googleapis.com/",
"schemas": {
"Artifact": {
Expand Down Expand Up @@ -1297,7 +1297,6 @@
"id": "Binding",
"properties": {
"bindingId": {
"description": "A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API.",
"type": "string"
},
"condition": {
Expand Down
3 changes: 1 addition & 2 deletions discovery/containeranalysis-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@
}
}
},
"revision": "20200925",
"revision": "20201030",
"rootUrl": "https://containeranalysis.googleapis.com/",
"schemas": {
"AliasContext": {
Expand Down Expand Up @@ -1029,7 +1029,6 @@
"id": "Binding",
"properties": {
"bindingId": {
"description": "A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API.",
"type": "string"
},
"condition": {
Expand Down
Loading