Interface CreateDashboardRequestOrBuilder (2.45.0)

public interface CreateDashboardRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDashboard()

public abstract Dashboard getDashboard()

Required. The initial dashboard specification.

.google.monitoring.dashboard.v1.Dashboard dashboard = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Dashboard

The dashboard.

getDashboardOrBuilder()

public abstract DashboardOrBuilder getDashboardOrBuilder()

Required. The initial dashboard specification.

.google.monitoring.dashboard.v1.Dashboard dashboard = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DashboardOrBuilder

getParent()

public abstract String getParent()

Required. The project on which to execute the request. The format is:

 projects/[PROJECT_ID_OR_NUMBER]

The [PROJECT_ID_OR_NUMBER] must match the dashboard resource name.

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 project on which to execute the request. The format is:

 projects/[PROJECT_ID_OR_NUMBER]

The [PROJECT_ID_OR_NUMBER] must match the dashboard resource name.

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

Returns
Type Description
ByteString

The bytes for parent.

getValidateOnly()

public abstract boolean getValidateOnly()

If set, validate the request and preview the review, but do not actually save it.

bool validate_only = 3;

Returns
Type Description
boolean

The validateOnly.

hasDashboard()

public abstract boolean hasDashboard()

Required. The initial dashboard specification.

.google.monitoring.dashboard.v1.Dashboard dashboard = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dashboard field is set.