GoogleApi.AppHub.V1.Model.Service (google_api_app_hub v0.4.0)

View Source

Service is an App Hub data model that contains a discovered service, which represents a network or API interface that exposes some functionality to clients for consumption over the network.

Attributes

  • attributes (type: GoogleApi.AppHub.V1.Model.Attributes.t, default: nil) - Optional. Consumer provided attributes.
  • createTime (type: DateTime.t, default: nil) - Output only. Create time.
  • description (type: String.t, default: nil) - Optional. User-defined description of a Service. Can have a maximum length of 2048 characters.
  • discoveredService (type: String.t, default: nil) - Required. Immutable. The resource name of the original discovered service.
  • displayName (type: String.t, default: nil) - Optional. User-defined name for the Service. Can have a maximum length of 63 characters.
  • name (type: String.t, default: nil) - Identifier. The resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"
  • serviceProperties (type: GoogleApi.AppHub.V1.Model.ServiceProperties.t, default: nil) - Output only. Properties of an underlying compute resource that can comprise a Service. These are immutable.
  • serviceReference (type: GoogleApi.AppHub.V1.Model.ServiceReference.t, default: nil) - Output only. Reference to an underlying networking resource that can comprise a Service. These are immutable.
  • state (type: String.t, default: nil) - Output only. Service state.
  • uid (type: String.t, default: nil) - Output only. A universally unique identifier (UUID) for the Service in the UUID4 format.
  • updateTime (type: DateTime.t, default: nil) - Output only. Update time.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.AppHub.V1.Model.Service{
  attributes: GoogleApi.AppHub.V1.Model.Attributes.t() | nil,
  createTime: DateTime.t() | nil,
  description: String.t() | nil,
  discoveredService: String.t() | nil,
  displayName: String.t() | nil,
  name: String.t() | nil,
  serviceProperties: GoogleApi.AppHub.V1.Model.ServiceProperties.t() | nil,
  serviceReference: GoogleApi.AppHub.V1.Model.ServiceReference.t() | nil,
  state: String.t() | nil,
  uid: String.t() | nil,
  updateTime: DateTime.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.