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.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/api_names.yaml +15 -0
  4. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +75 -12
  6. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +25 -5
  7. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +6 -2
  8. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +1 -1
  10. data/generated/google/apis/admin_directory_v1/representations.rb +1 -2
  11. data/generated/google/apis/adsense_v1_4.rb +1 -1
  12. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  13. data/generated/google/apis/analytics_v3.rb +1 -1
  14. data/generated/google/apis/analyticsreporting_v4.rb +37 -0
  15. data/generated/google/apis/analyticsreporting_v4/classes.rb +1385 -0
  16. data/generated/google/apis/analyticsreporting_v4/representations.rb +597 -0
  17. data/generated/google/apis/analyticsreporting_v4/service.rb +88 -0
  18. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  19. data/generated/google/apis/androidenterprise_v1/classes.rb +98 -2
  20. data/generated/google/apis/androidenterprise_v1/representations.rb +48 -0
  21. data/generated/google/apis/androidenterprise_v1/service.rb +63 -1
  22. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v2/classes.rb +268 -0
  24. data/generated/google/apis/androidpublisher_v2/representations.rb +142 -0
  25. data/generated/google/apis/androidpublisher_v2/service.rb +121 -0
  26. data/generated/google/apis/appstate_v1.rb +1 -1
  27. data/generated/google/apis/autoscaler_v1beta2.rb +1 -1
  28. data/generated/google/apis/autoscaler_v1beta2/classes.rb +10 -47
  29. data/generated/google/apis/autoscaler_v1beta2/representations.rb +1 -18
  30. data/generated/google/apis/autoscaler_v1beta2/service.rb +4 -4
  31. data/generated/google/apis/bigquery_v2.rb +1 -1
  32. data/generated/google/apis/bigquery_v2/classes.rb +97 -61
  33. data/generated/google/apis/bigquery_v2/representations.rb +23 -18
  34. data/generated/google/apis/calendar_v3.rb +1 -1
  35. data/generated/google/apis/classroom_v1.rb +23 -2
  36. data/generated/google/apis/classroom_v1/classes.rb +920 -6
  37. data/generated/google/apis/classroom_v1/representations.rb +419 -0
  38. data/generated/google/apis/classroom_v1/service.rb +507 -1
  39. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1/classes.rb +30 -23
  41. data/generated/google/apis/cloudbuild_v1/representations.rb +4 -3
  42. data/generated/google/apis/cloudbuild_v1/service.rb +25 -25
  43. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  44. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  45. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  46. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +55 -0
  47. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +40 -0
  48. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +35 -0
  49. data/generated/google/apis/cloudtrace_v1.rb +11 -3
  50. data/generated/google/apis/cloudtrace_v1/classes.rb +5 -5
  51. data/generated/google/apis/cloudtrace_v1/service.rb +8 -6
  52. data/generated/google/apis/compute_beta.rb +2 -2
  53. data/generated/google/apis/compute_beta/classes.rb +162 -32
  54. data/generated/google/apis/compute_beta/representations.rb +58 -0
  55. data/generated/google/apis/compute_beta/service.rb +392 -267
  56. data/generated/google/apis/compute_v1.rb +2 -2
  57. data/generated/google/apis/compute_v1/classes.rb +21 -9
  58. data/generated/google/apis/compute_v1/representations.rb +1 -0
  59. data/generated/google/apis/compute_v1/service.rb +291 -253
  60. data/generated/google/apis/container_v1.rb +1 -1
  61. data/generated/google/apis/container_v1/classes.rb +148 -0
  62. data/generated/google/apis/container_v1/representations.rb +55 -0
  63. data/generated/google/apis/container_v1/service.rb +161 -0
  64. data/generated/google/apis/content_v2.rb +1 -1
  65. data/generated/google/apis/content_v2/classes.rb +18 -6
  66. data/generated/google/apis/content_v2/representations.rb +1 -0
  67. data/generated/google/apis/customsearch_v1.rb +1 -1
  68. data/generated/google/apis/dataproc_v1.rb +2 -11
  69. data/generated/google/apis/dataproc_v1/classes.rb +0 -19
  70. data/generated/google/apis/dataproc_v1/representations.rb +0 -13
  71. data/generated/google/apis/dataproc_v1/service.rb +8 -87
  72. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  73. data/generated/google/apis/dfareporting_v2_3.rb +1 -1
  74. data/generated/google/apis/dfareporting_v2_3/classes.rb +41 -32
  75. data/generated/google/apis/discovery_v1.rb +2 -2
  76. data/generated/google/apis/discovery_v1/service.rb +2 -2
  77. data/generated/google/apis/dns_v1.rb +2 -3
  78. data/generated/google/apis/dns_v1/service.rb +1 -2
  79. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  80. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  81. data/generated/google/apis/drive_v2.rb +3 -2
  82. data/generated/google/apis/drive_v2/service.rb +2 -1
  83. data/generated/google/apis/drive_v3.rb +3 -2
  84. data/generated/google/apis/drive_v3/service.rb +2 -1
  85. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  86. data/generated/google/apis/games_management_v1management.rb +1 -1
  87. data/generated/google/apis/games_management_v1management/classes.rb +34 -0
  88. data/generated/google/apis/games_management_v1management/representations.rb +16 -0
  89. data/generated/google/apis/games_v1.rb +1 -1
  90. data/generated/google/apis/games_v1/classes.rb +34 -0
  91. data/generated/google/apis/games_v1/representations.rb +16 -0
  92. data/generated/google/apis/games_v1/service.rb +212 -53
  93. data/generated/google/apis/genomics_v1.rb +1 -1
  94. data/generated/google/apis/genomics_v1/classes.rb +18 -0
  95. data/generated/google/apis/genomics_v1/representations.rb +3 -0
  96. data/generated/google/apis/genomics_v1/service.rb +2 -2
  97. data/generated/google/apis/gmail_v1.rb +1 -1
  98. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  99. data/generated/google/apis/identitytoolkit_v3/classes.rb +19 -7
  100. data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -1
  101. data/generated/google/apis/mybusiness_v3.rb +32 -0
  102. data/generated/google/apis/mybusiness_v3/classes.rb +1864 -0
  103. data/generated/google/apis/mybusiness_v3/representations.rb +741 -0
  104. data/generated/google/apis/mybusiness_v3/service.rb +960 -0
  105. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  106. data/generated/google/apis/plus_domains_v1.rb +2 -2
  107. data/generated/google/apis/plus_domains_v1/service.rb +1 -1
  108. data/generated/google/apis/plus_v1.rb +2 -2
  109. data/generated/google/apis/plus_v1/service.rb +1 -1
  110. data/generated/google/apis/prediction_v1_6.rb +4 -1
  111. data/generated/google/apis/proximitybeacon_v1beta1.rb +5 -2
  112. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +169 -22
  113. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +36 -1
  114. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +254 -39
  115. data/generated/google/apis/replicapool_v1beta2.rb +3 -3
  116. data/generated/google/apis/replicapool_v1beta2/service.rb +2 -2
  117. data/generated/google/apis/resourceviews_v1beta2.rb +1 -1
  118. data/generated/google/apis/script_v1.rb +6 -3
  119. data/generated/google/apis/script_v1/service.rb +2 -2
  120. data/generated/google/apis/sheets_v4.rb +43 -0
  121. data/generated/google/apis/sheets_v4/classes.rb +5425 -0
  122. data/generated/google/apis/sheets_v4/representations.rb +2070 -0
  123. data/generated/google/apis/sheets_v4/service.rb +402 -0
  124. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  125. data/generated/google/apis/sqladmin_v1beta4/classes.rb +19 -4
  126. data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
  127. data/generated/google/apis/storage_v1.rb +1 -1
  128. data/generated/google/apis/storage_v1/classes.rb +2 -1
  129. data/generated/google/apis/taskqueue_v1beta2.rb +2 -2
  130. data/generated/google/apis/taskqueue_v1beta2/service.rb +1 -1
  131. data/generated/google/apis/vision_v1.rb +4 -5
  132. data/generated/google/apis/vision_v1/classes.rb +69 -68
  133. data/generated/google/apis/vision_v1/representations.rb +13 -13
  134. data/generated/google/apis/vision_v1/service.rb +3 -4
  135. data/generated/google/apis/youtube_analytics_v1.rb +2 -2
  136. data/generated/google/apis/youtube_analytics_v1/service.rb +1 -1
  137. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  138. data/generated/google/apis/youtube_partner_v1/classes.rb +121 -0
  139. data/generated/google/apis/youtube_partner_v1/representations.rb +50 -0
  140. data/generated/google/apis/youtube_partner_v1/service.rb +40 -0
  141. data/generated/google/apis/youtube_v3.rb +1 -1
  142. data/generated/google/apis/youtube_v3/classes.rb +24 -0
  143. data/generated/google/apis/youtube_v3/representations.rb +4 -0
  144. data/generated/google/apis/youtubereporting_v1.rb +3 -3
  145. data/generated/google/apis/youtubereporting_v1/classes.rb +19 -0
  146. data/generated/google/apis/youtubereporting_v1/representations.rb +3 -0
  147. data/generated/google/apis/youtubereporting_v1/service.rb +3 -4
  148. data/lib/google/apis/version.rb +1 -1
  149. metadata +14 -2
