Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1947)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Apr 14, 2023
1 parent e8b93cb commit a0dacd5
Show file tree
Hide file tree
Showing 38 changed files with 1,099 additions and 326 deletions.
50 changes: 33 additions & 17 deletions assuredworkloads/v1/assuredworkloads-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
]
},
"delete": {
"description": "Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error. In addition to assuredworkloads.workload.delete permission, the user should also have orgpolicy.policy.set permission on the deleted folder to remove Assured Workloads OrgPolicies.",
"description": "Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error.",
"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}",
"httpMethod": "DELETE",
"id": "assuredworkloads.organizations.locations.workloads.delete",
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 @@ -519,7 +519,7 @@
}
}
},
"revision": "20230331",
"revision": "20230406",
"rootUrl": "https://assuredworkloads.googleapis.com/",
"schemas": {
"GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": {
Expand Down Expand Up @@ -580,8 +580,8 @@
"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;",
"Assured Workloads for Israel",
"Assured Workloads for Partners",
"Assured Workloads for Israel Regions",
"Assured Workloads for Israel Regions",
"Assured Workloads for Canada Protected B regime"
],
Expand Down Expand Up @@ -640,7 +640,7 @@
"type": "object"
},
"GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest": {
"description": "Request for updating permission settings for a partner workload.",
"description": "Request of updating permission settings for a partner workload.",
"id": "GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest",
"properties": {
"etag": {
Expand Down Expand Up @@ -675,7 +675,7 @@
"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.",
"Similar to ALLOW_COMPLIANT_RESOURCES but adds the list of compliant resources to the existing list of compliant resources. Effective org-policy of the Folder is considered to ensure there is no disruption to the existing customer workflows."
"Similar to ALLOW_COMPLIANT_RESOURCES but adds the list of compliant resources to the existing list of resources. Effective org-policy of the Folder is considered to ensure there is no disruption to the existing customer workflows."
],
"type": "string"
}
Expand All @@ -697,7 +697,7 @@
"type": "boolean"
},
"acknowledgementTime": {
"description": "Optional. Timestamp when this violation was acknowledged last. This will be absent when acknowledged field is marked as false.",
"description": "Optional. Timestamp when this violation was acknowledged first. Check exception_contexts to find the last time the violation was acknowledged when there are more than one violations. This field will be absent when acknowledged field is marked as false.",
"format": "google-datetime",
"type": "string"
},
Expand Down Expand Up @@ -928,8 +928,8 @@
"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;",
"Assured Workloads for Israel",
"Assured Workloads for Partners",
"Assured Workloads for Israel Regions",
"Assured Workloads for Israel Regions",
"Assured Workloads for Canada Protected B regime"
],
Expand Down Expand Up @@ -1005,12 +1005,16 @@
"enum": [
"PARTNER_UNSPECIFIED",
"LOCAL_CONTROLS_BY_S3NS",
"SOVEREIGN_CONTROLS_BY_T_SYSTEMS"
"SOVEREIGN_CONTROLS_BY_T_SYSTEMS",
"SOVEREIGN_CONTROLS_BY_SIA_MINSAIT",
"SOVEREIGN_CONTROLS_BY_PSN"
],
"enumDescriptions": [
"",
"Enum representing S3NS (Thales) partner.",
"Enum representing T_SYSTEM (TSI) partner."
"Enum representing T_SYSTEM (TSI) partner.",
"Enum representing SIA_MINSAIT (Indra) partner.",
"Enum representing PSN (TIM) partner."
],
"type": "string"
},
Expand Down Expand Up @@ -1082,8 +1086,20 @@
],
"type": "string"
},
"ekmProvisioningErrorMessage": {
"ekmProvisioningErrorMapping": {
"description": "Detailed error message if Ekm provisioning fails",
"enum": [
"EKM_PROVISIONING_ERROR_MAPPING_UNSPECIFIED",
"INVALID_SERVICE_ACCOUNT",
"MISSING_METRICS_SCOPE_ADMIN_PERMISSION",
"MISSING_EKM_CONNECTION_ADMIN_PERMISSION"
],
"enumDescriptions": [
"Error is unspecified.",
"Service account is used is invalid.",
"Iam permission monitoring.MetricsScopeAdmin wasn't applied.",
"Iam permission cloudkms.ekmConnectionsAdmin wasn't applied."
],
"type": "string"
},
"ekmProvisioningState": {
Expand All @@ -1106,7 +1122,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 @@ -1161,7 +1177,7 @@
],
"enumDescriptions": [
"Unknown resource type.",
"Deprecated. Existing workloads will continue to support this, but new CreateWorkloadRequests should not specify this as an input value.",
"Consumer project. AssuredWorkloads Projects are no longer supported. This field will be ignored only in CreateWorkload requests. ListWorkloads and GetWorkload will continue to provide projects information. Use CONSUMER_FOLDER instead.",
"Consumer Folder.",
"Consumer project containing encryption keys.",
"Keyring resource that hosts encryption keys."
Expand All @@ -1184,7 +1200,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 All @@ -1194,7 +1210,7 @@
],
"enumDescriptions": [
"Unknown resource type.",
"Deprecated. Existing workloads will continue to support this, but new CreateWorkloadRequests should not specify this as an input value.",
"Consumer project. AssuredWorkloads Projects are no longer supported. This field will be ignored only in CreateWorkload requests. ListWorkloads and GetWorkload will continue to provide projects information. Use CONSUMER_FOLDER instead.",
"Consumer Folder.",
"Consumer project containing encryption keys.",
"Keyring resource that hosts encryption keys."
Expand Down
67 changes: 41 additions & 26 deletions assuredworkloads/v1/assuredworkloads-gen.go

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

Loading

0 comments on commit a0dacd5

Please sign in to comment.