Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ResolveRequest

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

Request message for getting the resolved policy value for a specific target.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromePolicyV1ResolveRequest

Returns a new instance of GoogleChromePolicyV1ResolveRequest.



501
502
503
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 501

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

Instance Attribute Details

#page_sizeFixnum

The maximum number of policies to return, defaults to 100 and has a maximum of 1000. Corresponds to the JSON property pageSize

Returns:

  • (Fixnum)


478
479
480
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 478

def page_size
  @page_size
end

#page_tokenString

The page token used to retrieve a specific page of the request. Corresponds to the JSON property pageToken

Returns:

  • (String)


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

def page_token
  @page_token
end

#policy_schema_filterString

The schema filter to apply to the resolve request. Specify a schema name to view a particular schema, for example: chrome.users.ShowLogoutButton Wildcards are supported, but only in the leaf portion of the schema name. Wildcards cannot be used in namespace directly. Please read https://developers.google. com/chrome/chrome-management/guides/policyapi for details on schema namepsaces. For example: Valid: "chrome.users.", "chrome.users.apps.", "chrome.printers. " Invalid: "", ".users", "chrome.", "chrome..apps." Corresponds to the JSON property policySchemaFilter

Returns:

  • (String)


494
495
496
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 494

def policy_schema_filter
  @policy_schema_filter
end

#policy_target_keyGoogle::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey

The key used to identify the target on which the policy will be applied. Corresponds to the JSON property policyTargetKey



499
500
501
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 499

def policy_target_key
  @policy_target_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



506
507
508
509
510
511
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 506

def update!(**args)
  @page_size = args[:page_size] if args.key?(:page_size)
  @page_token = args[:page_token] if args.key?(:page_token)
  @policy_schema_filter = args[:policy_schema_filter] if args.key?(:policy_schema_filter)
  @policy_target_key = args[:policy_target_key] if args.key?(:policy_target_key)
end