Dataproc Metastore v1 API - Class CreateServiceRequest (2.6.0)

public sealed class CreateServiceRequest : IMessage<CreateServiceRequest>, IEquatable<CreateServiceRequest>, IDeepCloneable<CreateServiceRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Dataproc Metastore v1 API class CreateServiceRequest.

Request message for [DataprocMetastore.CreateService][google.cloud.metastore.v1.DataprocMetastore.CreateService].

Inheritance

object > CreateServiceRequest

Namespace

Google.Cloud.Metastore.V1

Assembly

Google.Cloud.Metastore.V1.dll

Constructors

CreateServiceRequest()

public CreateServiceRequest()

CreateServiceRequest(CreateServiceRequest)

public CreateServiceRequest(CreateServiceRequest other)
Parameter
NameDescription
otherCreateServiceRequest

Properties

Parent

public string Parent { get; set; }

Required. The relative resource name of the location in which to create a metastore service, in the following form:

projects/{project_number}/locations/{location_id}.

Property Value
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
LocationName

RequestId

public string RequestId { get; set; }

Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.

For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.

The request ID must be a valid UUID A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.

Property Value
TypeDescription
string

Service

public Service Service { get; set; }

Required. The Metastore service to create. The name field is ignored. The ID of the created metastore service must be provided in the request's service_id field.

Property Value
TypeDescription
Service

ServiceId

public string ServiceId { get; set; }

Required. The ID of the metastore service, which is used as the final component of the metastore service's name.

This value must be between 2 and 63 characters long inclusive, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens.

Property Value
TypeDescription
string