Class: Google::Apis::SecuritypostureV1::ListPostureRevisionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::SecuritypostureV1::ListPostureRevisionsResponse
- 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 ListPostureRevisions.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A pagination token.
-
#revisions ⇒ Array<Google::Apis::SecuritypostureV1::Posture>
The list of revisions for the Posture.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListPostureRevisionsResponse
constructor
A new instance of ListPostureRevisionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListPostureRevisionsResponse
Returns a new instance of ListPostureRevisionsResponse.
703 704 705 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 703 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
696 697 698 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 696 def next_page_token @next_page_token end |
#revisions ⇒ Array<Google::Apis::SecuritypostureV1::Posture>
The list of revisions for the Posture.
Corresponds to the JSON property revisions
701 702 703 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 701 def revisions @revisions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
708 709 710 711 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 708 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @revisions = args[:revisions] if args.key?(:revisions) end |