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

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/ Required for the policy enforcement on the container level (e.g. VPCSC, Location Policy check, Org Policy check).
  • location (type: String.t, default: nil) - Optional. The location of the resource, it must be a valid zone, region or multiregion, for example: "europe-west4", "northamerica-northeast1-a". Required for location policy check.
  • 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}".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type 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
}

Functions

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

Unwrap a decoded JSON object into its complex fields.