Class ProjectsResource.LocationsResource.RepositoriesResource.FetchBlobRequest
Fetches a blob from a repository.
Inheritance
ProjectsResource.LocationsResource.RepositoriesResource.FetchBlobRequest
Inherited Members
Namespace: Google.Apis.SecureSourceManager.v1
Assembly: Google.Apis.SecureSourceManager.v1.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource.FetchBlobRequest : SecureSourceManagerBaseServiceRequest<FetchBlobResponse>, IClientServiceRequest<FetchBlobResponse>, IClientServiceRequest
Constructors
FetchBlobRequest(IClientService, string)
Constructs a new FetchBlob request.
Declaration
public FetchBlobRequest(IClientService service, string repository)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| 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 format is
projects/{project_number}/locations/{location_id}/repositories/{repository_id}. Specifies the
repository containing the blob.
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
Sha
Required. The SHA-1 hash of the blob to retrieve.
Declaration
[RequestParameter("sha", RequestParameterType.Query)]
public virtual string Sha { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
InitParameters()
Initializes FetchBlob parameter list.
Declaration
protected override void InitParameters()