Class ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.TagRevisionRequest
Adds a tag to a specified revision of a deployment.
Inheritance
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.TagRevisionRequest
Inherited Members
Namespace: Google.Apis.ApigeeRegistry.v1
Assembly: Google.Apis.ApigeeRegistry.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.TagRevisionRequest : ApigeeRegistryBaseServiceRequest<ApiDeployment>, IClientServiceRequest<ApiDeployment>, IClientServiceRequest
Constructors
TagRevisionRequest(IClientService, TagApiDeploymentRevisionRequest, string)
Constructs a new TagRevision request.
Declaration
public TagRevisionRequest(IClientService service, TagApiDeploymentRevisionRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
TagApiDeploymentRevisionRequest | body | |
string | name |
Properties
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.ApiDeployment>.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.ApiDeployment>.MethodName
Name
Required. The name of the deployment to be tagged, including the revision ID is optional. If a revision is not specified, it will tag the latest revision.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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.ApiDeployment>.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.ApiDeployment>.GetBody()
InitParameters()
Initializes TagRevision parameter list.
Declaration
protected override void InitParameters()