Class ProjectsResource.LocationsResource.ApisResource.VersionsResource.SpecsResource.TagRevisionRequest
Adds a tag to a specified revision of a spec.
Inheritance
ProjectsResource.LocationsResource.ApisResource.VersionsResource.SpecsResource.TagRevisionRequest
Inherited Members
Namespace: Google.Apis.ApigeeRegistry.v1
Assembly: Google.Apis.ApigeeRegistry.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ApisResource.VersionsResource.SpecsResource.TagRevisionRequest : ApigeeRegistryBaseServiceRequest<ApiSpec>, IClientServiceRequest<ApiSpec>, IClientServiceRequest
Constructors
TagRevisionRequest(IClientService, TagApiSpecRevisionRequest, string)
Constructs a new TagRevision request.
Declaration
public TagRevisionRequest(IClientService service, TagApiSpecRevisionRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
TagApiSpecRevisionRequest | 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.ApiSpec>.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.ApiSpec>.MethodName
Name
Required. The name of the spec 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.ApiSpec>.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.ApiSpec>.GetBody()
InitParameters()
Initializes TagRevision parameter list.
Declaration
protected override void InitParameters()