Skip to content

Commit

Permalink
feat(assuredworkloads): update the api
Browse files Browse the repository at this point in the history
#### assuredworkloads:v1

The following keys were added:
- schemas.GoogleCloudAssuredworkloadsV1Workload.properties.workloadOptions.$ref (Total Keys: 1)
- schemas.GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions (Total Keys: 3)

#### assuredworkloads:v1beta1

The following keys were added:
- schemas.GoogleCloudAssuredworkloadsV1beta1Workload.properties.workloadOptions.$ref (Total Keys: 1)
- schemas.GoogleCloudAssuredworkloadsV1beta1WorkloadWorkloadOptions (Total Keys: 3)
  • Loading branch information
yoshi-automation committed Oct 15, 2024
1 parent 9dc88cd commit 5c39d8b
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ <h3>Method Details</h3>
&quot;setupStatus&quot;: &quot;A String&quot;, # Indicates SAA enrollment status of a given workload.
},
&quot;violationNotificationsEnabled&quot;: True or False, # 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.
&quot;workloadOptions&quot;: { # Options to be set for the given created workload. # Optional. Options to be set for the given created workload.
&quot;kajEnrollmentType&quot;: &quot;A String&quot;, # Optional. Specifies type of KAJ Enrollment if provided.
},
}

externalId: string, Optional. A identifier associated with the workload and underlying projects which allows for the break down of billing costs for a workload. The value provided for the identifier will add a label to the workload and contained projects with the identifier as the value.
Expand Down Expand Up @@ -402,6 +405,9 @@ <h3>Method Details</h3>
&quot;setupStatus&quot;: &quot;A String&quot;, # Indicates SAA enrollment status of a given workload.
},
&quot;violationNotificationsEnabled&quot;: True or False, # 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.
&quot;workloadOptions&quot;: { # Options to be set for the given created workload. # Optional. Options to be set for the given created workload.
&quot;kajEnrollmentType&quot;: &quot;A String&quot;, # Optional. Specifies type of KAJ Enrollment if provided.
},
}</pre>
</div>

Expand Down Expand Up @@ -485,6 +491,9 @@ <h3>Method Details</h3>
&quot;setupStatus&quot;: &quot;A String&quot;, # Indicates SAA enrollment status of a given workload.
},
&quot;violationNotificationsEnabled&quot;: True or False, # 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.
&quot;workloadOptions&quot;: { # Options to be set for the given created workload. # Optional. Options to be set for the given created workload.
&quot;kajEnrollmentType&quot;: &quot;A String&quot;, # Optional. Specifies type of KAJ Enrollment if provided.
},
},
],
}</pre>
Expand Down Expand Up @@ -592,6 +601,9 @@ <h3>Method Details</h3>
&quot;setupStatus&quot;: &quot;A String&quot;, # Indicates SAA enrollment status of a given workload.
},
&quot;violationNotificationsEnabled&quot;: True or False, # 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.
&quot;workloadOptions&quot;: { # Options to be set for the given created workload. # Optional. Options to be set for the given created workload.
&quot;kajEnrollmentType&quot;: &quot;A String&quot;, # Optional. Specifies type of KAJ Enrollment if provided.
},
}</pre>
</div>

Expand Down Expand Up @@ -664,6 +676,9 @@ <h3>Method Details</h3>
&quot;setupStatus&quot;: &quot;A String&quot;, # Indicates SAA enrollment status of a given workload.
},
&quot;violationNotificationsEnabled&quot;: True or False, # 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.
&quot;workloadOptions&quot;: { # Options to be set for the given created workload. # Optional. Options to be set for the given created workload.
&quot;kajEnrollmentType&quot;: &quot;A String&quot;, # Optional. Specifies type of KAJ Enrollment if provided.
},
}

updateMask: string, Required. The list of fields to be updated.
Expand Down Expand Up @@ -735,6 +750,9 @@ <h3>Method Details</h3>
&quot;setupStatus&quot;: &quot;A String&quot;, # Indicates SAA enrollment status of a given workload.
},
&quot;violationNotificationsEnabled&quot;: True or False, # 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.
&quot;workloadOptions&quot;: { # Options to be set for the given created workload. # Optional. Options to be set for the given created workload.
&quot;kajEnrollmentType&quot;: &quot;A String&quot;, # Optional. Specifies type of KAJ Enrollment if provided.
},
}</pre>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,9 @@ <h3>Method Details</h3>
&quot;setupStatus&quot;: &quot;A String&quot;, # Indicates SAA enrollment status of a given workload.
},
&quot;violationNotificationsEnabled&quot;: True or False, # 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.
&quot;workloadOptions&quot;: { # Options to be set for the given created workload. # Optional. Options to be set for the given created workload.
&quot;kajEnrollmentType&quot;: &quot;A String&quot;, # Optional. Specifies type of KAJ Enrollment if provided.
},
}

