Class: Google::Apis::ServicenetworkingV1::ValidateConsumerConfigRequest
- Inherits:
-
Object
- Object
- Google::Apis::ServicenetworkingV1::ValidateConsumerConfigRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/servicenetworking_v1/classes.rb,
lib/google/apis/servicenetworking_v1/representations.rb,
lib/google/apis/servicenetworking_v1/representations.rb
Instance Attribute Summary collapse
-
#check_service_networking_use_permission ⇒ Boolean
(also: #check_service_networking_use_permission?)
Optional.
-
#consumer_network ⇒ String
Required.
-
#consumer_project ⇒ Google::Apis::ServicenetworkingV1::ConsumerProject
Represents a consumer project.
-
#range_reservation ⇒ Google::Apis::ServicenetworkingV1::RangeReservation
Represents a range reservation.
-
#validate_network ⇒ Boolean
(also: #validate_network?)
The validations will be performed in the order listed in the ValidationError enum.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ValidateConsumerConfigRequest
constructor
A new instance of ValidateConsumerConfigRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ValidateConsumerConfigRequest
Returns a new instance of ValidateConsumerConfigRequest.
5216 5217 5218 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5216 def initialize(**args) update!(**args) end |
Instance Attribute Details
#check_service_networking_use_permission ⇒ Boolean Also known as: check_service_networking_use_permission?
Optional. The IAM permission check determines whether the consumer project has
'servicenetworking.services.use' permission or not.
Corresponds to the JSON property checkServiceNetworkingUsePermission
5185 5186 5187 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5185 def @check_service_networking_use_permission end |
#consumer_network ⇒ String
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
5193 5194 5195 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5193 def consumer_network @consumer_network end |
#consumer_project ⇒ Google::Apis::ServicenetworkingV1::ConsumerProject
Represents a consumer project.
Corresponds to the JSON property consumerProject
5198 5199 5200 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5198 def consumer_project @consumer_project end |
#range_reservation ⇒ Google::Apis::ServicenetworkingV1::RangeReservation
Represents a range reservation.
Corresponds to the JSON property rangeReservation
5203 5204 5205 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5203 def range_reservation @range_reservation end |
#validate_network ⇒ Boolean Also known as: validate_network?
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
5213 5214 5215 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5213 def validate_network @validate_network end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5221 5222 5223 5224 5225 5226 5227 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5221 def update!(**args) @check_service_networking_use_permission = args[:check_service_networking_use_permission] if args.key?(:check_service_networking_use_permission) @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 |