Interface SyntheticMonitorTarget.CloudFunctionV2TargetOrBuilder (3.55.0)

public static interface SyntheticMonitorTarget.CloudFunctionV2TargetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCloudRunRevision()

public abstract MonitoredResource getCloudRunRevision()

Output only. The cloud_run_revision Monitored Resource associated with the GCFv2. The Synthetic Monitor execution results (metrics, logs, and spans) are reported against this Monitored Resource. This field is output only.

.google.api.MonitoredResource cloud_run_revision = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.api.MonitoredResource

The cloudRunRevision.

getCloudRunRevisionOrBuilder()

public abstract MonitoredResourceOrBuilder getCloudRunRevisionOrBuilder()

Output only. The cloud_run_revision Monitored Resource associated with the GCFv2. The Synthetic Monitor execution results (metrics, logs, and spans) are reported against this Monitored Resource. This field is output only.

.google.api.MonitoredResource cloud_run_revision = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.api.MonitoredResourceOrBuilder

getName()

public abstract String getName()

Required. Fully qualified GCFv2 resource name i.e. projects/{project}/locations/{location}/functions/{function} Required.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Fully qualified GCFv2 resource name i.e. projects/{project}/locations/{location}/functions/{function} Required.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

hasCloudRunRevision()

public abstract boolean hasCloudRunRevision()

Output only. The cloud_run_revision Monitored Resource associated with the GCFv2. The Synthetic Monitor execution results (metrics, logs, and spans) are reported against this Monitored Resource. This field is output only.

.google.api.MonitoredResource cloud_run_revision = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the cloudRunRevision field is set.