class Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchema

Resource representing a policy schema. Next ID: 10

Attributes

access_restrictions[RW]

Output only. Specific access restrictions related to this policy. Corresponds to the JSON property `accessRestrictions` @return [Array<String>]

additional_target_key_names[RW]

Output only. Additional key names that will be used to identify the target of the policy value. When specifying a `policyTargetKey`, each of the additional keys specified here will have to be included in the `additionalTargetKeys` map. Corresponds to the JSON property `additionalTargetKeyNames` @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1AdditionalTargetKeyName>]

definition[RW]

Describes a complete .proto file. Corresponds to the JSON property `definition` @return [Google::Apis::ChromepolicyV1::Proto2FileDescriptorProto]

field_descriptions[RW]

Output only. Detailed description of each field that is part of the schema. Corresponds to the JSON property `fieldDescriptions` @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription>]

name[RW]

Format: name=customers/`customer`/policySchemas/`schema_namespace` Corresponds to the JSON property `name` @return [String]

notices[RW]

Output only. Special notice messages related to setting certain values in certain fields in the schema. Corresponds to the JSON property `notices` @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaNoticeDescription>]

policy_description[RW]

Output only. Description about the policy schema for user consumption. Corresponds to the JSON property `policyDescription` @return [String]

schema_name[RW]

Output only. The full qualified name of the policy schema. This value is used to fill the field `policy_schema` in PolicyValue when calling BatchInheritOrgUnitPolicies or BatchModifyOrgUnitPolicies. Corresponds to the JSON property `schemaName` @return [String]

support_uri[RW]

Output only. URI to related support article for this schema. Corresponds to the JSON property `supportUri` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/chromepolicy_v1/classes.rb, line 243
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/chromepolicy_v1/classes.rb, line 248
def update!(**args)
  @access_restrictions = args[:access_restrictions] if args.key?(:access_restrictions)
  @additional_target_key_names = args[:additional_target_key_names] if args.key?(:additional_target_key_names)
  @definition = args[:definition] if args.key?(:definition)
  @field_descriptions = args[:field_descriptions] if args.key?(:field_descriptions)
  @name = args[:name] if args.key?(:name)
  @notices = args[:notices] if args.key?(:notices)
  @policy_description = args[:policy_description] if args.key?(:policy_description)
  @schema_name = args[:schema_name] if args.key?(:schema_name)
  @support_uri = args[:support_uri] if args.key?(:support_uri)
end