Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ApiHubInstancesResource

The "apiHubInstances" collection of methods.

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

Constructors

ApiHubInstancesResource(IClientService)

Constructs a new resource.

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

Methods

Create(GoogleCloudApihubV1ApiHubInstance, string)

Provisions instance resources for the API Hub.

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

The body of the request.

string parent

Required. The parent resource for the Api Hub instance resource. Format: projects/{project}/locations/{location}

Returns
Type Description
ProjectsResource.LocationsResource.ApiHubInstancesResource.CreateRequest

Delete(string)

Deletes the API hub instance. Deleting the API hub instance will also result in the removal of all associated runtime project attachments and the host project registration.

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

Required. The name of the Api Hub instance to delete. Format: projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}.

Returns
Type Description
ProjectsResource.LocationsResource.ApiHubInstancesResource.DeleteRequest

Get(string)

Gets details of a single API Hub instance.

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

Required. The name of the Api Hub instance to retrieve. Format: projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}.

Returns
Type Description
ProjectsResource.LocationsResource.ApiHubInstancesResource.GetRequest

Lookup(string)

Looks up an Api Hub instance in a given GCP project. There will always be only one Api Hub instance for a GCP project across all locations.

Declaration
public virtual ProjectsResource.LocationsResource.ApiHubInstancesResource.LookupRequest Lookup(string parent)
Parameters
Type Name Description
string parent

Required. There will always be only one Api Hub instance for a GCP project across all locations. The parent resource for the Api Hub instance resource. Format: projects/{project}/locations/{location}

Returns
Type Description
ProjectsResource.LocationsResource.ApiHubInstancesResource.LookupRequest
In this article
Back to top Generated by DocFX