Class: Google::Apis::OsconfigV1::ListOsPolicyAssignmentsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/osconfig_v1/classes.rb,
lib/google/apis/osconfig_v1/representations.rb,
lib/google/apis/osconfig_v1/representations.rb

Overview

A response message for listing all assignments under given parent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListOsPolicyAssignmentsResponse

Returns a new instance of ListOsPolicyAssignmentsResponse.



1128
1129
1130
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1128

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

The pagination token to retrieve the next page of OS policy assignments. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1121
1122
1123
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1121

def next_page_token
  @next_page_token
end

#os_policy_assignmentsArray<Google::Apis::OsconfigV1::OsPolicyAssignment>

The list of assignments Corresponds to the JSON property osPolicyAssignments



1126
1127
1128
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1126

def os_policy_assignments
  @os_policy_assignments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1133
1134
1135
1136
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1133

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @os_policy_assignments = args[:os_policy_assignments] if args.key?(:os_policy_assignments)
end