Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(all): auto-regenerate discovery clients #1947

Merged
merged 1 commit into from
Apr 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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