Class: Google::Apis::SecuritypostureV1::ListPosturesResponse
- Inherits:
-
Object
- Object
- Google::Apis::SecuritypostureV1::ListPosturesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securityposture_v1/classes.rb,
lib/google/apis/securityposture_v1/representations.rb,
lib/google/apis/securityposture_v1/representations.rb
Overview
Response message for ListPostures.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A pagination token.
-
#postures ⇒ Array<Google::Apis::SecuritypostureV1::Posture>
The list of Posture resources.
-
#unreachable ⇒ Array<String>
Locations that were temporarily unavailable and could not be reached.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListPosturesResponse
constructor
A new instance of ListPosturesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListPosturesResponse
Returns a new instance of ListPosturesResponse.
760 761 762 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 760 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A pagination token. To retrieve the next page of results, call the method
again with this token.
Corresponds to the JSON property nextPageToken
748 749 750 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 748 def next_page_token @next_page_token end |
#postures ⇒ Array<Google::Apis::SecuritypostureV1::Posture>
The list of Posture resources.
Corresponds to the JSON property postures
753 754 755 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 753 def postures @postures end |
#unreachable ⇒ Array<String>
Locations that were temporarily unavailable and could not be reached.
Corresponds to the JSON property unreachable
758 759 760 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 758 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
765 766 767 768 769 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 765 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @postures = args[:postures] if args.key?(:postures) @unreachable = args[:unreachable] if args.key?(:unreachable) end |