Class ProjectsResource.LocationsResource.RegistriesResource.PatchRequest
Updates a device registry configuration.
Inheritance
object
ProjectsResource.LocationsResource.RegistriesResource.PatchRequest
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.PatchRequest : CloudIotBaseServiceRequest<DeviceRegistry>, IClientServiceRequest<DeviceRegistry>, IClientServiceRequest
Constructors
PatchRequest(IClientService, DeviceRegistry, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, DeviceRegistry body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DeviceRegistry | body | |
string | name |
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
Name
The resource path name. For example,
projects/example-project/locations/us-central1/registries/my-registry
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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
UpdateMask
Required. Only updates the device_registry
fields indicated by this mask. The field mask must
not be empty, and it must not contain fields that are immutable or only set by the server.
Mutable top-level fields: event_notification_config
, http_config
, mqtt_config
, and
state_notification_config
.
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudIot.v1.Data.DeviceRegistry>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudIot.v1.CloudIotBaseServiceRequest<Google.Apis.CloudIot.v1.Data.DeviceRegistry>.InitParameters()