Class ProjectsResource.LocationsResource.NotebookRuntimesResource.UpgradeRequest
Upgrades a NotebookRuntime.
Inheritance
ProjectsResource.LocationsResource.NotebookRuntimesResource.UpgradeRequest
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.NotebookRuntimesResource.UpgradeRequest : AiplatformBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
UpgradeRequest(IClientService, GoogleCloudAiplatformV1beta1UpgradeNotebookRuntimeRequest, string)
Constructs a new Upgrade request.
Declaration
public UpgradeRequest(IClientService service, GoogleCloudAiplatformV1beta1UpgradeNotebookRuntimeRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudAiplatformV1beta1UpgradeNotebookRuntimeRequest | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Required. The name of the NotebookRuntime resource to be upgrade. Instead of checking whether the name is in valid NotebookRuntime resource name format, directly throw NotFound exception if there is no such NotebookRuntime in spanner.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Upgrade parameter list.
Declaration
protected override void InitParameters()