google-api-client 0.41.0 → 0.41.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +72 -0
  3. data/generated/google/apis/admin_directory_v1.rb +1 -1
  4. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  5. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  6. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  7. data/generated/google/apis/apigee_v1.rb +1 -1
  8. data/generated/google/apis/apigee_v1/classes.rb +132 -42
  9. data/generated/google/apis/apigee_v1/representations.rb +16 -0
  10. data/generated/google/apis/apigee_v1/service.rb +23 -24
  11. data/generated/google/apis/bigquery_v2.rb +1 -1
  12. data/generated/google/apis/bigquery_v2/classes.rb +36 -6
  13. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  14. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  15. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  16. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  17. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  18. data/generated/google/apis/civicinfo_v2.rb +2 -2
  19. data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
  20. data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
  21. data/generated/google/apis/civicinfo_v2/service.rb +27 -62
  22. data/generated/google/apis/cloudasset_v1.rb +1 -1
  23. data/generated/google/apis/cloudasset_v1/classes.rb +391 -3
  24. data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
  25. data/generated/google/apis/cloudasset_v1/service.rb +178 -0
  26. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  27. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  28. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  29. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  30. data/generated/google/apis/cloudbuild_v1/service.rb +0 -42
  31. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  32. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  33. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  34. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
  35. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  36. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  37. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  38. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -3
  39. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  40. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +2 -3
  41. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  42. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  43. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  44. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  45. data/generated/google/apis/composer_v1beta1.rb +1 -1
  46. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  47. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  48. data/generated/google/apis/compute_alpha.rb +1 -1
  49. data/generated/google/apis/compute_alpha/classes.rb +45 -31
  50. data/generated/google/apis/compute_alpha/service.rb +9 -4
  51. data/generated/google/apis/compute_beta.rb +1 -1
  52. data/generated/google/apis/compute_beta/classes.rb +262 -31
  53. data/generated/google/apis/compute_beta/representations.rb +70 -0
  54. data/generated/google/apis/compute_beta/service.rb +233 -4
  55. data/generated/google/apis/compute_v1.rb +1 -1
  56. data/generated/google/apis/compute_v1/classes.rb +592 -29
  57. data/generated/google/apis/compute_v1/representations.rb +182 -0
  58. data/generated/google/apis/compute_v1/service.rb +501 -4
  59. data/generated/google/apis/container_v1.rb +1 -1
  60. data/generated/google/apis/container_v1/classes.rb +29 -3
  61. data/generated/google/apis/container_v1/representations.rb +15 -0
  62. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  63. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  64. data/generated/google/apis/content_v2_1.rb +1 -1
  65. data/generated/google/apis/content_v2_1/classes.rb +172 -0
  66. data/generated/google/apis/content_v2_1/representations.rb +71 -0
  67. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  68. data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
  69. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  70. data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
  71. data/generated/google/apis/dialogflow_v2.rb +1 -1
  72. data/generated/google/apis/dialogflow_v2/classes.rb +194 -20
  73. data/generated/google/apis/dialogflow_v2/representations.rb +77 -0
  74. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  75. data/generated/google/apis/dialogflow_v2beta1/classes.rb +194 -20
  76. data/generated/google/apis/dialogflow_v2beta1/representations.rb +77 -0
  77. data/generated/google/apis/displayvideo_v1.rb +1 -1
  78. data/generated/google/apis/displayvideo_v1/classes.rb +105 -2
  79. data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
  80. data/generated/google/apis/displayvideo_v1/service.rb +78 -1
  81. data/generated/google/apis/dlp_v2.rb +1 -1
  82. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  83. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  84. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  85. data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
  86. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  87. data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
  88. data/generated/google/apis/fcm_v1.rb +1 -1
  89. data/generated/google/apis/healthcare_v1.rb +1 -1
  90. data/generated/google/apis/healthcare_v1/classes.rb +6 -6
  91. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  92. data/generated/google/apis/healthcare_v1beta1/classes.rb +6 -6
  93. data/generated/google/apis/logging_v2.rb +1 -1
  94. data/generated/google/apis/logging_v2/classes.rb +69 -21
  95. data/generated/google/apis/ml_v1.rb +1 -1
  96. data/generated/google/apis/ml_v1/classes.rb +8 -0
  97. data/generated/google/apis/ml_v1/representations.rb +1 -0
  98. data/generated/google/apis/monitoring_v3.rb +1 -1
  99. data/generated/google/apis/monitoring_v3/classes.rb +2 -2
  100. data/generated/google/apis/people_v1.rb +4 -1
  101. data/generated/google/apis/playablelocations_v3.rb +31 -0
  102. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  103. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  104. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  105. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  106. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
  107. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  108. data/generated/google/apis/pubsub_v1.rb +1 -1
  109. data/generated/google/apis/pubsub_v1/classes.rb +4 -2
  110. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  111. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  112. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  113. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  114. data/generated/google/apis/redis_v1.rb +1 -1
  115. data/generated/google/apis/redis_v1/classes.rb +1 -1
  116. data/generated/google/apis/redis_v1/service.rb +1 -1
  117. data/generated/google/apis/redis_v1beta1.rb +1 -1
  118. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  119. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  120. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  121. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  122. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  123. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  124. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  125. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  126. data/generated/google/apis/run_v1.rb +2 -2
  127. data/generated/google/apis/run_v1/classes.rb +4 -1
  128. data/generated/google/apis/run_v1/service.rb +1 -1
  129. data/generated/google/apis/run_v1alpha1.rb +2 -2
  130. data/generated/google/apis/run_v1alpha1/service.rb +1 -1
  131. data/generated/google/apis/run_v1beta1.rb +2 -2
  132. data/generated/google/apis/run_v1beta1/service.rb +1 -1
  133. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  134. data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
  135. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  136. data/generated/google/apis/secretmanager_v1.rb +1 -1
  137. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  138. data/generated/google/apis/securitycenter_v1.rb +1 -1
  139. data/generated/google/apis/securitycenter_v1/service.rb +4 -5
  140. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  141. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +2 -5
  142. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  143. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -0
  144. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  145. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  146. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -0
  147. data/generated/google/apis/sheets_v4.rb +1 -1
  148. data/generated/google/apis/sheets_v4/classes.rb +90 -0
  149. data/generated/google/apis/spanner_v1.rb +1 -1
  150. data/generated/google/apis/spanner_v1/classes.rb +25 -20
  151. data/generated/google/apis/spanner_v1/service.rb +2 -0
  152. data/generated/google/apis/speech_v1.rb +1 -1
  153. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  154. data/generated/google/apis/storage_v1.rb +1 -1
  155. data/generated/google/apis/storage_v1/service.rb +2 -3
  156. data/generated/google/apis/texttospeech_v1.rb +1 -1
  157. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  158. data/generated/google/apis/vectortile_v1.rb +31 -0
  159. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  160. data/generated/google/apis/vectortile_v1/representations.rb +329 -0
  161. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  162. data/generated/google/apis/webfonts_v1.rb +5 -5
  163. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  164. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  165. data/generated/google/apis/webfonts_v1/service.rb +14 -21
  166. data/lib/google/apis/version.rb +1 -1
  167. metadata +15 -3
