View Source GoogleApi.ResourceSettings.V1.Model.GoogleCloudResourcesettingsV1Setting (google_api_resource_settings v0.3.0)

The schema for settings.

Attributes

  • effectiveValue (type: GoogleApi.ResourceSettings.V1.Model.GoogleCloudResourcesettingsV1Value.t, default: nil) - Output only. The effective value of the setting at the given parent resource, evaluated based on the resource hierarchy The effective value evaluates to one of the following options, in this order. If an option is not valid or doesn't exist, then the next option is used: 1. The local setting value on the given resource: Setting.local_value 2. If one of the given resource's ancestors in the resource hierarchy have a local setting value, the local value at the nearest such ancestor. 3. The setting's default value: SettingMetadata.default_value 4. An empty value, defined as a Value with all fields unset. The data type of Value must always be consistent with the data type defined in Setting.metadata.
  • etag (type: String.t, default: nil) - A fingerprint used for optimistic concurrency. See UpdateSetting for more details.
  • localValue (type: GoogleApi.ResourceSettings.V1.Model.GoogleCloudResourcesettingsV1Value.t, default: nil) - The configured value of the setting at the given parent resource, ignoring the resource hierarchy. The data type of Value must always be consistent with the data type defined in Setting.metadata.
  • metadata (type: GoogleApi.ResourceSettings.V1.Model.GoogleCloudResourcesettingsV1SettingMetadata.t, default: nil) - Output only. Metadata about a setting which is not editable by the end user.
  • name (type: String.t, default: nil) - 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"

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ResourceSettings.V1.Model.GoogleCloudResourcesettingsV1Setting{
    effectiveValue:
      GoogleApi.ResourceSettings.V1.Model.GoogleCloudResourcesettingsV1Value.t()
      | nil,
    etag: String.t() | nil,
    localValue:
      GoogleApi.ResourceSettings.V1.Model.GoogleCloudResourcesettingsV1Value.t()
      | nil,
    metadata:
      GoogleApi.ResourceSettings.V1.Model.GoogleCloudResourcesettingsV1SettingMetadata.t()
      | nil,
    name: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.