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

Overview

The GCLB observation source.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GclbObservationSource

Returns a new instance of GclbObservationSource.



322
323
324
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 322

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



320
321
322
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 320

def psc_network_configs
  @psc_network_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



327
328
329
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 327

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