Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ListPolicySchemasResponse

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

Overview

Response message for listing policy schemas that match a filter.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromePolicyV1ListPolicySchemasResponse

Returns a new instance of GoogleChromePolicyV1ListPolicySchemasResponse.



183
184
185
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 183

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

Instance Attribute Details

#next_page_tokenString

The page token used to get the next page of policy schemas. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


176
177
178
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 176

def next_page_token
  @next_page_token
end

#policy_schemasArray<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchema>

The list of policy schemas that match the query. Corresponds to the JSON property policySchemas



181
182
183
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 181

def policy_schemas
  @policy_schemas
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



188
189
190
191
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 188

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