Class ProjectsResource.LocationsResource.SessionTemplatesResource
The "sessionTemplates" collection of methods.
Inherited Members
Namespace: Google.Apis.Dataproc.v1
Assembly: Google.Apis.Dataproc.v1.dll
Syntax
public class ProjectsResource.LocationsResource.SessionTemplatesResource
Constructors
SessionTemplatesResource(IClientService)
Constructs a new resource.
Declaration
public SessionTemplatesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(SessionTemplate, string)
Create a session template synchronously.
Declaration
public virtual ProjectsResource.LocationsResource.SessionTemplatesResource.CreateRequest Create(SessionTemplate body, string parent)
Parameters
Type | Name | Description |
---|---|---|
SessionTemplate | body | The body of the request. |
string | parent | Required. The parent resource where this session template will be created. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SessionTemplatesResource.CreateRequest |
Delete(string)
Deletes a session template.
Declaration
public virtual ProjectsResource.LocationsResource.SessionTemplatesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the session template resource to delete. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SessionTemplatesResource.DeleteRequest |
Get(string)
Gets the resource representation for a session template.
Declaration
public virtual ProjectsResource.LocationsResource.SessionTemplatesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the session template to retrieve. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SessionTemplatesResource.GetRequest |
List(string)
Lists session templates.
Declaration
public virtual ProjectsResource.LocationsResource.SessionTemplatesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent that owns this collection of session templates. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SessionTemplatesResource.ListRequest |
Patch(SessionTemplate, string)
Updates the session template synchronously.
Declaration
public virtual ProjectsResource.LocationsResource.SessionTemplatesResource.PatchRequest Patch(SessionTemplate body, string name)
Parameters
Type | Name | Description |
---|---|---|
SessionTemplate | body | The body of the request. |
string | name | Required. The resource name of the session template. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SessionTemplatesResource.PatchRequest |