Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1982)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed May 18, 2023
1 parent d27f40f commit f31b763
Show file tree
Hide file tree
Showing 24 changed files with 3,352 additions and 513 deletions.
36 changes: 18 additions & 18 deletions assuredworkloads/v1/assuredworkloads-api.json
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.",
"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.",
"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 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\".",
"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\".",
"location": "path",
"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$",
"required": true,
Expand Down Expand Up @@ -519,7 +519,7 @@
}
}
},
"revision": "20230420",
"revision": "20230512",
"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 Regions",
"Assured Workloads for Partners;",
"Assured Workloads for Israel",
"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 of updating permission settings for a partner workload.",
"description": "Request for 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 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 compliant resources. Effective org-policy of the Folder is considered to ensure there is no disruption to the existing customer workflows."
],
"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 Regions",
"Assured Workloads for Partners;",
"Assured Workloads for Israel",
"Assured Workloads for Israel Regions",
"Assured Workloads for Canada Protected B regime"
],
Expand Down Expand Up @@ -1018,6 +1018,10 @@
],
"type": "string"
},
"partnerPermissions": {
"$ref": "GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions",
"description": "Optional. Permissions granted to the AW Partner SA account for the customer workload"
},
"provisionedResourcesParent": {
"description": "Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}",
"type": "string"
Expand All @@ -1043,7 +1047,7 @@
"readOnly": true
},
"violationNotificationsEnabled": {
"description": "Optional. Indicates whether the e-mail notification for a violation is enabled for a workload. This value will be by default True, and if not present will be considered as true. This should only be updated via updateWorkload call. Any Changes to this field during the createWorkload call will not be honored.",
"description": "Optional. Indicates whether the e-mail notification for a violation is enabled for a workload. This value will be by default True, and if not present will be considered as true. This should only be updated via updateWorkload call. Any Changes to this field during the createWorkload call will not be honored. This will always be true while creating the workload.",
"type": "boolean"
}
},
Expand Down Expand Up @@ -1126,7 +1130,7 @@
"type": "object"
},
"GoogleCloudAssuredworkloadsV1WorkloadKMSSettings": {
"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.",
"description": "Settings specific to the Key Management Service.",
"id": "GoogleCloudAssuredworkloadsV1WorkloadKMSSettings",
"properties": {
"nextRotationTime": {
Expand All @@ -1153,10 +1157,6 @@
"remediateFolderViolations": {
"description": "Allow partner to monitor folder and remediate violations",
"type": "boolean"
},
"serviceAccessApprover": {
"description": "Allow partner to approve or reject Service Access requests",
"type": "boolean"
}
},
"type": "object"
Expand All @@ -1181,7 +1181,7 @@
],
"enumDescriptions": [
"Unknown resource type.",
"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.",
"Deprecated. Existing workloads will continue to support this, but new CreateWorkloadRequests should not specify this as an input value.",
"Consumer Folder.",
"Consumer project containing encryption keys.",
"Keyring resource that hosts encryption keys."
Expand All @@ -1204,7 +1204,7 @@
"type": "string"
},
"resourceType": {
"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)",
"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)",
"enum": [
"RESOURCE_TYPE_UNSPECIFIED",
"CONSUMER_PROJECT",
Expand All @@ -1214,7 +1214,7 @@
],
"enumDescriptions": [
"Unknown resource type.",
"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.",
"Deprecated. Existing workloads will continue to support this, but new CreateWorkloadRequests should not specify this as an input value.",
"Consumer Folder.",
"Consumer project containing encryption keys.",
"Keyring resource that hosts encryption keys."
Expand Down
57 changes: 28 additions & 29 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 f31b763

Please sign in to comment.