• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2023 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15syntax = "proto3";
16
17package google.maps.places.v1;
18
19option cc_enable_arenas = true;
20option csharp_namespace = "Google.Maps.Places.V1";
21option go_package = "cloud.google.com/go/maps/places/apiv1/placespb;placespb";
22option java_multiple_files = true;
23option java_outer_classname = "AttributionProto";
24option java_package = "com.google.maps.places.v1";
25option objc_class_prefix = "GMPSV1";
26option php_namespace = "Google\\Maps\\Places\\V1";
27
28// Information about the author of the UGC data. Used in
29// [Photo][google.maps.places.v1.Photo], and
30// [Review][google.maps.places.v1.Review].
31message AuthorAttribution {
32  // Name of the author of the [Photo][google.maps.places.v1.Photo] or
33  // [Review][google.maps.places.v1.Review].
34  string display_name = 1;
35
36  // URI of the author of the [Photo][google.maps.places.v1.Photo] or
37  // [Review][google.maps.places.v1.Review].
38  string uri = 2;
39
40  // Profile photo URI of the author of the
41  // [Photo][google.maps.places.v1.Photo] or
42  // [Review][google.maps.places.v1.Review].
43  string photo_uri = 3;
44}
45