class Google::Apis::ServicenetworkingV1::ValidateConsumerConfigRequest

Attributes

consumer_network[RW]

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. Corresponds to the JSON property `consumerNetwork` @return [String]

consumer_project[RW]

Represents a consumer project. Corresponds to the JSON property `consumerProject` @return [Google::Apis::ServicenetworkingV1::ConsumerProject]

range_reservation[RW]

Represents a range reservation. Corresponds to the JSON property `rangeReservation` @return [Google::Apis::ServicenetworkingV1::RangeReservation]

validate_network[RW]

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. Corresponds to the JSON property `validateNetwork` @return [Boolean]

validate_network?[RW]

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. Corresponds to the JSON property `validateNetwork` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/servicenetworking_v1/classes.rb, line 4262
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/servicenetworking_v1/classes.rb, line 4267
def update!(**args)
  @consumer_network = args[:consumer_network] if args.key?(:consumer_network)
  @consumer_project = args[:consumer_project] if args.key?(:consumer_project)
  @range_reservation = args[:range_reservation] if args.key?(:range_reservation)
  @validate_network = args[:validate_network] if args.key?(:validate_network)
end