Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1718)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Oct 19, 2022
1 parent d530a93 commit 453b81a
Show file tree
Hide file tree
Showing 21 changed files with 3,998 additions and 707 deletions.
4 changes: 2 additions & 2 deletions api-list.json
Expand Up @@ -568,7 +568,7 @@
"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",
"documentationLink": "https://cloud.google.com/learnmoreurl",
"preferred": false
},
{
Expand All @@ -583,7 +583,7 @@
"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",
"documentationLink": "https://cloud.google.com/learnmoreurl",
"preferred": true
},
{
Expand Down
28 changes: 18 additions & 10 deletions assuredworkloads/v1/assuredworkloads-api.json
Expand Up @@ -14,7 +14,7 @@
"canonicalName": "Assuredworkloads",
"description": "",
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com",
"documentationLink": "https://cloud.google.com/learnmoreurl",
"fullyEncodeReservedExpansion": true,
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
Expand Down Expand Up @@ -254,7 +254,7 @@
],
"parameters": {
"name": {
"description": "Required. The resource name of the Workload to fetch. 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\".",
"description": "Required. The resource name of the Workload to fetch. This is the workload'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,
Expand Down Expand Up @@ -491,7 +491,7 @@
}
}
},
"revision": "20221007",
"revision": "20221014",
"rootUrl": "https://assuredworkloads.googleapis.com/",
"schemas": {
"GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": {
Expand All @@ -501,6 +501,10 @@
"comment": {
"description": "Required. Business justification explaining the need for violation acknowledgement",
"type": "string"
},
"nonCompliantOrgPolicy": {
"description": "Optional. This field is deprecated and will be removed in future version of the API. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -529,6 +533,7 @@
"EU_REGIONS_AND_SUPPORT",
"CA_REGIONS_AND_SUPPORT",
"ITAR",
"AU_REGIONS_AND_US_SUPPORT",
"ASSURED_WORKLOADS_FOR_PARTNERS"
],
"enumDescriptions": [
Expand All @@ -543,7 +548,8 @@
"Assured Workloads For EU Regions and Support controls",
"Assured Workloads For Canada Regions and Support controls",
"International Traffic in Arms Regulations",
"Assured Workloads for Partners;"
"Assured Workloads for Australia Regions and Support controls Available for public preview consumption. Don't create production workloads.",
"Assured Workloads for Partners"
],
"type": "string"
},
Expand Down Expand Up @@ -826,7 +832,7 @@
"type": "object"
},
"GoogleCloudAssuredworkloadsV1Workload": {
"description": "An Workload object for managing highly regulated workloads of cloud customers.",
"description": "A Workload object for managing highly regulated workloads of cloud customers.",
"id": "GoogleCloudAssuredworkloadsV1Workload",
"properties": {
"billingAccount": {
Expand All @@ -847,6 +853,7 @@
"EU_REGIONS_AND_SUPPORT",
"CA_REGIONS_AND_SUPPORT",
"ITAR",
"AU_REGIONS_AND_US_SUPPORT",
"ASSURED_WORKLOADS_FOR_PARTNERS"
],
"enumDescriptions": [
Expand All @@ -861,7 +868,8 @@
"Assured Workloads For EU Regions and Support controls",
"Assured Workloads For Canada Regions and Support controls",
"International Traffic in Arms Regulations",
"Assured Workloads for Partners;"
"Assured Workloads for Australia Regions and Support controls Available for public preview consumption. Don't create production workloads.",
"Assured Workloads for Partners"
],
"type": "string"
},
Expand Down Expand Up @@ -928,8 +936,8 @@
"LOCAL_CONTROLS_BY_S3NS"
],
"enumDescriptions": [
"Unknown compliance regime.",
"S3NS regime"
"Unknown partner regime/controls.",
"S3NS regime/controls."
],
"type": "string"
},
Expand Down Expand Up @@ -961,7 +969,7 @@
"type": "object"
},
"GoogleCloudAssuredworkloadsV1WorkloadKMSSettings": {
"description": "Settings specific to the Key Management Service.",
"description": "Settings specific to the Key Management Service. This message is deprecated. In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.",
"id": "GoogleCloudAssuredworkloadsV1WorkloadKMSSettings",
"properties": {
"nextRotationTime": {
Expand Down Expand Up @@ -1020,7 +1028,7 @@
"type": "string"
},
"resourceType": {
"description": "Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)",
"description": "Indicates the type of resource. This field should be specified to correspond the id to the right resource type (CONSUMER_FOLDER or ENCRYPTION_KEYS_PROJECT)",
"enum": [
"RESOURCE_TYPE_UNSPECIFIED",
"CONSUMER_PROJECT",
Expand Down
40 changes: 28 additions & 12 deletions assuredworkloads/v1/assuredworkloads-gen.go

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

16 changes: 11 additions & 5 deletions assuredworkloads/v1beta1/assuredworkloads-api.json
Expand Up @@ -14,7 +14,7 @@
"canonicalName": "Assuredworkloads",
"description": "",
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com",
"documentationLink": "https://cloud.google.com/learnmoreurl",
"fullyEncodeReservedExpansion": true,
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
Expand Down Expand Up @@ -595,7 +595,7 @@
}
}
},
"revision": "20221007",
"revision": "20221014",
"rootUrl": "https://assuredworkloads.googleapis.com/",
"schemas": {
"GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest": {
Expand All @@ -605,6 +605,10 @@
"comment": {
"description": "Required. Business justification explaining the need for violation acknowledgement",
"type": "string"
},
"nonCompliantOrgPolicy": {
"description": "Optional. This field is deprecated and will be removed in future version of the API. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -892,7 +896,7 @@
"type": "object"
},
"GoogleCloudAssuredworkloadsV1beta1Workload": {
"description": "An Workload object for managing highly regulated workloads of cloud customers.",
"description": "A Workload object for managing highly regulated workloads of cloud customers.",
"id": "GoogleCloudAssuredworkloadsV1beta1Workload",
"properties": {
"billingAccount": {
Expand All @@ -917,6 +921,7 @@
"EU_REGIONS_AND_SUPPORT",
"CA_REGIONS_AND_SUPPORT",
"ITAR",
"AU_REGIONS_AND_US_SUPPORT",
"ASSURED_WORKLOADS_FOR_PARTNERS"
],
"enumDescriptions": [
Expand All @@ -931,6 +936,7 @@
"Assured Workloads For EU Regions and Support controls",
"Assured Workloads For Canada Regions and Support controls",
"International Traffic in Arms Regulations",
"Assured Workloads for Australia Regions and Support controls Available for public preview consumption. Don't create production workloads.",
"Assured Workloads for Partners;"
],
"type": "string"
Expand Down Expand Up @@ -1015,8 +1021,8 @@
"LOCAL_CONTROLS_BY_S3NS"
],
"enumDescriptions": [
"Unknown compliance regime.",
"S3NS regime"
"Unknown partner regime/controls.",
"S3NS regime/controls."
],
"type": "string"
},
Expand Down
19 changes: 15 additions & 4 deletions assuredworkloads/v1beta1/assuredworkloads-gen.go

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

0 comments on commit 453b81a

Please sign in to comment.