Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DependenciesResource

The "dependencies" collection of methods.

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

Constructors

DependenciesResource(IClientService)

Constructs a new resource.

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

Methods

Create(GoogleCloudApihubV1Dependency, string)

Create a dependency between two entities in the API hub.

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

The body of the request.

string parent

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

Returns
Type Description
ProjectsResource.LocationsResource.DependenciesResource.CreateRequest

Delete(string)

Delete the dependency resource.

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

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

Returns
Type Description
ProjectsResource.LocationsResource.DependenciesResource.DeleteRequest

Get(string)

Get details about a dependency resource in the API hub.

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

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

Returns
Type Description
ProjectsResource.LocationsResource.DependenciesResource.GetRequest

List(string)

List dependencies based on the provided filter and pagination parameters.

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

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

Returns
Type Description
ProjectsResource.LocationsResource.DependenciesResource.ListRequest

Patch(GoogleCloudApihubV1Dependency, string)

Update a dependency based on the update_mask provided in the request. The following fields in the dependency can be updated: * description

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

The body of the request.

string name

Identifier. The name of the dependency in the API Hub. Format: projects/{project}/locations/{location}/dependencies/{dependency}

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