@@ -28,7 +28,7 @@ module Google
28
28
  # @see https://cloud.google.com/logging/docs/
29
29
  module LoggingV2
30
30
  VERSION = 'V2'
31
- REVISION = '20200501'
31
+ REVISION = '20200619'
32
32
 
33
33
  # View and manage your data across Google Cloud Platform services
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -514,9 +514,10 @@ module Google
514
514
  # @return [String]
515
515
  attr_accessor :order_by
516
516
 
517
- # Optional. The maximum number of results to return from this request. Non-
518
- # positive values are ignored. The presence of next_page_token in the response
519
- # indicates that more results might be available.
517
+ # Optional. The maximum number of results to return from this request. Default
518
+ # is 50. If the value is negative or exceeds 1000, the request is rejected. The
519
+ # presence of next_page_token in the response indicates that more results might
520
+ # be available.
520
521
  # Corresponds to the JSON property `pageSize`
521
522
  # @return [Fixnum]
522
523
  attr_accessor :page_size
@@ -1192,7 +1193,15 @@ module Google
1192
1193
 
1193
1194
  # Defines a metric type and its schema. Once a metric descriptor is created,
1194
1195
  # deleting or altering it stops data collection and makes the metric type's
1195
- # existing data unusable.
1196
+ # existing data unusable.The following are specific rules for service defined
1197
+ # Monitoring metric descriptors:
1198
+ # type, metric_kind, value_type, description, display_name, launch_stage fields
1199
+ # are all required. The unit field must be specified if the value_type is any
1200
+ # of DOUBLE, INT64, DISTRIBUTION.
1201
+ # Maximum of default 500 metric descriptors per service is allowed.
1202
+ # Maximum of default 10 labels per metric descriptor is allowed.The default
1203
+ # maximum limit can be overridden. Please follow https://cloud.google.com/
1204
+ # monitoring/quotas
1196
1205
  # Corresponds to the JSON property `metricDescriptor`
1197
1206
  # @return [Google::Apis::LoggingV2::MetricDescriptor]
1198
1207
  attr_accessor :metric_descriptor
@@ -1383,7 +1392,15 @@ module Google
1383
1392
 
1384
1393
  # Defines a metric type and its schema. Once a metric descriptor is created,
1385
1394
  # deleting or altering it stops data collection and makes the metric type's
1386
- # existing data unusable.
1395
+ # existing data unusable.The following are specific rules for service defined
1396
+ # Monitoring metric descriptors:
1397
+ # type, metric_kind, value_type, description, display_name, launch_stage fields
1398
+ # are all required. The unit field must be specified if the value_type is any
1399
+ # of DOUBLE, INT64, DISTRIBUTION.
1400
+ # Maximum of default 500 metric descriptors per service is allowed.
1401
+ # Maximum of default 10 labels per metric descriptor is allowed.The default
1402
+ # maximum limit can be overridden. Please follow https://cloud.google.com/
1403
+ # monitoring/quotas
1387
1404
  class MetricDescriptor
1388
1405
  include Google::Apis::Core::Hashable
1389
1406
 
@@ -1401,10 +1418,13 @@ module Google
1401
1418
  attr_accessor :display_name
1402
1419
 
1403
1420
  # The set of labels that can be used to describe a specific instance of this
1404
- # metric type. For example, the appengine.googleapis.com/http/server/
1405
- # response_latencies metric type has a label for the HTTP response code,
1406
- # response_code, so you can look at latencies for successful responses or just
1407
- # for responses that failed.
1421
+ # metric type.The label key name must follow:
1422
+ # Only upper and lower-case letters, digits and underscores (_) are allowed.
1423
+ # Label name must start with a letter or digit.
1424
+ # The maximum length of a label name is 100 characters.For example, the
1425
+ # appengine.googleapis.com/http/server/response_latencies metric type has a
1426
+ # label for the HTTP response code, response_code, so you can look at latencies
1427
+ # for successful responses or just for responses that failed.
1408
1428
  # Corresponds to the JSON property `labels`
1409
1429
  # @return [Array<Google::Apis::LoggingV2::LabelDescriptor>]
1410
1430
  attr_accessor :labels
@@ -1439,9 +1459,15 @@ module Google
1439
1459
  attr_accessor :name
1440
1460
 
1441
1461
  # The metric type, including its DNS name prefix. The type is not URL-encoded.
