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

View Source

Attributes

  • checkServiceNetworkingUsePermission (type: boolean(), default: nil) - Optional. The IAM permission check determines whether the consumer project has 'servicenetworking.services.use' permission or not.
  • 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 network name.
  • consumerProject (type: GoogleApi.ServiceNetworking.V1.Model.ConsumerProject.t, default: nil) - NETWORK_NOT_IN_CONSUMERS_PROJECT, NETWORK_NOT_IN_CONSUMERS_HOST_PROJECT, and HOST_PROJECT_NOT_FOUND are done when consumer_project is provided.
  • rangeReservation (type: GoogleApi.ServiceNetworking.V1.Model.RangeReservation.t, default: nil) - RANGES_EXHAUSTED, RANGES_EXHAUSTED, and RANGES_DELETED_LATER are done when range_reservation is provided.
  • validateNetwork (type: boolean(), default: nil) - The validations will be performed in the order listed in the ValidationError enum. The first failure will return. If a validation is not requested, then the next one will be performed. SERVICE_NETWORKING_NOT_ENABLED and NETWORK_NOT_PEERED checks are performed for all requests where validation is requested. NETWORK_NOT_FOUND and NETWORK_DISCONNECTED checks are done for requests that have validate_network set to true.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.ServiceNetworking.V1.Model.ValidateConsumerConfigRequest{
  checkServiceNetworkingUsePermission: boolean() | nil,
  consumerNetwork: String.t() | nil,
  consumerProject:
    GoogleApi.ServiceNetworking.V1.Model.ConsumerProject.t() | nil,
  rangeReservation:
    GoogleApi.ServiceNetworking.V1.Model.RangeReservation.t() | nil,
  validateNetwork: boolean() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.