Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.CurationsResource

The "curations" collection of methods.

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

Constructors

CurationsResource(IClientService)

Constructs a new resource.

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

Methods

Create(GoogleCloudApihubV1Curation, string)

Create a curation resource in the API hub. Once a curation resource is created, plugin instances can start using it.

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

The body of the request.

string parent

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

Returns
Type Description
ProjectsResource.LocationsResource.CurationsResource.CreateRequest

Delete(string)

Delete a curation resource in the API hub. A curation can only be deleted if it's not being used by any plugin instance.

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

Required. The name of the curation resource to delete. Format: projects/{project}/locations/{location}/curations/{curation}

Returns
Type Description
ProjectsResource.LocationsResource.CurationsResource.DeleteRequest

Get(string)

Get curation resource details.

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

Required. The name of the curation resource to retrieve. Format: projects/{project}/locations/{location}/curations/{curation}

Returns
Type Description
ProjectsResource.LocationsResource.CurationsResource.GetRequest

List(string)

List curation resources in the API hub.

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

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

Returns
Type Description
ProjectsResource.LocationsResource.CurationsResource.ListRequest

Patch(GoogleCloudApihubV1Curation, string)

Update a curation resource in the API hub. The following fields in the curation can be updated: * display_name * description The update_mask should be used to specify the fields being updated.

Declaration
public virtual ProjectsResource.LocationsResource.CurationsResource.PatchRequest Patch(GoogleCloudApihubV1Curation body, string name)
Parameters
Type Name Description
GoogleCloudApihubV1Curation body

The body of the request.

string name

Identifier. The name of the curation. Format: projects/{project}/locations/{location}/curations/{curation}

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