Interface CreateMonitoredProjectRequestOrBuilder

    • Method Detail

      • getParent

        String getParent()
         Required. The resource name of the existing `Metrics Scope` that will monitor this
         project.
         Example:
         `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The parent.
      • getParentBytes

        com.google.protobuf.ByteString getParentBytes()
         Required. The resource name of the existing `Metrics Scope` that will monitor this
         project.
         Example:
         `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for parent.
      • hasMonitoredProject

        boolean hasMonitoredProject()
         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}`
         
        .google.monitoring.metricsscope.v1.MonitoredProject monitored_project = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the monitoredProject field is set.
      • getMonitoredProject

        MonitoredProject getMonitoredProject()
         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}`
         
        .google.monitoring.metricsscope.v1.MonitoredProject monitored_project = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The monitoredProject.
      • getMonitoredProjectOrBuilder

        MonitoredProjectOrBuilder getMonitoredProjectOrBuilder()
         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}`
         
        .google.monitoring.metricsscope.v1.MonitoredProject monitored_project = 2 [(.google.api.field_behavior) = REQUIRED];