Class LocationsResource.UpdateAttributesRequest
Update attributes for a given location.
Inheritance
Inherited Members
Namespace: Google.Apis.MyBusinessBusinessInformation.v1
Assembly: Google.Apis.MyBusinessBusinessInformation.v1.dll
Syntax
public class LocationsResource.UpdateAttributesRequest : MyBusinessBusinessInformationBaseServiceRequest<Attributes>, IClientServiceRequest<Attributes>, IClientServiceRequest
Constructors
UpdateAttributesRequest(IClientService, Attributes, string)
Constructs a new UpdateAttributes request.
Declaration
public UpdateAttributesRequest(IClientService service, Attributes body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Attributes | body | |
string | name |
Properties
AttributeMask
Required. Attribute name of attributes that you'd like to update. Represented by
attributes/{attribute}
. Updates: All attributes provided in the attributes field that you would like
to update must be set in the attribute_mask
. Attributes set in the above list but not in the
attribute_mask
will be ignored. Deletes: If you'd like to delete certain attributes, they must be
specified in the attribute_mask
with no matching entry in the attributes list. If you'd like to delete
all attributes set on a location, you should look up all the applicable attributes for the location and
then add them to the attribute_mask
with an empty attributes field.
Declaration
[RequestParameter("attributeMask", RequestParameterType.Query)]
public virtual object AttributeMask { get; set; }
Property Value
Type | Description |
---|---|
object |
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
Name
Required. Google identifier for this location in the form of locations/{location_id}/attributes
.
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes UpdateAttributes parameter list.
Declaration
protected override void InitParameters()