Class ProjectsResource.LocationsResource.ConnectionsResource.RepositoriesResource.AccessReadTokenRequest
Fetches read token of a given repository.
Inheritance
ProjectsResource.LocationsResource.ConnectionsResource.RepositoriesResource.AccessReadTokenRequest
Inherited Members
Namespace: Google.Apis.CloudBuild.v2
Assembly: Google.Apis.CloudBuild.v2.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectionsResource.RepositoriesResource.AccessReadTokenRequest : CloudBuildBaseServiceRequest<FetchReadTokenResponse>, IClientServiceRequest<FetchReadTokenResponse>, IClientServiceRequest
Constructors
AccessReadTokenRequest(IClientService, FetchReadTokenRequest, string)
Constructs a new AccessReadToken request.
Declaration
public AccessReadTokenRequest(IClientService service, FetchReadTokenRequest body, string repository)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
FetchReadTokenRequest | 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 AccessReadToken parameter list.
Declaration
protected override void InitParameters()