google-api-client 0.9.6 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/api_names.yaml +15 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +75 -12
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +25 -5
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +6 -2
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +1 -1
- data/generated/google/apis/admin_directory_v1/representations.rb +1 -2
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +37 -0
- data/generated/google/apis/analyticsreporting_v4/classes.rb +1385 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +597 -0
- data/generated/google/apis/analyticsreporting_v4/service.rb +88 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +98 -2
- data/generated/google/apis/androidenterprise_v1/representations.rb +48 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +63 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +268 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +142 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +121 -0
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/autoscaler_v1beta2.rb +1 -1
- data/generated/google/apis/autoscaler_v1beta2/classes.rb +10 -47
- data/generated/google/apis/autoscaler_v1beta2/representations.rb +1 -18
- data/generated/google/apis/autoscaler_v1beta2/service.rb +4 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +97 -61
- data/generated/google/apis/bigquery_v2/representations.rb +23 -18
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +23 -2
- data/generated/google/apis/classroom_v1/classes.rb +920 -6
- data/generated/google/apis/classroom_v1/representations.rb +419 -0
- data/generated/google/apis/classroom_v1/service.rb +507 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +30 -23
- data/generated/google/apis/cloudbuild_v1/representations.rb +4 -3
- data/generated/google/apis/cloudbuild_v1/service.rb +25 -25
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +55 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +40 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +35 -0
- data/generated/google/apis/cloudtrace_v1.rb +11 -3
- data/generated/google/apis/cloudtrace_v1/classes.rb +5 -5
- data/generated/google/apis/cloudtrace_v1/service.rb +8 -6
- data/generated/google/apis/compute_beta.rb +2 -2
- data/generated/google/apis/compute_beta/classes.rb +162 -32
- data/generated/google/apis/compute_beta/representations.rb +58 -0
- data/generated/google/apis/compute_beta/service.rb +392 -267
- data/generated/google/apis/compute_v1.rb +2 -2
- data/generated/google/apis/compute_v1/classes.rb +21 -9
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/compute_v1/service.rb +291 -253
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +148 -0
- data/generated/google/apis/container_v1/representations.rb +55 -0
- data/generated/google/apis/container_v1/service.rb +161 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +18 -6
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +2 -11
- data/generated/google/apis/dataproc_v1/classes.rb +0 -19
- data/generated/google/apis/dataproc_v1/representations.rb +0 -13
- data/generated/google/apis/dataproc_v1/service.rb +8 -87
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/dfareporting_v2_3.rb +1 -1
- data/generated/google/apis/dfareporting_v2_3/classes.rb +41 -32
- data/generated/google/apis/discovery_v1.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dns_v1.rb +2 -3
- data/generated/google/apis/dns_v1/service.rb +1 -2
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +3 -2
- data/generated/google/apis/drive_v2/service.rb +2 -1
- data/generated/google/apis/drive_v3.rb +3 -2
- data/generated/google/apis/drive_v3/service.rb +2 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +34 -0
- data/generated/google/apis/games_management_v1management/representations.rb +16 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +34 -0
- data/generated/google/apis/games_v1/representations.rb +16 -0
- data/generated/google/apis/games_v1/service.rb +212 -53
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +18 -0
- data/generated/google/apis/genomics_v1/representations.rb +3 -0
- data/generated/google/apis/genomics_v1/service.rb +2 -2
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +19 -7
- data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -1
- data/generated/google/apis/mybusiness_v3.rb +32 -0
- data/generated/google/apis/mybusiness_v3/classes.rb +1864 -0
- data/generated/google/apis/mybusiness_v3/representations.rb +741 -0
- data/generated/google/apis/mybusiness_v3/service.rb +960 -0
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +2 -2
- data/generated/google/apis/plus_domains_v1/service.rb +1 -1
- data/generated/google/apis/plus_v1.rb +2 -2
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/prediction_v1_6.rb +4 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +5 -2
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +169 -22
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +36 -1
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +254 -39
- data/generated/google/apis/replicapool_v1beta2.rb +3 -3
- data/generated/google/apis/replicapool_v1beta2/service.rb +2 -2
- data/generated/google/apis/resourceviews_v1beta2.rb +1 -1
- data/generated/google/apis/script_v1.rb +6 -3
- data/generated/google/apis/script_v1/service.rb +2 -2
- data/generated/google/apis/sheets_v4.rb +43 -0
- data/generated/google/apis/sheets_v4/classes.rb +5425 -0
- data/generated/google/apis/sheets_v4/representations.rb +2070 -0
- data/generated/google/apis/sheets_v4/service.rb +402 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +19 -4
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -1
- data/generated/google/apis/taskqueue_v1beta2.rb +2 -2
- data/generated/google/apis/taskqueue_v1beta2/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +4 -5
- data/generated/google/apis/vision_v1/classes.rb +69 -68
- data/generated/google/apis/vision_v1/representations.rb +13 -13
- data/generated/google/apis/vision_v1/service.rb +3 -4
- data/generated/google/apis/youtube_analytics_v1.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +121 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +50 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +40 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +24 -0
- data/generated/google/apis/youtube_v3/representations.rb +4 -0
- data/generated/google/apis/youtubereporting_v1.rb +3 -3
- data/generated/google/apis/youtubereporting_v1/classes.rb +19 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +3 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +3 -4
- data/lib/google/apis/version.rb +1 -1
- metadata +14 -2
@@ -20,12 +20,12 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Google+ Domains API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# Builds on top of the Google+ platform for Google Apps Domains.
|
24
24
|
#
|
25
25
|
# @see https://developers.google.com/+/domains/
|
26
26
|
module PlusDomainsV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160523'
|
29
29
|
|
30
30
|
# View your circles and the people and pages in them
|
31
31
|
AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module PlusDomainsV1
|
23
23
|
# Google+ Domains API
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# Builds on top of the Google+ platform for Google Apps Domains.
|
26
26
|
#
|
27
27
|
# @example
|
28
28
|
# require 'google/apis/plus_domains_v1'
|
@@ -20,12 +20,12 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Google+ API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# Builds on top of the Google+ platform.
|
24
24
|
#
|
25
25
|
# @see https://developers.google.com/+/api/
|
26
26
|
module PlusV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160523'
|
29
29
|
|
30
30
|
# Know the list of people in your circles, your age range, and language
|
31
31
|
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
@@ -26,7 +26,10 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/prediction/docs/developer-guide
|
27
27
|
module PredictionV1_6
|
28
28
|
VERSION = 'V1_6'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160511'
|
30
|
+
|
31
|
+
# View and manage your data across Google Cloud Platform services
|
32
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
30
33
|
|
31
34
|
# Manage your data and permissions in Google Cloud Storage
|
32
35
|
AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'
|
@@ -20,12 +20,15 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Google Proximity Beacon API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# Registers, manages, indexes, and searches beacons.
|
24
24
|
#
|
25
25
|
# @see https://developers.google.com/beacons/proximity/
|
26
26
|
module ProximitybeaconV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160429'
|
29
|
+
|
30
|
+
# View and modify your beacons
|
31
|
+
AUTH_USERLOCATION_BEACON_REGISTRY = 'https://www.googleapis.com/auth/userlocation.beacon.registry'
|
29
32
|
end
|
30
33
|
end
|
31
34
|
end
|
@@ -56,10 +56,10 @@ module Google
|
|
56
56
|
# of doubles representing degrees latitude and degrees longitude. Unless
|
57
57
|
# specified otherwise, this must conform to the WGS84 standard. Values must be
|
58
58
|
# within normalized ranges. Example of normalization code in Python: def
|
59
|
-
# NormalizeLongitude(longitude): """
|
59
|
+
# NormalizeLongitude(longitude): """Wraps decimal degrees longitude to [-180.0,
|
60
60
|
# 180.0].""" q, r = divmod(longitude, 360.0) if r > 180.0 or (r == 180.0 and q <=
|
61
61
|
# -1.0): return r - 360.0 return r def NormalizeLatLng(latitude, longitude): """
|
62
|
-
# Wraps decimal degrees latitude and longitude to [-
|
62
|
+
# Wraps decimal degrees latitude and longitude to [-90.0, 90.0] and [-180.0, 180.
|
63
63
|
# 0], respectively.""" r = latitude % 360.0 if r = 270.0: return r - 360,
|
64
64
|
# NormalizeLongitude(longitude) else: return 180 - r, NormalizeLongitude(
|
65
65
|
# longitude + 180.0) assert 180.0 == NormalizeLongitude(180.0) assert -180.0 ==
|
@@ -99,6 +99,39 @@ module Google
|
|
99
99
|
# @return [Hash<String,String>]
|
100
100
|
attr_accessor :properties
|
101
101
|
|
102
|
+
# Write-only registration parameters for beacons using Eddystone-EID format. Two
|
103
|
+
# ways of securely registering an Eddystone-EID beacon with the service are
|
104
|
+
# supported: 1. Perform an ECDH key exchange via this API, including a previous
|
105
|
+
# call to `GET /v1beta1/eidparams`. In this case the fields `
|
106
|
+
# beacon_ecdh_public_key` and `service_ecdh_public_key` should be populated and `
|
107
|
+
# beacon_identity_key` should not be populated. This method ensures that only
|
108
|
+
# the two parties in the ECDH key exchange can compute the identity key, which
|
109
|
+
# becomes a secret between them. 2. Derive or obtain the beacon's identity key
|
110
|
+
# via other secure means (perhaps an ECDH key exchange between the beacon and a
|
111
|
+
# mobile device or any other secure method), and then submit the resulting
|
112
|
+
# identity key to the service. In this case `beacon_identity_key` field should
|
113
|
+
# be populated, and neither of `beacon_ecdh_public_key` nor `
|
114
|
+
# service_ecdh_public_key` fields should be. The security of this method depends
|
115
|
+
# on how securely the parties involved (in particular the bluetooth client)
|
116
|
+
# handle the identity key, and obviously on how securely the identity key was
|
117
|
+
# generated. See [the Eddystone specification](https://github.com/google/
|
118
|
+
# eddystone/tree/master/eddystone-eid) at GitHub.
|
119
|
+
# Corresponds to the JSON property `ephemeralIdRegistration`
|
120
|
+
# @return [Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration]
|
121
|
+
attr_accessor :ephemeral_id_registration
|
122
|
+
|
123
|
+
# Some beacons may require a user to provide an authorization key before
|
124
|
+
# changing any of its configuration (e.g. broadcast frames, transmit power).
|
125
|
+
# This field provides a place to store and control access to that key. This
|
126
|
+
# field is populated in responses to `GET /v1beta1/beacons/3!beaconId` from
|
127
|
+
# users with write access to the given beacon. That is to say: If the user is
|
128
|
+
# authorized to write the beacon's confidential data in the service, the service
|
129
|
+
# considers them authorized to configure the beacon. Note that this key grants
|
130
|
+
# nothing on the service, only on the beacon itself.
|
131
|
+
# Corresponds to the JSON property `provisioningKey`
|
132
|
+
# @return [String]
|
133
|
+
attr_accessor :provisioning_key
|
134
|
+
|
102
135
|
def initialize(**args)
|
103
136
|
update!(**args)
|
104
137
|
end
|
@@ -114,6 +147,8 @@ module Google
|
|
114
147
|
@expected_stability = args[:expected_stability] if args.key?(:expected_stability)
|
115
148
|
@description = args[:description] if args.key?(:description)
|
116
149
|
@properties = args[:properties] if args.key?(:properties)
|
150
|
+
@ephemeral_id_registration = args[:ephemeral_id_registration] if args.key?(:ephemeral_id_registration)
|
151
|
+
@provisioning_key = args[:provisioning_key] if args.key?(:provisioning_key)
|
117
152
|
end
|
118
153
|
end
|
119
154
|
|
@@ -150,10 +185,10 @@ module Google
|
|
150
185
|
# of doubles representing degrees latitude and degrees longitude. Unless
|
151
186
|
# specified otherwise, this must conform to the WGS84 standard. Values must be
|
152
187
|
# within normalized ranges. Example of normalization code in Python: def
|
153
|
-
# NormalizeLongitude(longitude): """
|
188
|
+
# NormalizeLongitude(longitude): """Wraps decimal degrees longitude to [-180.0,
|
154
189
|
# 180.0].""" q, r = divmod(longitude, 360.0) if r > 180.0 or (r == 180.0 and q <=
|
155
190
|
# -1.0): return r - 360.0 return r def NormalizeLatLng(latitude, longitude): """
|
156
|
-
# Wraps decimal degrees latitude and longitude to [-
|
191
|
+
# Wraps decimal degrees latitude and longitude to [-90.0, 90.0] and [-180.0, 180.
|
157
192
|
# 0], respectively.""" r = latitude % 360.0 if r = 270.0: return r - 360,
|
158
193
|
# NormalizeLongitude(longitude) else: return 180 - r, NormalizeLongitude(
|
159
194
|
# longitude + 180.0) assert 180.0 == NormalizeLongitude(180.0) assert -180.0 ==
|
@@ -209,6 +244,89 @@ module Google
|
|
209
244
|
end
|
210
245
|
end
|
211
246
|
|
247
|
+
# Write-only registration parameters for beacons using Eddystone-EID format. Two
|
248
|
+
# ways of securely registering an Eddystone-EID beacon with the service are
|
249
|
+
# supported: 1. Perform an ECDH key exchange via this API, including a previous
|
250
|
+
# call to `GET /v1beta1/eidparams`. In this case the fields `
|
251
|
+
# beacon_ecdh_public_key` and `service_ecdh_public_key` should be populated and `
|
252
|
+
# beacon_identity_key` should not be populated. This method ensures that only
|
253
|
+
# the two parties in the ECDH key exchange can compute the identity key, which
|
254
|
+
# becomes a secret between them. 2. Derive or obtain the beacon's identity key
|
255
|
+
# via other secure means (perhaps an ECDH key exchange between the beacon and a
|
256
|
+
# mobile device or any other secure method), and then submit the resulting
|
257
|
+
# identity key to the service. In this case `beacon_identity_key` field should
|
258
|
+
# be populated, and neither of `beacon_ecdh_public_key` nor `
|
259
|
+
# service_ecdh_public_key` fields should be. The security of this method depends
|
260
|
+
# on how securely the parties involved (in particular the bluetooth client)
|
261
|
+
# handle the identity key, and obviously on how securely the identity key was
|
262
|
+
# generated. See [the Eddystone specification](https://github.com/google/
|
263
|
+
# eddystone/tree/master/eddystone-eid) at GitHub.
|
264
|
+
class EphemeralIdRegistration
|
265
|
+
include Google::Apis::Core::Hashable
|
266
|
+
|
267
|
+
# The beacon's public key used for the Elliptic curve Diffie-Hellman key
|
268
|
+
# exchange. When this field is populated, `service_ecdh_public_key` must also be
|
269
|
+
# populated, and `beacon_identity_key` must not be.
|
270
|
+
# Corresponds to the JSON property `beaconEcdhPublicKey`
|
271
|
+
# @return [String]
|
272
|
+
attr_accessor :beacon_ecdh_public_key
|
273
|
+
|
274
|
+
# The service's public key used for the Elliptic curve Diffie-Hellman key
|
275
|
+
# exchange. When this field is populated, `beacon_ecdh_public_key` must also be
|
276
|
+
# populated, and `beacon_identity_key` must not be.
|
277
|
+
# Corresponds to the JSON property `serviceEcdhPublicKey`
|
278
|
+
# @return [String]
|
279
|
+
attr_accessor :service_ecdh_public_key
|
280
|
+
|
281
|
+
# The private key of the beacon. If this field is populated, `
|
282
|
+
# beacon_ecdh_public_key` and `service_ecdh_public_key` must not be populated.
|
283
|
+
# Corresponds to the JSON property `beaconIdentityKey`
|
284
|
+
# @return [String]
|
285
|
+
attr_accessor :beacon_identity_key
|
286
|
+
|
287
|
+
# Indicates the nominal period between each rotation of the beacon's ephemeral
|
288
|
+
# ID. "Nominal" because the beacon should randomize the actual interval. See [
|
289
|
+
# the spec at github](https://github.com/google/eddystone/tree/master/eddystone-
|
290
|
+
# eid) for details. This value corresponds to a power-of-two scaler on the
|
291
|
+
# beacon's clock: when the scaler value is K, the beacon will begin broadcasting
|
292
|
+
# a new ephemeral ID on average every 2^K seconds.
|
293
|
+
# Corresponds to the JSON property `rotationPeriodExponent`
|
294
|
+
# @return [Fixnum]
|
295
|
+
attr_accessor :rotation_period_exponent
|
296
|
+
|
297
|
+
# The initial clock value of the beacon. The beacon's clock must have begun
|
298
|
+
# counting at this value immediately prior to transmitting this value to the
|
299
|
+
# resolving service. Significant delay in transmitting this value to the service
|
300
|
+
# risks registration or resolution failures. If a value is not provided, the
|
301
|
+
# default is zero.
|
302
|
+
# Corresponds to the JSON property `initialClockValue`
|
303
|
+
# @return [String]
|
304
|
+
attr_accessor :initial_clock_value
|
305
|
+
|
306
|
+
# An initial ephemeral ID calculated using the clock value submitted as `
|
307
|
+
# initial_clock_value`, and the secret key generated by the Diffie-Hellman key
|
308
|
+
# exchange using `service_ecdh_public_key` and `service_ecdh_public_key`. This
|
309
|
+
# initial EID value will be used by the service to confirm that the key exchange
|
310
|
+
# process was successful.
|
311
|
+
# Corresponds to the JSON property `initialEid`
|
312
|
+
# @return [String]
|
313
|
+
attr_accessor :initial_eid
|
314
|
+
|
315
|
+
def initialize(**args)
|
316
|
+
update!(**args)
|
317
|
+
end
|
318
|
+
|
319
|
+
# Update properties of this object
|
320
|
+
def update!(**args)
|
321
|
+
@beacon_ecdh_public_key = args[:beacon_ecdh_public_key] if args.key?(:beacon_ecdh_public_key)
|
322
|
+
@service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key)
|
323
|
+
@beacon_identity_key = args[:beacon_identity_key] if args.key?(:beacon_identity_key)
|
324
|
+
@rotation_period_exponent = args[:rotation_period_exponent] if args.key?(:rotation_period_exponent)
|
325
|
+
@initial_clock_value = args[:initial_clock_value] if args.key?(:initial_clock_value)
|
326
|
+
@initial_eid = args[:initial_eid] if args.key?(:initial_eid)
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
212
330
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
213
331
|
# messages in your APIs. A typical example is to use it as the request or the
|
214
332
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -382,6 +500,43 @@ module Google
|
|
382
500
|
end
|
383
501
|
end
|
384
502
|
|
503
|
+
# Information a client needs to provision and register beacons that broadcast
|
504
|
+
# Eddystone-EID format beacon IDs, using Elliptic curve Diffie-Hellman key
|
505
|
+
# exchange. See [the Eddystone specification](https://github.com/google/
|
506
|
+
# eddystone/tree/master/eddystone-eid) at GitHub.
|
507
|
+
class EphemeralIdRegistrationParams
|
508
|
+
include Google::Apis::Core::Hashable
|
509
|
+
|
510
|
+
# The beacon service's public key for use by a beacon to derive its Identity Key
|
511
|
+
# using Elliptic Curve Diffie-Hellman key exchange.
|
512
|
+
# Corresponds to the JSON property `serviceEcdhPublicKey`
|
513
|
+
# @return [String]
|
514
|
+
attr_accessor :service_ecdh_public_key
|
515
|
+
|
516
|
+
# Indicates the minimum rotation period supported by the service. See
|
517
|
+
# EddystoneEidRegistration.rotation_period_exponent
|
518
|
+
# Corresponds to the JSON property `minRotationPeriodExponent`
|
519
|
+
# @return [Fixnum]
|
520
|
+
attr_accessor :min_rotation_period_exponent
|
521
|
+
|
522
|
+
# Indicates the maximum rotation period supported by the service. See
|
523
|
+
# EddystoneEidRegistration.rotation_period_exponent
|
524
|
+
# Corresponds to the JSON property `maxRotationPeriodExponent`
|
525
|
+
# @return [Fixnum]
|
526
|
+
attr_accessor :max_rotation_period_exponent
|
527
|
+
|
528
|
+
def initialize(**args)
|
529
|
+
update!(**args)
|
530
|
+
end
|
531
|
+
|
532
|
+
# Update properties of this object
|
533
|
+
def update!(**args)
|
534
|
+
@service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key)
|
535
|
+
@min_rotation_period_exponent = args[:min_rotation_period_exponent] if args.key?(:min_rotation_period_exponent)
|
536
|
+
@max_rotation_period_exponent = args[:max_rotation_period_exponent] if args.key?(:max_rotation_period_exponent)
|
537
|
+
end
|
538
|
+
end
|
539
|
+
|
385
540
|
# Response that contains the requested diagnostics.
|
386
541
|
class ListDiagnosticsResponse
|
387
542
|
include Google::Apis::Core::Hashable
|
@@ -412,7 +567,8 @@ module Google
|
|
412
567
|
class Diagnostics
|
413
568
|
include Google::Apis::Core::Hashable
|
414
569
|
|
415
|
-
# Resource name of the beacon.
|
570
|
+
# Resource name of the beacon. For Eddystone-EID beacons, this may be the beacon'
|
571
|
+
# s current EID, or the beacon's "stable" Eddystone-UID.
|
416
572
|
# Corresponds to the JSON property `beaconName`
|
417
573
|
# @return [String]
|
418
574
|
attr_accessor :beacon_name
|
@@ -422,8 +578,8 @@ module Google
|
|
422
578
|
# relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a
|
423
579
|
# year and month where the day is not significant, e.g. credit card expiration
|
424
580
|
# date. The year may be 0 to represent a month and day independent of year, e.g.
|
425
|
-
# anniversary date. Related types are
|
426
|
-
#
|
581
|
+
# anniversary date. Related types are google.type.TimeOfDay and `google.protobuf.
|
582
|
+
# Timestamp`.
|
427
583
|
# Corresponds to the JSON property `estimatedLowBatteryDate`
|
428
584
|
# @return [Google::Apis::ProximitybeaconV1beta1::Date]
|
429
585
|
attr_accessor :estimated_low_battery_date
|
@@ -450,24 +606,23 @@ module Google
|
|
450
606
|
# relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a
|
451
607
|
# year and month where the day is not significant, e.g. credit card expiration
|
452
608
|
# date. The year may be 0 to represent a month and day independent of year, e.g.
|
453
|
-
# anniversary date. Related types are
|
454
|
-
#
|
609
|
+
# anniversary date. Related types are google.type.TimeOfDay and `google.protobuf.
|
610
|
+
# Timestamp`.
|
455
611
|
class Date
|
456
612
|
include Google::Apis::Core::Hashable
|
457
613
|
|
458
|
-
# Year of date. Must be from 1 to
|
459
|
-
# year.
|
614
|
+
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
|
460
615
|
# Corresponds to the JSON property `year`
|
461
616
|
# @return [Fixnum]
|
462
617
|
attr_accessor :year
|
463
618
|
|
464
|
-
# Month of year
|
619
|
+
# Month of year. Must be from 1 to 12.
|
465
620
|
# Corresponds to the JSON property `month`
|
466
621
|
# @return [Fixnum]
|
467
622
|
attr_accessor :month
|
468
623
|
|
469
624
|
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
|
470
|
-
# specifying a year/month where the day is not
|
625
|
+
# specifying a year/month where the day is not significant.
|
471
626
|
# Corresponds to the JSON property `day`
|
472
627
|
# @return [Fixnum]
|
473
628
|
attr_accessor :day
|
@@ -529,8 +684,7 @@ module Google
|
|
529
684
|
# @return [String]
|
530
685
|
attr_accessor :telemetry
|
531
686
|
|
532
|
-
# Time when the beacon was observed.
|
533
|
-
# time may be suspect.
|
687
|
+
# Time when the beacon was observed.
|
534
688
|
# Corresponds to the JSON property `timestampMs`
|
535
689
|
# @return [String]
|
536
690
|
attr_accessor :timestamp_ms
|
@@ -582,12 +736,6 @@ module Google
|
|
582
736
|
# @return [String]
|
583
737
|
attr_accessor :beacon_name
|
584
738
|
|
585
|
-
# Free text used to identify or describe the beacon in a registered
|
586
|
-
# establishment. For example: "entrance", "room 101", etc. May be empty.
|
587
|
-
# Corresponds to the JSON property `description`
|
588
|
-
# @return [String]
|
589
|
-
attr_accessor :description
|
590
|
-
|
591
739
|
# Attachments matching the type(s) requested. May be empty if no attachment
|
592
740
|
# types were requested, or if none matched.
|
593
741
|
# Corresponds to the JSON property `attachments`
|
@@ -602,7 +750,6 @@ module Google
|
|
602
750
|
def update!(**args)
|
603
751
|
@advertised_id = args[:advertised_id] if args.key?(:advertised_id)
|
604
752
|
@beacon_name = args[:beacon_name] if args.key?(:beacon_name)
|
605
|
-
@description = args[:description] if args.key?(:description)
|
606
753
|
@attachments = args[:attachments] if args.key?(:attachments)
|
607
754
|
end
|
608
755
|
end
|
@@ -46,6 +46,12 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
+
class EphemeralIdRegistration
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
49
55
|
class Empty
|
50
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
57
|
|
@@ -88,6 +94,12 @@ module Google
|
|
88
94
|
include Google::Apis::Core::JsonObjectSupport
|
89
95
|
end
|
90
96
|
|
97
|
+
class EphemeralIdRegistrationParams
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
91
103
|
class ListDiagnosticsResponse
|
92
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
105
|
|
@@ -151,6 +163,9 @@ module Google
|
|
151
163
|
property :expected_stability, as: 'expectedStability'
|
152
164
|
property :description, as: 'description'
|
153
165
|
hash :properties, as: 'properties'
|
166
|
+
property :ephemeral_id_registration, as: 'ephemeralIdRegistration', class: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration, decorator: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration::Representation
|
167
|
+
|
168
|
+
property :provisioning_key, :base64 => true, as: 'provisioningKey'
|
154
169
|
end
|
155
170
|
end
|
156
171
|
|
@@ -177,6 +192,18 @@ module Google
|
|
177
192
|
end
|
178
193
|
end
|
179
194
|
|
195
|
+
class EphemeralIdRegistration
|
196
|
+
# @private
|
197
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
198
|
+
property :beacon_ecdh_public_key, :base64 => true, as: 'beaconEcdhPublicKey'
|
199
|
+
property :service_ecdh_public_key, :base64 => true, as: 'serviceEcdhPublicKey'
|
200
|
+
property :beacon_identity_key, :base64 => true, as: 'beaconIdentityKey'
|
201
|
+
property :rotation_period_exponent, as: 'rotationPeriodExponent'
|
202
|
+
property :initial_clock_value, as: 'initialClockValue'
|
203
|
+
property :initial_eid, :base64 => true, as: 'initialEid'
|
204
|
+
end
|
205
|
+
end
|
206
|
+
|
180
207
|
class Empty
|
181
208
|
# @private
|
182
209
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -233,6 +260,15 @@ module Google
|
|
233
260
|
end
|
234
261
|
end
|
235
262
|
|
263
|
+
class EphemeralIdRegistrationParams
|
264
|
+
# @private
|
265
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
266
|
+
property :service_ecdh_public_key, :base64 => true, as: 'serviceEcdhPublicKey'
|
267
|
+
property :min_rotation_period_exponent, as: 'minRotationPeriodExponent'
|
268
|
+
property :max_rotation_period_exponent, as: 'maxRotationPeriodExponent'
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
236
272
|
class ListDiagnosticsResponse
|
237
273
|
# @private
|
238
274
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -294,7 +330,6 @@ module Google
|
|
294
330
|
property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation
|
295
331
|
|
296
332
|
property :beacon_name, as: 'beaconName'
|
297
|
-
property :description, as: 'description'
|
298
333
|
collection :attachments, as: 'attachments', class: Google::Apis::ProximitybeaconV1beta1::AttachmentInfo, decorator: Google::Apis::ProximitybeaconV1beta1::AttachmentInfo::Representation
|
299
334
|
|
300
335
|
end
|