public interface CreateServiceRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getParent()
public abstract String getParent()
The location and project in which this service should be created. Format: projects/{project}/locations/{location} Only lowercase characters, digits, and hyphens.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public abstract ByteString getParentBytes()
The location and project in which this service should be created. Format: projects/{project}/locations/{location} Only lowercase characters, digits, and hyphens.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getService()
public abstract Service getService()
Required. The Service instance to create.
.google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Service | The service. |
getServiceId()
public abstract String getServiceId()
Required. The unique identifier for the Service. It must begin with letter, and may not end with hyphen; must contain fewer than 50 characters. The name of the service becomes {parent}/services/{service_id}.
string service_id = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The serviceId. |
getServiceIdBytes()
public abstract ByteString getServiceIdBytes()
Required. The unique identifier for the Service. It must begin with letter, and may not end with hyphen; must contain fewer than 50 characters. The name of the service becomes {parent}/services/{service_id}.
string service_id = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for serviceId. |
getServiceOrBuilder()
public abstract ServiceOrBuilder getServiceOrBuilder()
Required. The Service instance to create.
.google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ServiceOrBuilder |
getValidateOnly()
public abstract boolean getValidateOnly()
Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.
bool validate_only = 4;
Type | Description |
boolean | The validateOnly. |
hasService()
public abstract boolean hasService()
Required. The Service instance to create.
.google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the service field is set. |