@@ -22,7 +22,7 @@ module Google
22
22
  module ProximitybeaconV1beta1
23
23
  # Google Proximity Beacon API
24
24
  #
25
- # This API provides services to register, manage, index, and search beacons.
25
+ # Registers, manages, indexes, and searches beacons.
26
26
  #
27
27
  # @example
28
28
  # require 'google/apis/proximitybeacon_v1beta1'
@@ -47,8 +47,14 @@ module Google
47
47
  end
48
48
 
49
49
  # Registers a previously unregistered beacon given its `advertisedId`. These IDs
50
- # are unique within the system. An ID can be registered only once.
50
+ # are unique within the system. An ID can be registered only once. Authenticate
51
+ # using an [OAuth access token](https://developers.google.com/identity/protocols/
52
+ # OAuth2) from a signed-in user with **Is owner** or **Can edit** permissions in
53
+ # the Google Developers Console project.
51
54
  # @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object
55
+ # @param [String] project_id
56
+ # The project id of the project the beacon will be registered to. If the project
57
+ # id is not specified then the project making the request is used. Optional.
52
58
  # @param [String] fields
53
59
  # Selector specifying which fields to include in a partial response.
54
60
  # @param [String] quota_user
@@ -66,12 +72,13 @@ module Google
66
72
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
67
73
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
68
74
  # @raise [Google::Apis::AuthorizationError] Authorization is required
