class Google::Apis::MonitoringV3::InternalChecker

An internal checker allows Uptime checks to run on private/internal GCP resources.

Attributes

display_name[RW]

The checker's human-readable name. The display name should be unique within a Cloud Monitoring Metrics Scope in order to make it easier to identify; however, uniqueness is not enforced. Corresponds to the JSON property `displayName` @return [String]

gcp_zone[RW]

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` @return [String]

name[RW]

A unique resource name for this InternalChecker. The format is: projects/[ PROJECT_ID_OR_NUMBER]/internalCheckers/ [ PROJECT_ID_OR_NUMBER] is the Cloud Monitoring Metrics Scope project for the Uptime check config associated with the internal checker. Corresponds to the JSON property `name` @return [String]

network[RW]

The GCP VPC network (cloud.google.com/vpc/docs/vpc) where the internal resource lives (ex: “default”). Corresponds to the JSON property `network` @return [String]

peer_project_id[RW]

The GCP project ID where the internal checker lives. Not necessary the same as the Metrics Scope project. Corresponds to the JSON property `peerProjectId` @return [String]

state[RW]

The current operational state of the internal checker. Corresponds to the JSON property `state` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/monitoring_v3/classes.rb, line 1799
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/monitoring_v3/classes.rb, line 1804
def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @gcp_zone = args[:gcp_zone] if args.key?(:gcp_zone)
  @name = args[:name] if args.key?(:name)
  @network = args[:network] if args.key?(:network)
  @peer_project_id = args[:peer_project_id] if args.key?(:peer_project_id)
  @state = args[:state] if args.key?(:state)
end