Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1586)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Jun 15, 2022
1 parent 18468ac commit 1263cc6
Show file tree
Hide file tree
Showing 20 changed files with 2,106 additions and 49 deletions.
10 changes: 9 additions & 1 deletion apigee/v1/apigee-api.json
Expand Up @@ -7986,7 +7986,7 @@
}
}
},
"revision": "20220602",
"revision": "20220609",
"rootUrl": "https://apigee.googleapis.com/",
"schemas": {
"EdgeConfigstoreBundleBadBundle": {
Expand Down Expand Up @@ -10156,6 +10156,10 @@
"description": "Optional. Display name for this environment.",
"type": "string"
},
"forwardProxyUri": {
"description": "Optional. Url of the forward proxy to be applied to the runtime instances in this environment. Must be in the format of {scheme}://{hostname}:{port}. Note that scheme must be one of \"http\" or \"https\", and port must be supplied.",
"type": "string"
},
"lastModifiedAt": {
"description": "Output only. Last modification time of this environment as milliseconds since epoch.",
"format": "int64",
Expand Down Expand Up @@ -10236,6 +10240,10 @@
},
"type": "array"
},
"forwardProxyUri": {
"description": "The forward proxy's url to be used by the runtime. When set, runtime will send requests to the target via the given forward proxy. This is only used by programmable gateways.",
"type": "string"
},
"gatewayConfigLocation": {
"description": "The location for the gateway config blob as a URI, e.g. a Cloud Storage URI. This is only used by Envoy-based gateways.",
"type": "string"
Expand Down
11 changes: 11 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.

57 changes: 56 additions & 1 deletion assuredworkloads/v1/assuredworkloads-api.json
Expand Up @@ -343,6 +343,34 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"restrictAllowedResources": {
"description": "Restrict the list of resources allowed in the Workload environment. The current list of allowed products can be found at https://cloud.google.com/assured-workloads/docs/supported-products In addition to assuredworkloads.workload.update permission, the user should also have orgpolicy.policy.set permission on the folder resource to use this functionality.",
"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}:restrictAllowedResources",
"httpMethod": "POST",
"id": "assuredworkloads.organizations.locations.workloads.restrictAllowedResources",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The resource name of the Workload. This is the workloads's relative path in the API, formatted as \"organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}\". For example, \"organizations/123/locations/us-east1/workloads/assured-workload-1\".",
"location": "path",
"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:restrictAllowedResources",
"request": {
"$ref": "GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest"
},
"response": {
"$ref": "GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
Expand All @@ -351,7 +379,7 @@
}
}
},
"revision": "20220603",
"revision": "20220609",
"rootUrl": "https://assuredworkloads.googleapis.com/",
"schemas": {
"GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata": {
Expand Down Expand Up @@ -422,6 +450,33 @@
},
"type": "object"
},
"GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest": {
"description": "Request for restricting list of available resources in Workload environment.",
"id": "GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesRequest",
"properties": {
"restrictionType": {
"description": "Required. The type of restriction for using gcp products in the Workload environment.",
"enum": [
"RESTRICTION_TYPE_UNSPECIFIED",
"ALLOW_ALL_GCP_RESOURCES",
"ALLOW_COMPLIANT_RESOURCES"
],
"enumDescriptions": [
"Unknown restriction type.",
"Allow the use all of all gcp products, irrespective of the compliance posture. This effectively removes gcp.restrictServiceUsage OrgPolicy on the AssuredWorkloads Folder.",
"Based on Workload's compliance regime, allowed list changes. See - https://cloud.google.com/assured-workloads/docs/supported-products for the list of supported resources."
],
"type": "string"
}
},
"type": "object"
},
"GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponse": {
"description": "Response for restricting the list of allowed resources.",
"id": "GoogleCloudAssuredworkloadsV1RestrictAllowedResourcesResponse",
"properties": {},
"type": "object"
},
"GoogleCloudAssuredworkloadsV1Workload": {
"description": "An Workload object for managing highly regulated workloads of cloud customers.",
"id": "GoogleCloudAssuredworkloadsV1Workload",
Expand Down
204 changes: 204 additions & 0 deletions assuredworkloads/v1/assuredworkloads-gen.go

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

0 comments on commit 1263cc6

Please sign in to comment.