Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 352e661

Browse files
committedAug 15, 2023
feat(assuredworkloads): update the api
#### assuredworkloads:v1beta1 The following keys were deleted: - resources.organizations.resources.locations.resources.workloads.resources.organizations.resources.locations.resources.workloads.methods.analyzeWorkloadMove (Total Keys: 17) - resources.projects.resources.organizations.resources.locations.resources.workloads.methods.analyzeWorkloadMove (Total Keys: 18) The following keys were added: - resources.organizations.resources.locations.resources.workloads.methods.analyzeWorkloadMove (Total Keys: 23) - resources.organizations.resources.locations.resources.workloads.methods.enableResourceMonitoring (Total Keys: 11) - schemas.GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest.properties.acknowledgeType.type (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse.properties.assetMoveAnalyses (Total Keys: 2) - schemas.GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse.properties.blockers.deprecated (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1beta1AnalyzeWorkloadMoveResponse.properties.nextPageToken.type (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis (Total Keys: 6) - schemas.GoogleCloudAssuredworkloadsV1beta1EnableResourceMonitoringResponse (Total Keys: 2) - schemas.GoogleCloudAssuredworkloadsV1beta1MoveAnalysisGroup (Total Keys: 5) - schemas.GoogleCloudAssuredworkloadsV1beta1MoveAnalysisResult (Total Keys: 6) - schemas.GoogleCloudAssuredworkloadsV1beta1MoveImpact (Total Keys: 3) - schemas.GoogleCloudAssuredworkloadsV1beta1Violation.properties.associatedOrgPolicyViolationId (Total Keys: 2) - schemas.GoogleCloudAssuredworkloadsV1beta1Violation.properties.parentProjectNumber (Total Keys: 2) - schemas.GoogleCloudAssuredworkloadsV1beta1Violation.properties.resourceName (Total Keys: 2) - schemas.GoogleCloudAssuredworkloadsV1beta1Violation.properties.resourceType (Total Keys: 2) - schemas.GoogleCloudAssuredworkloadsV1beta1Violation.properties.violationType (Total Keys: 2) - schemas.GoogleCloudAssuredworkloadsV1beta1Workload.properties.resourceMonitoringEnabled (Total Keys: 2) - schemas.GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus.properties.acknowledgedResourceViolationCount (Total Keys: 2) - schemas.GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus.properties.activeResourceViolationCount (Total Keys: 2)
1 parent 44ab523 commit 352e661

9 files changed

+378
-135
lines changed
 

‎docs/dyn/assuredworkloads_v1.organizations.locations.operations.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ <h3>Method Details</h3>
121121
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
122122
},
123123
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
124-
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
124+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
125125
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
126126
},
127127
}</pre>
@@ -162,7 +162,7 @@ <h3>Method Details</h3>
162162
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
163163
},
164164
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
165-
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
165+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
166166
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
167167
},
168168
},

‎docs/dyn/assuredworkloads_v1.organizations.locations.workloads.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ <h3>Method Details</h3>
202202
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
203203
},
204204
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
205-
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
205+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
206206
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
207207
},
208208
}</pre>

‎docs/dyn/assuredworkloads_v1.organizations.locations.workloads.violations.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ <h3>Method Details</h3>
135135
Returns:
136136
An object of the form:
137137

138-
{ # Workload monitoring Violation. Next Id: 27
138+
{ # Workload monitoring Violation. Next Id: 28
139139
&quot;acknowledged&quot;: True or False, # A boolean that indicates if the violation is acknowledged
140140
&quot;acknowledgementTime&quot;: &quot;A String&quot;, # 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.
141141
&quot;auditLogLink&quot;: &quot;A String&quot;, # Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}
@@ -211,7 +211,7 @@ <h3>Method Details</h3>
211211
{ # Response of ListViolations endpoint.
212212
&quot;nextPageToken&quot;: &quot;A String&quot;, # The next page token. Returns empty if reached the last page.
213213
&quot;violations&quot;: [ # List of Violations under a Workload.
214-
{ # Workload monitoring Violation. Next Id: 27
214+
{ # Workload monitoring Violation. Next Id: 28
215215
&quot;acknowledged&quot;: True or False, # A boolean that indicates if the violation is acknowledged
216216
&quot;acknowledgementTime&quot;: &quot;A String&quot;, # 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.
217217
&quot;auditLogLink&quot;: &quot;A String&quot;, # Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}

‎docs/dyn/assuredworkloads_v1beta1.html

-5
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,6 @@ <h2>Instance Methods</h2>
7979
</p>
8080
<p class="firstline">Returns the organizations Resource.</p>
8181

82-
<p class="toc_element">
83-
<code><a href="assuredworkloads_v1beta1.projects.html">projects()</a></code>
84-
</p>
85-
<p class="firstline">Returns the projects Resource.</p>
86-
8782
<p class="toc_element">
8883
<code><a href="#close">close()</a></code></p>
8984
<p class="firstline">Close httplib2 connections.</p>

‎docs/dyn/assuredworkloads_v1beta1.organizations.locations.operations.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ <h3>Method Details</h3>
121121
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
122122
},
123123
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
124-
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
124+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
125125
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
126126
},
127127
}</pre>
@@ -162,7 +162,7 @@ <h3>Method Details</h3>
162162
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
163163
},
164164
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
165-
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
165+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
166166
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
167167
},
168168
},

