Class ProjectsResource.LocationsResource.ApisResource.VersionsResource.SpecsResource.GetContentsRequest
Get spec contents.
Inheritance
ProjectsResource.LocationsResource.ApisResource.VersionsResource.SpecsResource.GetContentsRequest
Inherited Members
Namespace: Google.Apis.APIhub.v1
Assembly: Google.Apis.APIhub.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ApisResource.VersionsResource.SpecsResource.GetContentsRequest : APIhubBaseServiceRequest<GoogleCloudApihubV1SpecContents>, IClientServiceRequest<GoogleCloudApihubV1SpecContents>, 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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The name of the spec whose contents need to be retrieved. Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
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
Methods
InitParameters()
Initializes GetContents parameter list.
Declaration
protected override void InitParameters()