class Google::Apis::ServicenetworkingV1::ValidateConsumerConfigRequest
Attributes
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]
Represents a consumer project. Corresponds to the JSON property `consumerProject` @return [Google::Apis::ServicenetworkingV1::ConsumerProject]
Represents a range reservation. Corresponds to the JSON property `rangeReservation` @return [Google::Apis::ServicenetworkingV1::RangeReservation]
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]
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
# File lib/google/apis/servicenetworking_v1/classes.rb, line 4262 def initialize(**args) update!(**args) end
Public Instance Methods
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