Class: Google::Apis::CloudcontrolspartnerV1::ListViolationsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudcontrolspartnerV1::ListViolationsResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudcontrolspartner_v1/classes.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb
Overview
Response message for list customer violation requests
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token that can be sent as
page_token
to retrieve the next page. -
#unreachable ⇒ Array<String>
Workloads that could not be reached due to permission errors or any other error.
-
#violations ⇒ Array<Google::Apis::CloudcontrolspartnerV1::Violation>
List of violation Corresponds to the JSON property
violations
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListViolationsResponse
constructor
A new instance of ListViolationsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListViolationsResponse
Returns a new instance of ListViolationsResponse.
491 492 493 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 491 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token that can be sent as page_token
to retrieve the next page. If this
field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
478 479 480 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 478 def next_page_token @next_page_token end |
#unreachable ⇒ Array<String>
Workloads that could not be reached due to permission errors or any other
error. Ref: https://google.aip.dev/217
Corresponds to the JSON property unreachable
484 485 486 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 484 def unreachable @unreachable end |
#violations ⇒ Array<Google::Apis::CloudcontrolspartnerV1::Violation>
List of violation
Corresponds to the JSON property violations
489 490 491 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 489 def violations @violations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
496 497 498 499 500 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 496 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @unreachable = args[:unreachable] if args.key?(:unreachable) @violations = args[:violations] if args.key?(:violations) end |