Class: Google::Apis::OsconfigV1::ListOsPolicyAssignmentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV1::ListOsPolicyAssignmentsResponse
- 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
-
#next_page_token ⇒ String
The pagination token to retrieve the next page of OS policy assignments.
-
#os_policy_assignments ⇒ Array<Google::Apis::OsconfigV1::OsPolicyAssignment>
The list of assignments Corresponds to the JSON property
osPolicyAssignments
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListOsPolicyAssignmentsResponse
constructor
A new instance of ListOsPolicyAssignmentsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListOsPolicyAssignmentsResponse
Returns a new instance of ListOsPolicyAssignmentsResponse.
1069 1070 1071 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1069 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
The pagination token to retrieve the next page of OS policy assignments.
Corresponds to the JSON property nextPageToken
1062 1063 1064 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1062 def next_page_token @next_page_token end |
#os_policy_assignments ⇒ Array<Google::Apis::OsconfigV1::OsPolicyAssignment>
The list of assignments
Corresponds to the JSON property osPolicyAssignments
1067 1068 1069 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1067 def os_policy_assignments @os_policy_assignments end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1074 1075 1076 1077 |
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1074 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 |