Skip to content

Commit

Permalink
feat(compute): update the API
Browse files Browse the repository at this point in the history
#### compute:alpha
The following keys were added:
- resources.backendBuckets.methods.setEdgeSecurityPolicy.description
- resources.backendBuckets.methods.setEdgeSecurityPolicy.httpMethod
- resources.backendBuckets.methods.setEdgeSecurityPolicy.id
- resources.backendBuckets.methods.setEdgeSecurityPolicy.parameterOrder
- resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.backendBucket.description
- resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.backendBucket.location
- resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.backendBucket.required
- resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.backendBucket.type
- resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.project.description
- resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.project.location
- resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.project.pattern
- resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.project.required
- resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.project.type
- resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.requestId.description
- resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.requestId.location
- resources.backendBuckets.methods.setEdgeSecurityPolicy.parameters.requestId.type
- resources.backendBuckets.methods.setEdgeSecurityPolicy.path
- resources.backendBuckets.methods.setEdgeSecurityPolicy.request.$ref
- resources.backendBuckets.methods.setEdgeSecurityPolicy.response.$ref
- resources.backendBuckets.methods.setEdgeSecurityPolicy.scopes
- resources.backendServices.methods.setEdgeSecurityPolicy.description
- resources.backendServices.methods.setEdgeSecurityPolicy.httpMethod
- resources.backendServices.methods.setEdgeSecurityPolicy.id
- resources.backendServices.methods.setEdgeSecurityPolicy.parameterOrder
- resources.backendServices.methods.setEdgeSecurityPolicy.parameters.backendService.description
- resources.backendServices.methods.setEdgeSecurityPolicy.parameters.backendService.location
- resources.backendServices.methods.setEdgeSecurityPolicy.parameters.backendService.required
- resources.backendServices.methods.setEdgeSecurityPolicy.parameters.backendService.type
- resources.backendServices.methods.setEdgeSecurityPolicy.parameters.project.description
- resources.backendServices.methods.setEdgeSecurityPolicy.parameters.project.location
- resources.backendServices.methods.setEdgeSecurityPolicy.parameters.project.pattern
- resources.backendServices.methods.setEdgeSecurityPolicy.parameters.project.required
- resources.backendServices.methods.setEdgeSecurityPolicy.parameters.project.type
- resources.backendServices.methods.setEdgeSecurityPolicy.parameters.requestId.description
- resources.backendServices.methods.setEdgeSecurityPolicy.parameters.requestId.location
- resources.backendServices.methods.setEdgeSecurityPolicy.parameters.requestId.type
- resources.backendServices.methods.setEdgeSecurityPolicy.path
- resources.backendServices.methods.setEdgeSecurityPolicy.request.$ref
- resources.backendServices.methods.setEdgeSecurityPolicy.response.$ref
- resources.backendServices.methods.setEdgeSecurityPolicy.scopes
- schemas.AttachedDisk.properties.forceAttach.description
- schemas.AttachedDisk.properties.forceAttach.type
- schemas.BackendBucket.properties.edgeSecurityPolicy.description
- schemas.BackendBucket.properties.edgeSecurityPolicy.type
- schemas.BackendService.properties.edgeSecurityPolicy.description
- schemas.BackendService.properties.edgeSecurityPolicy.type
- schemas.InterconnectAttachment.properties.dataplaneVersion.description
- schemas.InterconnectAttachment.properties.dataplaneVersion.format
- schemas.InterconnectAttachment.properties.dataplaneVersion.type

The following keys were changed:
- schemas.LocationPolicy.description
- schemas.SecurityPolicy.properties.type.enum
- schemas.SecurityPolicy.properties.type.enumDescriptions
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Nov 4, 2020
1 parent 0107c86 commit 4ee66cf
Show file tree
Hide file tree
Showing 2 changed files with 531 additions and 4 deletions.
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
Loading

0 comments on commit 4ee66cf

Please sign in to comment.