Class ProjectsResource.LocationsResource.ExternalApisResource
The "externalApis" collection of methods.
Inherited Members
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:
|
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:
|
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:
|
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:
|
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: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ExternalApisResource.PatchRequest |