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\u003eThe latest version of the \u003ccode\u003eCreateServiceRequest\u003c/code\u003e API is 2.13.0, but this page is documenting version 2.5.0, with other versions available as well.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateServiceRequest\u003c/code\u003e class is used to send a request to create a new service within the Cloud Run Admin v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces, among others.\u003c/p\u003e\n"],["\u003cp\u003eKey properties for the \u003ccode\u003eCreateServiceRequest\u003c/code\u003e include \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 define the service's location, identifier, and the service instance itself.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateServiceRequest\u003c/code\u003e has two constructors available, one default and one that accepts another \u003ccode\u003eCreateServiceRequest\u003c/code\u003e object as a parameter for cloning.\u003c/p\u003e\n"]]],[],null,[]]