1442
- # All user-defined metric types have the DNS name custom.googleapis.com or
1443
- # external.googleapis.com. Metric types should use a natural hierarchical
1444
- # grouping. For example:
1462
+ # All service defined metrics must be prefixed with the service name, in the
1463
+ # format of `service name`/`relative metric name`, such as cloudsql.googleapis.
1464
+ # com/database/cpu/utilization. The relative metric name must follow:
1465
+ # Only upper and lower-case letters, digits, '/' and underscores '_' are
1466
+ # allowed.
1467
+ # The maximum number of characters allowed for the relative_metric_name is 100.
1468
+ # All user-defined metric types have the DNS name custom.googleapis.com,
1469
+ # external.googleapis.com, or logging.googleapis.com/user/.Metric types should
1470
+ # use a natural hierarchical grouping. For example:
1445
1471
  # "custom.googleapis.com/invoice/paid/amount"
1446
1472
  # "external.googleapis.com/prometheus/up"
1447
1473
  # "appengine.googleapis.com/http/server/response_latencies"
@@ -1469,7 +1495,8 @@ module Google
1469
1495
  # s second
1470
1496
  # min minute
1471
1497
  # h hour
1472
- # d dayPrefixes (PREFIX)
1498
+ # d day
1499
+ # 1 dimensionlessPrefixes (PREFIX)
1473
1500
  # k kilo (10^3)
1474
1501
  # M mega (10^6)
1475
1502
  # G giga (10^9)
@@ -1632,9 +1659,20 @@ module Google
1632
1659
  # name and a set of labels. For example, the monitored resource descriptor for
1633
1660
  # Google Compute Engine VM instances has a type of "gce_instance" and specifies
1634
1661
  # the use of the labels "instance_id" and "zone" to identify particular VM
1635
- # instances.Different APIs can support different monitored resource types. APIs
1636
- # generally provide a list method that returns the monitored resource
1637
- # descriptors used by the API.
1662
+ # instances.Different services can support different monitored resource types.
1663
+ # The following are specific rules to service defined monitored resources for
1664
+ # Monitoring and Logging:
1665
+ # The type, display_name, description, labels and launch_stage fields are all
1666
+ # required.
1667
+ # The first label of the monitored resource descriptor must be
1668
+ # resource_container. There are legacy monitored resource descritptors start
1669
+ # with project_id.
1670
+ # It must include a location label.
1671
+ # Maximum of default 5 service defined monitored resource descriptors is
1672
+ # allowed per service.
1673
+ # Maximum of default 10 labels per monitored resource is allowed.The default
1674
+ # maximum limit can be overridden. Please follow https://cloud.google.com/
1675
+ # monitoring/quotas
1638
1676
  class MonitoredResourceDescriptor
1639
1677
  include Google::Apis::Core::Hashable
1640
1678
 
@@ -1652,8 +1690,12 @@ module Google
1652
1690
  attr_accessor :display_name
1653
1691
 
1654
1692
  # Required. A set of labels used to describe instances of this monitored
1655
- # resource type. For example, an individual Google Cloud SQL database is
1656
- # identified by values for the labels "database_id" and "zone".
1693
+ # resource type. The label key name must follow:
1694
+ # Only upper and lower-case letters, digits and underscores (_) are allowed.
1695
+ # Label name must start with a letter or digit.
1696
+ # The maximum length of a label name is 100 characters.For example, an
1697
+ # individual Google Cloud SQL database is identified by values for the labels
1698
+ # database_id and location.
1657
1699
  # Corresponds to the JSON property `labels`
1658
1700
  # @return [Array<Google::Apis::LoggingV2::LabelDescriptor>]
1659
1701
  attr_accessor :labels
@@ -1673,9 +1715,15 @@ module Google
1673
1715
  # @return [String]
1674
1716
  attr_accessor :name
1675
1717
 
1676
- # Required. The monitored resource type. For example, the type "
1677
- # cloudsql_database" represents databases in Google Cloud SQL. The maximum
1678
- # length of this value is 256 characters.
1718
+ # Required. The monitored resource type. For example, the type cloudsql_database
1719
+ # represents databases in Google Cloud SQL.All service defined monitored
1720
+ # resource types must be prefixed with the service name, in the format of `
1721
+ # service name`/`relative resource name`. The relative resource name must follow:
1722
+ # Only upper and lower-case letters and digits are allowed.
1723
+ # It must start with upper case character and is recommended to use Upper Camel
1724
+ # Case style.
1725
+ # The maximum number of characters allowed for the relative_resource_name is
1726
+ # 100.Note there are legacy service monitored resources not following this rule.
1679
1727
  # Corresponds to the JSON property `type`
1680
1728
  # @return [String]
1681
1729
  attr_accessor :type
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/ml/
26
26
  module MlV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200513'
28
+ REVISION = '20200624'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2549,6 +2549,13 @@ module Google
2549
2549
  # @return [Google::Apis::MlV1::GoogleCloudMlV1Scheduling]
2550
2550
  attr_accessor :scheduling
2551
2551
 
2552
+ # Optional. Specifies the service account for workload run-as account.
2553
+ # Users submitting jobs must have act-as permission on this run-as account.
2554
+ # If not specified, then CMLE P4SA will be used by default.
2555
+ # Corresponds to the JSON property `serviceAccount`
2556
+ # @return [String]
2557
+ attr_accessor :service_account
2558
+
2552
2559
  # Optional. Use `chief` instead of `master` in the `TF_CONFIG` environment
2553
2560
  # variable when training with a custom container. Defaults to `false`. [Learn
2554
2561
  # more about this
@@ -2618,6 +2625,7 @@ module Google
2618
2625
  @runtime_version = args[:runtime_version] if args.key?(:runtime_version)
2619
2626
  @scale_tier = args[:scale_tier] if args.key?(:scale_tier)
