Class ProjectsResource.LocationsResource.InstancesResource.RegisterRequest
Registers an existing legacy notebook instance to the Notebooks API server. Legacy instances are instances created with the legacy Compute Engine calls. They are not manageable by the Notebooks API out of the box. This call makes these instances manageable by the Notebooks API.
Inheritance
ProjectsResource.LocationsResource.InstancesResource.RegisterRequest
Inherited Members
Namespace: Google.Apis.AIPlatformNotebooks.v1
Assembly: Google.Apis.AIPlatformNotebooks.v1.dll
Syntax
public class ProjectsResource.LocationsResource.InstancesResource.RegisterRequest : AIPlatformNotebooksBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
RegisterRequest(IClientService, RegisterInstanceRequest, string)
Constructs a new Register request.
Declaration
public RegisterRequest(IClientService service, RegisterInstanceRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RegisterInstanceRequest | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AIPlatformNotebooks.v1.Data.Operation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AIPlatformNotebooks.v1.Data.Operation>.MethodName
Parent
Required. Format: parent=projects/{project_id}/locations/{location}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AIPlatformNotebooks.v1.Data.Operation>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AIPlatformNotebooks.v1.Data.Operation>.GetBody()
InitParameters()
Initializes Register parameter list.
Declaration
protected override void InitParameters()