Class ProjectsResource.LocationsResource.RegistriesResource
The "registries" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudIot.v1
Assembly: Google.Apis.CloudIot.v1.dll
Syntax
public class ProjectsResource.LocationsResource.RegistriesResource
Constructors
RegistriesResource(IClientService)
Constructs a new resource.
Declaration
public RegistriesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Devices
Gets the Devices resource.
Declaration
public virtual ProjectsResource.LocationsResource.RegistriesResource.DevicesResource Devices { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RegistriesResource.DevicesResource |
Groups
Gets the Groups resource.
Declaration
public virtual ProjectsResource.LocationsResource.RegistriesResource.GroupsResource Groups { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.RegistriesResource.GroupsResource |
Methods
BindDeviceToGateway(BindDeviceToGatewayRequest, string)
Associates the device with the gateway.
Declaration
public virtual ProjectsResource.LocationsResource.RegistriesResource.BindDeviceToGatewayRequest BindDeviceToGateway(BindDeviceToGatewayRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
BindDeviceToGatewayRequest | body | The body of the request. |
string | parent | Required. The name of the registry. For example,
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RegistriesResource.BindDeviceToGatewayRequest |
Create(DeviceRegistry, string)
Creates a device registry that contains devices.
Declaration
public virtual ProjectsResource.LocationsResource.RegistriesResource.CreateRequest Create(DeviceRegistry body, string parent)
Parameters
Type | Name | Description |
---|---|---|
DeviceRegistry | body | The body of the request. |
string | parent | Required. The project and cloud region where this device registry must be created. For example,
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RegistriesResource.CreateRequest |
Delete(string)
Deletes a device registry configuration.
Declaration
public virtual ProjectsResource.LocationsResource.RegistriesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the device registry. For example,
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RegistriesResource.DeleteRequest |
Get(string)
Gets a device registry configuration.
Declaration
public virtual ProjectsResource.LocationsResource.RegistriesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the device registry. For example,
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RegistriesResource.GetRequest |
GetIamPolicy(GetIamPolicyRequest, string)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
Declaration
public virtual ProjectsResource.LocationsResource.RegistriesResource.GetIamPolicyRequest GetIamPolicy(GetIamPolicyRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
GetIamPolicyRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RegistriesResource.GetIamPolicyRequest |
List(string)
Lists device registries.
Declaration
public virtual ProjectsResource.LocationsResource.RegistriesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The project and cloud region path. For example,
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RegistriesResource.ListRequest |
Patch(DeviceRegistry, string)
Updates a device registry configuration.
Declaration
public virtual ProjectsResource.LocationsResource.RegistriesResource.PatchRequest Patch(DeviceRegistry body, string name)
Parameters
Type | Name | Description |
---|---|---|
DeviceRegistry | body | The body of the request. |
string | name | The resource path name. For example,
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RegistriesResource.PatchRequest |
SetIamPolicy(SetIamPolicyRequest, string)
Sets the access control policy on the specified resource. Replaces any existing policy.
Declaration
public virtual ProjectsResource.LocationsResource.RegistriesResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
SetIamPolicyRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RegistriesResource.SetIamPolicyRequest |
TestIamPermissions(TestIamPermissionsRequest, string)
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.
Declaration
public virtual ProjectsResource.LocationsResource.RegistriesResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
TestIamPermissionsRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RegistriesResource.TestIamPermissionsRequest |
UnbindDeviceFromGateway(UnbindDeviceFromGatewayRequest, string)
Deletes the association between the device and the gateway.
Declaration
public virtual ProjectsResource.LocationsResource.RegistriesResource.UnbindDeviceFromGatewayRequest UnbindDeviceFromGateway(UnbindDeviceFromGatewayRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
UnbindDeviceFromGatewayRequest | body | The body of the request. |
string | parent | Required. The name of the registry. For example,
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.RegistriesResource.UnbindDeviceFromGatewayRequest |