GoogleApi.NetworkConnectivity.V1.Model.ServiceConnectionPolicy (google_api_network_connectivity v0.12.0)

View Source

The ServiceConnectionPolicy resource.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. Time when the ServiceConnectionPolicy was created.
  • description (type: String.t, default: nil) - A description of this resource.
  • etag (type: String.t, default: nil) - Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
  • infrastructure (type: String.t, default: nil) - Output only. The type of underlying resources used to create the connection.
  • labels (type: map(), default: nil) - User-defined labels.
  • name (type: String.t, default: nil) - Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names
  • network (type: String.t, default: nil) - The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
  • pscConfig (type: GoogleApi.NetworkConnectivity.V1.Model.PscConfig.t, default: nil) - Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
  • pscConnections (type: list(GoogleApi.NetworkConnectivity.V1.Model.PscConnection.t), default: nil) - Output only. [Output only] Information about each Private Service Connect connection.
  • serviceClass (type: String.t, default: nil) - The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. It is provided by the Service Producer. Google services have a prefix of gcp or google-cloud. For example, gcp-memorystore-redis or google-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx.
  • updateTime (type: DateTime.t, default: nil) - Output only. Time when the ServiceConnectionPolicy was updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.NetworkConnectivity.V1.Model.ServiceConnectionPolicy{
  createTime: DateTime.t() | nil,
  description: String.t() | nil,
  etag: String.t() | nil,
  infrastructure: String.t() | nil,
  labels: map() | nil,
  name: String.t() | nil,
  network: String.t() | nil,
  pscConfig: GoogleApi.NetworkConnectivity.V1.Model.PscConfig.t() | nil,
  pscConnections:
    [GoogleApi.NetworkConnectivity.V1.Model.PscConnection.t()] | nil,
  serviceClass: 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.