public sealed class CreateServiceRequest : IMessage<CreateServiceRequest>, IEquatable<CreateServiceRequest>, IDeepCloneable<CreateServiceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Run Admin v2 API class CreateServiceRequest.
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.
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}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eCreateServiceRequest\u003c/code\u003e class within the Google Cloud Run Admin v2 API, specifically focusing on version 2.10.0, but also lists other versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateServiceRequest\u003c/code\u003e class is used to send requests for creating a new service within Google Cloud Run, implementing several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateServiceRequest\u003c/code\u003e class includes several properties such as \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsLocationName\u003c/code\u003e, \u003ccode\u003eService\u003c/code\u003e, \u003ccode\u003eServiceId\u003c/code\u003e, and \u003ccode\u003eValidateOnly\u003c/code\u003e, which are used to define the service to be created and its associated parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property is required and defines the project and location where the service will be created, formatted as projects/{project}/locations/{location}.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceId\u003c/code\u003e property is required and needs a unique identifier for the Service that starts with a letter, doesn't end with a hyphen and is under 50 characters.\u003c/p\u003e\n"]]],[],null,[]]