Class ProjectsResource.LocationsResource.CollectApiDataRequest
Collect API data from a source and push it to Hub's collect layer.
Inheritance
ProjectsResource.LocationsResource.CollectApiDataRequest
Inherited Members
Namespace: Google.Apis.APIhub.v1
Assembly: Google.Apis.APIhub.v1.dll
Syntax
public class ProjectsResource.LocationsResource.CollectApiDataRequest : APIhubBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
CollectApiDataRequest(IClientService, GoogleCloudApihubV1CollectApiDataRequest, string)
Constructs a new CollectApiData request.
Declaration
public CollectApiDataRequest(IClientService service, GoogleCloudApihubV1CollectApiDataRequest body, string location)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudApihubV1CollectApiDataRequest | body | |
string | location |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Location
Required. The regional location of the API hub instance and its resources. Format:
projects/{project}/locations/{location}
Declaration
[RequestParameter("location", RequestParameterType.Path)]
public virtual string Location { get; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes CollectApiData parameter list.
Declaration
protected override void InitParameters()