69
- def register_beacon(beacon_object = nil, fields: nil, quota_user: nil, options: nil, &block)
75
+ def register_beacon(beacon_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
70
76
  command = make_simple_command(:post, 'v1beta1/beacons:register', options)
71
77
  command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
72
78
  command.request_object = beacon_object
73
79
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
74
80
  command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon
81
+ command.query['projectId'] = project_id unless project_id.nil?
75
82
  command.query['fields'] = fields unless fields.nil?
76
83
  command.query['quotaUser'] = quota_user unless quota_user.nil?
77
84
  execute_or_queue_command(command, &block)
@@ -79,9 +86,21 @@ module Google
79
86
 
80
87
  # Decommissions the specified beacon in the service. This beacon will no longer
81
88
  # be returned from `beaconinfo.getforobserved`. This operation is permanent --
82
- # you will not be able to re-register a beacon with this ID again.
89
+ # you will not be able to re-register a beacon with this ID again. Authenticate
90
+ # using an [OAuth access token](https://developers.google.com/identity/protocols/
91
+ # OAuth2) from a signed-in user with **Is owner** or **Can edit** permissions in
92
+ # the Google Developers Console project.
83
93
  # @param [String] beacon_name
84
- # Beacon that should be decommissioned. Required.
94
+ # Beacon that should be decommissioned. A beacon name has the format "beacons/N!
95
+ # beaconId" where the beaconId is the base16 ID broadcast by the beacon and N is
96
+ # a code for the beacon's type. Possible values are `3` for Eddystone-UID, `4`
97
+ # for Eddystone-EID, `1` for iBeacon, or `5` for AltBeacon. For Eddystone-EID
98
+ # beacons, you may use either the current EID of the beacon's "stable" UID.
99
+ # Required.
100
+ # @param [String] project_id
101
+ # The project id of the beacon to decommission. If the project id is not
102
+ # specified then the project making the request is used. The project id must
103
+ # match the project that owns the beacon. Optional.
85
104
  # @param [String] fields
86
105
  # Selector specifying which fields to include in a partial response.
87
106
  # @param [String] quota_user
@@ -99,19 +118,37 @@ module Google
99
118
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
100
119
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
101
120
  # @raise [Google::Apis::AuthorizationError] Authorization is required
102
- def decommission_beacon(beacon_name, fields: nil, quota_user: nil, options: nil, &block)
121
+ def decommission_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
103
122
  command = make_simple_command(:post, 'v1beta1/{+beaconName}:decommission', options)
104
123
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
105
124
  command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
106
125
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
126
+ command.query['projectId'] = project_id unless project_id.nil?
107
127
  command.query['fields'] = fields unless fields.nil?
108
128
  command.query['quotaUser'] = quota_user unless quota_user.nil?
109
129
  execute_or_queue_command(command, &block)
110
130
  end
111
131
 
112
- # Returns detailed information about the specified beacon.
132
+ # Returns detailed information about the specified beacon. Authenticate using an
133
+ # [OAuth access token](https://developers.google.com/identity/protocols/OAuth2)
134
+ # from a signed-in user with **viewer**, **Is owner** or **Can edit**
135
+ # permissions in the Google Developers Console project. Requests may supply an
136
+ # Eddystone-EID beacon name in the form: `beacons/4!beaconId` where the `
137
+ # beaconId` is the base16 ephemeral ID broadcast by the beacon. The returned `
138
+ # Beacon` object will contain the beacon's stable Eddystone-UID. Clients not
139
+ # authorized to resolve the beacon's ephemeral Eddystone-EID broadcast will
140
+ # receive an error.
113
141
  # @param [String] beacon_name
114
- # Beacon that is requested.
142
+ # Resource name of this beacon. A beacon name has the format "beacons/N!beaconId"
143
+ # where the beaconId is the base16 ID broadcast by the beacon and N is a code
144
+ # for the beacon's type. Possible values are `3` for Eddystone-UID, `4` for
145
+ # Eddystone-EID, `1` for iBeacon, or `5` for AltBeacon. For Eddystone-EID
146
+ # beacons, you may use either the current EID or the beacon's "stable" UID.
147
+ # Required.
148
+ # @param [String] project_id
149
+ # The project id of the beacon to request. If the project id is not specified
150
+ # then the project making the request is used. The project id must match the
151
+ # project that owns the beacon. Optional.
115
152
  # @param [String] fields
116
153
  # Selector specifying which fields to include in a partial response.
117
154
  # @param [String] quota_user
@@ -129,11 +166,12 @@ module Google
129
166
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
130
167
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
131
168
  # @raise [Google::Apis::AuthorizationError] Authorization is required
132
- def get_beacon(beacon_name, fields: nil, quota_user: nil, options: nil, &block)
169
+ def get_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
133
170
  command = make_simple_command(:get, 'v1beta1/{+beaconName}', options)
134
171
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
135
172
  command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon
136
173
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
174
+ command.query['projectId'] = project_id unless project_id.nil?
137
175
  command.query['fields'] = fields unless fields.nil?
138
176
  command.query['quotaUser'] = quota_user unless quota_user.nil?
139
177
  execute_or_queue_command(command, &block)
@@ -141,6 +179,9 @@ module Google
141
179
 
142
180
  # Searches the beacon registry for beacons that match the given search criteria.
143
181
  # Only those beacons that the client has permission to list will be returned.
182
+ # Authenticate using an [OAuth access token](https://developers.google.com/
183
+ # identity/protocols/OAuth2) from a signed-in user with **viewer**, **Is owner**
184
+ # or **Can edit** permissions in the Google Developers Console project.
144
185
  # @param [String] q
145
186
  # Filter query string that supports the following field filters: * `description:"
146
187
  # "` For example: `description:"Room 3"` Returns beacons whose description
@@ -167,8 +208,8 @@ module Google
167
208
  # Returns beacons whose registered location is within the given circle. When any
168
209
  # of these fields are given, all are required. Latitude and longitude must be
169
210
  # decimal degrees between -90.0 and 90.0 and between -180.0 and 180.0
170
- # respectively. Radius must be an integer number of meters less than 1,000,000 (
171
- # 1000 km). * `property:"="` For example: `property:"battery-type=CR2032"`
211
+ # respectively. Radius must be an integer number of meters between 10 and 1,000,
212
+ # 000 (1000 km). * `property:"="` For example: `property:"battery-type=CR2032"`
172
213
  # Returns beacons which have a property of the given name and value. Supports
173
214
  # multiple filters which will be combined with OR logic. The entire name=value
174
215
  # string must be double-quoted as one string. * `attachment_type:""` For example:
@@ -187,6 +228,9 @@ module Google
187
228
  # @param [Fixnum] page_size
188
229
  # The maximum number of records to return for this request, up to a server-
189
230
  # defined upper limit.
231
+ # @param [String] project_id
232
+ # The project id to list beacons under. If not present then the project
233
+ # credential that made the request is used as the project. Optional.
190
234
  # @param [String] fields
191
235
  # Selector specifying which fields to include in a partial response.
192
236
  # @param [String] quota_user
@@ -204,13 +248,14 @@ module Google
204
248
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
205
249
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
206
250
  # @raise [Google::Apis::AuthorizationError] Authorization is required
207
- def list_beacons(q: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
251
+ def list_beacons(q: nil, page_token: nil, page_size: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
208
252
  command = make_simple_command(:get, 'v1beta1/beacons', options)
209
253
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse::Representation
210
254
  command.response_class = Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse
211
255
  command.query['q'] = q unless q.nil?
212
256
  command.query['pageToken'] = page_token unless page_token.nil?
213
257
  command.query['pageSize'] = page_size unless page_size.nil?
258
+ command.query['projectId'] = project_id unless project_id.nil?
214
259
  command.query['fields'] = fields unless fields.nil?
215
260
  command.query['quotaUser'] = quota_user unless quota_user.nil?
216
261
  execute_or_queue_command(command, &block)
@@ -220,8 +265,11 @@ module Google
220
265
  # not populate in the submitted beacon will be permanently erased**, so you
221
266
  # should follow the "read, modify, write" pattern to avoid inadvertently
222
267
  # destroying data. Changes to the beacon status via this method will be silently
223
- # ignored. To update beacon status, use the separate methods on this API for (de)
224
- # activation and decommissioning.
268
+ # ignored. To update beacon status, use the separate methods on this API for
269
+ # activation, deactivation, and decommissioning. Authenticate using an [OAuth
270
+ # access token](https://developers.google.com/identity/protocols/OAuth2) from a
271
+ # signed-in user with **Is owner** or **Can edit** permissions in the Google
272
+ # Developers Console project.
225
273
  # @param [String] beacon_name
226
274
  # Resource name of this beacon. A beacon name has the format "beacons/N!beaconId"
227
275
  # where the beaconId is the base16 ID broadcast by the beacon and N is a code
@@ -229,6 +277,10 @@ module Google
229
277
  # or `5` for AltBeacon. This field must be left empty when registering. After
230
278
  # reading a beacon, clients can use the name for future operations.
231
279
  # @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object
280
+ # @param [String] project_id
281
+ # The project id of the beacon to update. If the project id is not specified
282
+ # then the project making the request is used. The project id must match the
283
+ # project that owns the beacon. Optional.
232
284
  # @param [String] fields
233
285
  # Selector specifying which fields to include in a partial response.
234
286
  # @param [String] quota_user
@@ -246,24 +298,37 @@ module Google
246
298
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
247
299
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
248
300
  # @raise [Google::Apis::AuthorizationError] Authorization is required
249
- def update_beacon(beacon_name, beacon_object = nil, fields: nil, quota_user: nil, options: nil, &block)
301
+ def update_beacon(beacon_name, beacon_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
250
302
  command = make_simple_command(:put, 'v1beta1/{+beaconName}', options)
251
303
  command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
252
304
  command.request_object = beacon_object
253
305
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
254
306
  command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon
255
307
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
308
+ command.query['projectId'] = project_id unless project_id.nil?
256
309
  command.query['fields'] = fields unless fields.nil?
257
310
  command.query['quotaUser'] = quota_user unless quota_user.nil?
258
311
  execute_or_queue_command(command, &block)
259
312
  end
260
313
 
261
- # (Re)activates a beacon. A beacon that is active will return information and
314
+ # Activates a beacon. A beacon that is active will return information and
262
315
  # attachment data when queried via `beaconinfo.getforobserved`. Calling this
263
316
  # method on an already active beacon will do nothing (but will return a
264
- # successful response code).
317
+ # successful response code). Authenticate using an [OAuth access token](https://
318
+ # developers.google.com/identity/protocols/OAuth2) from a signed-in user with **
319
+ # Is owner** or **Can edit** permissions in the Google Developers Console
320
+ # project.
265
321
  # @param [String] beacon_name
266
- # The beacon to activate. Required.
322
+ # Beacon that should be activated. A beacon name has the format "beacons/N!
323
+ # beaconId" where the beaconId is the base16 ID broadcast by the beacon and N is
324
+ # a code for the beacon's type. Possible values are `3` for Eddystone-UID, `4`
325
+ # for Eddystone-EID, `1` for iBeacon, or `5` for AltBeacon. For Eddystone-EID
326
+ # beacons, you may use either the current EID or the beacon's "stable" UID.
327
+ # Required.
328
+ # @param [String] project_id
329
+ # The project id of the beacon to activate. If the project id is not specified
330
+ # then the project making the request is used. The project id must match the
331
+ # project that owns the beacon. Optional.
267
332
  # @param [String] fields
268
333
  # Selector specifying which fields to include in a partial response.
269
334
  # @param [String] quota_user
@@ -281,11 +346,12 @@ module Google
281
346
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
282
347
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
283
348
  # @raise [Google::Apis::AuthorizationError] Authorization is required
284
- def activate_beacon(beacon_name, fields: nil, quota_user: nil, options: nil, &block)
349
+ def activate_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
285
350
  command = make_simple_command(:post, 'v1beta1/{+beaconName}:activate', options)
286
351
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
287
352
  command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
288
353
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
354
+ command.query['projectId'] = project_id unless project_id.nil?
289
355
  command.query['fields'] = fields unless fields.nil?
290
356
  command.query['quotaUser'] = quota_user unless quota_user.nil?
291
357
  execute_or_queue_command(command, &block)
@@ -294,9 +360,21 @@ module Google
294
360
  # Deactivates a beacon. Once deactivated, the API will not return information
295
361
  # nor attachment data for the beacon when queried via `beaconinfo.getforobserved`
296
362
  # . Calling this method on an already inactive beacon will do nothing (but will
297
- # return a successful response code).
363
+ # return a successful response code). Authenticate using an [OAuth access token](
364
+ # https://developers.google.com/identity/protocols/OAuth2) from a signed-in user
365
+ # with **Is owner** or **Can edit** permissions in the Google Developers Console
366
+ # project.
298
367
  # @param [String] beacon_name
299
- # The beacon name of this beacon.
368
+ # Beacon that should be deactivated. A beacon name has the format "beacons/N!
369
+ # beaconId" where the beaconId is the base16 ID broadcast by the beacon and N is
370
+ # a code for the beacon's type. Possible values are `3` for Eddystone-UID, `4`
371
+ # for Eddystone-EID, `1` for iBeacon, or `5` for AltBeacon. For Eddystone-EID
372
+ # beacons, you may use either the current EID or the beacon's "stable" UID.
373
+ # Required.
374
+ # @param [String] project_id
375
+ # The project id of the beacon to deactivate. If the project id is not specified
376
+ # then the project making the request is used. The project id must match the
377
+ # project that owns the beacon. Optional.
300
378
  # @param [String] fields
301
379
  # Selector specifying which fields to include in a partial response.
302
380
  # @param [String] quota_user
@@ -314,11 +392,12 @@ module Google
314
392
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
315
393
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
316
394
  # @raise [Google::Apis::AuthorizationError] Authorization is required
317
- def deactivate_beacon(beacon_name, fields: nil, quota_user: nil, options: nil, &block)
395
+ def deactivate_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
318
396
  command = make_simple_command(:post, 'v1beta1/{+beaconName}:deactivate', options)
319
397
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
320
398
  command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
321
399
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
400
+ command.query['projectId'] = project_id unless project_id.nil?
322
401
  command.query['fields'] = fields unless fields.nil?
323
402
  command.query['quotaUser'] = quota_user unless quota_user.nil?
324
403
  execute_or_queue_command(command, &block)
@@ -331,10 +410,21 @@ module Google
331
410
  # parts, the namespace and the type. The namespace must be one of the values
332
411
  # returned by the `namespaces` endpoint, while the type can be a string of any
333
412
  # characters except for the forward slash (`/`) up to 100 characters in length.
334
- # Attachment data can be up to 1024 bytes long.
413
+ # Attachment data can be up to 1024 bytes long. Authenticate using an [OAuth
414
+ # access token](https://developers.google.com/identity/protocols/OAuth2) from a
415
+ # signed-in user with **Is owner** or **Can edit** permissions in the Google
416
+ # Developers Console project.
335
417
  # @param [String] beacon_name
336
- # The beacon on which the attachment should be created. Required.
418
+ # Beacon on which the attachment should be created. A beacon name has the format
419
+ # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by the
420
+ # beacon and N is a code for the beacon's type. Possible values are `3` for
421
+ # Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for AltBeacon.
422
+ # For Eddystone-EID beacons, you may use either the current EID or the beacon's "
423
+ # stable" UID. Required.
337
424
  # @param [Google::Apis::ProximitybeaconV1beta1::BeaconAttachment] beacon_attachment_object
425
+ # @param [String] project_id
426
+ # The project id of the project the attachment will belong to. If the project id
427
+ # is not specified then the project making the request is used. Optional.
338
428
  # @param [String] fields
339
429
  # Selector specifying which fields to include in a partial response.
340
430
  # @param [String] quota_user
@@ -352,13 +442,14 @@ module Google
352
442
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
353
443
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
354
444
  # @raise [Google::Apis::AuthorizationError] Authorization is required
355
- def create_beacon_attachment(beacon_name, beacon_attachment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
445
+ def create_beacon_attachment(beacon_name, beacon_attachment_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
356
446
  command = make_simple_command(:post, 'v1beta1/{+beaconName}/attachments', options)
357
447
  command.request_representation = Google::Apis::ProximitybeaconV1beta1::BeaconAttachment::Representation
358
448
  command.request_object = beacon_attachment_object
359
449
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::BeaconAttachment::Representation
360
450
  command.response_class = Google::Apis::ProximitybeaconV1beta1::BeaconAttachment
361
451
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
452
+ command.query['projectId'] = project_id unless project_id.nil?
362
453
  command.query['fields'] = fields unless fields.nil?
363
454
  command.query['quotaUser'] = quota_user unless quota_user.nil?
364
455
  execute_or_queue_command(command, &block)
@@ -368,12 +459,25 @@ module Google
368
459
  # namespaced-type pattern. To control which namespaced types are returned, you
369
460
  # add the `namespacedType` query parameter to the request. You must either use `*
370
461
  # /*`, to return all attachments, or the namespace must be one of the ones
371
- # returned from the `namespaces` endpoint.
462
+ # returned from the `namespaces` endpoint. Authenticate using an [OAuth access
463
+ # token](https://developers.google.com/identity/protocols/OAuth2) from a signed-
464
+ # in user with **viewer**, **Is owner** or **Can edit** permissions in the
465
+ # Google Developers Console project.
372
466
  # @param [String] beacon_name
373
- # The beacon whose attachments are to be fetched. Required.
467
+ # Beacon whose attachments should be fetched. A beacon name has the format "
468
+ # beacons/N!beaconId" where the beaconId is the base16 ID broadcast by the
469
+ # beacon and N is a code for the beacon's type. Possible values are `3` for
470
+ # Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for AltBeacon.
471
+ # For Eddystone-EID beacons, you may use either the current EID or the beacon's "
472
+ # stable" UID. Required.
374
473
  # @param [String] namespaced_type
375
474
  # Specifies the namespace and type of attachment to include in response in
376
475
  # namespace/type format. Accepts `*/*` to specify "all types in all namespaces".
476
+ # @param [String] project_id
477
+ # The project id to list beacon attachments under. This field can be used when "*
478
+ # " is specified to mean all attachment namespaces. Projects may have multiple
479
+ # attachments with multiple namespaces. If "*" is specified and the projectId
480
+ # string is empty, then the project making the request is used. Optional.
377
481
  # @param [String] fields
378
482
  # Selector specifying which fields to include in a partial response.
379
483
  # @param [String] quota_user
@@ -391,12 +495,13 @@ module Google
391
495
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
392
496
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
393
497
  # @raise [Google::Apis::AuthorizationError] Authorization is required
394
- def list_beacon_attachments(beacon_name, namespaced_type: nil, fields: nil, quota_user: nil, options: nil, &block)
498
+ def list_beacon_attachments(beacon_name, namespaced_type: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
395
499
  command = make_simple_command(:get, 'v1beta1/{+beaconName}/attachments', options)
396
500
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse::Representation
397
501
  command.response_class = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse
398
502
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
399
503
  command.query['namespacedType'] = namespaced_type unless namespaced_type.nil?
504
+ command.query['projectId'] = project_id unless project_id.nil?
400
505
  command.query['fields'] = fields unless fields.nil?
401
506
  command.query['quotaUser'] = quota_user unless quota_user.nil?
402
507
  execute_or_queue_command(command, &block)
@@ -406,10 +511,17 @@ module Google
406
511
  # unique attachment name (`attachmentName`) which is returned when you fetch the
407
512
  # attachment data via this API. You specify this with the delete request to
408
513
  # control which attachment is removed. This operation cannot be undone.
514
+ # Authenticate using an [OAuth access token](https://developers.google.com/
515
+ # identity/protocols/OAuth2) from a signed-in user with **Is owner** or **Can
516
+ # edit** permissions in the Google Developers Console project.
409
517
  # @param [String] attachment_name
410
518
  # The attachment name (`attachmentName`) of the attachment to remove. For
411
- # example: `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738`
412
- # Required.
519
+ # example: `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738`. For
520
+ # Eddystone-EID beacons, the beacon ID portion (`3!893737abc9`) may be the
521
+ # beacon's current EID, or its "stable" Eddystone-UID. Required.
522
+ # @param [String] project_id
523
+ # The project id of the attachment to delete. If not provided, the project that
524
+ # is making the request is used. Optional.
413
525
  # @param [String] fields
414
526
  # Selector specifying which fields to include in a partial response.
415
527
  # @param [String] quota_user
@@ -427,11 +539,12 @@ module Google
427
539
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
428
540
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
429
541
  # @raise [Google::Apis::AuthorizationError] Authorization is required
430
- def delete_beacon_attachment(attachment_name, fields: nil, quota_user: nil, options: nil, &block)
542
+ def delete_beacon_attachment(attachment_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
431
543
  command = make_simple_command(:delete, 'v1beta1/{+attachmentName}', options)
432
544
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
433
545
  command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
434
546
  command.params['attachmentName'] = attachment_name unless attachment_name.nil?
547
+ command.query['projectId'] = project_id unless project_id.nil?
435
548
  command.query['fields'] = fields unless fields.nil?
436
549
  command.query['quotaUser'] = quota_user unless quota_user.nil?
437
550
  execute_or_queue_command(command, &block)
@@ -441,12 +554,25 @@ module Google
441
554
  # and cannot be undone. You can optionally specify `namespacedType` to choose
442
555
  # which attachments should be deleted. If you do not specify `namespacedType`,
443
556
  # all your attachments on the given beacon will be deleted. You also may
444
- # explicitly specify `*/*` to delete all.
557
+ # explicitly specify `*/*` to delete all. Authenticate using an [OAuth access
558
+ # token](https://developers.google.com/identity/protocols/OAuth2) from a signed-
559
+ # in user with **Is owner** or **Can edit** permissions in the Google Developers
560
+ # Console project.
445
561
  # @param [String] beacon_name
446
- # The beacon whose attachments are to be deleted. Required.
562
+ # The beacon whose attachments should be deleted. A beacon name has the format "
563
+ # beacons/N!beaconId" where the beaconId is the base16 ID broadcast by the
564
+ # beacon and N is a code for the beacon's type. Possible values are `3` for
565
+ # Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5` for AltBeacon.
566
+ # For Eddystone-EID beacons, you may use either the current EID or the beacon's "
567
+ # stable" UID. Required.
447
568
  # @param [String] namespaced_type
448
569
  # Specifies the namespace and type of attachments to delete in `namespace/type`
449
570
  # format. Accepts `*/*` to specify "all types in all namespaces". Optional.
571
+ # @param [String] project_id
572
+ # The project id to delete beacon attachments under. This field can be used when
573
+ # "*" is specified to mean all attachment namespaces. Projects may have multiple
574
+ # attachments with multiple namespaces. If "*" is specified and the projectId
575
+ # string is empty, then the project making the request is used. Optional.
450
576
  # @param [String] fields
451
577
  # Selector specifying which fields to include in a partial response.
452
578
  # @param [String] quota_user
@@ -464,12 +590,13 @@ module Google
464
590
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
465
591
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
466
592
  # @raise [Google::Apis::AuthorizationError] Authorization is required
467
- def batch_beacon_attachment_delete(beacon_name, namespaced_type: nil, fields: nil, quota_user: nil, options: nil, &block)
593
+ def batch_beacon_attachment_delete(beacon_name, namespaced_type: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
468
594
  command = make_simple_command(:post, 'v1beta1/{+beaconName}/attachments:batchDelete', options)
469
595
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::DeleteAttachmentsResponse::Representation
470
596
  command.response_class = Google::Apis::ProximitybeaconV1beta1::DeleteAttachmentsResponse
471
597
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
472
598
  command.query['namespacedType'] = namespaced_type unless namespaced_type.nil?
599
+ command.query['projectId'] = project_id unless project_id.nil?
473
600
  command.query['fields'] = fields unless fields.nil?
474
601
  command.query['quotaUser'] = quota_user unless quota_user.nil?
475
602
  execute_or_queue_command(command, &block)
@@ -477,7 +604,10 @@ module Google
477
604
 
478
605
  # List the diagnostics for a single beacon. You can also list diagnostics for
479
606
  # all the beacons owned by your Google Developers Console project by using the
480
- # beacon name `beacons/-`.
607
+ # beacon name `beacons/-`. Authenticate using an [OAuth access token](https://
608
+ # developers.google.com/identity/protocols/OAuth2) from a signed-in user with **
609
+ # viewer**, **Is owner** or **Can edit** permissions in the Google Developers
610
+ # Console project.
481
611
  # @param [String] beacon_name
482
612
  # Beacon that the diagnostics are for.
483
613
  # @param [Fixnum] page_size
@@ -489,6 +619,10 @@ module Google
489
619
  # @param [String] alert_filter
490
620
  # Requests only beacons that have the given alert. For example, to find beacons
491
621
  # that have low batteries use `alert_filter=LOW_BATTERY`.
622
+ # @param [String] project_id
623
+ # Requests only diagnostic records for the given project id. If not set, then
624
+ # the project making the request will be used for looking up diagnostic records.
625
+ # Optional.
492
626
  # @param [String] fields
493
627
  # Selector specifying which fields to include in a partial response.
494
628
  # @param [String] quota_user
@@ -506,7 +640,7 @@ module Google
506
640
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
507
641
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
508
642
  # @raise [Google::Apis::AuthorizationError] Authorization is required
509
- def list_beacon_diagnostics(beacon_name, page_size: nil, page_token: nil, alert_filter: nil, fields: nil, quota_user: nil, options: nil, &block)
643
+ def list_beacon_diagnostics(beacon_name, page_size: nil, page_token: nil, alert_filter: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
510
644
  command = make_simple_command(:get, 'v1beta1/{+beaconName}/diagnostics', options)
511
645
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse::Representation
512
646
  command.response_class = Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse
@@ -514,6 +648,7 @@ module Google
514
648
  command.query['pageSize'] = page_size unless page_size.nil?
515
649
  command.query['pageToken'] = page_token unless page_token.nil?
516
650
  command.query['alertFilter'] = alert_filter unless alert_filter.nil?
651
+ command.query['projectId'] = project_id unless project_id.nil?
517
652
  command.query['fields'] = fields unless fields.nil?
518
653
  command.query['quotaUser'] = quota_user unless quota_user.nil?
519
654
  execute_or_queue_command(command, &block)
@@ -521,7 +656,12 @@ module Google
521
656
 
522
657
  # Lists all attachment namespaces owned by your Google Developers Console
523
658
  # project. Attachment data associated with a beacon must include a namespaced
524
- # type, and the namespace must be owned by your project.
659
+ # type, and the namespace must be owned by your project. Authenticate using an [
660
+ # OAuth access token](https://developers.google.com/identity/protocols/OAuth2)
661
+ # from a signed-in user with **viewer**, **Is owner** or **Can edit**
662
+ # permissions in the Google Developers Console project.
663
+ # @param [String] project_id
664
+ # The project id to list namespaces under. Optional.
525
665
  # @param [String] fields
526
666
  # Selector specifying which fields to include in a partial response.
527
667
  # @param [String] quota_user
@@ -539,17 +679,92 @@ module Google
539
679
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
540
680
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
541
681
  # @raise [Google::Apis::AuthorizationError] Authorization is required
542
- def list_namespaces(fields: nil, quota_user: nil, options: nil, &block)
682
+ def list_namespaces(project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
543
683
  command = make_simple_command(:get, 'v1beta1/namespaces', options)
544
684
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse::Representation
545
685
  command.response_class = Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse
686
+ command.query['projectId'] = project_id unless project_id.nil?
687
+ command.query['fields'] = fields unless fields.nil?
688
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
689
+ execute_or_queue_command(command, &block)
690
+ end
691
+
692
+ # Updates the information about the specified namespace. Only the namespace
693
+ # visibility can be updated.
694
+ # @param [String] namespace_name
695
+ # Resource name of this namespace. Namespaces names have the format: namespaces/
696
+ # namespace.
697
+ # @param [Google::Apis::ProximitybeaconV1beta1::Namespace] namespace_object
698
+ # @param [String] project_id
699
+ # The project id of the namespace to update. If the project id is not specified
700
+ # then the project making the request is used. The project id must match the
701
+ # project that owns the beacon. Optional.
702
+ # @param [String] fields
703
+ # Selector specifying which fields to include in a partial response.
704
+ # @param [String] quota_user
705
+ # Available to use for quota purposes for server-side applications. Can be any
706
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
707
+ # @param [Google::Apis::RequestOptions] options
708
+ # Request-specific options
709
+ #
710
+ # @yield [result, err] Result & error if block supplied
711
+ # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Namespace] parsed result object
712
+ # @yieldparam err [StandardError] error object if request failed
713
+ #
714
+ # @return [Google::Apis::ProximitybeaconV1beta1::Namespace]
715
+ #
716
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
717
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
718
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
719
+ def update_namespace(namespace_name, namespace_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
720
+ command = make_simple_command(:put, 'v1beta1/{+namespaceName}', options)
721
+ command.request_representation = Google::Apis::ProximitybeaconV1beta1::Namespace::Representation
722
+ command.request_object = namespace_object
723
+ command.response_representation = Google::Apis::ProximitybeaconV1beta1::Namespace::Representation
724
+ command.response_class = Google::Apis::ProximitybeaconV1beta1::Namespace
725
+ command.params['namespaceName'] = namespace_name unless namespace_name.nil?
726
+ command.query['projectId'] = project_id unless project_id.nil?
727
+ command.query['fields'] = fields unless fields.nil?
728
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
729
+ execute_or_queue_command(command, &block)
730
+ end
731
+
732
+ # Gets the Proximity Beacon API's current public key and associated parameters
733
+ # used to initiate the Diffie-Hellman key exchange required to register a beacon
734
+ # that broadcasts the Eddystone-EID format. This key changes periodically;
735
+ # clients may cache it and re-use the same public key to provision and register
736
+ # multiple beacons. However, clients should be prepared to refresh this key when
737
+ # they encounter an error registering an Eddystone-EID beacon.
738
+ # @param [String] fields
739
+ # Selector specifying which fields to include in a partial response.
740
+ # @param [String] quota_user
741
+ # Available to use for quota purposes for server-side applications. Can be any
742
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
743
+ # @param [Google::Apis::RequestOptions] options
744
+ # Request-specific options
745
+ #
746
+ # @yield [result, err] Result & error if block supplied
747
+ # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams] parsed result object
748
+ # @yieldparam err [StandardError] error object if request failed
749
+ #
750
+ # @return [Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams]
751
+ #
752
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
753
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
754
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
755
+ def get_eidparams(fields: nil, quota_user: nil, options: nil, &block)
756
+ command = make_simple_command(:get, 'v1beta1/eidparams', options)
757
+ command.response_representation = Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams::Representation
758
+ command.response_class = Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams
546
759
  command.query['fields'] = fields unless fields.nil?
547
760
  command.query['quotaUser'] = quota_user unless quota_user.nil?
548
761
  execute_or_queue_command(command, &block)
549
762
  end
550
763
 
551
764
  # Given one or more beacon observations, returns any beacon information and
552
- # attachments accessible to your application.
765
+ # attachments accessible to your application. Authorize by using the [API key](
766
+ # https://developers.google.com/beacons/proximity/how-tos/authorizing#APIKey)
767
+ # for the application.
553
768
  # @param [Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsRequest] get_info_for_observed_beacons_request_object
554
769
  # @param [String] fields
555
770
  # Selector specifying which fields to include in a partial response.