public interface CreateMonitoredProjectRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getMonitoredProject()
public abstract 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 | |
|---|---|
| Type | Description |
MonitoredProject |
The monitoredProject. |
getMonitoredProjectOrBuilder()
public abstract 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];
| Returns | |
|---|---|
| Type | Description |
MonitoredProjectOrBuilder |
|
getParent()
public abstract 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 | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public abstract 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasMonitoredProject()
public abstract 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 | |
|---|---|
| Type | Description |
boolean |
Whether the monitoredProject field is set. |