Class: Google::Cloud::Monitoring::MetricsScope::V1::CreateMonitoredProjectRequest

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

Overview

Request for the CreateMonitoredProject method.

Instance Attribute Summary collapse

Instance Attribute Details

#monitored_project::Google::Cloud::Monitoring::MetricsScope::V1::MonitoredProject

Returns Required. The initial MonitoredProject configuration. Specify only the monitored_project.name field. All other fields are ignored. The monitored_project.name must be in the format: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}.

Returns:

  • (::Google::Cloud::Monitoring::MetricsScope::V1::MonitoredProject)

    Required. The initial MonitoredProject configuration. Specify only the monitored_project.name field. All other fields are ignored. The monitored_project.name must be in the format: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}



70
71
72
73
# File 'proto_docs/google/monitoring/metricsscope/v1/metrics_scopes.rb', line 70

class CreateMonitoredProjectRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Required. The resource name of the existing Metrics Scope that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}.

Returns:

  • (::String)

    Required. The resource name of the existing Metrics Scope that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}



70
71
72
73
# File 'proto_docs/google/monitoring/metricsscope/v1/metrics_scopes.rb', line 70

class CreateMonitoredProjectRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end