Interface CreateServiceLevelObjectiveRequestOrBuilder (3.55.0)

public interface CreateServiceLevelObjectiveRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. Resource name of the parent Service. The format is:

 projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Resource name of the parent Service. The format is:

 projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]

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

Returns
Type Description
ByteString

The bytes for parent.

getServiceLevelObjective()

public abstract ServiceLevelObjective getServiceLevelObjective()

Required. The ServiceLevelObjective to create. The provided name will be respected if no ServiceLevelObjective exists with this name.

.google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServiceLevelObjective

The serviceLevelObjective.

getServiceLevelObjectiveId()

public abstract String getServiceLevelObjectiveId()

Optional. The ServiceLevelObjective id to use for this ServiceLevelObjective. If omitted, an id will be generated instead. Must match the pattern ^[a-zA-Z0-9-_:.]+$

string service_level_objective_id = 3;

Returns
Type Description
String

The serviceLevelObjectiveId.

getServiceLevelObjectiveIdBytes()

public abstract ByteString getServiceLevelObjectiveIdBytes()

Optional. The ServiceLevelObjective id to use for this ServiceLevelObjective. If omitted, an id will be generated instead. Must match the pattern ^[a-zA-Z0-9-_:.]+$

string service_level_objective_id = 3;

Returns
Type Description
ByteString

The bytes for serviceLevelObjectiveId.

getServiceLevelObjectiveOrBuilder()

public abstract ServiceLevelObjectiveOrBuilder getServiceLevelObjectiveOrBuilder()

Required. The ServiceLevelObjective to create. The provided name will be respected if no ServiceLevelObjective exists with this name.

.google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServiceLevelObjectiveOrBuilder

hasServiceLevelObjective()

public abstract boolean hasServiceLevelObjective()

Required. The ServiceLevelObjective to create. The provided name will be respected if no ServiceLevelObjective exists with this name.

.google.monitoring.v3.ServiceLevelObjective service_level_objective = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the serviceLevelObjective field is set.