Class: Google::Apis::MonitoringV3::SyntheticMonitorTarget
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::SyntheticMonitorTarget
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/monitoring_v3/classes.rb,
lib/google/apis/monitoring_v3/representations.rb,
lib/google/apis/monitoring_v3/representations.rb
Overview
Describes a Synthetic Monitor to be invoked by Uptime.
Instance Attribute Summary collapse
-
#cloud_function_v2 ⇒ Google::Apis::MonitoringV3::CloudFunctionV2Target
A Synthetic Monitor deployed to a Cloud Functions V2 instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SyntheticMonitorTarget
constructor
A new instance of SyntheticMonitorTarget.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SyntheticMonitorTarget
Returns a new instance of SyntheticMonitorTarget.
4763 4764 4765 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 4763 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_function_v2 ⇒ Google::Apis::MonitoringV3::CloudFunctionV2Target
A Synthetic Monitor deployed to a Cloud Functions V2 instance.
Corresponds to the JSON property cloudFunctionV2
4761 4762 4763 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 4761 def cloud_function_v2 @cloud_function_v2 end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4768 4769 4770 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 4768 def update!(**args) @cloud_function_v2 = args[:cloud_function_v2] if args.key?(:cloud_function_v2) end |