Class ProjectsResource.LocationsResource.ArtifactsResource.CreateRequest
Creates a specified artifact.
Inheritance
ProjectsResource.LocationsResource.ArtifactsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.ApigeeRegistry.v1
Assembly: Google.Apis.ApigeeRegistry.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ArtifactsResource.CreateRequest : ApigeeRegistryBaseServiceRequest<Artifact>, IClientServiceRequest<Artifact>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Artifact, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Artifact body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Artifact | body | |
string | parent |
Properties
ArtifactId
Required. The ID to use for the artifact, which will become the final component of the artifact's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.
Declaration
[RequestParameter("artifactId", RequestParameterType.Query)]
public virtual string ArtifactId { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApigeeRegistry.v1.Data.Artifact>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApigeeRegistry.v1.Data.Artifact>.MethodName
Parent
Required. The parent, which owns this collection of artifacts. Format: {parent}
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApigeeRegistry.v1.Data.Artifact>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApigeeRegistry.v1.Data.Artifact>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()