Class: Google::Apis::MonitoringV3::InternalChecker
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::InternalChecker
- 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
-
#checker_id ⇒ String
The checker ID.
-
#display_name ⇒ String
The checker's human-readable name.
-
#gcp_zone ⇒ String
The GCP zone the uptime check should egress from.
-
#network ⇒ String
The internal network to perform this uptime check on.
-
#project_id ⇒ String
The GCP project ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InternalChecker
constructor
A new instance of InternalChecker.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ InternalChecker
Returns a new instance of InternalChecker
1233 1234 1235 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1233 def initialize(**args) update!(**args) end |
Instance Attribute Details
#checker_id ⇒ String
The checker ID.
Corresponds to the JSON property checkerId
1210 1211 1212 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1210 def checker_id @checker_id end |
#display_name ⇒ String
The checker's human-readable name.
Corresponds to the JSON property displayName
1215 1216 1217 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1215 def display_name @display_name end |
#gcp_zone ⇒ String
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
1221 1222 1223 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1221 def gcp_zone @gcp_zone end |
#network ⇒ String
The internal network to perform this uptime check on.
Corresponds to the JSON property network
1226 1227 1228 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1226 def network @network end |
#project_id ⇒ String
The GCP project ID. Not necessarily the same as the project_id for the config.
Corresponds to the JSON property projectId
1231 1232 1233 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1231 def project_id @project_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1238 1239 1240 1241 1242 1243 1244 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1238 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 |