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