2620
2627
  @scheduling = args[:scheduling] if args.key?(:scheduling)
2628
+ @service_account = args[:service_account] if args.key?(:service_account)
2621
2629
  @use_chief_in_tf_config = args[:use_chief_in_tf_config] if args.key?(:use_chief_in_tf_config)
2622
2630
  @worker_config = args[:worker_config] if args.key?(:worker_config)
2623
2631
  @worker_count = args[:worker_count] if args.key?(:worker_count)
@@ -1109,6 +1109,7 @@ module Google
1109
1109
  property :scale_tier, as: 'scaleTier'
1110
1110
  property :scheduling, as: 'scheduling', class: Google::Apis::MlV1::GoogleCloudMlV1Scheduling, decorator: Google::Apis::MlV1::GoogleCloudMlV1Scheduling::Representation
1111
1111
 
1112
+ property :service_account, as: 'serviceAccount'
1112
1113
  property :use_chief_in_tf_config, as: 'useChiefInTfConfig'
1113
1114
  property :worker_config, as: 'workerConfig', class: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig::Representation
1114
1115
 
@@ -29,7 +29,7 @@ module Google
29
29
  # @see https://cloud.google.com/monitoring/api/
30
30
  module MonitoringV3
31
31
  VERSION = 'V3'
32
- REVISION = '20200615'
32
+ REVISION = '20200622'
33
33
 
34
34
  # View and manage your data across Google Cloud Platform services
35
35
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -3105,7 +3105,7 @@ module Google
3105
3105
  # @return [Array<Google::Apis::MonitoringV3::TimeSeriesData>]
3106
3106
  attr_accessor :time_series_data
3107
3107
 
3108
- # A descriptor for the labels and points in a timeseries.
3108
+ # A descriptor for the labels and points in a time series.
3109
3109
  # Corresponds to the JSON property `timeSeriesDescriptor`
3110
3110
  # @return [Google::Apis::MonitoringV3::TimeSeriesDescriptor]
3111
3111
  attr_accessor :time_series_descriptor
@@ -3691,7 +3691,7 @@ module Google
3691
3691
  end
3692
3692
  end
3693
3693
 
3694
- # A descriptor for the labels and points in a timeseries.
3694
+ # A descriptor for the labels and points in a time series.
3695
3695
  class TimeSeriesDescriptor
3696
3696
  include Google::Apis::Core::Hashable
3697
3697
 
@@ -25,11 +25,14 @@ module Google
25
25
  # @see https://developers.google.com/people/
26
26
  module PeopleV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200615'
28
+ REVISION = '20200624'
29
29
 
30
30
  # See, edit, download, and permanently delete your contacts
31
31
  AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
32
32
 
33
+ # See and download contact info automatically saved in your "Other contacts"
34
+ AUTH_CONTACTS_OTHER_READONLY = 'https://www.googleapis.com/auth/contacts.other.readonly'
35
+
33
36
  # See and download your contacts
34
37
  AUTH_CONTACTS_READONLY = 'https://www.googleapis.com/auth/contacts.readonly'
35
38
 
