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 #1469

Merged
merged 1 commit into from Mar 8, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
140 changes: 137 additions & 3 deletions accessapproval/v1/accessapproval-api.json
Expand Up @@ -157,6 +157,31 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getServiceAccount": {
"description": "Retrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests.",
"flatPath": "v1/folders/{foldersId}/serviceAccount",
"httpMethod": "GET",
"id": "accessapproval.folders.getServiceAccount",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Name of the AccessApprovalServiceAccount to retrieve.",
"location": "path",
"pattern": "^folders/[^/]+/serviceAccount$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "AccessApprovalServiceAccount"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"updateAccessApprovalSettings": {
"description": "Updates the settings associated with a project, folder, or organization. Settings to update are determined by the value of field_mask.",
"flatPath": "v1/folders/{foldersId}/accessApprovalSettings",
Expand Down Expand Up @@ -373,6 +398,31 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getServiceAccount": {
"description": "Retrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests.",
"flatPath": "v1/organizations/{organizationsId}/serviceAccount",
"httpMethod": "GET",
"id": "accessapproval.organizations.getServiceAccount",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Name of the AccessApprovalServiceAccount to retrieve.",
"location": "path",
"pattern": "^organizations/[^/]+/serviceAccount$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "AccessApprovalServiceAccount"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"updateAccessApprovalSettings": {
"description": "Updates the settings associated with a project, folder, or organization. Settings to update are determined by the value of field_mask.",
"flatPath": "v1/organizations/{organizationsId}/accessApprovalSettings",
Expand Down Expand Up @@ -589,6 +639,31 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getServiceAccount": {
"description": "Retrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests.",
"flatPath": "v1/projects/{projectsId}/serviceAccount",
"httpMethod": "GET",
"id": "accessapproval.projects.getServiceAccount",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Name of the AccessApprovalServiceAccount to retrieve.",
"location": "path",
"pattern": "^projects/[^/]+/serviceAccount$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}",
"response": {
"$ref": "AccessApprovalServiceAccount"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"updateAccessApprovalSettings": {
"description": "Updates the settings associated with a project, folder, or organization. Settings to update are determined by the value of field_mask.",
"flatPath": "v1/projects/{projectsId}/accessApprovalSettings",
Expand Down Expand Up @@ -754,13 +829,37 @@
}
}
},
"revision": "20220212",
"revision": "20220304",
"rootUrl": "https://accessapproval.googleapis.com/",
"schemas": {
"AccessApprovalServiceAccount": {
"description": "Access Approval service account related to a project/folder/organization.",
"id": "AccessApprovalServiceAccount",
"properties": {
"accountEmail": {
"description": "Email address of the service account.",
"type": "string"
},
"name": {
"description": "The resource name of the Access Approval service account. Format is one of: * \"projects/{project}/serviceAccount\" * \"folders/{folder}/serviceAccount\" * \"organizations/{organization}/serviceAccount\"",
"type": "string"
}
},
"type": "object"
},
"AccessApprovalSettings": {
"description": "Settings on a Project/Folder/Organization related to Access Approval.",
"id": "AccessApprovalSettings",
"properties": {
"activeKeyVersion": {
"description": "The asymmetric crypto key version to use for signing approval requests. Empty active_key_version indicates that a Google-managed key should be used for signing. This property will be ignored if set by an ancestor of this resource, and new non-empty values may not be set.",
"type": "string"
},
"ancestorHasActiveKeyVersion": {
"description": "Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that an ancestor of this Project or Folder has set active_key_version (this field will always be unset for the organization since organizations do not have ancestors).",
"readOnly": true,
"type": "boolean"
},
"enrolledAncestor": {
"description": "Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that at least one service is enrolled for Access Approval in one or more ancestors of the Project or Folder (this field will always be unset for the organization since organizations do not have ancestors).",
"readOnly": true,
Expand All @@ -773,6 +872,11 @@
},
"type": "array"
},
"invalidKeyVersion": {
"description": "Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that there is some configuration issue with the active_key_version configured at this level in the resource hierarchy (e.g. it doesn't exist or the Access Approval service account doesn't have the correct permissions on it, etc.) This key version is not necessarily the effective key version at this level, as key versions are inherited top-down.",
"readOnly": true,
"type": "boolean"
},
"name": {
"description": "The resource name of the settings. Format is one of: * \"projects/{project}/accessApprovalSettings\" * \"folders/{folder}/accessApprovalSettings\" * \"organizations/{organization}/accessApprovalSettings\"",
"type": "string"
Expand Down Expand Up @@ -815,13 +919,15 @@
"TYPE_UNSPECIFIED",
"CUSTOMER_INITIATED_SUPPORT",
"GOOGLE_INITIATED_SERVICE",
"GOOGLE_INITIATED_REVIEW"
"GOOGLE_INITIATED_REVIEW",
"THIRD_PARTY_DATA_REQUEST"
],
"enumDescriptions": [
"Default value for proto, shouldn't be used.",
"Customer made a request or raised an issue that required the principal to access customer data. `detail` is of the form (\"#####\" is the issue ID): * \"Feedback Report: #####\" * \"Case Number: #####\" * \"Case ID: #####\" * \"E-PIN Reference: #####\" * \"Google-#####\" * \"T-#####\"",
"The principal accessed customer data in order to diagnose or resolve a suspected issue in services or a known outage. Often this access is used to confirm that customers are not affected by a suspected service issue or to remediate a reversible system issue.",
"Google initiated service for security, fraud, abuse, or compliance purposes."
"Google initiated service for security, fraud, abuse, or compliance purposes.",
"The principal was compelled to access customer data in order to respond to a legal third party data request or process, including legal processes from customers themselves."
],
"type": "string"
}
Expand Down Expand Up @@ -894,10 +1000,18 @@
"format": "google-datetime",
"type": "string"
},
"autoApproved": {
"description": "True when the request has been auto-approved.",
"type": "boolean"
},
"expireTime": {
"description": "The time at which the approval expires.",
"format": "google-datetime",
"type": "string"
},
"signatureInfo": {
"$ref": "SignatureInfo",
"description": "The signature for the ApprovalRequest and details on how it was signed."
}
},
"type": "object"
Expand Down Expand Up @@ -981,6 +1095,26 @@
}
},
"type": "object"
},
"SignatureInfo": {
"description": "Information about the digital signature of the resource.",
"id": "SignatureInfo",
"properties": {
"customerKmsKeyVersion": {
"description": "The resource name of the customer CryptoKeyVersion used for signing.",
"type": "string"
},
"googlePublicKeyPem": {
"description": "The public key for the Google default signing, encoded in PEM format. The signature was created using a private key which may be verified using this public key.",
"type": "string"
},
"signature": {
"description": "The digital signature.",
"format": "byte",
"type": "string"
}
},
"type": "object"
}
},
"servicePath": "",
Expand Down