Class ProjectsResource.LocationsResource.ConnectionsResource.RepositoriesResource.AccessReadWriteTokenRequest
Fetches read/write token of a given repository.
Inheritance
ProjectsResource.LocationsResource.ConnectionsResource.RepositoriesResource.AccessReadWriteTokenRequest
Inherited Members
Namespace: Google.Apis.CloudBuild.v2
Assembly: Google.Apis.CloudBuild.v2.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectionsResource.RepositoriesResource.AccessReadWriteTokenRequest : CloudBuildBaseServiceRequest<FetchReadWriteTokenResponse>, IClientServiceRequest<FetchReadWriteTokenResponse>, IClientServiceRequest
Constructors
AccessReadWriteTokenRequest(IClientService, FetchReadWriteTokenRequest, string)
Constructs a new AccessReadWriteToken request.
Declaration
public AccessReadWriteTokenRequest(IClientService service, FetchReadWriteTokenRequest body, string repository)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
FetchReadWriteTokenRequest | body | |
string | repository |
Properties
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
Repository
Required. The resource name of the repository in the format
projects/*/locations/*/connections/*/repositories/*
.
Declaration
[RequestParameter("repository", RequestParameterType.Path)]
public virtual string Repository { 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 AccessReadWriteToken parameter list.
Declaration
protected override void InitParameters()