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.
-
#total_size ⇒ Fixnum
The total number of violations.
-
#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.
488 489 490 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 488 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
476 477 478 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 476 def next_page_token @next_page_token end |
#total_size ⇒ Fixnum
The total number of violations.
Corresponds to the JSON property totalSize
481 482 483 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 481 def total_size @total_size end |
#violations ⇒ Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1Violation>
List of Violations under a Workload.
Corresponds to the JSON property violations
486 487 488 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 486 def violations @violations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
493 494 495 496 497 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 493 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @total_size = args[:total_size] if args.key?(:total_size) @violations = args[:violations] if args.key?(:violations) end |