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.



603
604
605
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 603

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)


586
587
588
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 586

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)


591
592
593
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 591

def endpoint_project
  @endpoint_project
end

#requested_ip_versionString

The requested IP Version Corresponds to the JSON property requestedIpVersion

Returns:

  • (String)


596
597
598
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 596

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)


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