Class ProjectsResource.LocationsResource.GeneratedSpecApisResource.GetRequest
Gets a single GeneratedSpecApi by resource name. Preview: this method is in Public Preview. Behavior and the API surface may change until the Spec Generation feature reaches General Availability.
Inheritance
ProjectsResource.LocationsResource.GeneratedSpecApisResource.GetRequest
Inherited Members
Namespace: Google.Apis.APIhub.v1
Assembly: Google.Apis.APIhub.v1.dll
Syntax
public class ProjectsResource.LocationsResource.GeneratedSpecApisResource.GetRequest : APIhubBaseServiceRequest<GoogleCloudApihubV1GeneratedSpecApi>, IClientServiceRequest<GoogleCloudApihubV1GeneratedSpecApi>, 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
Required. The resource name of the GeneratedSpecApi to retrieve. Format:
projects/{project}/locations/{location}/generatedSpecApis/{generated_spec_api}
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 Get parameter list.
Declaration
protected override void InitParameters()