class Google::Apis::ResourcesettingsV1::GoogleCloudResourcesettingsV1Setting
The schema for settings.
Attributes
The data in a setting value. Corresponds to the JSON property `effectiveValue` @return [Google::Apis::ResourcesettingsV1::GoogleCloudResourcesettingsV1Value]
A fingerprint used for optimistic concurrency. See UpdateSetting for more details. Corresponds to the JSON property `etag` @return [String]
The data in a setting value. Corresponds to the JSON property `localValue` @return [Google::Apis::ResourcesettingsV1::GoogleCloudResourcesettingsV1Value]
Metadata about a setting which is not editable by the end user. Corresponds to the JSON property `metadata` @return [Google::Apis::ResourcesettingsV1::GoogleCloudResourcesettingsV1SettingMetadata]
The resource name of the setting. Must be in one of the following forms: * ` projects/`project_number`/settings/`setting_name“ * `folders/`folder_id`/ settings/`setting_name“ * `organizations/`organization_id`/settings/` setting_name“ For example, “/projects/123/settings/gcp-enableMyFeature” Corresponds to the JSON property `name` @return [String]
Public Class Methods
# File lib/google/apis/resourcesettings_v1/classes.rb, line 83 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/resourcesettings_v1/classes.rb, line 88 def update!(**args) @effective_value = args[:effective_value] if args.key?(:effective_value) @etag = args[:etag] if args.key?(:etag) @local_value = args[:local_value] if args.key?(:local_value) @metadata = args[:metadata] if args.key?(:metadata) @name = args[:name] if args.key?(:name) end