public interface CreateServiceRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
Service |
getService()
Required.
|
String |
getServiceId()
Required.
|
com.google.protobuf.ByteString |
getServiceIdBytes()
Required.
|
ServiceOrBuilder |
getServiceOrBuilder()
Required.
|
boolean |
getValidateOnly()
Indicates that the request should be validated and default values
populated, without persisting the request or creating any resources.
|
boolean |
hasService()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getParent()
Required. The location and project in which this service should be created.
Format: projects/{project}/locations/{location}, where {project} can be
project id or number. Only lowercase characters, digits, and hyphens.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getParentBytes()
Required. The location and project in which this service should be created.
Format: projects/{project}/locations/{location}, where {project} can be
project id or number. Only lowercase characters, digits, and hyphens.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
boolean hasService()
Required. The Service instance to create.
.google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED];
Service getService()
Required. The Service instance to create.
.google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED];
ServiceOrBuilder getServiceOrBuilder()
Required. The Service instance to create.
.google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED];
String getServiceId()
Required. The unique identifier for the Service. It must begin with letter,
and cannot 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];com.google.protobuf.ByteString getServiceIdBytes()
Required. The unique identifier for the Service. It must begin with letter,
and cannot 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];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;Copyright © 2025 Google LLC. All rights reserved.