Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2256)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Nov 9, 2023
1 parent 10dbf2b commit 4024760
Show file tree
Hide file tree
Showing 19 changed files with 430 additions and 136 deletions.
4 changes: 2 additions & 2 deletions androidenterprise/v1/androidenterprise-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2649,7 +2649,7 @@
}
}
},
"revision": "20231018",
"revision": "20231107",
"rootUrl": "https://androidenterprise.googleapis.com/",
"schemas": {
"Administrator": {
Expand Down Expand Up @@ -3097,7 +3097,7 @@
"type": "array"
},
"autoInstallMode": {
"description": "The auto-install mode. If unset defaults to \"doNotAutoInstall\".",
"description": "The auto-install mode. If unset, defaults to \"doNotAutoInstall\". An app is automatically installed regardless of a set maintenance window.",
"enum": [
"autoInstallModeUnspecified",
"doNotAutoInstall",
Expand Down
5 changes: 3 additions & 2 deletions androidenterprise/v1/androidenterprise-gen.go

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

67 changes: 64 additions & 3 deletions assuredworkloads/v1/assuredworkloads-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -566,13 +566,27 @@
}
}
},
"revision": "20231023",
"revision": "20231106",
"rootUrl": "https://assuredworkloads.googleapis.com/",
"schemas": {
"GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": {
"description": "Request for acknowledging the violation Next Id: 5",
"id": "GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest",
"properties": {
"acknowledgeType": {
"description": "Optional. Acknowledge type of specified violation.",
"enum": [
"ACKNOWLEDGE_TYPE_UNSPECIFIED",
"SINGLE_VIOLATION",
"EXISTING_CHILD_RESOURCE_VIOLATIONS"
],
"enumDescriptions": [
"Acknowledge type unspecified.",
"Acknowledge only the specific violation.",
"Acknowledge specified orgPolicy violation and also associated resource violations."
],
"type": "string"
},
"comment": {
"description": "Required. Business justification explaining the need for violation acknowledgement",
"type": "string"
Expand Down Expand Up @@ -846,6 +860,11 @@
"format": "google-datetime",
"type": "string"
},
"associatedOrgPolicyViolationId": {
"description": "Optional. Output only. Violation Id of the org-policy violation due to which the resource violation is caused. Empty for org-policy violations.",
"readOnly": true,
"type": "string"
},
"auditLogLink": {
"description": "Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}",
"readOnly": true,
Expand Down Expand Up @@ -896,6 +915,11 @@
"readOnly": true,
"type": "string"
},
"parentProjectNumber": {
"description": "Optional. Output only. Parent project number where resource is present. Empty for org-policy violations.",
"readOnly": true,
"type": "string"
},
"remediation": {
"$ref": "GoogleCloudAssuredworkloadsV1ViolationRemediation",
"description": "Output only. Compliance violation remediation",
Expand All @@ -907,6 +931,16 @@
"readOnly": true,
"type": "string"
},
"resourceName": {
"description": "Optional. Output only. Name of the resource like //storage.googleapis.com/myprojectxyz-testbucket. Empty for org-policy violations.",
"readOnly": true,
"type": "string"
},
"resourceType": {
"description": "Optional. Output only. Type of the resource like compute.googleapis.com/Disk, etc. Empty for org-policy violations.",
"readOnly": true,
"type": "string"
},
"state": {
"description": "Output only. State of the violation",
"enum": [
Expand All @@ -929,6 +963,21 @@
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"violationType": {
"description": "Output only. Type of the violation",
"enum": [
"VIOLATION_TYPE_UNSPECIFIED",
"ORG_POLICY",
"RESOURCE"
],
"enumDescriptions": [
"Unspecified type.",
"Org Policy Violation.",
"Resource Violation."
],
"readOnly": true,
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -975,14 +1024,16 @@
"REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION",
"REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION",
"REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION",
"REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION"
"REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION",
"REMEDIATION_RESOURCE_VIOLATION"
],
"enumDescriptions": [
"Unspecified remediation type",
"Remediation type for boolean org policy",
"Remediation type for list org policy which have allowed values in the monitoring rule",
"Remediation type for list org policy which have denied values in the monitoring rule",
"Remediation type for gcp.restrictCmekCryptoKeyProjects"
"Remediation type for gcp.restrictCmekCryptoKeyProjects",
"Remediation type for resource violation."
],
"readOnly": true,
"type": "string"
Expand Down Expand Up @@ -1244,11 +1295,21 @@
"description": "Represents the Compliance Status of this workload",
"id": "GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus",
"properties": {
"acknowledgedResourceViolationCount": {
"description": "Number of current resource violations which are not acknowledged.",
"format": "int32",
"type": "integer"
},
"acknowledgedViolationCount": {
"description": "Number of current orgPolicy violations which are acknowledged.",
"format": "int32",
"type": "integer"
},
"activeResourceViolationCount": {
"description": "Number of current resource violations which are acknowledged.",
"format": "int32",
"type": "integer"
},
"activeViolationCount": {
"description": "Number of current orgPolicy violations which are not acknowledged.",
"format": "int32",
Expand Down
76 changes: 61 additions & 15 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 4024760

Please sign in to comment.