Interface CreateDashboardRequestOrBuilder (2.30.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
TypeDescription
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
TypeDescription
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];

Returns
TypeDescription
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];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the dashboard field is set.