google_api_service_control v0.1.0 GoogleApi.ServiceControl.V1.Model.Resource View Source

This message defines core attributes for a resource. A resource is an addressable (named) entity provided by the destination service. For example, a file stored on a network storage service.

Attributes

  • labels (%{optional(String.t) => String.t}): The labels or tags on the resource, such as AWS resource tags and Kubernetes resource labels. Defaults to: null.
  • name (String.t): The stable identifier (name) of a resource on the `service`. A resource can be logically identified as "//{resource.service}/{resource.name}". The differences between a resource name and a URI are: Resource name is a logical identifier, independent of network protocol and API version. For example, `//pubsub.googleapis.com/projects/123/topics/news-feed`. URI often includes protocol and version information, so it can be used directly by applications. For example, `https://pubsub.googleapis.com/v1/projects/123/topics/news-feed`. See https://cloud.google.com/apis/design/resource_names for details. Defaults to: null.
  • service (String.t): The name of the service that this resource belongs to, such as `pubsub.googleapis.com`. The service may be different from the DNS hostname that actually serves the request. Defaults to: null.
  • type (String.t): The type of the resource. The scheme is platform-specific because different platforms define their resources differently. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.ServiceControl.V1.Model.Resource{
  labels: map(),
  name: any(),
  service: any(),
  type: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.