GoogleApi.CloudResourceManager.V1.Model.ResourceId (google_api_cloud_resource_manager v0.44.1)

View Source

A container to reference an id for any resource type. A resource in Google Cloud Platform is a generic term for something you (a developer) may want to interact with through one of our API's. Some examples are an App Engine app, a Compute Engine instance, a Cloud SQL database, and so on.

Attributes

  • id (type: String.t, default: nil) - The type-specific id. This should correspond to the id used in the type-specific API's.
  • type (type: String.t, default: nil) - The resource type this id is for. At present, the valid types are: "organization", "folder", and "project".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.CloudResourceManager.V1.Model.ResourceId{
  id: String.t() | nil,
  type: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.