Class GenericobjectResource.UpdateRequest
Updates the generic object referenced by the given object ID.
Inheritance
GenericobjectResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.Walletobjects.v1
Assembly: Google.Apis.Walletobjects.v1.dll
Syntax
public class GenericobjectResource.UpdateRequest : WalletobjectsBaseServiceRequest<GenericObject>, IClientServiceRequest<GenericObject>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, GenericObject, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, GenericObject body, string resourceId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GenericObject | body | |
string | resourceId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ResourceId
The unique identifier for an object. This ID must be unique across all objects from an issuer. This
value needs to follow the format issuerID.identifier
where issuerID
is issued by Google and
identifier
is chosen by you. The unique identifier can only include alphanumeric characters, .
, _
,
or -
.
Declaration
[RequestParameter("resourceId", RequestParameterType.Path)]
public virtual string ResourceId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()