Class ProjectsResource.LocationsResource.DeploymentsResource.RevisionsResource
The "revisions" collection of methods.
Inherited Members
Namespace: Google.Apis.Config.v1
Assembly: Google.Apis.Config.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DeploymentsResource.RevisionsResource
Constructors
RevisionsResource(IClientService)
Constructs a new resource.
Declaration
public RevisionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Resources
Gets the Resources resource.
Declaration
public virtual ProjectsResource.LocationsResource.DeploymentsResource.RevisionsResource.ResourcesResource Resources { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.DeploymentsResource.RevisionsResource.ResourcesResource |
Methods
ExportState(ExportRevisionStatefileRequest, string)
Exports Terraform state file from a given revision.
Declaration
public virtual ProjectsResource.LocationsResource.DeploymentsResource.RevisionsResource.ExportStateRequest ExportState(ExportRevisionStatefileRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
ExportRevisionStatefileRequest | body | The body of the request. |
string | parent | Required. The parent in whose context the statefile is listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DeploymentsResource.RevisionsResource.ExportStateRequest |
Get(string)
Gets details about a Revision.
Declaration
public virtual ProjectsResource.LocationsResource.DeploymentsResource.RevisionsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the Revision in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}'. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DeploymentsResource.RevisionsResource.GetRequest |
List(string)
Lists Revisions of a deployment.
Declaration
public virtual ProjectsResource.LocationsResource.DeploymentsResource.RevisionsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent in whose context the Revisions are listed. The parent value is in the format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DeploymentsResource.RevisionsResource.ListRequest |