Class: Google::Apis::OsconfigV1beta::ListGuestPoliciesResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_policiesArray<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_tokenString

A pagination token that can be used to get the next page of guest policies. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


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