Class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListViolationsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ListViolationsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/assuredworkloads_v1/classes.rb,
lib/google/apis/assuredworkloads_v1/representations.rb,
lib/google/apis/assuredworkloads_v1/representations.rb
Overview
Response of ListViolations endpoint.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
The next page token.
-
#violations ⇒ Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Violation>
List of Violations under a Workload.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1ListViolationsResponse
constructor
A new instance of GoogleCloudAssuredworkloadsV1ListViolationsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1ListViolationsResponse
Returns a new instance of GoogleCloudAssuredworkloadsV1ListViolationsResponse.
198 199 200 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 198 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
The next page token. Returns empty if reached the last page.
Corresponds to the JSON property nextPageToken
191 192 193 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 191 def next_page_token @next_page_token end |
#violations ⇒ Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Violation>
List of Violations under a Workload.
Corresponds to the JSON property violations
196 197 198 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 196 def violations @violations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
203 204 205 206 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 203 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @violations = args[:violations] if args.key?(:violations) end |