Class: Google::Apis::MonitoringV3::InternalChecker

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/monitoring_v3/classes.rb,
generated/google/apis/monitoring_v3/representations.rb,
generated/google/apis/monitoring_v3/representations.rb

Overview

Nimbus InternalCheckers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ InternalChecker

Returns a new instance of InternalChecker



1157
1158
1159
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1157

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

Instance Attribute Details

#checker_idString

The checker ID. Corresponds to the JSON property checkerId

Returns:

  • (String)


1134
1135
1136
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1134

def checker_id
  @checker_id
end

#display_nameString

The checker's human-readable name. Corresponds to the JSON property displayName

Returns:

  • (String)


1139
1140
1141
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1139

def display_name
  @display_name
end

#gcp_zoneString

The GCP zone the uptime check should egress from. Only respected for internal uptime checks, where internal_network is specified. Corresponds to the JSON property gcpZone

Returns:

  • (String)


1145
1146
1147
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1145

def gcp_zone
  @gcp_zone
end

#networkString

The internal network to perform this uptime check on. Corresponds to the JSON property network

Returns:

  • (String)


1150
1151
1152
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1150

def network
  @network
end

#project_idString

The GCP project ID. Not necessarily the same as the project_id for the config. Corresponds to the JSON property projectId

Returns:

  • (String)


1155
1156
1157
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1155

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1162
1163
1164
1165
1166
1167
1168
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1162

def update!(**args)
  @checker_id = args[:checker_id] if args.key?(:checker_id)
  @display_name = args[:display_name] if args.key?(:display_name)
  @gcp_zone = args[:gcp_zone] if args.key?(:gcp_zone)
  @network = args[:network] if args.key?(:network)
  @project_id = args[:project_id] if args.key?(:project_id)
end