Class ProjectsResource.LocationsResource.ApplicationsResource.WorkloadsResource
The "workloads" collection of methods.
Inherited Members
Namespace: Google.Apis.AppHub.v1alpha
Assembly: Google.Apis.AppHub.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.ApplicationsResource.WorkloadsResource
Constructors
WorkloadsResource(IClientService)
Constructs a new resource.
Declaration
public WorkloadsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Workload, string)
Creates a Workload in an Application.
Declaration
public virtual ProjectsResource.LocationsResource.ApplicationsResource.WorkloadsResource.CreateRequest Create(Workload body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Workload | body | The body of the request. |
string | parent | Required. Fully qualified name of the Application to create Workload in. Expected format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApplicationsResource.WorkloadsResource.CreateRequest |
Delete(string)
Deletes a Workload from an Application.
Declaration
public virtual ProjectsResource.LocationsResource.ApplicationsResource.WorkloadsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Fully qualified name of the Workload to delete from an Application. Expected format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApplicationsResource.WorkloadsResource.DeleteRequest |
Get(string)
Gets a Workload in an Application.
Declaration
public virtual ProjectsResource.LocationsResource.ApplicationsResource.WorkloadsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Fully qualified name of the Workload to fetch. Expected format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApplicationsResource.WorkloadsResource.GetRequest |
List(string)
Lists Workloads in an Application.
Declaration
public virtual ProjectsResource.LocationsResource.ApplicationsResource.WorkloadsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Fully qualified name of the parent Application to list Workloads for. Expected format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApplicationsResource.WorkloadsResource.ListRequest |
Patch(Workload, string)
Updates a Workload in an Application.
Declaration
public virtual ProjectsResource.LocationsResource.ApplicationsResource.WorkloadsResource.PatchRequest Patch(Workload body, string name)
Parameters
Type | Name | Description |
---|---|---|
Workload | body | The body of the request. |
string | name | Identifier. The resource name of the Workload. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ApplicationsResource.WorkloadsResource.PatchRequest |