Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ExternalApisResource

The "externalApis" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.ExternalApisResource
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.ExternalApisResource

Constructors

ExternalApisResource(IClientService)

Constructs a new resource.

Declaration
public ExternalApisResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(GoogleCloudApihubV1ExternalApi, string)

Create an External API resource in the API hub.

Declaration
public virtual ProjectsResource.LocationsResource.ExternalApisResource.CreateRequest Create(GoogleCloudApihubV1ExternalApi body, string parent)
Parameters
Type Name Description
GoogleCloudApihubV1ExternalApi body

The body of the request.

string parent

Required. The parent resource for the External API resource. Format: projects/{project}/locations/{location}

Returns
Type Description
ProjectsResource.LocationsResource.ExternalApisResource.CreateRequest

Delete(string)

Delete an External API resource in the API hub.

Declaration
public virtual ProjectsResource.LocationsResource.ExternalApisResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the External API resource to delete. Format: projects/{project}/locations/{location}/externalApis/{externalApi}

Returns
Type Description
ProjectsResource.LocationsResource.ExternalApisResource.DeleteRequest

Get(string)

Get details about an External API resource in the API hub.

Declaration
public virtual ProjectsResource.LocationsResource.ExternalApisResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the External API resource to retrieve. Format: projects/{project}/locations/{location}/externalApis/{externalApi}

Returns
Type Description
ProjectsResource.LocationsResource.ExternalApisResource.GetRequest

List(string)

List External API resources in the API hub.

Declaration
public virtual ProjectsResource.LocationsResource.ExternalApisResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent, which owns this collection of External API resources. Format: projects/{project}/locations/{location}

Returns
Type Description
ProjectsResource.LocationsResource.ExternalApisResource.ListRequest

Patch(GoogleCloudApihubV1ExternalApi, string)

Update an External API resource in the API hub. The following fields can be updated: * display_name

  • description * documentation * endpoints * paths The update_mask should be used to specify the fields being updated.
Declaration
public virtual ProjectsResource.LocationsResource.ExternalApisResource.PatchRequest Patch(GoogleCloudApihubV1ExternalApi body, string name)
Parameters
Type Name Description
GoogleCloudApihubV1ExternalApi body

The body of the request.

string name

Identifier. Format: projects/{project}/locations/{location}/externalApi/{externalApi}.

Returns
Type Description
ProjectsResource.LocationsResource.ExternalApisResource.PatchRequest
In this article
Back to top Generated by DocFX