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

View Source

Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.

Attributes

  • allowedGoogleProducersResourceHierarchyLevel (type: list(String.t), default: nil) - Optional. List of Projects, Folders, or Organizations from where the Producer instance can be within. For example, a network administrator can provide both 'organizations/foo' and 'projects/bar' as allowed_google_producers_resource_hierarchy_levels. This allowlists this network to connect with any Producer instance within the 'foo' organization or the 'bar' project. By default, allowed_google_producers_resource_hierarchy_level is empty. The format for each allowed_google_producers_resource_hierarchy_level is / where is one of 'projects', 'folders', or 'organizations' and is either the ID or the number of the resource type. Format for each allowed_google_producers_resource_hierarchy_level value: 'projects/' or 'folders/' or 'organizations/' Eg. [projects/my-project-id, projects/567, folders/891, organizations/123]
  • limit (type: String.t, default: nil) - Optional. Max number of PSC connections for this policy.
  • producerInstanceLocation (type: String.t, default: nil) - Required. ProducerInstanceLocation is used to specify which authorization mechanism to use to determine which projects the Producer instance can be within.
  • subnetworks (type: list(String.t), default: nil) - The resource paths of subnetworks to use for IP address management. Example: projects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.NetworkConnectivity.V1.Model.PscConfig{
  allowedGoogleProducersResourceHierarchyLevel: [String.t()] | nil,
  limit: String.t() | nil,
  producerInstanceLocation: String.t() | nil,
  subnetworks: [String.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.