Class ProjectsResource.LocationsResource.DataProductsResource.CreateRequest
Creates a Data Product.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudDataplex.v1
Assembly: Google.Apis.CloudDataplex.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DataProductsResource.CreateRequest : CloudDataplexBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleCloudDataplexV1DataProduct, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleCloudDataplexV1DataProduct body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudDataplexV1DataProduct | body | |
| string | parent |
Properties
DataProductId
Optional. The ID of the Data Product to create.The ID must conform to RFC-1034 and contain only lower-case letters (a-z), numbers (0-9), or hyphens, with the first character a letter, the last a letter or a number, and a 63 character maximum. Characters outside of ASCII are not permitted. Valid format regex: (^a-z?$) If not provided, a system generated ID will be used.
Declaration
[RequestParameter("dataProductId", RequestParameterType.Query)]
public virtual string DataProductId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Parent
Required. The parent resource where this Data Product will be created. Format: projects/{project_id_or_number}/locations/{location_id}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
ValidateOnly
Optional. Validates the request without actually creating the Data Product. Default: false.
Declaration
[RequestParameter("validateOnly", RequestParameterType.Query)]
public virtual bool? ValidateOnly { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()