Beispiel #1
0
 /// <summary>Updates the specified place action link and returns it.</summary>
 /// <param name="body">The body of the request.</param>
 /// <param name="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.
 /// </param>
 public virtual PatchRequest Patch(Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink body, string name)
 {
     return(new PatchRequest(service, body, name));
 }
Beispiel #2
0
 /// <summary>
 /// 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.
 /// </summary>
 /// <param name="body">The body of the request.</param>
 /// <param name="parent">
 /// Required. The resource name of the location where to create this place action link.
 /// `locations/{location_id}`.
 /// </param>
 public virtual CreateRequest Create(Google.Apis.MyBusinessPlaceActions.v1.Data.PlaceActionLink body, string parent)
 {
     return(new CreateRequest(service, body, parent));
 }