Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Creates a place action link associated with the specified location, and returns it. The request is considered duplicate if the `parent`, `place_action_link.uri` and `place_action_link.place_action_type` are the same as a previous request.
Deletes a place action link from the specified location.
Gets the specified place action link.
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists the place action links for the specified location.
Retrieves the next page of results.
patch(name, body=None, updateMask=None, x__xgafv=None)
Updates the specified place action link and returns it.
close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Creates a place action link associated with the specified location, and returns it. The request is considered duplicate if the `parent`, `place_action_link.uri` and `place_action_link.place_action_type` are the same as a previous request. Args: parent: string, Required. The resource name of the location where to create this place action link. `locations/{location_id}`. (required) body: object, The request body. The object takes the form of: { # Represents a place action link and its attributes. "createTime": "A String", # Output only. The time when the place action link was created. "isEditable": True or False, # Output only. Indicates whether this link can be edited by the client. "isPreferred": True or False, # 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. "name": "A String", # 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. "orderOnlineMetadata": { # Client version of the metadata for an order online action. # Optional. Metadata for the order online link. Supports action with PlaceActionType of SHOP_ONLINE. "fulfillmentOption": [ # Available fulfillment options for an order online action. { # The fulfillment option for an order online action. "availableDay": [ # A list of days on which there is availability for this fulfillment method (preferably at least 2). { # Day level availability. "fulfillmentDate": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # An available date for a fulfillment method. Assumed to be in merchant's timezone. "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. }, "lastOrderingTime": "A String", # Unix timestamp. The last time till when, a user could place an order to be received by `fulfillment_date`. In other words, after last_ordering_time, fulfillment_date will no longer be shown as available. }, ], "feeDetails": { # Fee details for the fulfillment method associated with the action. # Fee details for the fulfillment method. "baseFee": { # The minimum fee required for the fulfillment method. # The base fee associated with the fulfillment method. "baseFeeAmount": { # Represents an amount of money with its currency type. # The base fee amount for the fulfillment method. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, }, "fixedFee": { # The fixed fee required for the fulfillment method. # The fixed fee associated with the fulfillment method. "amount": { # Represents an amount of money with its currency type. # The amount of the fixed fee for the fulfillment method. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, }, "noFee": { # No fee required for the fulfillment method associated with the action. # No fee for the fulfillment method. }, }, "fulfillmentType": "A String", # Fulfillment type "minimumOrder": { # Represents an amount of money with its currency type. # Minimum order for the fulfillment method associated with the action. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, }, ], }, "placeActionType": "A String", # Required. The type of place action that can be performed using this link. "providerType": "A String", # Output only. Specifies the provider type. "updateTime": "A String", # Output only. The time when the place action link was last modified. "uri": "A String", # 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). } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Represents a place action link and its attributes. "createTime": "A String", # Output only. The time when the place action link was created. "isEditable": True or False, # Output only. Indicates whether this link can be edited by the client. "isPreferred": True or False, # 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. "name": "A String", # 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. "orderOnlineMetadata": { # Client version of the metadata for an order online action. # Optional. Metadata for the order online link. Supports action with PlaceActionType of SHOP_ONLINE. "fulfillmentOption": [ # Available fulfillment options for an order online action. { # The fulfillment option for an order online action. "availableDay": [ # A list of days on which there is availability for this fulfillment method (preferably at least 2). { # Day level availability. "fulfillmentDate": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # An available date for a fulfillment method. Assumed to be in merchant's timezone. "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. }, "lastOrderingTime": "A String", # Unix timestamp. The last time till when, a user could place an order to be received by `fulfillment_date`. In other words, after last_ordering_time, fulfillment_date will no longer be shown as available. }, ], "feeDetails": { # Fee details for the fulfillment method associated with the action. # Fee details for the fulfillment method. "baseFee": { # The minimum fee required for the fulfillment method. # The base fee associated with the fulfillment method. "baseFeeAmount": { # Represents an amount of money with its currency type. # The base fee amount for the fulfillment method. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, }, "fixedFee": { # The fixed fee required for the fulfillment method. # The fixed fee associated with the fulfillment method. "amount": { # Represents an amount of money with its currency type. # The amount of the fixed fee for the fulfillment method. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, }, "noFee": { # No fee required for the fulfillment method associated with the action. # No fee for the fulfillment method. }, }, "fulfillmentType": "A String", # Fulfillment type "minimumOrder": { # Represents an amount of money with its currency type. # Minimum order for the fulfillment method associated with the action. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, }, ], }, "placeActionType": "A String", # Required. The type of place action that can be performed using this link. "providerType": "A String", # Output only. Specifies the provider type. "updateTime": "A String", # Output only. The time when the place action link was last modified. "uri": "A String", # 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). }
delete(name, x__xgafv=None)
Deletes a place action link from the specified location. Args: name: string, Required. The resource name of the place action link to remove from the location. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } }
get(name, x__xgafv=None)
Gets the specified place action link. Args: name: string, Required. The name of the place action link to fetch. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Represents a place action link and its attributes. "createTime": "A String", # Output only. The time when the place action link was created. "isEditable": True or False, # Output only. Indicates whether this link can be edited by the client. "isPreferred": True or False, # 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. "name": "A String", # 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. "orderOnlineMetadata": { # Client version of the metadata for an order online action. # Optional. Metadata for the order online link. Supports action with PlaceActionType of SHOP_ONLINE. "fulfillmentOption": [ # Available fulfillment options for an order online action. { # The fulfillment option for an order online action. "availableDay": [ # A list of days on which there is availability for this fulfillment method (preferably at least 2). { # Day level availability. "fulfillmentDate": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # An available date for a fulfillment method. Assumed to be in merchant's timezone. "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. }, "lastOrderingTime": "A String", # Unix timestamp. The last time till when, a user could place an order to be received by `fulfillment_date`. In other words, after last_ordering_time, fulfillment_date will no longer be shown as available. }, ], "feeDetails": { # Fee details for the fulfillment method associated with the action. # Fee details for the fulfillment method. "baseFee": { # The minimum fee required for the fulfillment method. # The base fee associated with the fulfillment method. "baseFeeAmount": { # Represents an amount of money with its currency type. # The base fee amount for the fulfillment method. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, }, "fixedFee": { # The fixed fee required for the fulfillment method. # The fixed fee associated with the fulfillment method. "amount": { # Represents an amount of money with its currency type. # The amount of the fixed fee for the fulfillment method. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, }, "noFee": { # No fee required for the fulfillment method associated with the action. # No fee for the fulfillment method. }, }, "fulfillmentType": "A String", # Fulfillment type "minimumOrder": { # Represents an amount of money with its currency type. # Minimum order for the fulfillment method associated with the action. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, }, ], }, "placeActionType": "A String", # Required. The type of place action that can be performed using this link. "providerType": "A String", # Output only. Specifies the provider type. "updateTime": "A String", # Output only. The time when the place action link was last modified. "uri": "A String", # 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). }
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists the place action links for the specified location. Args: parent: string, Required. The name of the location whose place action links will be listed. `locations/{location_id}`. (required) filter: string, Optional. A filter constraining the place action links to return. The response includes entries that match the filter. We support only the following filter: 1. place_action_type=XYZ where XYZ is a valid PlaceActionType. pageSize: integer, Optional. How many place action links to return per page. Default of 10. The minimum is 1. pageToken: string, Optional. If specified, returns the next page of place action links. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Response message for PlaceActions.ListPlaceActionLinks. "nextPageToken": "A String", # If there are more place action links than the requested page size, then this field is populated with a token to fetch the next page of results. "placeActionLinks": [ # The returned list of place action links. { # Represents a place action link and its attributes. "createTime": "A String", # Output only. The time when the place action link was created. "isEditable": True or False, # Output only. Indicates whether this link can be edited by the client. "isPreferred": True or False, # 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. "name": "A String", # 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. "orderOnlineMetadata": { # Client version of the metadata for an order online action. # Optional. Metadata for the order online link. Supports action with PlaceActionType of SHOP_ONLINE. "fulfillmentOption": [ # Available fulfillment options for an order online action. { # The fulfillment option for an order online action. "availableDay": [ # A list of days on which there is availability for this fulfillment method (preferably at least 2). { # Day level availability. "fulfillmentDate": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # An available date for a fulfillment method. Assumed to be in merchant's timezone. "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. }, "lastOrderingTime": "A String", # Unix timestamp. The last time till when, a user could place an order to be received by `fulfillment_date`. In other words, after last_ordering_time, fulfillment_date will no longer be shown as available. }, ], "feeDetails": { # Fee details for the fulfillment method associated with the action. # Fee details for the fulfillment method. "baseFee": { # The minimum fee required for the fulfillment method. # The base fee associated with the fulfillment method. "baseFeeAmount": { # Represents an amount of money with its currency type. # The base fee amount for the fulfillment method. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, }, "fixedFee": { # The fixed fee required for the fulfillment method. # The fixed fee associated with the fulfillment method. "amount": { # Represents an amount of money with its currency type. # The amount of the fixed fee for the fulfillment method. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, }, "noFee": { # No fee required for the fulfillment method associated with the action. # No fee for the fulfillment method. }, }, "fulfillmentType": "A String", # Fulfillment type "minimumOrder": { # Represents an amount of money with its currency type. # Minimum order for the fulfillment method associated with the action. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, }, ], }, "placeActionType": "A String", # Required. The type of place action that can be performed using this link. "providerType": "A String", # Output only. Specifies the provider type. "updateTime": "A String", # Output only. The time when the place action link was last modified. "uri": "A String", # 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). }, ], }
list_next()
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.
patch(name, body=None, updateMask=None, x__xgafv=None)
Updates the specified place action link and returns it. Args: name: string, 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. (required) body: object, The request body. The object takes the form of: { # Represents a place action link and its attributes. "createTime": "A String", # Output only. The time when the place action link was created. "isEditable": True or False, # Output only. Indicates whether this link can be edited by the client. "isPreferred": True or False, # 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. "name": "A String", # 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. "orderOnlineMetadata": { # Client version of the metadata for an order online action. # Optional. Metadata for the order online link. Supports action with PlaceActionType of SHOP_ONLINE. "fulfillmentOption": [ # Available fulfillment options for an order online action. { # The fulfillment option for an order online action. "availableDay": [ # A list of days on which there is availability for this fulfillment method (preferably at least 2). { # Day level availability. "fulfillmentDate": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # An available date for a fulfillment method. Assumed to be in merchant's timezone. "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. }, "lastOrderingTime": "A String", # Unix timestamp. The last time till when, a user could place an order to be received by `fulfillment_date`. In other words, after last_ordering_time, fulfillment_date will no longer be shown as available. }, ], "feeDetails": { # Fee details for the fulfillment method associated with the action. # Fee details for the fulfillment method. "baseFee": { # The minimum fee required for the fulfillment method. # The base fee associated with the fulfillment method. "baseFeeAmount": { # Represents an amount of money with its currency type. # The base fee amount for the fulfillment method. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, }, "fixedFee": { # The fixed fee required for the fulfillment method. # The fixed fee associated with the fulfillment method. "amount": { # Represents an amount of money with its currency type. # The amount of the fixed fee for the fulfillment method. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, }, "noFee": { # No fee required for the fulfillment method associated with the action. # No fee for the fulfillment method. }, }, "fulfillmentType": "A String", # Fulfillment type "minimumOrder": { # Represents an amount of money with its currency type. # Minimum order for the fulfillment method associated with the action. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, }, ], }, "placeActionType": "A String", # Required. The type of place action that can be performed using this link. "providerType": "A String", # Output only. Specifies the provider type. "updateTime": "A String", # Output only. The time when the place action link was last modified. "uri": "A String", # 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). } updateMask: string, Required. The specific fields to update. The only editable fields are `uri`, `place_action_type` and `is_preferred`. If the updated link already exists at the same location with the same `place_action_type` and `uri`, fails with an `ALREADY_EXISTS` error. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Represents a place action link and its attributes. "createTime": "A String", # Output only. The time when the place action link was created. "isEditable": True or False, # Output only. Indicates whether this link can be edited by the client. "isPreferred": True or False, # 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. "name": "A String", # 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. "orderOnlineMetadata": { # Client version of the metadata for an order online action. # Optional. Metadata for the order online link. Supports action with PlaceActionType of SHOP_ONLINE. "fulfillmentOption": [ # Available fulfillment options for an order online action. { # The fulfillment option for an order online action. "availableDay": [ # A list of days on which there is availability for this fulfillment method (preferably at least 2). { # Day level availability. "fulfillmentDate": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # An available date for a fulfillment method. Assumed to be in merchant's timezone. "day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. }, "lastOrderingTime": "A String", # Unix timestamp. The last time till when, a user could place an order to be received by `fulfillment_date`. In other words, after last_ordering_time, fulfillment_date will no longer be shown as available. }, ], "feeDetails": { # Fee details for the fulfillment method associated with the action. # Fee details for the fulfillment method. "baseFee": { # The minimum fee required for the fulfillment method. # The base fee associated with the fulfillment method. "baseFeeAmount": { # Represents an amount of money with its currency type. # The base fee amount for the fulfillment method. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, }, "fixedFee": { # The fixed fee required for the fulfillment method. # The fixed fee associated with the fulfillment method. "amount": { # Represents an amount of money with its currency type. # The amount of the fixed fee for the fulfillment method. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, }, "noFee": { # No fee required for the fulfillment method associated with the action. # No fee for the fulfillment method. }, }, "fulfillmentType": "A String", # Fulfillment type "minimumOrder": { # Represents an amount of money with its currency type. # Minimum order for the fulfillment method associated with the action. "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. }, }, ], }, "placeActionType": "A String", # Required. The type of place action that can be performed using this link. "providerType": "A String", # Output only. Specifies the provider type. "updateTime": "A String", # Output only. The time when the place action link was last modified. "uri": "A String", # 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). }