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.
603 604 605 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 603 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
586 587 588 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 586 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
591 592 593 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 591 def endpoint_project @endpoint_project end |
#requested_ip_version ⇒ String
The requested IP Version
Corresponds to the JSON property requestedIpVersion
596 597 598 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 596 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
601 602 603 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 601 def service_class @service_class end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
608 609 610 611 612 613 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 608 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 |