class Google::Apis::ResourcesettingsV1::GoogleCloudResourcesettingsV1SettingMetadata

Metadata about a setting which is not editable by the end user.

Attributes

data_type[RW]

The data type for this setting. Corresponds to the JSON property `dataType` @return [String]

default_value[RW]

The data in a setting value. Corresponds to the JSON property `defaultValue` @return [Google::Apis::ResourcesettingsV1::GoogleCloudResourcesettingsV1Value]

description[RW]

A detailed description of what this setting does. Corresponds to the JSON property `description` @return [String]

display_name[RW]

The human readable name for this setting. Corresponds to the JSON property `displayName` @return [String]

read_only[RW]

A flag indicating that values of this setting cannot be modified. See documentation for the specific setting for updates and reasons. Corresponds to the JSON property `readOnly` @return [Boolean]

read_only?[RW]

A flag indicating that values of this setting cannot be modified. See documentation for the specific setting for updates and reasons. Corresponds to the JSON property `readOnly` @return [Boolean]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/resourcesettings_v1/classes.rb, line 133
def update!(**args)
  @data_type = args[:data_type] if args.key?(:data_type)
  @default_value = args[:default_value] if args.key?(:default_value)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @read_only = args[:read_only] if args.key?(:read_only)
end