Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1953)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Apr 19, 2023
1 parent 4cb8eb9 commit d85769c
Show file tree
Hide file tree
Showing 16 changed files with 1,828 additions and 245 deletions.
4 changes: 2 additions & 2 deletions androidmanagement/v1/androidmanagement-api.json
Expand Up @@ -1065,7 +1065,7 @@
}
}
},
"revision": "20230308",
"revision": "20230418",
"rootUrl": "https://androidmanagement.googleapis.com/",
"schemas": {
"AdbShellCommandEvent": {
Expand Down Expand Up @@ -4176,7 +4176,7 @@
"type": "array"
},
"appAutoUpdatePolicy": {
"description": "Deprecated. Use autoUpdateMode instead.When autoUpdateMode is set to AUTO_UPDATE_POSTPONED or AUTO_UPDATE_HIGH_PRIORITY, this field has no effect.The app auto update policy, which controls when automatic app updates can be applied.",
"description": "Recommended alternative: autoUpdateMode which is set per app, provides greater flexibility around update frequency.When autoUpdateMode is set to AUTO_UPDATE_POSTPONED or AUTO_UPDATE_HIGH_PRIORITY, this field has no effect.The app auto update policy, which controls when automatic app updates can be applied.",
"enum": [
"APP_AUTO_UPDATE_POLICY_UNSPECIFIED",
"CHOICE_TO_THE_USER",
Expand Down
5 changes: 3 additions & 2 deletions androidmanagement/v1/androidmanagement-gen.go

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

34 changes: 33 additions & 1 deletion assuredworkloads/v1/assuredworkloads-api.json
Expand Up @@ -519,7 +519,7 @@
}
}
},
"revision": "20230406",
"revision": "20230414",
"rootUrl": "https://assuredworkloads.googleapis.com/",
"schemas": {
"GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": {
Expand Down Expand Up @@ -727,6 +727,14 @@
"readOnly": true,
"type": "string"
},
"exceptionContexts": {
"description": "Output only. List of all the exception detail added for the violation.",
"items": {
"$ref": "GoogleCloudAssuredworkloadsV1ViolationExceptionContext"
},
"readOnly": true,
"type": "array"
},
"name": {
"description": "Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}",
"readOnly": true,
Expand Down Expand Up @@ -779,6 +787,26 @@
},
"type": "object"
},
"GoogleCloudAssuredworkloadsV1ViolationExceptionContext": {
"description": "Violation exception detail. Next Id: 5",
"id": "GoogleCloudAssuredworkloadsV1ViolationExceptionContext",
"properties": {
"acknowledgementTime": {
"description": "Timestamp when the violation was acknowledged.",
"format": "google-datetime",
"type": "string"
},
"comment": {
"description": "Business justification provided towards the acknowledgement of the violation.",
"type": "string"
},
"principalEmail": {
"description": "Email address of the user (or service account) who acknowledged the violation.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudAssuredworkloadsV1ViolationRemediation": {
"description": "Represents remediation guidance to resolve compliance violation for AssuredWorkload",
"id": "GoogleCloudAssuredworkloadsV1ViolationRemediation",
Expand Down Expand Up @@ -1041,6 +1069,10 @@
"$ref": "GoogleCloudAssuredworkloadsV1WorkloadSaaEnrollmentResponse",
"description": "Output only. Represents the SAA enrollment response of the given workload. SAA enrollment response is queried during GetWorkload call. In failure cases, user friendly error message is shown in SAA details page.",
"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.",
"type": "boolean"
}
},
"type": "object"
Expand Down
50 changes: 50 additions & 0 deletions assuredworkloads/v1/assuredworkloads-gen.go

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

34 changes: 33 additions & 1 deletion assuredworkloads/v1beta1/assuredworkloads-api.json
Expand Up @@ -595,7 +595,7 @@
}
}
},
"revision": "20230406",
"revision": "20230414",
"rootUrl": "https://assuredworkloads.googleapis.com/",
"schemas": {
"GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest": {
Expand Down Expand Up @@ -737,6 +737,14 @@
"readOnly": true,
"type": "string"
},
"exceptionContexts": {
"description": "Output only. List of all the exception detail added for the violation.",
"items": {
"$ref": "GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext"
},
"readOnly": true,
"type": "array"
},
"name": {
"description": "Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}",
"readOnly": true,
Expand Down Expand Up @@ -789,6 +797,26 @@
},
"type": "object"
},
"GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext": {
"description": "Violation exception detail. Next Id: 5",
"id": "GoogleCloudAssuredworkloadsV1beta1ViolationExceptionContext",
"properties": {
"acknowledgementTime": {
"description": "Timestamp when the violation was acknowledged.",
"format": "google-datetime",
"type": "string"
},
"comment": {
"description": "Business justification provided towards the acknowledgement of the violation.",
"type": "string"
},
"principalEmail": {
"description": "Email address of the user (or service account) who acknowledged the violation.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudAssuredworkloadsV1beta1ViolationRemediation": {
"description": "Represents remediation guidance to resolve compliance violation for AssuredWorkload",
"id": "GoogleCloudAssuredworkloadsV1beta1ViolationRemediation",
Expand Down Expand Up @@ -1067,6 +1095,10 @@
"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse",
"description": "Output only. Represents the SAA enrollment response of the given workload. SAA enrollment response is queried during GetWorkload call. In failure cases, user friendly error message is shown in SAA details page.",
"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. This will always be true while creating the workload.",
"type": "boolean"
}
},
"type": "object"
Expand Down
50 changes: 50 additions & 0 deletions assuredworkloads/v1beta1/assuredworkloads-gen.go

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

0 comments on commit d85769c

Please sign in to comment.