Class ProjectsResource.LocationsResource.InstancesResource.PatchRequest
UpdateInstance updates an Instance.
Inheritance
Inherited Members
Namespace: Google.Apis.AIPlatformNotebooks.v2
Assembly: Google.Apis.AIPlatformNotebooks.v2.dll
Syntax
public class ProjectsResource.LocationsResource.InstancesResource.PatchRequest : AIPlatformNotebooksBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
PatchRequest(IClientService, Instance, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, Instance body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| Instance | 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
Output only. Identifier. The name of this notebook instance. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RequestId
Optional. Idempotent request UUID.
Declaration
[RequestParameter("requestId", RequestParameterType.Query)]
public virtual string RequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
UpdateMask
Required. Mask used to update an instance. Updatable fields: * labels *
gce_setup.min_cpu_platform * gce_setup.metadata * gce_setup.machine_type *
gce_setup.accelerator_configs * gce_setup.accelerator_configs.type *
gce_setup.accelerator_configs.core_count * gce_setup.gpu_driver_config *
gce_setup.gpu_driver_config.enable_gpu_driver *
gce_setup.gpu_driver_config.custom_gpu_driver_path * gce_setup.shielded_instance_config *
gce_setup.shielded_instance_config.enable_secure_boot *
gce_setup.shielded_instance_config.enable_vtpm *
gce_setup.shielded_instance_config.enable_integrity_monitoring *
gce_setup.reservation_affinity * gce_setup.reservation_affinity.consume_reservation_type *
gce_setup.reservation_affinity.key * gce_setup.reservation_affinity.values *
gce_setup.tags * gce_setup.container_image * gce_setup.container_image.repository *
gce_setup.container_image.tag * gce_setup.disable_public_ip * disable_proxy_access
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()