Class ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource.GetRequest
Gets a version
Inheritance
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource.GetRequest
Inherited Members
Namespace: Google.Apis.ArtifactRegistry.v1
Assembly: Google.Apis.ArtifactRegistry.v1.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource.GetRequest : ArtifactRegistryBaseServiceRequest<Version>, IClientServiceRequest<Version>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
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
Name
The name of the version to retrieve.
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
View
The view that should be returned in the response.
Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource.GetRequest.ViewEnum? View { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RepositoriesResource.PackagesResource.VersionsResource.GetRequest.ViewEnum? |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()