Class ProjectsResource.LocationsResource.ApisResource.DeploymentsResource
The "deployments" collection of methods.
Inherited Members
Namespace: Google.Apis.ApigeeRegistry.v1
Assembly: Google.Apis.ApigeeRegistry.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ApisResource.DeploymentsResource
Constructors
DeploymentsResource(IClientService)
Constructs a new resource.
Declaration
public DeploymentsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Artifacts
Gets the Artifacts resource.
Declaration
public virtual ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.ArtifactsResource Artifacts { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.ArtifactsResource |
Methods
Create(ApiDeployment, string)
Creates a specified deployment.
Declaration
public virtual ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.CreateRequest Create(ApiDeployment body, string parent)
Parameters
Type | Name | Description |
---|---|---|
ApiDeployment | body | The body of the request. |
string | parent | Required. The parent, which owns this collection of deployments. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.CreateRequest |
Delete(string)
Removes a specified deployment, all revisions, and all child resources (e.g., artifacts).
Declaration
public virtual ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the deployment to delete. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.DeleteRequest |
DeleteRevision(string)
Deletes a revision of a deployment.
Declaration
public virtual ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.DeleteRevisionRequest DeleteRevision(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the deployment revision to be deleted, with a revision ID explicitly
included. Example: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.DeleteRevisionRequest |
Get(string)
Returns a specified deployment.
Declaration
public virtual ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the deployment to retrieve. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.GetRequest |
GetIamPolicy(string)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
Declaration
public virtual ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.GetIamPolicyRequest GetIamPolicy(string resource)
Parameters
Type | Name | Description |
---|---|---|
string | resource | REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.GetIamPolicyRequest |
List(string)
Returns matching deployments.
Declaration
public virtual ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent, which owns this collection of deployments. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.ListRequest |
ListRevisions(string)
Lists all revisions of a deployment. Revisions are returned in descending order of revision creation time.
Declaration
public virtual ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.ListRevisionsRequest ListRevisions(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the deployment to list revisions for. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.ListRevisionsRequest |
Patch(ApiDeployment, string)
Used to modify a specified deployment.
Declaration
public virtual ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.PatchRequest Patch(ApiDeployment body, string name)
Parameters
Type | Name | Description |
---|---|---|
ApiDeployment | body | The body of the request. |
string | name | Resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.PatchRequest |
Rollback(RollbackApiDeploymentRequest, string)
Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.
Declaration
public virtual ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.RollbackRequest Rollback(RollbackApiDeploymentRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
RollbackApiDeploymentRequest | body | The body of the request. |
string | name | Required. The deployment being rolled back. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.RollbackRequest |
SetIamPolicy(SetIamPolicyRequest, string)
Sets the access control policy on the specified resource. Replaces any existing policy. Can
return NOT_FOUND
, INVALID_ARGUMENT
, and PERMISSION_DENIED
errors.
Declaration
public virtual ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
SetIamPolicyRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.SetIamPolicyRequest |
TagRevision(TagApiDeploymentRevisionRequest, string)
Adds a tag to a specified revision of a deployment.
Declaration
public virtual ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.TagRevisionRequest TagRevision(TagApiDeploymentRevisionRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
TagApiDeploymentRevisionRequest | body | The body of the request. |
string | name | Required. The name of the deployment to be tagged, including the revision ID is optional. If a revision is not specified, it will tag the latest revision. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.TagRevisionRequest |
TestIamPermissions(TestIamPermissionsRequest, string)
Returns permissions that a caller has on the specified resource. If the resource does not exist,
this will return an empty set of permissions, not a NOT_FOUND
error. Note: This operation is
designed to be used for building permission-aware UIs and command-line tools, not for
authorization checking. This operation may "fail open" without warning.
Declaration
public virtual ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
TestIamPermissionsRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApisResource.DeploymentsResource.TestIamPermissionsRequest |