Class: Google::Apis::OsconfigV1beta::ListGuestPoliciesResponse
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1beta::ListGuestPoliciesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/osconfig_v1beta/classes.rb,
generated/google/apis/osconfig_v1beta/representations.rb,
generated/google/apis/osconfig_v1beta/representations.rb
Overview
A response message for listing guest policies.
Instance Attribute Summary collapse
-
#guest_policies ⇒ Array<Google::Apis::OsconfigV1beta::GuestPolicy>
The list of GuestPolicies.
-
#next_page_token ⇒ String
A pagination token that can be used to get the next page of guest policies.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListGuestPoliciesResponse
constructor
A new instance of ListGuestPoliciesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListGuestPoliciesResponse
Returns a new instance of ListGuestPoliciesResponse.
1114 1115 1116 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1114 def initialize(**args) update!(**args) end |
Instance Attribute Details
#guest_policies ⇒ Array<Google::Apis::OsconfigV1beta::GuestPolicy>
The list of GuestPolicies.
Corresponds to the JSON property guestPolicies
1107 1108 1109 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1107 def guest_policies @guest_policies end |
#next_page_token ⇒ String
A pagination token that can be used to get the next page of guest policies.
Corresponds to the JSON property nextPageToken
1112 1113 1114 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1112 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1119 1120 1121 1122 |
# File 'generated/google/apis/osconfig_v1beta/classes.rb', line 1119 def update!(**args) @guest_policies = args[:guest_policies] if args.key?(:guest_policies) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |