Class ProjectsResource.LocationsResource.ApisResource.VersionsResource.ArtifactsResource.GetContentsRequest
Returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).
Inheritance
ProjectsResource.LocationsResource.ApisResource.VersionsResource.ArtifactsResource.GetContentsRequest
Inherited Members
Namespace: Google.Apis.ApigeeRegistry.v1
Assembly: Google.Apis.ApigeeRegistry.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ApisResource.VersionsResource.ArtifactsResource.GetContentsRequest : ApigeeRegistryBaseServiceRequest<HttpBody>, IClientServiceRequest<HttpBody>, IClientServiceRequest
Constructors
GetContentsRequest(IClientService, string)
Constructs a new GetContents request.
Declaration
public GetContentsRequest(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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApigeeRegistry.v1.Data.HttpBody>.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.HttpBody>.MethodName
Name
Required. The name of the artifact whose contents should be retrieved. Format:
{parent}/artifacts/*
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.HttpBody>.RestPath
Methods
InitParameters()
Initializes GetContents parameter list.
Declaration
protected override void InitParameters()