Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription
- Inherits:
-
Object
- Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription
- 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
Provides detailed information for a particular field that is part of a PolicySchema.
Instance Attribute Summary collapse
-
#description ⇒ String
Output only.
-
#field ⇒ String
Output only.
-
#input_constraint ⇒ String
Output only.
-
#known_value_descriptions ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription>
Output only.
-
#nested_field_descriptions ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromePolicyV1PolicySchemaFieldDescription
constructor
A new instance of GoogleChromePolicyV1PolicySchemaFieldDescription.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyV1PolicySchemaFieldDescription
Returns a new instance of GoogleChromePolicyV1PolicySchemaFieldDescription.
293 294 295 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 293 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Output only. The description for the field.
Corresponds to the JSON property description
269 270 271 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 269 def description @description end |
#field ⇒ String
Output only. The name of the field for associated with this description.
Corresponds to the JSON property field
274 275 276 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 274 def field @field end |
#input_constraint ⇒ String
Output only. Any input constraints associated on the values for the field.
Corresponds to the JSON property inputConstraint
279 280 281 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 279 def input_constraint @input_constraint end |
#known_value_descriptions ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldKnownValueDescription>
Output only. If the field has a set of know values, this field will provide a
description for these values.
Corresponds to the JSON property knownValueDescriptions
285 286 287 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 285 def known_value_descriptions @known_value_descriptions end |
#nested_field_descriptions ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaFieldDescription>
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
291 292 293 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 291 def nested_field_descriptions @nested_field_descriptions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
298 299 300 301 302 303 304 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 298 def update!(**args) @description = args[:description] if args.key?(:description) @field = args[:field] if args.key?(:field) @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 |