@@ -0,0 +1,31 @@
1
+ # Copyright 2015 Google Inc.
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
+
15
+ require 'google/apis/playablelocations_v3/service.rb'
16
+ require 'google/apis/playablelocations_v3/classes.rb'
17
+ require 'google/apis/playablelocations_v3/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Playable Locations API
22
+ #
23
+ #
24
+ #
25
+ # @see https://developers.google.com/maps/contact-sales/
26
+ module PlayablelocationsV3
27
+ VERSION = 'V3'
28
+ REVISION = '20200622'
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,633 @@
1
+ # Copyright 2015 Google Inc.
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
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module PlayablelocationsV3
24
+
25
+ # Encapsulates impression event details.
26
+ class GoogleMapsPlayablelocationsV3Impression
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # An arbitrary, developer-defined type identifier for each type of game
30
+ # object used in your game.
31
+ # Since players interact with differ types of game objects in different ways,
32
+ # this field allows you to segregate impression data by type for analysis.
33
+ # You should assign a unique `game_object_type` ID to represent a distinct
34
+ # type of game object in your game.
35
+ # For example, 1=monster location, 2=powerup location.
36
+ # Corresponds to the JSON property `gameObjectType`
37
+ # @return [Fixnum]
38
+ attr_accessor :game_object_type
39
+
40
+ # Required. The type of impression event.
41
+ # Corresponds to the JSON property `impressionType`
42
+ # @return [String]
43
+ attr_accessor :impression_type
44
+
45
+ # Required. The name of the playable location.
46
+ # Corresponds to the JSON property `locationName`
47
+ # @return [String]
48
+ attr_accessor :location_name
49
+
50
+ def initialize(**args)
51
+ update!(**args)
52
+ end
53
+
54
+ # Update properties of this object
55
+ def update!(**args)
56
+ @game_object_type = args[:game_object_type] if args.key?(:game_object_type)
57
+ @impression_type = args[:impression_type] if args.key?(:impression_type)
58
+ @location_name = args[:location_name] if args.key?(:location_name)
59
+ end
60
+ end
61
+
62
+ # A request for logging impressions.
63
+ class GoogleMapsPlayablelocationsV3LogImpressionsRequest
64
+ include Google::Apis::Core::Hashable
65
+
66
+ # Client information.
67
+ # Corresponds to the JSON property `clientInfo`
68
+ # @return [Google::Apis::PlayablelocationsV3::GoogleMapsUnityClientInfo]
69
+ attr_accessor :client_info
70
+
71
+ # Required. Impression event details. The maximum number of impression reports
72
+ # that you
73
+ # can log at once is 50.
74
+ # Corresponds to the JSON property `impressions`
75
+ # @return [Array<Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3Impression>]
76
+ attr_accessor :impressions
77
+
78
+ # Required. A string that uniquely identifies the log impressions request. This
79
+ # allows
80
+ # you to detect duplicate requests. We recommend that you use UUIDs for this
81
+ # value. The value must not exceed 50 characters.
82
+ # You should reuse the `request_id` only when retrying a request in case of
83
+ # failure. In this case, the request must be identical to the one that
84
+ # failed.
85
+ # Corresponds to the JSON property `requestId`
86
+ # @return [String]
87
+ attr_accessor :request_id
88
+
89
+ def initialize(**args)
90
+ update!(**args)
91
+ end
92
+
93
+ # Update properties of this object
94
+ def update!(**args)
95
+ @client_info = args[:client_info] if args.key?(:client_info)
96
+ @impressions = args[:impressions] if args.key?(:impressions)
97
+ @request_id = args[:request_id] if args.key?(:request_id)
98
+ end
99
+ end
100
+
101
+ # A response for the LogImpressions method.
102
+ # This method returns no data upon success.
103
+ class GoogleMapsPlayablelocationsV3LogImpressionsResponse
104
+ include Google::Apis::Core::Hashable
105
+
106
+ def initialize(**args)
107
+ update!(**args)
108
+ end
109
+
110
+ # Update properties of this object
111
+ def update!(**args)
112
+ end
113
+ end
114
+
115
+ # A request for logging your player's bad location reports.
116
+ class GoogleMapsPlayablelocationsV3LogPlayerReportsRequest
117
+ include Google::Apis::Core::Hashable
118
+
119
+ # Client information.
120
+ # Corresponds to the JSON property `clientInfo`
121
+ # @return [Google::Apis::PlayablelocationsV3::GoogleMapsUnityClientInfo]
122
+ attr_accessor :client_info
123
+
124
+ # Required. Player reports. The maximum number of player reports that you can
125
+ # log at
126
+ # once is 50.
127
+ # Corresponds to the JSON property `playerReports`
128
+ # @return [Array<Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3PlayerReport>]
129
+ attr_accessor :player_reports
130
+
131
+ # Required. A string that uniquely identifies the log player reports request.
132
+ # This
133
+ # allows you to detect duplicate requests. We recommend that you use UUIDs
134
+ # for this value. The value must not exceed 50 characters.
135
+ # You should reuse the `request_id` only when retrying a request in the case
136
+ # of a failure. In that case, the request must be identical to the one that
137
+ # failed.
138
+ # Corresponds to the JSON property `requestId`
139
+ # @return [String]
140
+ attr_accessor :request_id
141
+
142
+ def initialize(**args)
143
+ update!(**args)
144
+ end
145
+
146
+ # Update properties of this object
147
+ def update!(**args)
148
+ @client_info = args[:client_info] if args.key?(:client_info)
149
+ @player_reports = args[:player_reports] if args.key?(:player_reports)
150
+ @request_id = args[:request_id] if args.key?(:request_id)
151
+ end
152
+ end
153
+
154
+ # A response for the LogPlayerReports
155
+ # method.
156
+ # This method returns no data upon success.
157
+ class GoogleMapsPlayablelocationsV3LogPlayerReportsResponse
158
+ include Google::Apis::Core::Hashable
159
+
160
+ def initialize(**args)
161
+ update!(**args)
162
+ end
163
+
164
+ # Update properties of this object
165
+ def update!(**args)
166
+ end
167
+ end
168
+
169
+ # A report submitted by a player about a playable location that is considered
170
+ # inappropriate for use in the game.
171
+ class GoogleMapsPlayablelocationsV3PlayerReport
172
+ include Google::Apis::Core::Hashable
173
+
174
+ # Language code (in BCP-47 format) indicating the language of the freeform
175
+ # description provided in `reason_details`. Examples are "en", "en-US" or
176
+ # "ja-Latn". For more information, see
177
+ # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
178
+ # Corresponds to the JSON property `languageCode`
179
+ # @return [String]
180
+ attr_accessor :language_code
181
+
182
+ # Required. The name of the playable location.
183
+ # Corresponds to the JSON property `locationName`
184
+ # @return [String]
185
+ attr_accessor :location_name
186
+
187
+ # Required. A free-form description detailing why the playable location is
188
+ # considered bad.
189
+ # Corresponds to the JSON property `reasonDetails`
190
+ # @return [String]
191
+ attr_accessor :reason_details
192
+
193
+ # Required. One or more reasons why this playable location is considered bad.
194
+ # Corresponds to the JSON property `reasons`
195
+ # @return [Array<String>]
196
+ attr_accessor :reasons
197
+
198
+ def initialize(**args)
199
+ update!(**args)
200
+ end
201
+
202
+ # Update properties of this object
203
+ def update!(**args)
204
+ @language_code = args[:language_code] if args.key?(:language_code)
205
+ @location_name = args[:location_name] if args.key?(:location_name)
206
+ @reason_details = args[:reason_details] if args.key?(:reason_details)
207
+ @reasons = args[:reasons] if args.key?(:reasons)
208
+ end
209
+ end
210
+
211
+ # Specifies the area to search for playable locations.
212
+ class GoogleMapsPlayablelocationsV3SampleAreaFilter
213
+ include Google::Apis::Core::Hashable
214
+
215
+ # Required. The S2 cell ID of the area you want. This must be between cell level
216
+ # 11 and
217
+ # 14 (inclusive).
218
+ # S2 cells are 64-bit integers that identify areas on the Earth. They are
219
+ # hierarchical, and can therefore be used for spatial indexing.
220
+ # The S2 geometry library is available in a number of languages:
221
+ # * [C++](https://github.com/google/s2geometry)
222
+ # * [Java](https://github.com/google/s2-geometry-library-java)
223
+ # * [Go](https://github.com/golang/geo)
224
+ # * [Python](https://github.com/google/s2geometry/tree/master/src/python)
225
+ # Corresponds to the JSON property `s2CellId`
226
+ # @return [Fixnum]
227
+ attr_accessor :s2_cell_id
228
+
229
+ def initialize(**args)
230
+ update!(**args)
231
+ end
232
+
233
+ # Update properties of this object
234
+ def update!(**args)
235
+ @s2_cell_id = args[:s2_cell_id] if args.key?(:s2_cell_id)
236
+ end
237
+ end
238
+
239
+ # Encapsulates a filter criterion for searching for a set of playable
240
+ # locations.
241
+ class GoogleMapsPlayablelocationsV3SampleCriterion
242
+ include Google::Apis::Core::Hashable
243
+
244
+ # Specifies which `PlayableLocation` fields are returned.
245
+ # `name` (which is used for logging impressions), `center_point` and
246
+ # `place_id` (or `plus_code`) are always returned.
247
+ # The following fields are omitted unless you specify them here:
248
+ # * snapped_point
249
+ # * types
250
+ # Note: The more fields you include, the more expensive in terms of data and
251
+ # associated latency your query will be.
252
+ # Corresponds to the JSON property `fieldsToReturn`
253
+ # @return [String]
254
+ attr_accessor :fields_to_return
255
+
256
+ # Specifies the filters to use when searching for playable locations.
257
+ # Corresponds to the JSON property `filter`
258
+ # @return [Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SampleFilter]
259
+ attr_accessor :filter
260
+
261
+ # Required. An arbitrary, developer-defined identifier of the type of game
262
+ # object that
263
+ # the playable location is used for. This field allows you to specify
264
+ # criteria per game object type when searching for playable locations.
265
+ # You should assign a unique `game_object_type` ID across all
266
+ # `request_criteria` to represent a distinct type of game object. For
267
+ # example, 1=monster location, 2=powerup location.
268
+ # The response contains a map<game_object_type, Response>.
269
+ # Corresponds to the JSON property `gameObjectType`
270
+ # @return [Fixnum]
271
+ attr_accessor :game_object_type
272
+
273
+ def initialize(**args)
274
+ update!(**args)
275
+ end
276
+
277
+ # Update properties of this object
278
+ def update!(**args)
279
+ @fields_to_return = args[:fields_to_return] if args.key?(:fields_to_return)
280
+ @filter = args[:filter] if args.key?(:filter)
281
+ @game_object_type = args[:game_object_type] if args.key?(:game_object_type)
282
+ end
283
+ end
284
+
285
+ # Specifies the filters to use when searching for playable locations.
286
+ class GoogleMapsPlayablelocationsV3SampleFilter
287
+ include Google::Apis::Core::Hashable
288
+
289
+ # Restricts the set of playable locations to just the
290
+ # [types](/maps/documentation/gaming/tt/types) that you want.
291
+ # Corresponds to the JSON property `includedTypes`
292
+ # @return [Array<String>]
293
+ attr_accessor :included_types
294
+
295
+ # Specifies the maximum number of playable locations to return. This value
296
+ # must not be greater than 1000. The default value is 100.
297
+ # Only the top-ranking playable locations are returned.
298
+ # Corresponds to the JSON property `maxLocationCount`
299
+ # @return [Fixnum]
300
+ attr_accessor :max_location_count
301
+
302
+ # A set of options that specifies the separation between playable locations.
303
+ # Corresponds to the JSON property `spacing`
304
+ # @return [Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SampleSpacingOptions]
305
+ attr_accessor :spacing
306
+
307
+ def initialize(**args)
308
+ update!(**args)
309
+ end
310
+
311
+ # Update properties of this object
312
+ def update!(**args)
313
+ @included_types = args[:included_types] if args.key?(:included_types)
314
+ @max_location_count = args[:max_location_count] if args.key?(:max_location_count)
315
+ @spacing = args[:spacing] if args.key?(:spacing)
316
+ end
317
+ end
318
+
319
+ # A geographical point suitable for placing game objects in location-based
320
+ # games.
321
+ class GoogleMapsPlayablelocationsV3SamplePlayableLocation
322
+ include Google::Apis::Core::Hashable
323
+
324
+ # An object representing a latitude/longitude pair. This is expressed as a pair
325
+ # of doubles representing degrees latitude and degrees longitude. Unless
326
+ # specified otherwise, this must conform to the
327
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
328
+ # standard</a>. Values must be within normalized ranges.
329
+ # Corresponds to the JSON property `centerPoint`
330
+ # @return [Google::Apis::PlayablelocationsV3::GoogleTypeLatLng]
331
+ attr_accessor :center_point
332
+
333
+ # Required. The name of this playable location.
334
+ # Corresponds to the JSON property `name`
335
+ # @return [String]
336
+ attr_accessor :name
337
+
338
+ # A [place ID] (https://developers.google.com/places/place-id)
339
+ # Corresponds to the JSON property `placeId`
340
+ # @return [String]
341
+ attr_accessor :place_id
342
+
343
+ # A [plus code] (http://openlocationcode.com)
344
+ # Corresponds to the JSON property `plusCode`
345
+ # @return [String]
346
+ attr_accessor :plus_code
347
+
348
+ # An object representing a latitude/longitude pair. This is expressed as a pair
349
+ # of doubles representing degrees latitude and degrees longitude. Unless
350
+ # specified otherwise, this must conform to the
351
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
352
+ # standard</a>. Values must be within normalized ranges.
353
+ # Corresponds to the JSON property `snappedPoint`
354
+ # @return [Google::Apis::PlayablelocationsV3::GoogleTypeLatLng]
355
+ attr_accessor :snapped_point
356
+
357
+ # A collection of [Playable Location
358
+ # Types](/maps/documentation/gaming/tt/types) for this playable location. The
359
+ # first type in the collection is the primary type.
360
+ # Type information might not be available for all playable locations.
361
+ # Corresponds to the JSON property `types`
362
+ # @return [Array<String>]
363
+ attr_accessor :types
364
+
365
+ def initialize(**args)
366
+ update!(**args)
367
+ end
368
+
369
+ # Update properties of this object
370
+ def update!(**args)
371
+ @center_point = args[:center_point] if args.key?(:center_point)
372
+ @name = args[:name] if args.key?(:name)
373
+ @place_id = args[:place_id] if args.key?(:place_id)
374
+ @plus_code = args[:plus_code] if args.key?(:plus_code)
375
+ @snapped_point = args[:snapped_point] if args.key?(:snapped_point)
376
+ @types = args[:types] if args.key?(:types)
377
+ end
378
+ end
379
+
380
+ # A list of PlayableLocation objects that satisfies a single Criterion.
381
+ class GoogleMapsPlayablelocationsV3SamplePlayableLocationList
382
+ include Google::Apis::Core::Hashable
383
+
384
+ # A list of playable locations for this game object type.
385
+ # Corresponds to the JSON property `locations`
386
+ # @return [Array<Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SamplePlayableLocation>]
387
+ attr_accessor :locations
388
+
389
+ def initialize(**args)
390
+ update!(**args)
391
+ end
392
+
393
+ # Update properties of this object
394
+ def update!(**args)
395
+ @locations = args[:locations] if args.key?(:locations)
396
+ end
397
+ end
398
+
399
+ # Life of a query:
400
+ # - When a game starts in a new location, your game server issues a
401
+ # SamplePlayableLocations
402
+ # request. The request specifies the S2 cell, and contains one or more
403
+ # "criteria" for filtering:
404
+ # - Criterion 0: i locations for long-lived bases, or level 0 monsters, or...
405
+ # - Criterion 1: j locations for short-lived bases, or level 1 monsters, ...
406
+ # - Criterion 2: k locations for random objects.
407
+ # - etc (up to 5 criterion may be specified).
408
+ # `PlayableLocationList` will then contain mutually
409
+ # exclusive lists of `PlayableLocation` objects that satisfy each of
410
+ # the criteria. Think of it as a collection of real-world locations that you
411
+ # can then associate with your game state.
412
+ # Note: These points are impermanent in nature. E.g, parks can close, and
413
+ # places can be removed.
414
+ # The response specifies how long you can expect the playable locations to
415
+ # last. Once they expire, you should query the `samplePlayableLocations` API
416
+ # again to get a fresh view of the real world.
417
+ class GoogleMapsPlayablelocationsV3SamplePlayableLocationsRequest
418
+ include Google::Apis::Core::Hashable
419
+
420
+ # Specifies the area to search for playable locations.
421
+ # Corresponds to the JSON property `areaFilter`
422
+ # @return [Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SampleAreaFilter]
423
+ attr_accessor :area_filter
424
+
425
+ # Required. Specifies one or more (up to 5) criteria for filtering the
426
+ # returned playable locations.
427
+ # Corresponds to the JSON property `criteria`
428
+ # @return [Array<Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SampleCriterion>]
429
+ attr_accessor :criteria
430
+
431
+ def initialize(**args)
432
+ update!(**args)
433
+ end
434
+
435
+ # Update properties of this object
436
+ def update!(**args)
437
+ @area_filter = args[:area_filter] if args.key?(:area_filter)
438
+ @criteria = args[:criteria] if args.key?(:criteria)
439
+ end
440
+ end
441
+
442
+ # Response for the
443
+ # SamplePlayableLocations
444
+ # method.
445
+ class GoogleMapsPlayablelocationsV3SamplePlayableLocationsResponse
446
+ include Google::Apis::Core::Hashable
447
+
448
+ # Each PlayableLocation object corresponds to a game_object_type specified
449
+ # in the request.
450
+ # Corresponds to the JSON property `locationsPerGameObjectType`
451
+ # @return [Hash<String,Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SamplePlayableLocationList>]
452
+ attr_accessor :locations_per_game_object_type
453
+
454
+ # Required. Specifies the "time-to-live" for the set of playable locations. You
455
+ # can use
456
+ # this value to determine how long to cache the set of playable locations.
457
+ # After this length of time, your back-end game server should issue a new
458
+ # SamplePlayableLocations
459
+ # request to get a fresh set of playable locations (because for example, they
460
+ # might have been removed, a park might have closed for the day, a
461
+ # business might have closed permanently).
462
+ # Corresponds to the JSON property `ttl`
463
+ # @return [String]
464
+ attr_accessor :ttl
465
+
466
+ def initialize(**args)
467
+ update!(**args)
468
+ end
469
+
470
+ # Update properties of this object
471
+ def update!(**args)
472
+ @locations_per_game_object_type = args[:locations_per_game_object_type] if args.key?(:locations_per_game_object_type)
473
+ @ttl = args[:ttl] if args.key?(:ttl)
474
+ end
475
+ end
476
+
477
+ # A set of options that specifies the separation between playable locations.
478
+ class GoogleMapsPlayablelocationsV3SampleSpacingOptions
479
+ include Google::Apis::Core::Hashable
480
+
481
+ # Required. The minimum spacing between any two playable locations, measured in
482
+ # meters.
483
+ # The minimum value is 30.
484
+ # The maximum value is 1000.
485
+ # Inputs will be rounded up to the next 10 meter interval.
486
+ # The default value is 200m.
487
+ # Set this field to remove tight clusters of playable locations.
488
+ # Note:
489
+ # The spacing is a greedy algorithm. It optimizes for selecting the highest
490
+ # ranking locations first, not to maximize the number of locations selected.
491
+ # Consider the following scenario:
492
+ # * Rank: A: 2, B: 1, C: 3.
493
+ # * Distance: A--200m--B--200m--C
494
+ # If spacing=250, it will pick the highest ranked location [B], not [A, C].
495
+ # Note:
496
+ # Spacing works within the game object type itself, as well as the previous
497
+ # ones.
498
+ # Suppose three game object types, each with the following spacing:
499
+ # * X: 400m, Y: undefined, Z: 200m.
500
+ # 1. Add locations for X, within 400m of each other.
501
+ # 2. Add locations for Y, without any spacing.
502
+ # 3. Finally, add locations for Z within 200m of each other as well X and Y.
503
+ # The distance diagram between those locations end up as:
504
+ # * From->To.
505
+ # * X->X: 400m
506
+ # * Y->X, Y->Y: unspecified.
507
+ # * Z->X, Z->Y, Z->Z: 200m.
508
+ # Corresponds to the JSON property `minSpacingMeters`
509
+ # @return [Float]
510
+ attr_accessor :min_spacing_meters
511
+
512
+ # Specifies whether the minimum spacing constraint applies to the
513
+ # center-point or to the snapped point of playable locations. The default
514
+ # value is `CENTER_POINT`.
515
+ # If a snapped point is not available for a playable location, its
516
+ # center-point is used instead.
517
+ # Set this to the point type used in your game.
518
+ # Corresponds to the JSON property `pointType`
519
+ # @return [String]
520
+ attr_accessor :point_type
521
+
522
+ def initialize(**args)
523
+ update!(**args)
524
+ end
525
+
526
+ # Update properties of this object
527
+ def update!(**args)
528
+ @min_spacing_meters = args[:min_spacing_meters] if args.key?(:min_spacing_meters)
529
+ @point_type = args[:point_type] if args.key?(:point_type)
530
+ end
531
+ end
532
+
533
+ # Client information.
534
+ class GoogleMapsUnityClientInfo
535
+ include Google::Apis::Core::Hashable
536
+
537
+ # API client name and version. For example, the SDK calling the API. The
538
+ # exact format is up to the client.
539
+ # Corresponds to the JSON property `apiClient`
540
+ # @return [String]
541
+ attr_accessor :api_client
542
+
543
+ # Application ID, such as the package name on Android and the bundle
544
+ # identifier on iOS platforms.
545
+ # Corresponds to the JSON property `applicationId`
546
+ # @return [String]
547
+ attr_accessor :application_id
548
+
549
+ # Application version number, such as "1.2.3". The exact format is
550
+ # application-dependent.
551
+ # Corresponds to the JSON property `applicationVersion`
552
+ # @return [String]
553
+ attr_accessor :application_version
554
+
555
+ # Device model as reported by the device. The exact format is
556
+ # platform-dependent.
557
+ # Corresponds to the JSON property `deviceModel`
558
+ # @return [String]
559
+ attr_accessor :device_model
560
+
561
+ # Language code (in BCP-47 format) indicating the UI language of the client.
562
+ # Examples are "en", "en-US" or "ja-Latn". For more information, see
563
+ # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
564
+ # Corresponds to the JSON property `languageCode`
565
+ # @return [String]
566
+ attr_accessor :language_code
567
+
568
+ # Operating system name and version as reported by the OS. For example,
569
+ # "Mac OS X 10.10.4". The exact format is platform-dependent.
570
+ # Corresponds to the JSON property `operatingSystem`
571
+ # @return [String]
572
+ attr_accessor :operating_system
573
+
574
+ # Build number/version of the operating system. e.g., the contents of
575
+ # android.os.Build.ID in Android, or the contents of sysctl "kern.osversion"
576
+ # in iOS.
577
+ # Corresponds to the JSON property `operatingSystemBuild`
578
+ # @return [String]
579
+ attr_accessor :operating_system_build
580
+
581
+ # Platform where the application is running.
582
+ # Corresponds to the JSON property `platform`
583
+ # @return [String]
584
+ attr_accessor :platform
585
+
586
+ def initialize(**args)
587
+ update!(**args)
588
+ end
589
+
590
+ # Update properties of this object
591
+ def update!(**args)
592
+ @api_client = args[:api_client] if args.key?(:api_client)
593
+ @application_id = args[:application_id] if args.key?(:application_id)
594
+ @application_version = args[:application_version] if args.key?(:application_version)
595
+ @device_model = args[:device_model] if args.key?(:device_model)
596
+ @language_code = args[:language_code] if args.key?(:language_code)
597
+ @operating_system = args[:operating_system] if args.key?(:operating_system)
598
+ @operating_system_build = args[:operating_system_build] if args.key?(:operating_system_build)
599
+ @platform = args[:platform] if args.key?(:platform)
600
+ end
601
+ end
602
+
603
+ # An object representing a latitude/longitude pair. This is expressed as a pair
604
+ # of doubles representing degrees latitude and degrees longitude. Unless
605
+ # specified otherwise, this must conform to the
606
+ # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
607
+ # standard</a>. Values must be within normalized ranges.
608
+ class GoogleTypeLatLng
609
+ include Google::Apis::Core::Hashable
610
+
611
+ # The latitude in degrees. It must be in the range [-90.0, +90.0].
612
+ # Corresponds to the JSON property `latitude`
613
+ # @return [Float]
614
+ attr_accessor :latitude
615
+
616
+ # The longitude in degrees. It must be in the range [-180.0, +180.0].
617
+ # Corresponds to the JSON property `longitude`
618
+ # @return [Float]
619
+ attr_accessor :longitude
620
+
621
+ def initialize(**args)
622
+ update!(**args)
623
+ end
624
+
625
+ # Update properties of this object
626
+ def update!(**args)
627
+ @latitude = args[:latitude] if args.key?(:latitude)
628
+ @longitude = args[:longitude] if args.key?(:longitude)
629
+ end
630
+ end
631
+ end
632
+ end
633
+ end