class Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription

Provides detailed information for a particular field that is part of a PolicySchema.

Attributes

description[RW]

Output only. The description for the field. Corresponds to the JSON property `description` @return [String]

field[RW]

Output only. The name of the field for associated with this description. Corresponds to the JSON property `field` @return [String]

field_dependencies[RW]

Output only. Provides a list of fields and the values they must have for this field to be allowed to be set. Corresponds to the JSON property `fieldDependencies` @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDependencies>]

input_constraint[RW]

Output only. Any input constraints associated on the values for the field. Corresponds to the JSON property `inputConstraint` @return [String]

known_value_descriptions[RW]

Output only. If the field has a set of known values, this field will provide a description for these values. Corresponds to the JSON property `knownValueDescriptions` @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription>]

nested_field_descriptions[RW]

Output only. Provides the description of the fields nested in this field, if the field is a message type that defines multiple fields. Corresponds to the JSON property `nestedFieldDescriptions` @return [Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/chromepolicy_v1/classes.rb, line 325
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 330
def update!(**args)
  @description = args[:description] if args.key?(:description)
  @field = args[:field] if args.key?(:field)
  @field_dependencies = args[:field_dependencies] if args.key?(:field_dependencies)
  @input_constraint = args[:input_constraint] if args.key?(:input_constraint)
  @known_value_descriptions = args[:known_value_descriptions] if args.key?(:known_value_descriptions)
  @nested_field_descriptions = args[:nested_field_descriptions] if args.key?(:nested_field_descriptions)
end