123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186 |
- syntax = "proto3";
- package google.maps.playablelocations.v3;
- import "google/api/annotations.proto";
- import "google/api/field_behavior.proto";
- import "google/maps/playablelocations/v3/resources.proto";
- import "google/maps/playablelocations/v3/sample/resources.proto";
- import "google/maps/unity/clientinfo.proto";
- import "google/protobuf/duration.proto";
- import "google/api/client.proto";
- option csharp_namespace = "Google.Maps.PlayableLocations.V3";
- option go_package = "google.golang.org/genproto/googleapis/maps/playablelocations/v3;playablelocations";
- option java_multiple_files = true;
- option java_outer_classname = "PlayableLocationsProto";
- option java_package = "com.google.maps.playablelocations.v3";
- option php_namespace = "Google\\Maps\\PlayableLocations\\V3";
- option objc_class_prefix = "GMPL";
- service PlayableLocations {
- option (google.api.default_host) = "playablelocations.googleapis.com";
-
-
-
-
-
- rpc SamplePlayableLocations(SamplePlayableLocationsRequest)
- returns (SamplePlayableLocationsResponse) {
- option (google.api.http) = {
- post: "/v3:samplePlayableLocations"
- body: "*"
- };
- }
-
-
-
-
- rpc LogPlayerReports(LogPlayerReportsRequest)
- returns (LogPlayerReportsResponse) {
- option (google.api.http) = {
- post: "/v3:logPlayerReports"
- body: "*"
- };
- }
-
-
-
-
-
- rpc LogImpressions(LogImpressionsRequest) returns (LogImpressionsResponse) {
- option (google.api.http) = {
- post: "/v3:logImpressions"
- body: "*"
- };
- }
- }
- message SamplePlayableLocationsRequest {
-
- google.maps.playablelocations.v3.sample.AreaFilter area_filter = 1
- [(google.api.field_behavior) = REQUIRED];
-
-
- repeated google.maps.playablelocations.v3.sample.Criterion criteria = 2
- [(google.api.field_behavior) = REQUIRED];
- }
- message SamplePlayableLocationsResponse {
-
-
- map<int32, google.maps.playablelocations.v3.sample.PlayableLocationList>
- locations_per_game_object_type = 1;
-
-
-
-
-
-
-
-
- google.protobuf.Duration ttl = 9;
- }
- message LogPlayerReportsRequest {
-
-
- repeated PlayerReport player_reports = 1
- [(google.api.field_behavior) = REQUIRED];
-
-
-
-
-
-
-
- string request_id = 2 [(google.api.field_behavior) = REQUIRED];
-
-
- google.maps.unity.ClientInfo client_info = 3
- [(google.api.field_behavior) = REQUIRED];
- }
- message LogPlayerReportsResponse {}
- message LogImpressionsRequest {
-
-
- repeated Impression impressions = 1 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
-
-
-
- string request_id = 2 [(google.api.field_behavior) = REQUIRED];
-
-
- google.maps.unity.ClientInfo client_info = 3
- [(google.api.field_behavior) = REQUIRED];
- }
- message LogImpressionsResponse {}
|