Required. Fully qualified name of the parent Application to create the
Service in. Expected format:
projects/{project}/locations/{location}/applications/{application}.
Required. Fully qualified name of the parent Application to create the
Service in. Expected format:
projects/{project}/locations/{location}/applications/{application}.
Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Required. The Service identifier.
Must contain only lowercase letters, numbers
or hyphens, with the first character a letter, the last a letter or a
number, and a 63 character maximum.
Required. The Service identifier.
Must contain only lowercase letters, numbers
or hyphens, with the first character a letter, the last a letter or a
number, and a 63 character maximum.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[],null,["# Interface CreateServiceRequestOrBuilder (0.36.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.36.0 (latest)](/java/docs/reference/google-cloud-apphub/latest/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.34.0](/java/docs/reference/google-cloud-apphub/0.34.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.32.0](/java/docs/reference/google-cloud-apphub/0.32.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.31.0](/java/docs/reference/google-cloud-apphub/0.31.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.28.0](/java/docs/reference/google-cloud-apphub/0.28.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.27.0](/java/docs/reference/google-cloud-apphub/0.27.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.26.0](/java/docs/reference/google-cloud-apphub/0.26.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.24.0](/java/docs/reference/google-cloud-apphub/0.24.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.23.0](/java/docs/reference/google-cloud-apphub/0.23.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.22.0](/java/docs/reference/google-cloud-apphub/0.22.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.21.0](/java/docs/reference/google-cloud-apphub/0.21.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.20.0](/java/docs/reference/google-cloud-apphub/0.20.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.19.0](/java/docs/reference/google-cloud-apphub/0.19.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.18.0](/java/docs/reference/google-cloud-apphub/0.18.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.17.0](/java/docs/reference/google-cloud-apphub/0.17.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-apphub/0.16.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloud-apphub/0.15.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-apphub/0.13.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.12.0](/java/docs/reference/google-cloud-apphub/0.12.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.11.0](/java/docs/reference/google-cloud-apphub/0.11.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-apphub/0.10.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.9.0](/java/docs/reference/google-cloud-apphub/0.9.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-apphub/0.8.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.7.0](/java/docs/reference/google-cloud-apphub/0.7.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-apphub/0.6.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-apphub/0.5.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-apphub/0.4.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-apphub/0.3.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-apphub/0.1.0/com.google.cloud.apphub.v1.CreateServiceRequestOrBuilder) \n\n public interface CreateServiceRequestOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getParent()\n\n public abstract String getParent()\n\nRequired. Fully qualified name of the parent Application to create the\nService in. Expected format:\n`projects/{project}/locations/{location}/applications/{application}`.\n\n`\nstring parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### getParentBytes()\n\n public abstract ByteString getParentBytes()\n\nRequired. Fully qualified name of the parent Application to create the\nService in. Expected format:\n`projects/{project}/locations/{location}/applications/{application}`.\n\n`\nstring parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### getRequestId()\n\n public abstract String getRequestId()\n\nOptional. An optional request ID to identify requests. Specify a unique\nrequest ID so that if you must retry your request, the server will know to\nignore the request if it has already been completed. The server will\nguarantee that for at least 60 minutes since the first request.\n\nFor example, consider a situation where you make an initial request and the\nrequest times out. If you make the request again with the same request\nID, the server can check if original operation with the same request ID\nwas received, and if so, will ignore the second request. This prevents\nclients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000).\n\n`string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getRequestIdBytes()\n\n public abstract ByteString getRequestIdBytes()\n\nOptional. An optional request ID to identify requests. Specify a unique\nrequest ID so that if you must retry your request, the server will know to\nignore the request if it has already been completed. The server will\nguarantee that for at least 60 minutes since the first request.\n\nFor example, consider a situation where you make an initial request and the\nrequest times out. If you make the request again with the same request\nID, the server can check if original operation with the same request ID\nwas received, and if so, will ignore the second request. This prevents\nclients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000).\n\n`string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getService()\n\n public abstract Service getService()\n\nRequired. The resource being created.\n\n`.google.cloud.apphub.v1.Service service = 3 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getServiceId()\n\n public abstract String getServiceId()\n\nRequired. The Service identifier.\nMust contain only lowercase letters, numbers\nor hyphens, with the first character a letter, the last a letter or a\nnumber, and a 63 character maximum.\n\n`string service_id = 2 [(.google.api.field_behavior) = REQUIRED];`\n\n### getServiceIdBytes()\n\n public abstract ByteString getServiceIdBytes()\n\nRequired. The Service identifier.\nMust contain only lowercase letters, numbers\nor hyphens, with the first character a letter, the last a letter or a\nnumber, and a 63 character maximum.\n\n`string service_id = 2 [(.google.api.field_behavior) = REQUIRED];`\n\n### getServiceOrBuilder()\n\n public abstract ServiceOrBuilder getServiceOrBuilder()\n\nRequired. The resource being created.\n\n`.google.cloud.apphub.v1.Service service = 3 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### hasService()\n\n public abstract boolean hasService()\n\nRequired. The resource being created.\n\n`.google.cloud.apphub.v1.Service service = 3 [(.google.api.field_behavior) = REQUIRED];\n`"]]