Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.GeneratedSpecApisResource

The "generatedSpecApis" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.GeneratedSpecApisResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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: projects/{project}/locations/{location}/generatedSpecApis/{generated_spec_api}

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: projects/{project}/locations/{location}/generatedSpecApis/{generated_spec_api}

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: projects/{project}/locations/{location}

Returns
Type Description
ProjectsResource.LocationsResource.GeneratedSpecApisResource.ListRequest
In this article
Back to top Generated by DocFX