Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ResolveRequest

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

Returns a new instance of GoogleChromePolicyVersionsV1ResolveRequest.



1246
1247
1248
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1246

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)


1223
1224
1225
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1223

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)


1228
1229
1230
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1228

def page_token
  @page_token
end

#policy_schema_filterString

Required. 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/policy/guides/policy-schemas for details on schema namespaces. For example: Valid: "chrome.users.", "chrome.users.apps.", " chrome.printers." Invalid: "", ".users", "chrome.", "chrome..apps." Corresponds to the JSON property policySchemaFilter

Returns:

  • (String)


1239
1240
1241
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1239

def policy_schema_filter
  @policy_schema_filter
end

#policy_target_keyGoogle::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey

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



1244
1245
1246
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1244

def policy_target_key
  @policy_target_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1251
1252
1253
1254
1255
1256
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1251

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