Class: Google::Apis::NetworkconnectivityV1::CheckConsumerConfigRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_networkString

Required. Full resource name of the consumer network. Example: - projects/ project/global/networks/network. Corresponds to the JSON property consumerNetwork

Returns:

  • (String)


438
439
440
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 438

def consumer_network
  @consumer_network
end

#endpoint_projectString

The project number or ID where the PSC endpoint is to be created. Corresponds to the JSON property endpointProject

Returns:

  • (String)


443
444
445
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 443

def endpoint_project
  @endpoint_project
end

#requested_ip_versionString

The requested IP Version Corresponds to the JSON property requestedIpVersion

Returns:

  • (String)


448
449
450
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 448

def requested_ip_version
  @requested_ip_version
end

#service_classString

Required. The service class identifier of the producer. Corresponds to the JSON property serviceClass

Returns:

  • (String)


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