‎docs/dyn/assuredworkloads_v1beta1.organizations.locations.workloads.html

+116-6
Large diffs are not rendered by default.

‎docs/dyn/assuredworkloads_v1beta1.organizations.locations.workloads.violations.html

+13-2
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ <h3>Method Details</h3>
100100
The object takes the form of:
101101

102102
{ # Request for acknowledging the violation Next Id: 5
103+
&quot;acknowledgeType&quot;: &quot;A String&quot;, # Optional. Acknowledge type of specified violation.
103104
&quot;comment&quot;: &quot;A String&quot;, # Required. Business justification explaining the need for violation acknowledgement
104105
&quot;nonCompliantOrgPolicy&quot;: &quot;A String&quot;, # Optional. This field is deprecated and will be removed in future version of the API. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}
105106
}
@@ -135,9 +136,10 @@ <h3>Method Details</h3>
135136
Returns:
136137
An object of the form:
137138

138-
{ # Workload monitoring Violation. Next Id: 27
139+
{ # Workload monitoring Violation. Next Id: 28
139140
&quot;acknowledged&quot;: True or False, # A boolean that indicates if the violation is acknowledged
140141
&quot;acknowledgementTime&quot;: &quot;A String&quot;, # 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.
142+
&quot;associatedOrgPolicyViolationId&quot;: &quot;A String&quot;, # Optional. Output only. Violation Id of the org-policy violation due to which the resource violation is caused. Empty for org-policy violations.
141143
&quot;auditLogLink&quot;: &quot;A String&quot;, # Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}
142144
&quot;beginTime&quot;: &quot;A String&quot;, # Output only. Time of the event which triggered the Violation.
143145
&quot;category&quot;: &quot;A String&quot;, # Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.
@@ -153,6 +155,7 @@ <h3>Method Details</h3>
153155
&quot;name&quot;: &quot;A String&quot;, # Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}
154156
&quot;nonCompliantOrgPolicy&quot;: &quot;A String&quot;, # Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}
155157
&quot;orgPolicyConstraint&quot;: &quot;A String&quot;, # Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation.
158+
&quot;parentProjectNumber&quot;: &quot;A String&quot;, # Optional. Output only. Parent project number where resource is present. Empty for org-policy violations.
156159
&quot;remediation&quot;: { # Represents remediation guidance to resolve compliance violation for AssuredWorkload # Output only. Compliance violation remediation
157160
&quot;compliantValues&quot;: [ # Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values
158161
&quot;A String&quot;,
@@ -184,8 +187,11 @@ <h3>Method Details</h3>
184187
&quot;remediationType&quot;: &quot;A String&quot;, # Output only. Reemediation type based on the type of org policy values violated
185188
},
186189
&quot;resolveTime&quot;: &quot;A String&quot;, # Output only. Time of the event which fixed the Violation. If the violation is ACTIVE this will be empty.
190+
&quot;resourceName&quot;: &quot;A String&quot;, # Optional. Output only. Name of the resource like //storage.googleapis.com/myprojectxyz-testbucket. Empty for org-policy violations.
191+
&quot;resourceType&quot;: &quot;A String&quot;, # Optional. Output only. Type of the resource like compute.googleapis.com/Disk, etc. Empty for org-policy violations.
187192
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the violation
188193
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last time when the Violation record was updated.
194+
&quot;violationType&quot;: &quot;A String&quot;, # Output only. Type of the violation
189195
}</pre>
190196
</div>
191197

@@ -211,9 +217,10 @@ <h3>Method Details</h3>
211217
{ # Response of ListViolations endpoint.
212218
&quot;nextPageToken&quot;: &quot;A String&quot;, # The next page token. Returns empty if reached the last page.
213219
&quot;violations&quot;: [ # List of Violations under a Workload.
214-
{ # Workload monitoring Violation. Next Id: 27
220+
{ # Workload monitoring Violation. Next Id: 28
215221
&quot;acknowledged&quot;: True or False, # A boolean that indicates if the violation is acknowledged
216222
&quot;acknowledgementTime&quot;: &quot;A String&quot;, # 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.
223+
&quot;associatedOrgPolicyViolationId&quot;: &quot;A String&quot;, # Optional. Output only. Violation Id of the org-policy violation due to which the resource violation is caused. Empty for org-policy violations.
217224
&quot;auditLogLink&quot;: &quot;A String&quot;, # Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}
218225
&quot;beginTime&quot;: &quot;A String&quot;, # Output only. Time of the event which triggered the Violation.
219226
&quot;category&quot;: &quot;A String&quot;, # Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.
@@ -229,6 +236,7 @@ <h3>Method Details</h3>
229236
&quot;name&quot;: &quot;A String&quot;, # Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}
230237
&quot;nonCompliantOrgPolicy&quot;: &quot;A String&quot;, # Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}
231238
&quot;orgPolicyConstraint&quot;: &quot;A String&quot;, # Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation.
239+
&quot;parentProjectNumber&quot;: &quot;A String&quot;, # Optional. Output only. Parent project number where resource is present. Empty for org-policy violations.
232240
&quot;remediation&quot;: { # Represents remediation guidance to resolve compliance violation for AssuredWorkload # Output only. Compliance violation remediation
233241
&quot;compliantValues&quot;: [ # Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values
234242
&quot;A String&quot;,
@@ -260,8 +268,11 @@ <h3>Method Details</h3>
260268
&quot;remediationType&quot;: &quot;A String&quot;, # Output only. Reemediation type based on the type of org policy values violated
261269
},
262270
&quot;resolveTime&quot;: &quot;A String&quot;, # Output only. Time of the event which fixed the Violation. If the violation is ACTIVE this will be empty.
271+
&quot;resourceName&quot;: &quot;A String&quot;, # Optional. Output only. Name of the resource like //storage.googleapis.com/myprojectxyz-testbucket. Empty for org-policy violations.
272+
&quot;resourceType&quot;: &quot;A String&quot;, # Optional. Output only. Type of the resource like compute.googleapis.com/Disk, etc. Empty for org-policy violations.
263273
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the violation
264274
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The last time when the Violation record was updated.
275+
&quot;violationType&quot;: &quot;A String&quot;, # Output only. Type of the violation
265276
},
266277
],
267278
}</pre>

‎googleapiclient/discovery_cache/documents/assuredworkloads.v1.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@
519519
}
520520
}
521521
},
522-
"revision": "20230731",
522+
"revision": "20230811",
523523
"rootUrl": "https://assuredworkloads.googleapis.com/",
524524
"schemas": {
525525
"GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": {
@@ -692,7 +692,7 @@
692692
"type": "object"
693693
},
694694
"GoogleCloudAssuredworkloadsV1Violation": {
695-
"description": "Workload monitoring Violation. Next Id: 27",
695+
"description": "Workload monitoring Violation. Next Id: 28",
696696
"id": "GoogleCloudAssuredworkloadsV1Violation",
697697
"properties": {
698698
"acknowledged": {
@@ -1126,7 +1126,7 @@
11261126
"Error but domain is unspecified.",
11271127
"Internal logic breaks within provisioning code.",
11281128
"Error occurred with the customer not granting permission/creating resource.",
1129-
"Error occurred within the partner\u2019s provisioning cluster.",
1129+
"Error occurred within the partner's provisioning cluster.",
11301130
"Resource wasn't provisioned in the required 7 day time period"
11311131
],
11321132
"type": "string"
@@ -1369,7 +1369,7 @@
13691369
"description": "Properties of the object. Contains field @type with type URL.",
13701370
"type": "any"
13711371
},
1372-
"description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
1372+
"description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
13731373
"type": "object"
13741374
}
13751375
},

‎googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json

+238-111
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.