Class: Google::Apis::OsconfigV1::ListOsPolicyAssignmentRevisionsResponse

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 revisions for a OS policy assignment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListOsPolicyAssignmentRevisionsResponse

Returns a new instance of ListOsPolicyAssignmentRevisionsResponse.



1103
1104
1105
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1103

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

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


1096
1097
1098
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1096

def next_page_token
  @next_page_token
end

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

The OS policy assignment revisions Corresponds to the JSON property osPolicyAssignments



1101
1102
1103
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1101

def os_policy_assignments
  @os_policy_assignments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1108
1109
1110
1111
# File 'lib/google/apis/osconfig_v1/classes.rb', line 1108

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