Class: Google::Apis::SecuritypostureV1::ListPostureTemplatesResponse
- Inherits:
-
Object
- Object
- Google::Apis::SecuritypostureV1::ListPostureTemplatesResponse
- 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 ListPostureTemplates.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A pagination token.
-
#posture_templates ⇒ Array<Google::Apis::SecuritypostureV1::PostureTemplate>
The list of PostureTemplate resources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListPostureTemplatesResponse
constructor
A new instance of ListPostureTemplatesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListPostureTemplatesResponse
Returns a new instance of ListPostureTemplatesResponse.
729 730 731 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 729 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
722 723 724 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 722 def next_page_token @next_page_token end |
#posture_templates ⇒ Array<Google::Apis::SecuritypostureV1::PostureTemplate>
The list of PostureTemplate resources.
Corresponds to the JSON property postureTemplates
727 728 729 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 727 def posture_templates @posture_templates end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
734 735 736 737 |
# File 'lib/google/apis/securityposture_v1/classes.rb', line 734 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @posture_templates = args[:posture_templates] if args.key?(:posture_templates) end |