Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ListPolicySchemasResponse

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) ⇒ GoogleChromePolicyVersionsV1ListPolicySchemasResponse

Returns a new instance of GoogleChromePolicyVersionsV1ListPolicySchemasResponse.



476
477
478
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 476

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)


469
470
471
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 469

def next_page_token
  @next_page_token
end

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

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



474
475
476
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 474

def policy_schemas
  @policy_schemas
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



481
482
483
484
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 481

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