Class ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.CreateRequest
Creates an entry. You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', or
custom types. Data Catalog automatically creates entries with other types during metadata
ingestion from integrated systems. You must enable the Data Catalog API in the project
identified by the parent
parameter. For more information, see Data Catalog resource
project. An entry group
can have a maximum of 100,000 entries.
Inheritance
Inherited Members
Namespace: Google.Apis.DataCatalog.v1
Assembly: Google.Apis.DataCatalog.v1.dll
Syntax
public class ProjectsResource.LocationsResource.EntryGroupsResource.EntriesResource.CreateRequest : DataCatalogBaseServiceRequest<GoogleCloudDatacatalogV1Entry>, IClientServiceRequest<GoogleCloudDatacatalogV1Entry>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleCloudDatacatalogV1Entry, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleCloudDatacatalogV1Entry body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDatacatalogV1Entry | body | |
string | parent |
Properties
EntryId
Required. The ID of the entry to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (_). The maximum size is 64 bytes when encoded in UTF-8.
Declaration
[RequestParameter("entryId", RequestParameterType.Query)]
public virtual string EntryId { 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 name of the entry group this entry belongs to. Note: The entry itself and its child resources might not be stored in the location specified in its name.
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
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()