Cloud Monitoring Metrics Scopes V1 API - Class Google::Cloud::Monitoring::MetricsScope::V1::CreateMonitoredProjectRequest (v0.3.1)

Reference documentation and code samples for the Cloud Monitoring Metrics Scopes V1 API class Google::Cloud::Monitoring::MetricsScope::V1::CreateMonitoredProjectRequest.

Request for the CreateMonitoredProject method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#monitored_project

def monitored_project() -> ::Google::Cloud::Monitoring::MetricsScope::V1::MonitoredProject
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}

#monitored_project=

def monitored_project=(value) -> ::Google::Cloud::Monitoring::MetricsScope::V1::MonitoredProject
Parameter
  • value (::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}
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}

#parent

def parent() -> ::String
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}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — 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}