Class: Google::Apis::ApimV1alpha::GclbObservationSource
- Inherits:
-
Object
- Object
- Google::Apis::ApimV1alpha::GclbObservationSource
- 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
-
#psc_network_configs ⇒ Array<Google::Apis::ApimV1alpha::GclbObservationSourcePscNetworkConfig>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GclbObservationSource
constructor
A new instance of GclbObservationSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GclbObservationSource
Returns a new instance of GclbObservationSource.
210 211 212 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 210 def initialize(**args) update!(**args) end |
Instance Attribute Details
#psc_network_configs ⇒ Array<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
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 |