GoogleApi.ServiceNetworking.V1.Model.AddRolesRequest (google_api_service_networking v0.40.0)

View Source

Request for AddRoles to allow Service Producers to add roles in the shared VPC host project for them to use.

Attributes

  • consumerNetwork (type: String.t, default: nil) - Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project}/global/networks/{network} {project} is a project number, as in '12345' {network} is a network name.
  • policyBinding (type: list(GoogleApi.ServiceNetworking.V1.Model.PolicyBinding.t), default: nil) - Required. List of policy bindings to add to shared VPC host project.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.ServiceNetworking.V1.Model.AddRolesRequest{
  consumerNetwork: String.t() | nil,
  policyBinding: [GoogleApi.ServiceNetworking.V1.Model.PolicyBinding.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.