public sealed class SetInstanceAcceleratorRequest : IMessage<SetInstanceAcceleratorRequest>, IEquatable<SetInstanceAcceleratorRequest>, IDeepCloneable<SetInstanceAcceleratorRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the AI Platform Notebooks v1 API class SetInstanceAcceleratorRequest.
Request for setting instance accelerator.
Implements
IMessage<SetInstanceAcceleratorRequest>, IEquatable<SetInstanceAcceleratorRequest>, IDeepCloneable<SetInstanceAcceleratorRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Notebooks.V1Assembly
Google.Cloud.Notebooks.V1.dll
Constructors
SetInstanceAcceleratorRequest()
public SetInstanceAcceleratorRequest()
SetInstanceAcceleratorRequest(SetInstanceAcceleratorRequest)
public SetInstanceAcceleratorRequest(SetInstanceAcceleratorRequest other)
Parameter | |
---|---|
Name | Description |
other | SetInstanceAcceleratorRequest |
Properties
CoreCount
public long CoreCount { get; set; }
Required. Count of cores of this accelerator. Note that not all combinations
of type
and core_count
are valid. Check GPUs on
Compute Engine to
find a valid combination. TPUs are not supported.
Property Value | |
---|---|
Type | Description |
Int64 |
Name
public string Name { get; set; }
Required. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
Property Value | |
---|---|
Type | Description |
String |
Type
public Instance.Types.AcceleratorType Type { get; set; }
Required. Type of this accelerator.
Property Value | |
---|---|
Type | Description |
Instance.Types.AcceleratorType |