Show / Hide Table of Contents

Class PlaceActionLink

Represents a place action link and its attributes.

Inheritance
System.Object
PlaceActionLink
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.MyBusinessPlaceActions.v1.Data
Assembly: Google.Apis.MyBusinessPlaceActions.v1.dll
Syntax
public class PlaceActionLink : IDirectResponseSchema

Properties

CreateTime

Output only. The time when the place action link was created.

Declaration
[JsonProperty("createTime")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
System.Object

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

IsEditable

Output only. Indicates whether this link can be edited by the client.

Declaration
[JsonProperty("isEditable")]
public virtual bool? IsEditable { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

IsPreferred

Optional. Whether this link is preferred by the merchant. Only one link can be marked as preferred per place action type at a location. If a future request marks a different link as preferred for the same place action type, then the current preferred link (if any exists) will lose its preference.

Declaration
[JsonProperty("isPreferred")]
public virtual bool? IsPreferred { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Name

Optional. The resource name, in the format locations/{location_id}/placeActionLinks/{place_action_link_id}. The name field will only be considered in UpdatePlaceActionLink and DeletePlaceActionLink requests for updating and deleting links respectively. However, it will be ignored in CreatePlaceActionLink request, where place_action_link_id will be assigned by the server on successful creation of a new link and returned as part of the response.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

PlaceActionType

Required. The type of place action that can be performed using this link.

Declaration
[JsonProperty("placeActionType")]
public virtual string PlaceActionType { get; set; }
Property Value
Type Description
System.String

ProviderType

Output only. Specifies the provider type.

Declaration
[JsonProperty("providerType")]
public virtual string ProviderType { get; set; }
Property Value
Type Description
System.String

UpdateTime

Output only. The time when the place action link was last modified.

Declaration
[JsonProperty("updateTime")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
System.Object

Uri

Required. The link uri. The same uri can be reused for different action types across different locations. However, only one place action link is allowed for each unique combination of (uri, place action type, location).

Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
Type Description
System.String

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top