Class: Google::Apis::ApimV1alpha::GclbObservationSource

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apim_v1alpha/classes.rb,
lib/google/apis/apim_v1alpha/representations.rb,
lib/google/apis/apim_v1alpha/representations.rb
more...

Overview

The GCLB observation source.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GclbObservationSource

Returns a new instance of GclbObservationSource.

[View source]

210
211
212
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 210

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

Instance Attribute Details

#psc_network_configsArray<Google::Apis::ApimV1alpha::GclbObservationSourcePscNetworkConfig>

Required. The VPC networks where traffic will be observed. All load balancers within this network will be observed. Currently, this is limited to only one network. Corresponds to the JSON property pscNetworkConfigs


208
209
210
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 208

def psc_network_configs
  @psc_network_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

215
216
217
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 215

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