Class: Google::Apis::MonitoringV3::SyntheticMonitorTarget

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SyntheticMonitorTarget

Returns a new instance of SyntheticMonitorTarget.



4564
4565
4566
# File 'lib/google/apis/monitoring_v3/classes.rb', line 4564

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

Instance Attribute Details

#cloud_function_v2Google::Apis::MonitoringV3::CloudFunctionV2Target

A Synthetic Monitor deployed to a Cloud Functions V2 instance. Corresponds to the JSON property cloudFunctionV2



4562
4563
4564
# File 'lib/google/apis/monitoring_v3/classes.rb', line 4562

def cloud_function_v2
  @cloud_function_v2
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4569
4570
4571
# File 'lib/google/apis/monitoring_v3/classes.rb', line 4569

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