Class: Google::Apis::ApimV1alpha::ObservationSource
- Inherits:
-
Object
- Object
- Google::Apis::ApimV1alpha::ObservationSource
- 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
Observation source configuration types
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#gclb_observation_source ⇒ Google::Apis::ApimV1alpha::GclbObservationSource
The GCLB observation source.
-
#name ⇒ String
Identifier.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ObservationSource
constructor
A new instance of ObservationSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ObservationSource
Returns a new instance of ObservationSource.
715 716 717 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 715 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. [Output only] Create time stamp
Corresponds to the JSON property createTime
693 694 695 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 693 def create_time @create_time end |
#gclb_observation_source ⇒ Google::Apis::ApimV1alpha::GclbObservationSource
The GCLB observation source.
Corresponds to the JSON property gclbObservationSource
698 699 700 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 698 def gclb_observation_source @gclb_observation_source end |
#name ⇒ String
Identifier. name of resource For MVP, each region can only have 1 source.
Corresponds to the JSON property name
703 704 705 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 703 def name @name end |
#state ⇒ String
Output only. The observation source state
Corresponds to the JSON property state
708 709 710 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 708 def state @state end |
#update_time ⇒ String
Output only. [Output only] Update time stamp
Corresponds to the JSON property updateTime
713 714 715 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 713 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
720 721 722 723 724 725 726 |
# File 'lib/google/apis/apim_v1alpha/classes.rb', line 720 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @gclb_observation_source = args[:gclb_observation_source] if args.key?(:gclb_observation_source) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end |