Class ProjectsResource.LocationsResource.ServicesResource.RevisionsResource
The "revisions" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudRun.v2
Assembly: Google.Apis.CloudRun.v2.dll
Syntax
public class ProjectsResource.LocationsResource.ServicesResource.RevisionsResource
Constructors
RevisionsResource(IClientService)
Constructs a new resource.
Declaration
public RevisionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string)
Deletes a Revision.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.RevisionsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the Revision to delete. Format: projects/{project}/locations/{location}/services/{service}/revisions/{revision} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ServicesResource.RevisionsResource.DeleteRequest |
ExportStatus(string, string)
Read the status of an image export operation.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.RevisionsResource.ExportStatusRequest ExportStatus(string name, string operationId)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the resource of which image export operation status has to be fetched.
Format:
|
string | operationId | Required. The operation id returned from ExportImage. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ServicesResource.RevisionsResource.ExportStatusRequest |
Get(string)
Gets information about a Revision.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.RevisionsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The full name of the Revision. Format: projects/{project}/locations/{location}/services/{service}/revisions/{revision} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ServicesResource.RevisionsResource.GetRequest |
List(string)
Lists Revisions from a given Service, or from a given location. Results are sorted by creation time, descending.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.RevisionsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The Service from which the Revisions should be listed. To list all Revisions across Services, use "-" instead of Service name. Format: projects/{project}/locations/{location}/services/{service} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ServicesResource.RevisionsResource.ListRequest |