Class ProjectsResource.LocationsResource.DeploymentsResource
The "deployments" collection of methods.
Inherited Members
Namespace: Google.Apis.APIhub.v1
Assembly: Google.Apis.APIhub.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DeploymentsResource
Constructors
DeploymentsResource(IClientService)
Constructs a new resource.
Declaration
public DeploymentsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudApihubV1Deployment, string)
Create a deployment resource in the API hub. Once a deployment resource is created, it can be associated with API versions.
Declaration
public virtual ProjectsResource.LocationsResource.DeploymentsResource.CreateRequest Create(GoogleCloudApihubV1Deployment body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudApihubV1Deployment | body | The body of the request. |
string | parent | Required. The parent resource for the deployment resource. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DeploymentsResource.CreateRequest |
Delete(string)
Delete a deployment resource in the API hub.
Declaration
public virtual ProjectsResource.LocationsResource.DeploymentsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the deployment resource to delete. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DeploymentsResource.DeleteRequest |
Get(string)
Get details about a deployment and the API versions linked to it.
Declaration
public virtual ProjectsResource.LocationsResource.DeploymentsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the deployment resource to retrieve. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DeploymentsResource.GetRequest |
List(string)
List deployment resources in the API hub.
Declaration
public virtual ProjectsResource.LocationsResource.DeploymentsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent, which owns this collection of deployment resources. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DeploymentsResource.ListRequest |
Patch(GoogleCloudApihubV1Deployment, string)
Update a deployment resource in the API hub. The following fields in the deployment resource can be updated: * display_name * description * documentation * deployment_type * resource_uri * endpoints * slo * environment * attributes The update_mask should be used to specify the fields being updated.
Declaration
public virtual ProjectsResource.LocationsResource.DeploymentsResource.PatchRequest Patch(GoogleCloudApihubV1Deployment body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudApihubV1Deployment | body | The body of the request. |
string | name | Identifier. The name of the deployment. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DeploymentsResource.PatchRequest |