externalId: string, Optional. A identifier associated with the workload and underlying projects which allows for the break down of billing costs for a workload. The value provided for the identifier will add a label to the workload and contained projects with the identifier as the value.
Expand Down Expand Up @@ -477,6 +480,9 @@ <h3>Method Details</h3>
&quot;setupStatus&quot;: &quot;A String&quot;, # Indicates SAA enrollment status of a given workload.
},
&quot;violationNotificationsEnabled&quot;: True or False, # 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.
&quot;workloadOptions&quot;: { # Options to be set for the given created workload. # Optional. Options to be set for the given created workload.
&quot;kajEnrollmentType&quot;: &quot;A String&quot;, # Optional. Specifies type of KAJ Enrollment if provided.
},
}</pre>
</div>

Expand Down Expand Up @@ -586,6 +592,9 @@ <h3>Method Details</h3>
&quot;setupStatus&quot;: &quot;A String&quot;, # Indicates SAA enrollment status of a given workload.
},
&quot;violationNotificationsEnabled&quot;: True or False, # 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.
&quot;workloadOptions&quot;: { # Options to be set for the given created workload. # Optional. Options to be set for the given created workload.
&quot;kajEnrollmentType&quot;: &quot;A String&quot;, # Optional. Specifies type of KAJ Enrollment if provided.
},
},
],
}</pre>
Expand Down Expand Up @@ -700,6 +709,9 @@ <h3>Method Details</h3>
&quot;setupStatus&quot;: &quot;A String&quot;, # Indicates SAA enrollment status of a given workload.
},
&quot;violationNotificationsEnabled&quot;: True or False, # 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.
&quot;workloadOptions&quot;: { # Options to be set for the given created workload. # Optional. Options to be set for the given created workload.
&quot;kajEnrollmentType&quot;: &quot;A String&quot;, # Optional. Specifies type of KAJ Enrollment if provided.
},
}

updateMask: string, Required. The list of fields to be updated.
Expand Down Expand Up @@ -797,6 +809,9 @@ <h3>Method Details</h3>
&quot;setupStatus&quot;: &quot;A String&quot;, # Indicates SAA enrollment status of a given workload.
},
&quot;violationNotificationsEnabled&quot;: True or False, # 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.
&quot;workloadOptions&quot;: { # Options to be set for the given created workload. # Optional. Options to be set for the given created workload.
&quot;kajEnrollmentType&quot;: &quot;A String&quot;, # Optional. Specifies type of KAJ Enrollment if provided.
},
}</pre>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@
}
}
},
"revision": "20240913",
"revision": "20241007",
"rootUrl": "https://assuredworkloads.googleapis.com/",
"schemas": {
"GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": {
Expand Down Expand Up @@ -1348,6 +1348,10 @@
"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"
},
"workloadOptions": {
"$ref": "GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions",
"description": "Optional. Options to be set for the given created workload."
}
},
"type": "object"
Expand Down Expand Up @@ -1598,6 +1602,25 @@ false
},
"type": "object"
},
"GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions": {
"description": "Options to be set for the given created workload.",
"id": "GoogleCloudAssuredworkloadsV1WorkloadWorkloadOptions",
"properties": {
"kajEnrollmentType": {
"description": "Optional. Specifies type of KAJ Enrollment if provided.",
"enum": [
"KAJ_ENROLLMENT_TYPE_UNSPECIFIED",
"KEY_ACCESS_TRANSPARENCY_OFF"
],
"enumDescriptions": [
"KAJ Enrollment type is unspecified",
"KAT sets External, Hardware, and Software key feature logging only to TRUE. (no enforcement)"
],
"type": "string"
}
},
"type": "object"
},
"GoogleLongrunningListOperationsResponse": {
"description": "The response message for Operations.ListOperations.",
"id": "GoogleLongrunningListOperationsResponse",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@
}
}
},
"revision": "20240923",
"revision": "20241007",
"rootUrl": "https://assuredworkloads.googleapis.com/",
"schemas": {
"GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest": {
Expand Down Expand Up @@ -1611,6 +1611,10 @@
"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"
},
"workloadOptions": {
"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadWorkloadOptions",
"description": "Optional. Options to be set for the given created workload."
}
},
"type": "object"
Expand Down Expand Up @@ -1952,6 +1956,25 @@ false
},
"type": "object"
},
"GoogleCloudAssuredworkloadsV1beta1WorkloadWorkloadOptions": {
"description": "Options to be set for the given created workload.",
"id": "GoogleCloudAssuredworkloadsV1beta1WorkloadWorkloadOptions",
"properties": {
"kajEnrollmentType": {
"description": "Optional. Specifies type of KAJ Enrollment if provided.",
"enum": [
"KAJ_ENROLLMENT_TYPE_UNSPECIFIED",
"KEY_ACCESS_TRANSPARENCY_OFF"
],
"enumDescriptions": [
"KAJ Enrollment type is unspecified",
"KAT sets External, Hardware, and Software key feature logging only to TRUE. (no enforcement)"
],
"type": "string"
}
},
"type": "object"
},
"GoogleLongrunningListOperationsResponse": {
"description": "The response message for Operations.ListOperations.",
"id": "GoogleLongrunningListOperationsResponse",
Expand Down

0 comments on commit 5c39d8b

Please sign in to comment.