GoogleApi.ServiceControl.V2.Model.ResourceInfo (google_api_service_control v0.37.4) View Source

Describes a resource referenced in the request.

Attributes

  • container (type: String.t, default: nil) - Optional. The identifier of the container of this resource. For Google Cloud APIs, the resource container must be one of the following formats: - projects/ - folders/ - organizations/ For the policy enforcement on the container level (VPCSC and Location Policy check), this field takes precedence on the container extracted from name when presents.
  • location (type: String.t, default: nil) - Optional. The location of the resource. The value must be a valid zone, region or multiregion. For example: "europe-west4" or "northamerica-northeast1-a"
  • name (type: String.t, default: nil) - The name of the resource referenced in the request.
  • permission (type: String.t, default: nil) - The resource permission needed for this request. The format must be "{service}/{plural}.{verb}".
  • type (type: String.t, default: nil) - The resource type in the format of "{service}/{kind}".

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.ServiceControl.V2.Model.ResourceInfo{
  container: String.t() | nil,
  location: String.t() | nil,
  name: String.t() | nil,
  permission: String.t() | nil,
  type: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.