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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/osconfig_v1beta/classes.rb,
lib/google/apis/osconfig_v1beta/representations.rb,
lib/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.



740
741
742
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 740

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



733
734
735
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 733

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)


738
739
740
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 738

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



745
746
747
748
# File 'lib/google/apis/osconfig_v1beta/classes.rb', line 745

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