Class ProjectsResource.InstancesResource
The "instances" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.RemoteBuildExecution.v1alpha
Assembly: Google.Apis.RemoteBuildExecution.v1alpha.dll
Syntax
public class InstancesResource
Constructors
InstancesResource(IClientService)
Constructs a new resource.
Declaration
public InstancesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service |
Properties
Workerpools
Gets the Workerpools resource.
Declaration
public virtual ProjectsResource.InstancesResource.WorkerpoolsResource Workerpools { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.InstancesResource.WorkerpoolsResource |
Methods
Create(GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest, String)
Creates a new instance in the specified region. Returns a long running operation which contains an
instance on completion. While the long running operation is in progress, any call to GetInstance
returns an instance in state CREATING
.
Declaration
public virtual ProjectsResource.InstancesResource.CreateRequest Create(GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest | body | The body of the request. |
System.String | parent | Resource name of the project containing the instance. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.InstancesResource.CreateRequest |
Delete(String)
Deletes the specified instance. Returns a long running operation which contains a
google.protobuf.Empty
response on completion. Deleting an instance with worker pools in it will delete
these worker pools.
Declaration
public virtual ProjectsResource.InstancesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the instance to delete. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.InstancesResource.DeleteRequest |
Get(String)
Returns the specified instance.
Declaration
public virtual ProjectsResource.InstancesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the instance to retrieve. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.InstancesResource.GetRequest |
List(String)
Lists instances in a project.
Declaration
public virtual ProjectsResource.InstancesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
System.String | parent | Resource name of the project. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.InstancesResource.ListRequest |
Patch(GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance, String)
Updates the specified instance. Returns a long running operation which contains the updated instance in the response on completion.
Declaration
public virtual ProjectsResource.InstancesResource.PatchRequest Patch(GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance | body | The body of the request. |
System.String | name | Output only. Instance resource name formatted as: |
Returns
Type | Description |
---|---|
ProjectsResource.InstancesResource.PatchRequest |