Class: Google::Apis::NetworkconnectivityV1::CheckConsumerConfigRequest
- Inherits:
-
Object
- Object
- Google::Apis::NetworkconnectivityV1::CheckConsumerConfigRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkconnectivity_v1/classes.rb,
lib/google/apis/networkconnectivity_v1/representations.rb,
lib/google/apis/networkconnectivity_v1/representations.rb
Overview
Request for CheckConsumerConfig.
Instance Attribute Summary collapse
-
#consumer_network ⇒ String
Required.
-
#endpoint_project ⇒ String
The project number or ID where the PSC endpoint is to be created.
-
#requested_ip_version ⇒ String
The requested IP Version Corresponds to the JSON property
requestedIpVersion. -
#service_class ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CheckConsumerConfigRequest
constructor
A new instance of CheckConsumerConfigRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CheckConsumerConfigRequest
Returns a new instance of CheckConsumerConfigRequest.
455 456 457 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 455 def initialize(**args) update!(**args) end |
Instance Attribute Details
#consumer_network ⇒ String
Required. Full resource name of the consumer network. Example: - projects/
project/global/networks/network.
Corresponds to the JSON property consumerNetwork
438 439 440 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 438 def consumer_network @consumer_network end |
#endpoint_project ⇒ String
The project number or ID where the PSC endpoint is to be created.
Corresponds to the JSON property endpointProject
443 444 445 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 443 def endpoint_project @endpoint_project end |
#requested_ip_version ⇒ String
The requested IP Version
Corresponds to the JSON property requestedIpVersion
448 449 450 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 448 def requested_ip_version @requested_ip_version end |
#service_class ⇒ String
Required. The service class identifier of the producer.
Corresponds to the JSON property serviceClass
453 454 455 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 453 def service_class @service_class end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
460 461 462 463 464 465 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 460 def update!(**args) @consumer_network = args[:consumer_network] if args.key?(:consumer_network) @endpoint_project = args[:endpoint_project] if args.key?(:endpoint_project) @requested_ip_version = args[:requested_ip_version] if args.key?(:requested_ip_version) @service_class = args[:service_class] if args.key?(:service_class) end |