Class ProjectsResource.LocationsResource.GeneratedSpecApisResource
The "generatedSpecApis" collection of methods.
Inherited Members
Namespace: Google.Apis.APIhub.v1
Assembly: Google.Apis.APIhub.v1.dll
Syntax
public class ProjectsResource.LocationsResource.GeneratedSpecApisResource
Constructors
GeneratedSpecApisResource(IClientService)
Constructs a new resource.
Declaration
public GeneratedSpecApisResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
GenerateSpec(GoogleCloudApihubV1GenerateSpecRequest, string)
Merges the per-day stored specs across the requested window and returns the merged OpenAPI document. Preview: this method is in Public Preview. Behavior and the API surface may change until the Spec Generation feature reaches General Availability.
Declaration
public virtual ProjectsResource.LocationsResource.GeneratedSpecApisResource.GenerateSpecRequest GenerateSpec(GoogleCloudApihubV1GenerateSpecRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudApihubV1GenerateSpecRequest | body | The body of the request. |
| string | name | Required. The resource name of the GeneratedSpecApi to generate from. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.GeneratedSpecApisResource.GenerateSpecRequest |
Get(string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.GeneratedSpecApisResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the GeneratedSpecApi to retrieve. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.GeneratedSpecApisResource.GetRequest |
List(string)
Lists the APIs the pipeline is tracking, ordered by update_time desc. Preview: this method is in
Public Preview. Behavior and the API surface may change until the Spec Generation feature reaches
General Availability.
Declaration
public virtual ProjectsResource.LocationsResource.GeneratedSpecApisResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The parent resource, which owns this collection of tracked APIs. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.GeneratedSpecApisResource.ListRequest |