Class ProjectsResource.LocationsResource.RegistriesResource.CreateRequest
Creates a device registry that contains devices.
Inheritance
object
ProjectsResource.LocationsResource.RegistriesResource.CreateRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudIot.v1
Assembly: Google.Apis.CloudIot.v1.dll
Syntax
public class ProjectsResource.LocationsResource.RegistriesResource.CreateRequest : CloudIotBaseServiceRequest<DeviceRegistry>, IClientServiceRequest<DeviceRegistry>, IClientServiceRequest
Constructors
CreateRequest(IClientService, DeviceRegistry, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, DeviceRegistry body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DeviceRegistry | 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.CloudIot.v1.Data.DeviceRegistry>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIot.v1.Data.DeviceRegistry>.MethodName
Parent
Required. The project and cloud region where this device registry must be created. For example,
projects/example-project/locations/us-central1
.
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.CloudIot.v1.Data.DeviceRegistry>.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.CloudIot.v1.Data.DeviceRegistry>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudIot.v1.CloudIotBaseServiceRequest<Google.Apis.CloudIot.v1.Data.DeviceRegistry>.InitParameters()