class Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicySchemaNoticeDescription

Provides special notice messages related to a particular value in a field that is part of a PolicySchema.

Attributes

acknowledgement_required[RW]

Output only. Whether the user needs to acknowledge the notice message before the value can be set. Corresponds to the JSON property `acknowledgementRequired` @return [Boolean]

acknowledgement_required?[RW]

Output only. Whether the user needs to acknowledge the notice message before the value can be set. Corresponds to the JSON property `acknowledgementRequired` @return [Boolean]

field[RW]

Output only. The field name associated with the notice. Corresponds to the JSON property `field` @return [String]

notice_message[RW]

Output only. The notice message associate with the value of the field. Corresponds to the JSON property `noticeMessage` @return [String]

notice_value[RW]

Output only. The value of the field that has a notice. When setting the field to this value, the user may be required to acknowledge the notice message in order for the value to be set. Corresponds to the JSON property `noticeValue` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/chromepolicy_v1/classes.rb, line 396
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 401
def update!(**args)
  @acknowledgement_required = args[:acknowledgement_required] if args.key?(:acknowledgement_required)
  @field = args[:field] if args.key?(:field)
  @notice_message = args[:notice_message] if args.key?(:notice_message)
  @notice_value = args[:notice_value] if args.key?(:notice_value)
end