Class: Google::Apis::ServicenetworkingV1::UpdateConsumerConfigRequest

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

Overview

Request to update the configuration of a service networking connection including the import/export of custom routes and subnetwork routes with public IP.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateConsumerConfigRequest

Returns a new instance of UpdateConsumerConfigRequest.



5021
5022
5023
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5021

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#consumer_configGoogle::Apis::ServicenetworkingV1::ConsumerConfig

Configuration information for a private service access connection. Corresponds to the JSON property consumerConfig



5019
5020
5021
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5019

def consumer_config
  @consumer_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5026
5027
5028
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 5026

def update!(**args)
  @consumer_config = args[:consumer_config] if args.key?(:consumer_config)
end