Class: Google::Cloud::Monitoring::V3::InternalChecker

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/monitoring/v3/uptime.rb

Overview

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

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#display_name::String

Returns The checker's human-readable name. The display name should be unique within a Stackdriver Workspace in order to make it easier to identify; however, uniqueness is not enforced.

Returns:

  • (::String)

    The checker's human-readable name. The display name should be unique within a Stackdriver Workspace in order to make it easier to identify; however, uniqueness is not enforced.



54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 54

class InternalChecker
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Operational states for an internal checker.
  module State
    # An internal checker should never be in the unspecified state.
    UNSPECIFIED = 0

    # The checker is being created, provisioned, and configured. A checker in
    # this state can be returned by `ListInternalCheckers` or
    # `GetInternalChecker`, as well as by examining the [long running
    # Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations)
    # that created it.
    CREATING = 1

    # The checker is running and available for use. A checker in this state
    # can be returned by `ListInternalCheckers` or `GetInternalChecker` as
    # well as by examining the [long running
    # Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations)
    # that created it.
    # If a checker is being torn down, it is neither visible nor usable, so
    # there is no "deleting" or "down" state.
    RUNNING = 2
  end
end

#gcp_zone::String

Returns The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified.

Returns:

  • (::String)

    The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified.



54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 54

class InternalChecker
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Operational states for an internal checker.
  module State
    # An internal checker should never be in the unspecified state.
    UNSPECIFIED = 0

    # The checker is being created, provisioned, and configured. A checker in
    # this state can be returned by `ListInternalCheckers` or
    # `GetInternalChecker`, as well as by examining the [long running
    # Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations)
    # that created it.
    CREATING = 1

    # The checker is running and available for use. A checker in this state
    # can be returned by `ListInternalCheckers` or `GetInternalChecker` as
    # well as by examining the [long running
    # Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations)
    # that created it.
    # If a checker is being torn down, it is neither visible nor usable, so
    # there is no "deleting" or "down" state.
    RUNNING = 2
  end
end

#name::String

Returns A unique resource name for this InternalChecker. The format is:

projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]

[PROJECT_ID_OR_NUMBER] is the Stackdriver Workspace project for the Uptime check config associated with the internal checker.

Returns:

  • (::String)

    A unique resource name for this InternalChecker. The format is:

    projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID]
    

    [PROJECT_ID_OR_NUMBER] is the Stackdriver Workspace project for the Uptime check config associated with the internal checker.



54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 54

class InternalChecker
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Operational states for an internal checker.
  module State
    # An internal checker should never be in the unspecified state.
    UNSPECIFIED = 0

    # The checker is being created, provisioned, and configured. A checker in
    # this state can be returned by `ListInternalCheckers` or
    # `GetInternalChecker`, as well as by examining the [long running
    # Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations)
    # that created it.
    CREATING = 1

    # The checker is running and available for use. A checker in this state
    # can be returned by `ListInternalCheckers` or `GetInternalChecker` as
    # well as by examining the [long running
    # Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations)
    # that created it.
    # If a checker is being torn down, it is neither visible nor usable, so
    # there is no "deleting" or "down" state.
    RUNNING = 2
  end
end

#network::String

Returns The GCP VPC network where the internal resource lives (ex: "default").

Returns:

  • (::String)

    The GCP VPC network where the internal resource lives (ex: "default").



54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 54

class InternalChecker
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Operational states for an internal checker.
  module State
    # An internal checker should never be in the unspecified state.
    UNSPECIFIED = 0

    # The checker is being created, provisioned, and configured. A checker in
    # this state can be returned by `ListInternalCheckers` or
    # `GetInternalChecker`, as well as by examining the [long running
    # Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations)
    # that created it.
    CREATING = 1

    # The checker is running and available for use. A checker in this state
    # can be returned by `ListInternalCheckers` or `GetInternalChecker` as
    # well as by examining the [long running
    # Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations)
    # that created it.
    # If a checker is being torn down, it is neither visible nor usable, so
    # there is no "deleting" or "down" state.
    RUNNING = 2
  end
end

#peer_project_id::String

Returns The GCP project ID where the internal checker lives. Not necessary the same as the Workspace project.

Returns:

  • (::String)

    The GCP project ID where the internal checker lives. Not necessary the same as the Workspace project.



54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 54

class InternalChecker
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Operational states for an internal checker.
  module State
    # An internal checker should never be in the unspecified state.
    UNSPECIFIED = 0

    # The checker is being created, provisioned, and configured. A checker in
    # this state can be returned by `ListInternalCheckers` or
    # `GetInternalChecker`, as well as by examining the [long running
    # Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations)
    # that created it.
    CREATING = 1

    # The checker is running and available for use. A checker in this state
    # can be returned by `ListInternalCheckers` or `GetInternalChecker` as
    # well as by examining the [long running
    # Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations)
    # that created it.
    # If a checker is being torn down, it is neither visible nor usable, so
    # there is no "deleting" or "down" state.
    RUNNING = 2
  end
end

#state::Google::Cloud::Monitoring::V3::InternalChecker::State

Returns The current operational state of the internal checker.

Returns:



54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'proto_docs/google/monitoring/v3/uptime.rb', line 54

class InternalChecker
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Operational states for an internal checker.
  module State
    # An internal checker should never be in the unspecified state.
    UNSPECIFIED = 0

    # The checker is being created, provisioned, and configured. A checker in
    # this state can be returned by `ListInternalCheckers` or
    # `GetInternalChecker`, as well as by examining the [long running
    # Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations)
    # that created it.
    CREATING = 1

    # The checker is running and available for use. A checker in this state
    # can be returned by `ListInternalCheckers` or `GetInternalChecker` as
    # well as by examining the [long running
    # Operation](https://cloud.google.com/apis/design/design_patterns#long_running_operations)
    # that created it.
    # If a checker is being torn down, it is neither visible nor usable, so
    # there is no "deleting" or "down" state.
    RUNNING = 2
  end
end