google-api-client 0.44.2 → 0.45.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +61 -0
  3. data/generated/google/apis/admob_v1.rb +4 -1
  4. data/generated/google/apis/admob_v1/classes.rb +2 -2
  5. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  6. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  7. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  8. data/generated/google/apis/apigee_v1.rb +1 -1
  9. data/generated/google/apis/apigee_v1/classes.rb +206 -2
  10. data/generated/google/apis/apigee_v1/representations.rb +74 -0
  11. data/generated/google/apis/apigee_v1/service.rb +41 -19
  12. data/generated/google/apis/appengine_v1.rb +1 -1
  13. data/generated/google/apis/appengine_v1beta.rb +1 -1
  14. data/generated/google/apis/appsmarket_v2.rb +1 -1
  15. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  16. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
  17. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  18. data/generated/google/apis/assuredworkloads_v1beta1.rb +34 -0
  19. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +458 -0
  20. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +230 -0
  21. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  22. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  23. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
  24. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  25. data/generated/google/apis/chat_v1.rb +1 -1
  26. data/generated/google/apis/chat_v1/classes.rb +3 -3
  27. data/generated/google/apis/classroom_v1.rb +7 -1
  28. data/generated/google/apis/classroom_v1/classes.rb +132 -0
  29. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  30. data/generated/google/apis/classroom_v1/service.rb +240 -0
  31. data/generated/google/apis/cloudasset_v1.rb +1 -1
  32. data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
  33. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  34. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  35. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +4 -2
  36. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  37. data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
  38. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  39. data/generated/google/apis/cloudidentity_v1/classes.rb +84 -0
  40. data/generated/google/apis/cloudidentity_v1/representations.rb +46 -0
  41. data/generated/google/apis/cloudidentity_v1/service.rb +39 -1
  42. data/generated/google/apis/cloudkms_v1.rb +1 -1
  43. data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
  44. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  45. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  46. data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
  47. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  48. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  49. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
  50. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  51. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  52. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +7 -0
  53. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  54. data/generated/google/apis/container_v1beta1.rb +1 -1
  55. data/generated/google/apis/container_v1beta1/classes.rb +28 -0
  56. data/generated/google/apis/container_v1beta1/representations.rb +15 -0
  57. data/generated/google/apis/content_v2_1.rb +1 -1
  58. data/generated/google/apis/content_v2_1/classes.rb +1 -1
  59. data/generated/google/apis/customsearch_v1.rb +1 -1
  60. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  61. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  62. data/generated/google/apis/dataflow_v1b3/classes.rb +135 -0
  63. data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
  64. data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
  65. data/generated/google/apis/dataproc_v1.rb +1 -1
  66. data/generated/google/apis/dataproc_v1/classes.rb +3 -3
  67. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  68. data/generated/google/apis/dataproc_v1beta2/classes.rb +5 -4
  69. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  70. data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
  71. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  72. data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
  73. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  74. data/generated/google/apis/dialogflow_v3beta1/classes.rb +18 -0
  75. data/generated/google/apis/dialogflow_v3beta1/representations.rb +2 -0
  76. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  77. data/generated/google/apis/firebasehosting_v1beta1/service.rb +4 -4
  78. data/generated/google/apis/healthcare_v1.rb +1 -1
  79. data/generated/google/apis/healthcare_v1/service.rb +1 -3
  80. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  81. data/generated/google/apis/healthcare_v1beta1/classes.rb +7 -0
  82. data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -0
  83. data/generated/google/apis/healthcare_v1beta1/service.rb +1 -3
  84. data/generated/google/apis/iam_v1.rb +1 -1
  85. data/generated/google/apis/iam_v1/service.rb +2 -1
  86. data/generated/google/apis/licensing_v1.rb +4 -3
  87. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  88. data/generated/google/apis/licensing_v1/service.rb +55 -85
  89. data/generated/google/apis/monitoring_v1.rb +1 -1
  90. data/generated/google/apis/monitoring_v1/classes.rb +10 -10
  91. data/generated/google/apis/monitoring_v3.rb +1 -1
  92. data/generated/google/apis/monitoring_v3/classes.rb +36 -30
  93. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  94. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
  95. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
  96. data/generated/google/apis/pubsub_v1.rb +1 -1
  97. data/generated/google/apis/pubsub_v1/classes.rb +7 -0
  98. data/generated/google/apis/pubsub_v1/representations.rb +1 -0
  99. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  100. data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
  101. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  102. data/generated/google/apis/pubsublite_v1.rb +1 -1
  103. data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
  104. data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
  105. data/generated/google/apis/pubsublite_v1/service.rb +33 -0
  106. data/generated/google/apis/redis_v1.rb +1 -1
  107. data/generated/google/apis/redis_v1/classes.rb +0 -386
  108. data/generated/google/apis/redis_v1/representations.rb +0 -139
  109. data/generated/google/apis/redis_v1beta1.rb +1 -1
  110. data/generated/google/apis/redis_v1beta1/classes.rb +0 -386
  111. data/generated/google/apis/redis_v1beta1/representations.rb +0 -139
  112. data/generated/google/apis/reseller_v1.rb +2 -2
  113. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  114. data/generated/google/apis/reseller_v1/service.rb +122 -173
  115. data/generated/google/apis/run_v1.rb +1 -1
  116. data/generated/google/apis/run_v1/classes.rb +8 -8
  117. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  118. data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
  119. data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
  120. data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
  121. data/generated/google/apis/secretmanager_v1.rb +1 -1
  122. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  123. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
  124. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +31 -29
  125. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  126. data/generated/google/apis/servicecontrol_v1/classes.rb +8 -5
  127. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  128. data/generated/google/apis/servicecontrol_v2/classes.rb +7 -4
  129. data/generated/google/apis/sheets_v4.rb +1 -1
  130. data/generated/google/apis/sheets_v4/classes.rb +1 -1
  131. data/generated/google/apis/spanner_v1.rb +1 -1
  132. data/generated/google/apis/spanner_v1/classes.rb +7 -0
  133. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  134. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  135. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +142 -97
  136. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +104 -87
  137. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
  138. data/generated/google/apis/tagmanager_v2.rb +1 -1
  139. data/generated/google/apis/tasks_v1.rb +1 -1
  140. data/generated/google/apis/tasks_v1/classes.rb +1 -1
  141. data/generated/google/apis/tasks_v1/service.rb +4 -3
  142. data/generated/google/apis/testing_v1.rb +1 -1
  143. data/generated/google/apis/testing_v1/classes.rb +2 -2
  144. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  145. data/generated/google/apis/youtube_v3.rb +1 -1
  146. data/generated/google/apis/youtube_v3/classes.rb +46 -845
  147. data/generated/google/apis/youtube_v3/representations.rb +0 -390
  148. data/generated/google/apis/youtube_v3/service.rb +2 -197
  149. data/lib/google/apis/version.rb +1 -1
  150. metadata +11 -11
  151. data/generated/google/apis/plus_v1.rb +0 -43
  152. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  153. data/generated/google/apis/plus_v1/representations.rb +0 -907
  154. data/generated/google/apis/plus_v1/service.rb +0 -451
@@ -44,8 +44,8 @@ module Google
44
44
  attr_accessor :quota_user
45
45
 
46
46
  def initialize
47
- super('https://www.googleapis.com/', '')
48
- @batch_path = 'batch/youtube'
47
+ super('https://youtube.googleapis.com/', '')
48
+ @batch_path = 'batch'
49
49
  end
50
50
 
51
51
  # Inserts a new resource into this collection.
@@ -1178,123 +1178,6 @@ module Google
1178
1178
  execute_or_queue_command(command, &block)
1179
1179
  end
1180
1180
 
1181
- # Retrieves endscreen for a given video.
1182
- # @param [String] video_id
1183
- # Encrypted id of the video.
1184
- # @param [Array<String>, String] part
1185
- # The properties to return.
1186
- # @param [String] on_behalf_of_content_owner
1187
- # Content owner of the video.
1188
- # @param [String] fields
1189
- # Selector specifying which fields to include in a partial response.
1190
- # @param [String] quota_user
1191
- # Available to use for quota purposes for server-side applications. Can be any
1192
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1193
- # @param [Google::Apis::RequestOptions] options
1194
- # Request-specific options
1195
- #
1196
- # @yield [result, err] Result & error if block supplied
1197
- # @yieldparam result [Google::Apis::YoutubeV3::EndscreenGetResponse] parsed result object
1198
- # @yieldparam err [StandardError] error object if request failed
1199
- #
1200
- # @return [Google::Apis::YoutubeV3::EndscreenGetResponse]
1201
- #
1202
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1203
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1204
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1205
- def get_endscreen(video_id, part, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block)
1206
- command = make_simple_command(:get, 'youtube/v3/endscreen', options)
1207
- command.response_representation = Google::Apis::YoutubeV3::EndscreenGetResponse::Representation
1208
- command.response_class = Google::Apis::YoutubeV3::EndscreenGetResponse
1209
- command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
1210
- command.query['part'] = part unless part.nil?
1211
- command.query['videoId'] = video_id unless video_id.nil?
1212
- command.query['fields'] = fields unless fields.nil?
1213
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1214
- execute_or_queue_command(command, &block)
1215
- end
1216
-
1217
- # Updates endscreen for a given video. Note: * If the element id is not provided,
1218
- # a new element will be created. * If the element id is provided, that element
1219
- # will be updated. * Existing elements will be discarded if they're not included
1220
- # in the request.
1221
- # @param [String] video_id
1222
- # Encrypted id of the video this endscreen corresponds to.
1223
- # @param [Array<String>, String] part
1224
- # The properties to return.
1225
- # @param [Google::Apis::YoutubeV3::Endscreen] endscreen_object
1226
- # @param [String] on_behalf_of_content_owner
1227
- # Content owner of the video.
1228
- # @param [String] fields
1229
- # Selector specifying which fields to include in a partial response.
1230
- # @param [String] quota_user
1231
- # Available to use for quota purposes for server-side applications. Can be any
1232
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1233
- # @param [Google::Apis::RequestOptions] options
1234
- # Request-specific options
1235
- #
1236
- # @yield [result, err] Result & error if block supplied
1237
- # @yieldparam result [Google::Apis::YoutubeV3::Endscreen] parsed result object
1238
- # @yieldparam err [StandardError] error object if request failed
1239
- #
1240
- # @return [Google::Apis::YoutubeV3::Endscreen]
1241
- #
1242
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1243
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1244
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1245
- def update_endscreen(video_id, part, endscreen_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block)
1246
- command = make_simple_command(:post, 'youtube/v3/endscreen', options)
1247
- command.request_representation = Google::Apis::YoutubeV3::Endscreen::Representation
1248
- command.request_object = endscreen_object
1249
- command.response_representation = Google::Apis::YoutubeV3::Endscreen::Representation
1250
- command.response_class = Google::Apis::YoutubeV3::Endscreen
1251
- command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
1252
- command.query['part'] = part unless part.nil?
1253
- command.query['videoId'] = video_id unless video_id.nil?
1254
- command.query['fields'] = fields unless fields.nil?
1255
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1256
- execute_or_queue_command(command, &block)
1257
- end
1258
-
1259
- # Retrieves a list of guide categories.
1260
- # @param [Array<String>, String] part
1261
- # The *part* parameter specifies the guideCategory resource properties that the
1262
- # API response will include. Set the parameter value to snippet.
1263
- # @param [String] hl
1264
- # @param [Array<String>, String] id
1265
- # Return the guide categories with the given IDs.
1266
- # @param [String] region_code
1267
- # Return all categories in the given region code.
1268
- # @param [String] fields
1269
- # Selector specifying which fields to include in a partial response.
1270
- # @param [String] quota_user
1271
- # Available to use for quota purposes for server-side applications. Can be any
1272
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1273
- # @param [Google::Apis::RequestOptions] options
1274
- # Request-specific options
1275
- #
1276
- # @yield [result, err] Result & error if block supplied
1277
- # @yieldparam result [Google::Apis::YoutubeV3::ListGuideCategoriesResponse] parsed result object
1278
- # @yieldparam err [StandardError] error object if request failed
1279
- #
1280
- # @return [Google::Apis::YoutubeV3::ListGuideCategoriesResponse]
1281
- #
1282
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1283
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1284
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1285
- def list_guide_categories(part, hl: nil, id: nil, region_code: nil, fields: nil, quota_user: nil, options: nil, &block)
1286
- command = make_simple_command(:get, 'youtube/v3/guideCategories', options)
1287
- command.response_representation = Google::Apis::YoutubeV3::ListGuideCategoriesResponse::Representation
1288
- command.response_class = Google::Apis::YoutubeV3::ListGuideCategoriesResponse
1289
- command.query['hl'] = hl unless hl.nil?
1290
- command.query['id'] = id unless id.nil?
1291
- command.query['part'] = part unless part.nil?
1292
- command.query['regionCode'] = region_code unless region_code.nil?
1293
- command.query['fields'] = fields unless fields.nil?
1294
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1295
- execute_or_queue_command(command, &block)
1296
- end
1297
-
1298
1181
  # Retrieves a list of resources, possibly filtered.
1299
1182
  # @param [Array<String>, String] part
1300
1183
  # The *part* parameter specifies the i18nLanguage resource properties that the
@@ -1361,84 +1244,6 @@ module Google
1361
1244
  execute_or_queue_command(command, &block)
1362
1245
  end
1363
1246
 
1364
- # Retrieves all infocards for a given video.
1365
- # @param [Array<String>, String] part
1366
- # The properties to return.
1367
- # @param [String] on_behalf_of_content_owner
1368
- # Content owner of the video.
1369
- # @param [String] video_id
1370
- # Encrypted id of the video.
1371
- # @param [String] fields
1372
- # Selector specifying which fields to include in a partial response.
1373
- # @param [String] quota_user
1374
- # Available to use for quota purposes for server-side applications. Can be any
1375
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1376
- # @param [Google::Apis::RequestOptions] options
1377
- # Request-specific options
1378
- #
1379
- # @yield [result, err] Result & error if block supplied
1380
- # @yieldparam result [Google::Apis::YoutubeV3::InfocardListResponse] parsed result object
1381
- # @yieldparam err [StandardError] error object if request failed
1382
- #
1383
- # @return [Google::Apis::YoutubeV3::InfocardListResponse]
1384
- #
1385
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1386
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1387
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1388
- def list_infocards(part, on_behalf_of_content_owner: nil, video_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1389
- command = make_simple_command(:get, 'youtube/v3/infocards', options)
1390
- command.response_representation = Google::Apis::YoutubeV3::InfocardListResponse::Representation
1391
- command.response_class = Google::Apis::YoutubeV3::InfocardListResponse
1392
- command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
1393
- command.query['part'] = part unless part.nil?
1394
- command.query['videoId'] = video_id unless video_id.nil?
1395
- command.query['fields'] = fields unless fields.nil?
1396
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1397
- execute_or_queue_command(command, &block)
1398
- end
1399
-
1400
- # Updates infocards for a given video. Note: * If the card id is not provided, a
1401
- # new card will be created. * If the card id is provided, that card will be
1402
- # updated. * Existing cards will be discarded if they're not included in the
1403
- # request.
1404
- # @param [Array<String>, String] part
1405
- # The properties to update.
1406
- # @param [Google::Apis::YoutubeV3::InfoCards] info_cards_object
1407
- # @param [String] on_behalf_of_content_owner
1408
- # Content owner of the video.
1409
- # @param [String] video_id
1410
- # Encrypted id of the video.
1411
- # @param [String] fields
1412
- # Selector specifying which fields to include in a partial response.
1413
- # @param [String] quota_user
1414
- # Available to use for quota purposes for server-side applications. Can be any
1415
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1416
- # @param [Google::Apis::RequestOptions] options
1417
- # Request-specific options
1418
- #
1419
- # @yield [result, err] Result & error if block supplied
1420
- # @yieldparam result [Google::Apis::YoutubeV3::InfoCards] parsed result object
1421
- # @yieldparam err [StandardError] error object if request failed
1422
- #
1423
- # @return [Google::Apis::YoutubeV3::InfoCards]
1424
- #
1425
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1426
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1427
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1428
- def update_infocard(part, info_cards_object = nil, on_behalf_of_content_owner: nil, video_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1429
- command = make_simple_command(:post, 'youtube/v3/infocards', options)
1430
- command.request_representation = Google::Apis::YoutubeV3::InfoCards::Representation
1431
- command.request_object = info_cards_object
1432
- command.response_representation = Google::Apis::YoutubeV3::InfoCards::Representation
1433
- command.response_class = Google::Apis::YoutubeV3::InfoCards
1434
- command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
1435
- command.query['part'] = part unless part.nil?
1436
- command.query['videoId'] = video_id unless video_id.nil?
1437
- command.query['fields'] = fields unless fields.nil?
1438
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1439
- execute_or_queue_command(command, &block)
1440
- end
1441
-
1442
1247
  # Bind a broadcast to a stream.
1443
1248
  # @param [String] id
1444
1249
  # Broadcast to bind to the stream
@@ -17,7 +17,7 @@ require 'open3'
17
17
  module Google
18
18
  module Apis
19
19
  # Client library version
20
- VERSION = '0.44.2'.freeze
20
+ VERSION = '0.45.0'.freeze
21
21
 
22
22
  # Current operating system
23
23
  # @private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.44.2
4
+ version: 0.45.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Bazyl
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2020-09-14 00:00:00.000000000 Z
14
+ date: 2020-09-21 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable
@@ -374,6 +374,10 @@ files:
374
374
  - generated/google/apis/artifactregistry_v1beta1/classes.rb
375
375
  - generated/google/apis/artifactregistry_v1beta1/representations.rb
376
376
  - generated/google/apis/artifactregistry_v1beta1/service.rb
377
+ - generated/google/apis/assuredworkloads_v1beta1.rb
378
+ - generated/google/apis/assuredworkloads_v1beta1/classes.rb
379
+ - generated/google/apis/assuredworkloads_v1beta1/representations.rb
380
+ - generated/google/apis/assuredworkloads_v1beta1/service.rb
377
381
  - generated/google/apis/bigquery_v2.rb
378
382
  - generated/google/apis/bigquery_v2/classes.rb
379
383
  - generated/google/apis/bigquery_v2/representations.rb
@@ -1034,10 +1038,6 @@ files:
1034
1038
  - generated/google/apis/playcustomapp_v1/classes.rb
1035
1039
  - generated/google/apis/playcustomapp_v1/representations.rb
1036
1040
  - generated/google/apis/playcustomapp_v1/service.rb
1037
- - generated/google/apis/plus_v1.rb
1038
- - generated/google/apis/plus_v1/classes.rb
1039
- - generated/google/apis/plus_v1/representations.rb
1040
- - generated/google/apis/plus_v1/service.rb
1041
1041
  - generated/google/apis/policytroubleshooter_v1.rb
1042
1042
  - generated/google/apis/policytroubleshooter_v1/classes.rb
1043
1043
  - generated/google/apis/policytroubleshooter_v1/representations.rb
@@ -1238,10 +1238,10 @@ files:
1238
1238
  - generated/google/apis/speech_v2beta1/classes.rb
1239
1239
  - generated/google/apis/speech_v2beta1/representations.rb
1240
1240
  - generated/google/apis/speech_v2beta1/service.rb
1241
- - generated/google/apis/sql_v1beta4.rb
1242
- - generated/google/apis/sql_v1beta4/classes.rb
1243
- - generated/google/apis/sql_v1beta4/representations.rb
1244
- - generated/google/apis/sql_v1beta4/service.rb
1241
+ - generated/google/apis/sqladmin_v1beta4.rb
1242
+ - generated/google/apis/sqladmin_v1beta4/classes.rb
1243
+ - generated/google/apis/sqladmin_v1beta4/representations.rb
1244
+ - generated/google/apis/sqladmin_v1beta4/service.rb
1245
1245
  - generated/google/apis/storage_v1.rb
1246
1246
  - generated/google/apis/storage_v1/classes.rb
1247
1247
  - generated/google/apis/storage_v1/representations.rb
@@ -1478,7 +1478,7 @@ homepage: https://github.com/google/google-api-ruby-client
1478
1478
  licenses:
1479
1479
  - Apache-2.0
1480
1480
  metadata:
1481
- documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.44.2
1481
+ documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.45.0
1482
1482
  post_install_message:
1483
1483
  rdoc_options: []
1484
1484
  require_paths:
@@ -1,43 +0,0 @@
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/plus_v1/service.rb'
16
- require 'google/apis/plus_v1/classes.rb'
17
- require 'google/apis/plus_v1/representations.rb'
18
-
19
- module Google
20
- module Apis
21
- # Google+ API
22
- #
23
- # Builds on top of the Google+ platform.
24
- #
25
- # @see https://developers.google.com/+/api/
26
- module PlusV1
27
- VERSION = 'V1'
28
- REVISION = '20190328'
29
-
30
- # View your basic profile info, including your age range and language
31
- AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
32
-
33
- # Associate you with your personal info on Google
34
- AUTH_PLUS_ME = 'https://www.googleapis.com/auth/plus.me'
35
-
36
- # View your email address
37
- AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
38
-
39
- # See your personal info, including any personal info you've made publicly available
40
- AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile'
41
- end
42
- end
43
- end
@@ -1,2094 +0,0 @@
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 PlusV1
24
-
25
- #
26
- class Acl
27
- include Google::Apis::Core::Hashable
28
-
29
- # Description of the access granted, suitable for display.
30
- # Corresponds to the JSON property `description`
31
- # @return [String]
32
- attr_accessor :description
33
-
34
- # The list of access entries.
35
- # Corresponds to the JSON property `items`
36
- # @return [Array<Google::Apis::PlusV1::PlusAclentryResource>]
37
- attr_accessor :items
38
-
39
- # Identifies this resource as a collection of access controls. Value: "plus#acl".
40
- # Corresponds to the JSON property `kind`
41
- # @return [String]
42
- attr_accessor :kind
43
-
44
- def initialize(**args)
45
- update!(**args)
46
- end
47
-
48
- # Update properties of this object
49
- def update!(**args)
50
- @description = args[:description] if args.key?(:description)
51
- @items = args[:items] if args.key?(:items)
52
- @kind = args[:kind] if args.key?(:kind)
53
- end
54
- end
55
-
56
- #
57
- class Activity
58
- include Google::Apis::Core::Hashable
59
-
60
- # Identifies who has access to see this activity.
61
- # Corresponds to the JSON property `access`
62
- # @return [Google::Apis::PlusV1::Acl]
63
- attr_accessor :access
64
-
65
- # The person who performed this activity.
66
- # Corresponds to the JSON property `actor`
67
- # @return [Google::Apis::PlusV1::Activity::Actor]
68
- attr_accessor :actor
69
-
70
- # Street address where this activity occurred.
71
- # Corresponds to the JSON property `address`
72
- # @return [String]
73
- attr_accessor :address
74
-
75
- # Additional content added by the person who shared this activity, applicable
76
- # only when resharing an activity.
77
- # Corresponds to the JSON property `annotation`
78
- # @return [String]
79
- attr_accessor :annotation
80
-
81
- # If this activity is a crosspost from another system, this property specifies
82
- # the ID of the original activity.
83
- # Corresponds to the JSON property `crosspostSource`
84
- # @return [String]
85
- attr_accessor :crosspost_source
86
-
87
- # ETag of this response for caching purposes.
88
- # Corresponds to the JSON property `etag`
89
- # @return [String]
90
- attr_accessor :etag
91
-
92
- # Latitude and longitude where this activity occurred. Format is latitude
93
- # followed by longitude, space separated.
94
- # Corresponds to the JSON property `geocode`
95
- # @return [String]
96
- attr_accessor :geocode
97
-
98
- # The ID of this activity.
99
- # Corresponds to the JSON property `id`
100
- # @return [String]
101
- attr_accessor :id
102
-
103
- # Identifies this resource as an activity. Value: "plus#activity".
104
- # Corresponds to the JSON property `kind`
105
- # @return [String]
106
- attr_accessor :kind
107
-
108
- # The location where this activity occurred.
109
- # Corresponds to the JSON property `location`
110
- # @return [Google::Apis::PlusV1::Place]
111
- attr_accessor :location
112
-
113
- # The object of this activity.
114
- # Corresponds to the JSON property `object`
115
- # @return [Google::Apis::PlusV1::Activity::Object]
116
- attr_accessor :object
117
-
118
- # ID of the place where this activity occurred.
119
- # Corresponds to the JSON property `placeId`
120
- # @return [String]
121
- attr_accessor :place_id
122
-
123
- # Name of the place where this activity occurred.
124
- # Corresponds to the JSON property `placeName`
125
- # @return [String]
126
- attr_accessor :place_name
127
-
128
- # The service provider that initially published this activity.
129
- # Corresponds to the JSON property `provider`
130
- # @return [Google::Apis::PlusV1::Activity::Provider]
131
- attr_accessor :provider
132
-
133
- # The time at which this activity was initially published. Formatted as an RFC
134
- # 3339 timestamp.
135
- # Corresponds to the JSON property `published`
136
- # @return [DateTime]
137
- attr_accessor :published
138
-
139
- # Radius, in meters, of the region where this activity occurred, centered at the
140
- # latitude and longitude identified in geocode.
141
- # Corresponds to the JSON property `radius`
142
- # @return [String]
143
- attr_accessor :radius
144
-
145
- # Title of this activity.
146
- # Corresponds to the JSON property `title`
147
- # @return [String]
148
- attr_accessor :title
149
-
150
- # The time at which this activity was last updated. Formatted as an RFC 3339
151
- # timestamp.
152
- # Corresponds to the JSON property `updated`
153
- # @return [DateTime]
154
- attr_accessor :updated
155
-
156
- # The link to this activity.
157
- # Corresponds to the JSON property `url`
158
- # @return [String]
159
- attr_accessor :url
160
-
161
- # This activity's verb, which indicates the action that was performed. Possible
162
- # values include, but are not limited to, the following values:
163
- # - "post" - Publish content to the stream.
164
- # - "share" - Reshare an activity.
165
- # Corresponds to the JSON property `verb`
166
- # @return [String]
167
- attr_accessor :verb
168
-
169
- def initialize(**args)
170
- update!(**args)
171
- end
172
-
173
- # Update properties of this object
174
- def update!(**args)
175
- @access = args[:access] if args.key?(:access)
176
- @actor = args[:actor] if args.key?(:actor)
177
- @address = args[:address] if args.key?(:address)
178
- @annotation = args[:annotation] if args.key?(:annotation)
179
- @crosspost_source = args[:crosspost_source] if args.key?(:crosspost_source)
180
- @etag = args[:etag] if args.key?(:etag)
181
- @geocode = args[:geocode] if args.key?(:geocode)
182
- @id = args[:id] if args.key?(:id)
183
- @kind = args[:kind] if args.key?(:kind)
184
- @location = args[:location] if args.key?(:location)
185
- @object = args[:object] if args.key?(:object)
186
- @place_id = args[:place_id] if args.key?(:place_id)
187
- @place_name = args[:place_name] if args.key?(:place_name)
188
- @provider = args[:provider] if args.key?(:provider)
189
- @published = args[:published] if args.key?(:published)
190
- @radius = args[:radius] if args.key?(:radius)
191
- @title = args[:title] if args.key?(:title)
192
- @updated = args[:updated] if args.key?(:updated)
193
- @url = args[:url] if args.key?(:url)
194
- @verb = args[:verb] if args.key?(:verb)
195
- end
196
-
197
- # The person who performed this activity.
198
- class Actor
199
- include Google::Apis::Core::Hashable
200
-
201
- # Actor info specific to particular clients.
202
- # Corresponds to the JSON property `clientSpecificActorInfo`
203
- # @return [Google::Apis::PlusV1::Activity::Actor::ClientSpecificActorInfo]
204
- attr_accessor :client_specific_actor_info
205
-
206
- # The name of the actor, suitable for display.
207
- # Corresponds to the JSON property `displayName`
208
- # @return [String]
209
- attr_accessor :display_name
210
-
211
- # The ID of the actor's Person resource.
212
- # Corresponds to the JSON property `id`
213
- # @return [String]
214
- attr_accessor :id
215
-
216
- # The image representation of the actor.
217
- # Corresponds to the JSON property `image`
218
- # @return [Google::Apis::PlusV1::Activity::Actor::Image]
219
- attr_accessor :image
220
-
221
- # An object representation of the individual components of name.
222
- # Corresponds to the JSON property `name`
223
- # @return [Google::Apis::PlusV1::Activity::Actor::Name]
224
- attr_accessor :name
225
-
226
- # The link to the actor's Google profile.
227
- # Corresponds to the JSON property `url`
228
- # @return [String]
229
- attr_accessor :url
230
-
231
- # Verification status of actor.
232
- # Corresponds to the JSON property `verification`
233
- # @return [Google::Apis::PlusV1::Activity::Actor::Verification]
234
- attr_accessor :verification
235
-
236
- def initialize(**args)
237
- update!(**args)
238
- end
239
-
240
- # Update properties of this object
241
- def update!(**args)
242
- @client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info)
243
- @display_name = args[:display_name] if args.key?(:display_name)
244
- @id = args[:id] if args.key?(:id)
245
- @image = args[:image] if args.key?(:image)
246
- @name = args[:name] if args.key?(:name)
247
- @url = args[:url] if args.key?(:url)
248
- @verification = args[:verification] if args.key?(:verification)
249
- end
250
-
251
- # Actor info specific to particular clients.
252
- class ClientSpecificActorInfo
253
- include Google::Apis::Core::Hashable
254
-
255
- # Actor info specific to YouTube clients.
256
- # Corresponds to the JSON property `youtubeActorInfo`
257
- # @return [Google::Apis::PlusV1::Activity::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
258
- attr_accessor :youtube_actor_info
259
-
260
- def initialize(**args)
261
- update!(**args)
262
- end
263
-
264
- # Update properties of this object
265
- def update!(**args)
266
- @youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info)
267
- end
268
-
269
- # Actor info specific to YouTube clients.
270
- class YoutubeActorInfo
271
- include Google::Apis::Core::Hashable
272
-
273
- # ID of the YouTube channel owned by the Actor.
274
- # Corresponds to the JSON property `channelId`
275
- # @return [String]
276
- attr_accessor :channel_id
277
-
278
- def initialize(**args)
279
- update!(**args)
280
- end
281
-
282
- # Update properties of this object
283
- def update!(**args)
284
- @channel_id = args[:channel_id] if args.key?(:channel_id)
285
- end
286
- end
287
- end
288
-
289
- # The image representation of the actor.
290
- class Image
291
- include Google::Apis::Core::Hashable
292
-
293
- # The URL of the actor's profile photo. To resize the image and crop it to a
294
- # square, append the query string ?sz=x, where x is the dimension in pixels of
295
- # each side.
296
- # Corresponds to the JSON property `url`
297
- # @return [String]
298
- attr_accessor :url
299
-
300
- def initialize(**args)
301
- update!(**args)
302
- end
303
-
304
- # Update properties of this object
305
- def update!(**args)
306
- @url = args[:url] if args.key?(:url)
307
- end
308
- end
309
-
310
- # An object representation of the individual components of name.
311
- class Name
312
- include Google::Apis::Core::Hashable
313
-
314
- # The family name ("last name") of the actor.
315
- # Corresponds to the JSON property `familyName`
316
- # @return [String]
317
- attr_accessor :family_name
318
-
319
- # The given name ("first name") of the actor.
320
- # Corresponds to the JSON property `givenName`
321
- # @return [String]
322
- attr_accessor :given_name
323
-
324
- def initialize(**args)
325
- update!(**args)
326
- end
327
-
328
- # Update properties of this object
329
- def update!(**args)
330
- @family_name = args[:family_name] if args.key?(:family_name)
331
- @given_name = args[:given_name] if args.key?(:given_name)
332
- end
333
- end
334
-
335
- # Verification status of actor.
336
- class Verification
337
- include Google::Apis::Core::Hashable
338
-
339
- # Verification for one-time or manual processes.
340
- # Corresponds to the JSON property `adHocVerified`
341
- # @return [String]
342
- attr_accessor :ad_hoc_verified
343
-
344
- def initialize(**args)
345
- update!(**args)
346
- end
347
-
348
- # Update properties of this object
349
- def update!(**args)
350
- @ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified)
351
- end
352
- end
353
- end
354
-
355
- # The object of this activity.
356
- class Object
357
- include Google::Apis::Core::Hashable
358
-
359
- # If this activity's object is itself another activity, such as when a person
360
- # reshares an activity, this property specifies the original activity's actor.
361
- # Corresponds to the JSON property `actor`
362
- # @return [Google::Apis::PlusV1::Activity::Object::Actor]
363
- attr_accessor :actor
364
-
365
- # The media objects attached to this activity.
366
- # Corresponds to the JSON property `attachments`
367
- # @return [Array<Google::Apis::PlusV1::Activity::Object::Attachment>]
368
- attr_accessor :attachments
369
-
370
- # The HTML-formatted content, which is suitable for display.
371
- # Corresponds to the JSON property `content`
372
- # @return [String]
373
- attr_accessor :content
374
-
375
- # The ID of the object. When resharing an activity, this is the ID of the
376
- # activity that is being reshared.
377
- # Corresponds to the JSON property `id`
378
- # @return [String]
379
- attr_accessor :id
380
-
381
- # The type of the object. Possible values include, but are not limited to, the
382
- # following values:
383
- # - "note" - Textual content.
384
- # - "activity" - A Google+ activity.
385
- # Corresponds to the JSON property `objectType`
386
- # @return [String]
387
- attr_accessor :object_type
388
-
389
- # The content (text) as provided by the author, which is stored without any HTML
390
- # formatting. When creating or updating an activity, this value must be supplied
391
- # as plain text in the request.
392
- # Corresponds to the JSON property `originalContent`
393
- # @return [String]
394
- attr_accessor :original_content
395
-
396
- # People who +1'd this activity.
397
- # Corresponds to the JSON property `plusoners`
398
- # @return [Google::Apis::PlusV1::Activity::Object::Plusoners]
399
- attr_accessor :plusoners
400
-
401
- # Comments in reply to this activity.
402
- # Corresponds to the JSON property `replies`
403
- # @return [Google::Apis::PlusV1::Activity::Object::Replies]
404
- attr_accessor :replies
405
-
406
- # People who reshared this activity.
407
- # Corresponds to the JSON property `resharers`
408
- # @return [Google::Apis::PlusV1::Activity::Object::Resharers]
409
- attr_accessor :resharers
410
-
411
- # The URL that points to the linked resource.
412
- # Corresponds to the JSON property `url`
413
- # @return [String]
414
- attr_accessor :url
415
-
416
- def initialize(**args)
417
- update!(**args)
418
- end
419
-
420
- # Update properties of this object
421
- def update!(**args)
422
- @actor = args[:actor] if args.key?(:actor)
423
- @attachments = args[:attachments] if args.key?(:attachments)
424
- @content = args[:content] if args.key?(:content)
425
- @id = args[:id] if args.key?(:id)
426
- @object_type = args[:object_type] if args.key?(:object_type)
427
- @original_content = args[:original_content] if args.key?(:original_content)
428
- @plusoners = args[:plusoners] if args.key?(:plusoners)
429
- @replies = args[:replies] if args.key?(:replies)
430
- @resharers = args[:resharers] if args.key?(:resharers)
431
- @url = args[:url] if args.key?(:url)
432
- end
433
-
434
- # If this activity's object is itself another activity, such as when a person
435
- # reshares an activity, this property specifies the original activity's actor.
436
- class Actor
437
- include Google::Apis::Core::Hashable
438
-
439
- # Actor info specific to particular clients.
440
- # Corresponds to the JSON property `clientSpecificActorInfo`
441
- # @return [Google::Apis::PlusV1::Activity::Object::Actor::ClientSpecificActorInfo]
442
- attr_accessor :client_specific_actor_info
443
-
444
- # The original actor's name, which is suitable for display.
445
- # Corresponds to the JSON property `displayName`
446
- # @return [String]
447
- attr_accessor :display_name
448
-
449
- # ID of the original actor.
450
- # Corresponds to the JSON property `id`
451
- # @return [String]
452
- attr_accessor :id
453
-
454
- # The image representation of the original actor.
455
- # Corresponds to the JSON property `image`
456
- # @return [Google::Apis::PlusV1::Activity::Object::Actor::Image]
457
- attr_accessor :image
458
-
459
- # A link to the original actor's Google profile.
460
- # Corresponds to the JSON property `url`
461
- # @return [String]
462
- attr_accessor :url
463
-
464
- # Verification status of actor.
465
- # Corresponds to the JSON property `verification`
466
- # @return [Google::Apis::PlusV1::Activity::Object::Actor::Verification]
467
- attr_accessor :verification
468
-
469
- def initialize(**args)
470
- update!(**args)
471
- end
472
-
473
- # Update properties of this object
474
- def update!(**args)
475
- @client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info)
476
- @display_name = args[:display_name] if args.key?(:display_name)
477
- @id = args[:id] if args.key?(:id)
478
- @image = args[:image] if args.key?(:image)
479
- @url = args[:url] if args.key?(:url)
480
- @verification = args[:verification] if args.key?(:verification)
481
- end
482
-
483
- # Actor info specific to particular clients.
484
- class ClientSpecificActorInfo
485
- include Google::Apis::Core::Hashable
486
-
487
- # Actor info specific to YouTube clients.
488
- # Corresponds to the JSON property `youtubeActorInfo`
489
- # @return [Google::Apis::PlusV1::Activity::Object::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
490
- attr_accessor :youtube_actor_info
491
-
492
- def initialize(**args)
493
- update!(**args)
494
- end
495
-
496
- # Update properties of this object
497
- def update!(**args)
498
- @youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info)
499
- end
500
-
501
- # Actor info specific to YouTube clients.
502
- class YoutubeActorInfo
503
- include Google::Apis::Core::Hashable
504
-
505
- # ID of the YouTube channel owned by the Actor.
506
- # Corresponds to the JSON property `channelId`
507
- # @return [String]
508
- attr_accessor :channel_id
509
-
510
- def initialize(**args)
511
- update!(**args)
512
- end
513
-
514
- # Update properties of this object
515
- def update!(**args)
516
- @channel_id = args[:channel_id] if args.key?(:channel_id)
517
- end
518
- end
519
- end
520
-
521
- # The image representation of the original actor.
522
- class Image
523
- include Google::Apis::Core::Hashable
524
-
525
- # A URL that points to a thumbnail photo of the original actor.
526
- # Corresponds to the JSON property `url`
527
- # @return [String]
528
- attr_accessor :url
529
-
530
- def initialize(**args)
531
- update!(**args)
532
- end
533
-
534
- # Update properties of this object
535
- def update!(**args)
536
- @url = args[:url] if args.key?(:url)
537
- end
538
- end
539
-
540
- # Verification status of actor.
541
- class Verification
542
- include Google::Apis::Core::Hashable
543
-
544
- # Verification for one-time or manual processes.
545
- # Corresponds to the JSON property `adHocVerified`
546
- # @return [String]
547
- attr_accessor :ad_hoc_verified
548
-
549
- def initialize(**args)
550
- update!(**args)
551
- end
552
-
553
- # Update properties of this object
554
- def update!(**args)
555
- @ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified)
556
- end
557
- end
558
- end
559
-
560
- #
561
- class Attachment
562
- include Google::Apis::Core::Hashable
563
-
564
- # If the attachment is an article, this property contains a snippet of text from
565
- # the article. It can also include descriptions for other types.
566
- # Corresponds to the JSON property `content`
567
- # @return [String]
568
- attr_accessor :content
569
-
570
- # The title of the attachment, such as a photo caption or an article title.
571
- # Corresponds to the JSON property `displayName`
572
- # @return [String]
573
- attr_accessor :display_name
574
-
575
- # If the attachment is a video, the embeddable link.
576
- # Corresponds to the JSON property `embed`
577
- # @return [Google::Apis::PlusV1::Activity::Object::Attachment::Embed]
578
- attr_accessor :embed
579
-
580
- # The full image URL for photo attachments.
581
- # Corresponds to the JSON property `fullImage`
582
- # @return [Google::Apis::PlusV1::Activity::Object::Attachment::FullImage]
583
- attr_accessor :full_image
584
-
585
- # The ID of the attachment.
586
- # Corresponds to the JSON property `id`
587
- # @return [String]
588
- attr_accessor :id
589
-
590
- # The preview image for photos or videos.
591
- # Corresponds to the JSON property `image`
592
- # @return [Google::Apis::PlusV1::Activity::Object::Attachment::Image]
593
- attr_accessor :image
594
-
595
- # The type of media object. Possible values include, but are not limited to, the
596
- # following values:
597
- # - "photo" - A photo.
598
- # - "album" - A photo album.
599
- # - "video" - A video.
600
- # - "article" - An article, specified by a link.
601
- # Corresponds to the JSON property `objectType`
602
- # @return [String]
603
- attr_accessor :object_type
604
-
605
- # If the attachment is an album, this property is a list of potential additional
606
- # thumbnails from the album.
607
- # Corresponds to the JSON property `thumbnails`
608
- # @return [Array<Google::Apis::PlusV1::Activity::Object::Attachment::Thumbnail>]
609
- attr_accessor :thumbnails
610
-
611
- # The link to the attachment, which should be of type text/html.
612
- # Corresponds to the JSON property `url`
613
- # @return [String]
614
- attr_accessor :url
615
-
616
- def initialize(**args)
617
- update!(**args)
618
- end
619
-
620
- # Update properties of this object
621
- def update!(**args)
622
- @content = args[:content] if args.key?(:content)
623
- @display_name = args[:display_name] if args.key?(:display_name)
624
- @embed = args[:embed] if args.key?(:embed)
625
- @full_image = args[:full_image] if args.key?(:full_image)
626
- @id = args[:id] if args.key?(:id)
627
- @image = args[:image] if args.key?(:image)
628
- @object_type = args[:object_type] if args.key?(:object_type)
629
- @thumbnails = args[:thumbnails] if args.key?(:thumbnails)
630
- @url = args[:url] if args.key?(:url)
631
- end
632
-
633
- # If the attachment is a video, the embeddable link.
634
- class Embed
635
- include Google::Apis::Core::Hashable
636
-
637
- # Media type of the link.
638
- # Corresponds to the JSON property `type`
639
- # @return [String]
640
- attr_accessor :type
641
-
642
- # URL of the link.
643
- # Corresponds to the JSON property `url`
644
- # @return [String]
645
- attr_accessor :url
646
-
647
- def initialize(**args)
648
- update!(**args)
649
- end
650
-
651
- # Update properties of this object
652
- def update!(**args)
653
- @type = args[:type] if args.key?(:type)
654
- @url = args[:url] if args.key?(:url)
655
- end
656
- end
657
-
658
- # The full image URL for photo attachments.
659
- class FullImage
660
- include Google::Apis::Core::Hashable
661
-
662
- # The height, in pixels, of the linked resource.
663
- # Corresponds to the JSON property `height`
664
- # @return [Fixnum]
665
- attr_accessor :height
666
-
667
- # Media type of the link.
668
- # Corresponds to the JSON property `type`
669
- # @return [String]
670
- attr_accessor :type
671
-
672
- # URL of the image.
673
- # Corresponds to the JSON property `url`
674
- # @return [String]
675
- attr_accessor :url
676
-
677
- # The width, in pixels, of the linked resource.
678
- # Corresponds to the JSON property `width`
679
- # @return [Fixnum]
680
- attr_accessor :width
681
-
682
- def initialize(**args)
683
- update!(**args)
684
- end
685
-
686
- # Update properties of this object
687
- def update!(**args)
688
- @height = args[:height] if args.key?(:height)
689
- @type = args[:type] if args.key?(:type)
690
- @url = args[:url] if args.key?(:url)
691
- @width = args[:width] if args.key?(:width)
692
- end
693
- end
694
-
695
- # The preview image for photos or videos.
696
- class Image
697
- include Google::Apis::Core::Hashable
698
-
699
- # The height, in pixels, of the linked resource.
700
- # Corresponds to the JSON property `height`
701
- # @return [Fixnum]
702
- attr_accessor :height
703
-
704
- # Media type of the link.
705
- # Corresponds to the JSON property `type`
706
- # @return [String]
707
- attr_accessor :type
708
-
709
- # Image URL.
710
- # Corresponds to the JSON property `url`
711
- # @return [String]
712
- attr_accessor :url
713
-
714
- # The width, in pixels, of the linked resource.
715
- # Corresponds to the JSON property `width`
716
- # @return [Fixnum]
717
- attr_accessor :width
718
-
719
- def initialize(**args)
720
- update!(**args)
721
- end
722
-
723
- # Update properties of this object
724
- def update!(**args)
725
- @height = args[:height] if args.key?(:height)
726
- @type = args[:type] if args.key?(:type)
727
- @url = args[:url] if args.key?(:url)
728
- @width = args[:width] if args.key?(:width)
729
- end
730
- end
731
-
732
- #
733
- class Thumbnail
734
- include Google::Apis::Core::Hashable
735
-
736
- # Potential name of the thumbnail.
737
- # Corresponds to the JSON property `description`
738
- # @return [String]
739
- attr_accessor :description
740
-
741
- # Image resource.
742
- # Corresponds to the JSON property `image`
743
- # @return [Google::Apis::PlusV1::Activity::Object::Attachment::Thumbnail::Image]
744
- attr_accessor :image
745
-
746
- # URL of the webpage containing the image.
747
- # Corresponds to the JSON property `url`
748
- # @return [String]
749
- attr_accessor :url
750
-
751
- def initialize(**args)
752
- update!(**args)
753
- end
754
-
755
- # Update properties of this object
756
- def update!(**args)
757
- @description = args[:description] if args.key?(:description)
758
- @image = args[:image] if args.key?(:image)
759
- @url = args[:url] if args.key?(:url)
760
- end
761
-
762
- # Image resource.
763
- class Image
764
- include Google::Apis::Core::Hashable
765
-
766
- # The height, in pixels, of the linked resource.
767
- # Corresponds to the JSON property `height`
768
- # @return [Fixnum]
769
- attr_accessor :height
770
-
771
- # Media type of the link.
772
- # Corresponds to the JSON property `type`
773
- # @return [String]
774
- attr_accessor :type
775
-
776
- # Image url.
777
- # Corresponds to the JSON property `url`
778
- # @return [String]
779
- attr_accessor :url
780
-
781
- # The width, in pixels, of the linked resource.
782
- # Corresponds to the JSON property `width`
783
- # @return [Fixnum]
784
- attr_accessor :width
785
-
786
- def initialize(**args)
787
- update!(**args)
788
- end
789
-
790
- # Update properties of this object
791
- def update!(**args)
792
- @height = args[:height] if args.key?(:height)
793
- @type = args[:type] if args.key?(:type)
794
- @url = args[:url] if args.key?(:url)
795
- @width = args[:width] if args.key?(:width)
796
- end
797
- end
798
- end
799
- end
800
-
801
- # People who +1'd this activity.
802
- class Plusoners
803
- include Google::Apis::Core::Hashable
804
-
805
- # The URL for the collection of people who +1'd this activity.
806
- # Corresponds to the JSON property `selfLink`
807
- # @return [String]
808
- attr_accessor :self_link
809
-
810
- # Total number of people who +1'd this activity.
811
- # Corresponds to the JSON property `totalItems`
812
- # @return [Fixnum]
813
- attr_accessor :total_items
814
-
815
- def initialize(**args)
816
- update!(**args)
817
- end
818
-
819
- # Update properties of this object
820
- def update!(**args)
821
- @self_link = args[:self_link] if args.key?(:self_link)
822
- @total_items = args[:total_items] if args.key?(:total_items)
823
- end
824
- end
825
-
826
- # Comments in reply to this activity.
827
- class Replies
828
- include Google::Apis::Core::Hashable
829
-
830
- # The URL for the collection of comments in reply to this activity.
831
- # Corresponds to the JSON property `selfLink`
832
- # @return [String]
833
- attr_accessor :self_link
834
-
835
- # Total number of comments on this activity.
836
- # Corresponds to the JSON property `totalItems`
837
- # @return [Fixnum]
838
- attr_accessor :total_items
839
-
840
- def initialize(**args)
841
- update!(**args)
842
- end
843
-
844
- # Update properties of this object
845
- def update!(**args)
846
- @self_link = args[:self_link] if args.key?(:self_link)
847
- @total_items = args[:total_items] if args.key?(:total_items)
848
- end
849
- end
850
-
851
- # People who reshared this activity.
852
- class Resharers
853
- include Google::Apis::Core::Hashable
854
-
855
- # The URL for the collection of resharers.
856
- # Corresponds to the JSON property `selfLink`
857
- # @return [String]
858
- attr_accessor :self_link
859
-
860
- # Total number of people who reshared this activity.
861
- # Corresponds to the JSON property `totalItems`
862
- # @return [Fixnum]
863
- attr_accessor :total_items
864
-
865
- def initialize(**args)
866
- update!(**args)
867
- end
868
-
869
- # Update properties of this object
870
- def update!(**args)
871
- @self_link = args[:self_link] if args.key?(:self_link)
872
- @total_items = args[:total_items] if args.key?(:total_items)
873
- end
874
- end
875
- end
876
-
877
- # The service provider that initially published this activity.
878
- class Provider
879
- include Google::Apis::Core::Hashable
880
-
881
- # Name of the service provider.
882
- # Corresponds to the JSON property `title`
883
- # @return [String]
884
- attr_accessor :title
885
-
886
- def initialize(**args)
887
- update!(**args)
888
- end
889
-
890
- # Update properties of this object
891
- def update!(**args)
892
- @title = args[:title] if args.key?(:title)
893
- end
894
- end
895
- end
896
-
897
- #
898
- class ActivityFeed
899
- include Google::Apis::Core::Hashable
900
-
901
- # ETag of this response for caching purposes.
902
- # Corresponds to the JSON property `etag`
903
- # @return [String]
904
- attr_accessor :etag
905
-
906
- # The ID of this collection of activities. Deprecated.
907
- # Corresponds to the JSON property `id`
908
- # @return [String]
909
- attr_accessor :id
910
-
911
- # The activities in this page of results.
912
- # Corresponds to the JSON property `items`
913
- # @return [Array<Google::Apis::PlusV1::Activity>]
914
- attr_accessor :items
915
-
916
- # Identifies this resource as a collection of activities. Value: "plus#
917
- # activityFeed".
918
- # Corresponds to the JSON property `kind`
919
- # @return [String]
920
- attr_accessor :kind
921
-
922
- # Link to the next page of activities.
923
- # Corresponds to the JSON property `nextLink`
924
- # @return [String]
925
- attr_accessor :next_link
926
-
927
- # The continuation token, which is used to page through large result sets.
928
- # Provide this value in a subsequent request to return the next page of results.
929
- # Corresponds to the JSON property `nextPageToken`
930
- # @return [String]
931
- attr_accessor :next_page_token
932
-
933
- # Link to this activity resource.
934
- # Corresponds to the JSON property `selfLink`
935
- # @return [String]
936
- attr_accessor :self_link
937
-
938
- # The title of this collection of activities, which is a truncated portion of
939
- # the content.
940
- # Corresponds to the JSON property `title`
941
- # @return [String]
942
- attr_accessor :title
943
-
944
- # The time at which this collection of activities was last updated. Formatted as
945
- # an RFC 3339 timestamp.
946
- # Corresponds to the JSON property `updated`
947
- # @return [DateTime]
948
- attr_accessor :updated
949
-
950
- def initialize(**args)
951
- update!(**args)
952
- end
953
-
954
- # Update properties of this object
955
- def update!(**args)
956
- @etag = args[:etag] if args.key?(:etag)
957
- @id = args[:id] if args.key?(:id)
958
- @items = args[:items] if args.key?(:items)
959
- @kind = args[:kind] if args.key?(:kind)
960
- @next_link = args[:next_link] if args.key?(:next_link)
961
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
962
- @self_link = args[:self_link] if args.key?(:self_link)
963
- @title = args[:title] if args.key?(:title)
964
- @updated = args[:updated] if args.key?(:updated)
965
- end
966
- end
967
-
968
- #
969
- class Comment
970
- include Google::Apis::Core::Hashable
971
-
972
- # The person who posted this comment.
973
- # Corresponds to the JSON property `actor`
974
- # @return [Google::Apis::PlusV1::Comment::Actor]
975
- attr_accessor :actor
976
-
977
- # ETag of this response for caching purposes.
978
- # Corresponds to the JSON property `etag`
979
- # @return [String]
980
- attr_accessor :etag
981
-
982
- # The ID of this comment.
983
- # Corresponds to the JSON property `id`
984
- # @return [String]
985
- attr_accessor :id
986
-
987
- # The activity this comment replied to.
988
- # Corresponds to the JSON property `inReplyTo`
989
- # @return [Array<Google::Apis::PlusV1::Comment::InReplyTo>]
990
- attr_accessor :in_reply_to
991
-
992
- # Identifies this resource as a comment. Value: "plus#comment".
993
- # Corresponds to the JSON property `kind`
994
- # @return [String]
995
- attr_accessor :kind
996
-
997
- # The object of this comment.
998
- # Corresponds to the JSON property `object`
999
- # @return [Google::Apis::PlusV1::Comment::Object]
1000
- attr_accessor :object
1001
-
1002
- # People who +1'd this comment.
1003
- # Corresponds to the JSON property `plusoners`
1004
- # @return [Google::Apis::PlusV1::Comment::Plusoners]
1005
- attr_accessor :plusoners
1006
-
1007
- # The time at which this comment was initially published. Formatted as an RFC
1008
- # 3339 timestamp.
1009
- # Corresponds to the JSON property `published`
1010
- # @return [DateTime]
1011
- attr_accessor :published
1012
-
1013
- # Link to this comment resource.
1014
- # Corresponds to the JSON property `selfLink`
1015
- # @return [String]
1016
- attr_accessor :self_link
1017
-
1018
- # The time at which this comment was last updated. Formatted as an RFC 3339
1019
- # timestamp.
1020
- # Corresponds to the JSON property `updated`
1021
- # @return [DateTime]
1022
- attr_accessor :updated
1023
-
1024
- # This comment's verb, indicating what action was performed. Possible values are:
1025
- #
1026
- # - "post" - Publish content to the stream.
1027
- # Corresponds to the JSON property `verb`
1028
- # @return [String]
1029
- attr_accessor :verb
1030
-
1031
- def initialize(**args)
1032
- update!(**args)
1033
- end
1034
-
1035
- # Update properties of this object
1036
- def update!(**args)
1037
- @actor = args[:actor] if args.key?(:actor)
1038
- @etag = args[:etag] if args.key?(:etag)
1039
- @id = args[:id] if args.key?(:id)
1040
- @in_reply_to = args[:in_reply_to] if args.key?(:in_reply_to)
1041
- @kind = args[:kind] if args.key?(:kind)
1042
- @object = args[:object] if args.key?(:object)
1043
- @plusoners = args[:plusoners] if args.key?(:plusoners)
1044
- @published = args[:published] if args.key?(:published)
1045
- @self_link = args[:self_link] if args.key?(:self_link)
1046
- @updated = args[:updated] if args.key?(:updated)
1047
- @verb = args[:verb] if args.key?(:verb)
1048
- end
1049
-
1050
- # The person who posted this comment.
1051
- class Actor
1052
- include Google::Apis::Core::Hashable
1053
-
1054
- # Actor info specific to particular clients.
1055
- # Corresponds to the JSON property `clientSpecificActorInfo`
1056
- # @return [Google::Apis::PlusV1::Comment::Actor::ClientSpecificActorInfo]
1057
- attr_accessor :client_specific_actor_info
1058
-
1059
- # The name of this actor, suitable for display.
1060
- # Corresponds to the JSON property `displayName`
1061
- # @return [String]
1062
- attr_accessor :display_name
1063
-
1064
- # The ID of the actor.
1065
- # Corresponds to the JSON property `id`
1066
- # @return [String]
1067
- attr_accessor :id
1068
-
1069
- # The image representation of this actor.
1070
- # Corresponds to the JSON property `image`
1071
- # @return [Google::Apis::PlusV1::Comment::Actor::Image]
1072
- attr_accessor :image
1073
-
1074
- # A link to the Person resource for this actor.
1075
- # Corresponds to the JSON property `url`
1076
- # @return [String]
1077
- attr_accessor :url
1078
-
1079
- # Verification status of actor.
1080
- # Corresponds to the JSON property `verification`
1081
- # @return [Google::Apis::PlusV1::Comment::Actor::Verification]
1082
- attr_accessor :verification
1083
-
1084
- def initialize(**args)
1085
- update!(**args)
1086
- end
1087
-
1088
- # Update properties of this object
1089
- def update!(**args)
1090
- @client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info)
1091
- @display_name = args[:display_name] if args.key?(:display_name)
1092
- @id = args[:id] if args.key?(:id)
1093
- @image = args[:image] if args.key?(:image)
1094
- @url = args[:url] if args.key?(:url)
1095
- @verification = args[:verification] if args.key?(:verification)
1096
- end
1097
-
1098
- # Actor info specific to particular clients.
1099
- class ClientSpecificActorInfo
1100
- include Google::Apis::Core::Hashable
1101
-
1102
- # Actor info specific to YouTube clients.
1103
- # Corresponds to the JSON property `youtubeActorInfo`
1104
- # @return [Google::Apis::PlusV1::Comment::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
1105
- attr_accessor :youtube_actor_info
1106
-
1107
- def initialize(**args)
1108
- update!(**args)
1109
- end
1110
-
1111
- # Update properties of this object
1112
- def update!(**args)
1113
- @youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info)
1114
- end
1115
-
1116
- # Actor info specific to YouTube clients.
1117
- class YoutubeActorInfo
1118
- include Google::Apis::Core::Hashable
1119
-
1120
- # ID of the YouTube channel owned by the Actor.
1121
- # Corresponds to the JSON property `channelId`
1122
- # @return [String]
1123
- attr_accessor :channel_id
1124
-
1125
- def initialize(**args)
1126
- update!(**args)
1127
- end
1128
-
1129
- # Update properties of this object
1130
- def update!(**args)
1131
- @channel_id = args[:channel_id] if args.key?(:channel_id)
1132
- end
1133
- end
1134
- end
1135
-
1136
- # The image representation of this actor.
1137
- class Image
1138
- include Google::Apis::Core::Hashable
1139
-
1140
- # The URL of the actor's profile photo. To resize the image and crop it to a
1141
- # square, append the query string ?sz=x, where x is the dimension in pixels of
1142
- # each side.
1143
- # Corresponds to the JSON property `url`
1144
- # @return [String]
1145
- attr_accessor :url
1146
-
1147
- def initialize(**args)
1148
- update!(**args)
1149
- end
1150
-
1151
- # Update properties of this object
1152
- def update!(**args)
1153
- @url = args[:url] if args.key?(:url)
1154
- end
1155
- end
1156
-
1157
- # Verification status of actor.
1158
- class Verification
1159
- include Google::Apis::Core::Hashable
1160
-
1161
- # Verification for one-time or manual processes.
1162
- # Corresponds to the JSON property `adHocVerified`
1163
- # @return [String]
1164
- attr_accessor :ad_hoc_verified
1165
-
1166
- def initialize(**args)
1167
- update!(**args)
1168
- end
1169
-
1170
- # Update properties of this object
1171
- def update!(**args)
1172
- @ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified)
1173
- end
1174
- end
1175
- end
1176
-
1177
- #
1178
- class InReplyTo
1179
- include Google::Apis::Core::Hashable
1180
-
1181
- # The ID of the activity.
1182
- # Corresponds to the JSON property `id`
1183
- # @return [String]
1184
- attr_accessor :id
1185
-
1186
- # The URL of the activity.
1187
- # Corresponds to the JSON property `url`
1188
- # @return [String]
1189
- attr_accessor :url
1190
-
1191
- def initialize(**args)
1192
- update!(**args)
1193
- end
1194
-
1195
- # Update properties of this object
1196
- def update!(**args)
1197
- @id = args[:id] if args.key?(:id)
1198
- @url = args[:url] if args.key?(:url)
1199
- end
1200
- end
1201
-
1202
- # The object of this comment.
1203
- class Object
1204
- include Google::Apis::Core::Hashable
1205
-
1206
- # The HTML-formatted content, suitable for display.
1207
- # Corresponds to the JSON property `content`
1208
- # @return [String]
1209
- attr_accessor :content
1210
-
1211
- # The object type of this comment. Possible values are:
1212
- # - "comment" - A comment in reply to an activity.
1213
- # Corresponds to the JSON property `objectType`
1214
- # @return [String]
1215
- attr_accessor :object_type
1216
-
1217
- # The content (text) as provided by the author, stored without any HTML
1218
- # formatting. When creating or updating a comment, this value must be supplied
1219
- # as plain text in the request.
1220
- # Corresponds to the JSON property `originalContent`
1221
- # @return [String]
1222
- attr_accessor :original_content
1223
-
1224
- def initialize(**args)
1225
- update!(**args)
1226
- end
1227
-
1228
- # Update properties of this object
1229
- def update!(**args)
1230
- @content = args[:content] if args.key?(:content)
1231
- @object_type = args[:object_type] if args.key?(:object_type)
1232
- @original_content = args[:original_content] if args.key?(:original_content)
1233
- end
1234
- end
1235
-
1236
- # People who +1'd this comment.
1237
- class Plusoners
1238
- include Google::Apis::Core::Hashable
1239
-
1240
- # Total number of people who +1'd this comment.
1241
- # Corresponds to the JSON property `totalItems`
1242
- # @return [Fixnum]
1243
- attr_accessor :total_items
1244
-
1245
- def initialize(**args)
1246
- update!(**args)
1247
- end
1248
-
1249
- # Update properties of this object
1250
- def update!(**args)
1251
- @total_items = args[:total_items] if args.key?(:total_items)
1252
- end
1253
- end
1254
- end
1255
-
1256
- #
1257
- class CommentFeed
1258
- include Google::Apis::Core::Hashable
1259
-
1260
- # ETag of this response for caching purposes.
1261
- # Corresponds to the JSON property `etag`
1262
- # @return [String]
1263
- attr_accessor :etag
1264
-
1265
- # The ID of this collection of comments.
1266
- # Corresponds to the JSON property `id`
1267
- # @return [String]
1268
- attr_accessor :id
1269
-
1270
- # The comments in this page of results.
1271
- # Corresponds to the JSON property `items`
1272
- # @return [Array<Google::Apis::PlusV1::Comment>]
1273
- attr_accessor :items
1274
-
1275
- # Identifies this resource as a collection of comments. Value: "plus#commentFeed"
1276
- # .
1277
- # Corresponds to the JSON property `kind`
1278
- # @return [String]
1279
- attr_accessor :kind
1280
-
1281
- # Link to the next page of activities.
1282
- # Corresponds to the JSON property `nextLink`
1283
- # @return [String]
1284
- attr_accessor :next_link
1285
-
1286
- # The continuation token, which is used to page through large result sets.
1287
- # Provide this value in a subsequent request to return the next page of results.
1288
- # Corresponds to the JSON property `nextPageToken`
1289
- # @return [String]
1290
- attr_accessor :next_page_token
1291
-
1292
- # The title of this collection of comments.
1293
- # Corresponds to the JSON property `title`
1294
- # @return [String]
1295
- attr_accessor :title
1296
-
1297
- # The time at which this collection of comments was last updated. Formatted as
1298
- # an RFC 3339 timestamp.
1299
- # Corresponds to the JSON property `updated`
1300
- # @return [DateTime]
1301
- attr_accessor :updated
1302
-
1303
- def initialize(**args)
1304
- update!(**args)
1305
- end
1306
-
1307
- # Update properties of this object
1308
- def update!(**args)
1309
- @etag = args[:etag] if args.key?(:etag)
1310
- @id = args[:id] if args.key?(:id)
1311
- @items = args[:items] if args.key?(:items)
1312
- @kind = args[:kind] if args.key?(:kind)
1313
- @next_link = args[:next_link] if args.key?(:next_link)
1314
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1315
- @title = args[:title] if args.key?(:title)
1316
- @updated = args[:updated] if args.key?(:updated)
1317
- end
1318
- end
1319
-
1320
- #
1321
- class PeopleFeed
1322
- include Google::Apis::Core::Hashable
1323
-
1324
- # ETag of this response for caching purposes.
1325
- # Corresponds to the JSON property `etag`
1326
- # @return [String]
1327
- attr_accessor :etag
1328
-
1329
- # The people in this page of results. Each item includes the id, displayName,
1330
- # image, and url for the person. To retrieve additional profile data, see the
1331
- # people.get method.
1332
- # Corresponds to the JSON property `items`
1333
- # @return [Array<Google::Apis::PlusV1::Person>]
1334
- attr_accessor :items
1335
-
1336
- # Identifies this resource as a collection of people. Value: "plus#peopleFeed".
1337
- # Corresponds to the JSON property `kind`
1338
- # @return [String]
1339
- attr_accessor :kind
1340
-
1341
- # The continuation token, which is used to page through large result sets.
1342
- # Provide this value in a subsequent request to return the next page of results.
1343
- # Corresponds to the JSON property `nextPageToken`
1344
- # @return [String]
1345
- attr_accessor :next_page_token
1346
-
1347
- # Link to this resource.
1348
- # Corresponds to the JSON property `selfLink`
1349
- # @return [String]
1350
- attr_accessor :self_link
1351
-
1352
- # The title of this collection of people.
1353
- # Corresponds to the JSON property `title`
1354
- # @return [String]
1355
- attr_accessor :title
1356
-
1357
- # The total number of people available in this list. The number of people in a
1358
- # response might be smaller due to paging. This might not be set for all
1359
- # collections.
1360
- # Corresponds to the JSON property `totalItems`
1361
- # @return [Fixnum]
1362
- attr_accessor :total_items
1363
-
1364
- def initialize(**args)
1365
- update!(**args)
1366
- end
1367
-
1368
- # Update properties of this object
1369
- def update!(**args)
1370
- @etag = args[:etag] if args.key?(:etag)
1371
- @items = args[:items] if args.key?(:items)
1372
- @kind = args[:kind] if args.key?(:kind)
1373
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1374
- @self_link = args[:self_link] if args.key?(:self_link)
1375
- @title = args[:title] if args.key?(:title)
1376
- @total_items = args[:total_items] if args.key?(:total_items)
1377
- end
1378
- end
1379
-
1380
- #
1381
- class Person
1382
- include Google::Apis::Core::Hashable
1383
-
1384
- # A short biography for this person.
1385
- # Corresponds to the JSON property `aboutMe`
1386
- # @return [String]
1387
- attr_accessor :about_me
1388
-
1389
- # The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21
1390
- # or older. Age is determined from the user's birthday using Western age
1391
- # reckoning.
1392
- # Corresponds to the JSON property `ageRange`
1393
- # @return [Google::Apis::PlusV1::Person::AgeRange]
1394
- attr_accessor :age_range
1395
-
1396
- # The person's date of birth, represented as YYYY-MM-DD.
1397
- # Corresponds to the JSON property `birthday`
1398
- # @return [String]
1399
- attr_accessor :birthday
1400
-
1401
- # The "bragging rights" line of this person.
1402
- # Corresponds to the JSON property `braggingRights`
1403
- # @return [String]
1404
- attr_accessor :bragging_rights
1405
-
1406
- # For followers who are visible, the number of people who have added this person
1407
- # or page to a circle.
1408
- # Corresponds to the JSON property `circledByCount`
1409
- # @return [Fixnum]
1410
- attr_accessor :circled_by_count
1411
-
1412
- # The cover photo content.
1413
- # Corresponds to the JSON property `cover`
1414
- # @return [Google::Apis::PlusV1::Person::Cover]
1415
- attr_accessor :cover
1416
-
1417
- # (this field is not currently used)
1418
- # Corresponds to the JSON property `currentLocation`
1419
- # @return [String]
1420
- attr_accessor :current_location
1421
-
1422
- # The name of this person, which is suitable for display.
1423
- # Corresponds to the JSON property `displayName`
1424
- # @return [String]
1425
- attr_accessor :display_name
1426
-
1427
- # The hosted domain name for the user's Google Apps account. For instance,
1428
- # example.com. The plus.profile.emails.read or email scope is needed to get this
1429
- # domain name.
1430
- # Corresponds to the JSON property `domain`
1431
- # @return [String]
1432
- attr_accessor :domain
1433
-
1434
- # A list of email addresses that this person has, including their Google account
1435
- # email address, and the public verified email addresses on their Google+
1436
- # profile. The plus.profile.emails.read scope is needed to retrieve these email
1437
- # addresses, or the email scope can be used to retrieve just the Google account
1438
- # email address.
1439
- # Corresponds to the JSON property `emails`
1440
- # @return [Array<Google::Apis::PlusV1::Person::Email>]
1441
- attr_accessor :emails
1442
-
1443
- # ETag of this response for caching purposes.
1444
- # Corresponds to the JSON property `etag`
1445
- # @return [String]
1446
- attr_accessor :etag
1447
-
1448
- # The person's gender. Possible values include, but are not limited to, the
1449
- # following values:
1450
- # - "male" - Male gender.
1451
- # - "female" - Female gender.
1452
- # - "other" - Other.
1453
- # Corresponds to the JSON property `gender`
1454
- # @return [String]
1455
- attr_accessor :gender
1456
-
1457
- # The ID of this person.
1458
- # Corresponds to the JSON property `id`
1459
- # @return [String]
1460
- attr_accessor :id
1461
-
1462
- # The representation of the person's profile photo.
1463
- # Corresponds to the JSON property `image`
1464
- # @return [Google::Apis::PlusV1::Person::Image]
1465
- attr_accessor :image
1466
-
1467
- # Whether this user has signed up for Google+.
1468
- # Corresponds to the JSON property `isPlusUser`
1469
- # @return [Boolean]
1470
- attr_accessor :is_plus_user
1471
- alias_method :is_plus_user?, :is_plus_user
1472
-
1473
- # Identifies this resource as a person. Value: "plus#person".
1474
- # Corresponds to the JSON property `kind`
1475
- # @return [String]
1476
- attr_accessor :kind
1477
-
1478
- # The user's preferred language for rendering.
1479
- # Corresponds to the JSON property `language`
1480
- # @return [String]
1481
- attr_accessor :language
1482
-
1483
- # An object representation of the individual components of a person's name.
1484
- # Corresponds to the JSON property `name`
1485
- # @return [Google::Apis::PlusV1::Person::Name]
1486
- attr_accessor :name
1487
-
1488
- # The nickname of this person.
1489
- # Corresponds to the JSON property `nickname`
1490
- # @return [String]
1491
- attr_accessor :nickname
1492
-
1493
- # Type of person within Google+. Possible values include, but are not limited to,
1494
- # the following values:
1495
- # - "person" - represents an actual person.
1496
- # - "page" - represents a page.
1497
- # Corresponds to the JSON property `objectType`
1498
- # @return [String]
1499
- attr_accessor :object_type
1500
-
1501
- # The occupation of this person.
1502
- # Corresponds to the JSON property `occupation`
1503
- # @return [String]
1504
- attr_accessor :occupation
1505
-
1506
- # A list of current or past organizations with which this person is associated.
1507
- # Corresponds to the JSON property `organizations`
1508
- # @return [Array<Google::Apis::PlusV1::Person::Organization>]
1509
- attr_accessor :organizations
1510
-
1511
- # A list of places where this person has lived.
1512
- # Corresponds to the JSON property `placesLived`
1513
- # @return [Array<Google::Apis::PlusV1::Person::PlacesLived>]
1514
- attr_accessor :places_lived
1515
-
1516
- # If a Google+ Page, the number of people who have +1'd this page.
1517
- # Corresponds to the JSON property `plusOneCount`
1518
- # @return [Fixnum]
1519
- attr_accessor :plus_one_count
1520
-
1521
- # The person's relationship status. Possible values include, but are not limited
1522
- # to, the following values:
1523
- # - "single" - Person is single.
1524
- # - "in_a_relationship" - Person is in a relationship.
1525
- # - "engaged" - Person is engaged.
1526
- # - "married" - Person is married.
1527
- # - "its_complicated" - The relationship is complicated.
1528
- # - "open_relationship" - Person is in an open relationship.
1529
- # - "widowed" - Person is widowed.
1530
- # - "in_domestic_partnership" - Person is in a domestic partnership.
1531
- # - "in_civil_union" - Person is in a civil union.
1532
- # Corresponds to the JSON property `relationshipStatus`
1533
- # @return [String]
1534
- attr_accessor :relationship_status
1535
-
1536
- # The person's skills.
1537
- # Corresponds to the JSON property `skills`
1538
- # @return [String]
1539
- attr_accessor :skills
1540
-
1541
- # The brief description (tagline) of this person.
1542
- # Corresponds to the JSON property `tagline`
1543
- # @return [String]
1544
- attr_accessor :tagline
1545
-
1546
- # The URL of this person's profile.
1547
- # Corresponds to the JSON property `url`
1548
- # @return [String]
1549
- attr_accessor :url
1550
-
1551
- # A list of URLs for this person.
1552
- # Corresponds to the JSON property `urls`
1553
- # @return [Array<Google::Apis::PlusV1::Person::Url>]
1554
- attr_accessor :urls
1555
-
1556
- # Whether the person or Google+ Page has been verified.
1557
- # Corresponds to the JSON property `verified`
1558
- # @return [Boolean]
1559
- attr_accessor :verified
1560
- alias_method :verified?, :verified
1561
-
1562
- def initialize(**args)
1563
- update!(**args)
1564
- end
1565
-
1566
- # Update properties of this object
1567
- def update!(**args)
1568
- @about_me = args[:about_me] if args.key?(:about_me)
1569
- @age_range = args[:age_range] if args.key?(:age_range)
1570
- @birthday = args[:birthday] if args.key?(:birthday)
1571
- @bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights)
1572
- @circled_by_count = args[:circled_by_count] if args.key?(:circled_by_count)
1573
- @cover = args[:cover] if args.key?(:cover)
1574
- @current_location = args[:current_location] if args.key?(:current_location)
1575
- @display_name = args[:display_name] if args.key?(:display_name)
1576
- @domain = args[:domain] if args.key?(:domain)
1577
- @emails = args[:emails] if args.key?(:emails)
1578
- @etag = args[:etag] if args.key?(:etag)
1579
- @gender = args[:gender] if args.key?(:gender)
1580
- @id = args[:id] if args.key?(:id)
1581
- @image = args[:image] if args.key?(:image)
1582
- @is_plus_user = args[:is_plus_user] if args.key?(:is_plus_user)
1583
- @kind = args[:kind] if args.key?(:kind)
1584
- @language = args[:language] if args.key?(:language)
1585
- @name = args[:name] if args.key?(:name)
1586
- @nickname = args[:nickname] if args.key?(:nickname)
1587
- @object_type = args[:object_type] if args.key?(:object_type)
1588
- @occupation = args[:occupation] if args.key?(:occupation)
1589
- @organizations = args[:organizations] if args.key?(:organizations)
1590
- @places_lived = args[:places_lived] if args.key?(:places_lived)
1591
- @plus_one_count = args[:plus_one_count] if args.key?(:plus_one_count)
1592
- @relationship_status = args[:relationship_status] if args.key?(:relationship_status)
1593
- @skills = args[:skills] if args.key?(:skills)
1594
- @tagline = args[:tagline] if args.key?(:tagline)
1595
- @url = args[:url] if args.key?(:url)
1596
- @urls = args[:urls] if args.key?(:urls)
1597
- @verified = args[:verified] if args.key?(:verified)
1598
- end
1599
-
1600
- # The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21
1601
- # or older. Age is determined from the user's birthday using Western age
1602
- # reckoning.
1603
- class AgeRange
1604
- include Google::Apis::Core::Hashable
1605
-
1606
- # The age range's upper bound, if any. Possible values include, but are not
1607
- # limited to, the following:
1608
- # - "17" - for age 17
1609
- # - "20" - for age 20
1610
- # Corresponds to the JSON property `max`
1611
- # @return [Fixnum]
1612
- attr_accessor :max
1613
-
1614
- # The age range's lower bound, if any. Possible values include, but are not
1615
- # limited to, the following:
1616
- # - "21" - for age 21
1617
- # - "18" - for age 18
1618
- # Corresponds to the JSON property `min`
1619
- # @return [Fixnum]
1620
- attr_accessor :min
1621
-
1622
- def initialize(**args)
1623
- update!(**args)
1624
- end
1625
-
1626
- # Update properties of this object
1627
- def update!(**args)
1628
- @max = args[:max] if args.key?(:max)
1629
- @min = args[:min] if args.key?(:min)
1630
- end
1631
- end
1632
-
1633
- # The cover photo content.
1634
- class Cover
1635
- include Google::Apis::Core::Hashable
1636
-
1637
- # Extra information about the cover photo.
1638
- # Corresponds to the JSON property `coverInfo`
1639
- # @return [Google::Apis::PlusV1::Person::Cover::CoverInfo]
1640
- attr_accessor :cover_info
1641
-
1642
- # The person's primary cover image.
1643
- # Corresponds to the JSON property `coverPhoto`
1644
- # @return [Google::Apis::PlusV1::Person::Cover::CoverPhoto]
1645
- attr_accessor :cover_photo
1646
-
1647
- # The layout of the cover art. Possible values include, but are not limited to,
1648
- # the following values:
1649
- # - "banner" - One large image banner.
1650
- # Corresponds to the JSON property `layout`
1651
- # @return [String]
1652
- attr_accessor :layout
1653
-
1654
- def initialize(**args)
1655
- update!(**args)
1656
- end
1657
-
1658
- # Update properties of this object
1659
- def update!(**args)
1660
- @cover_info = args[:cover_info] if args.key?(:cover_info)
1661
- @cover_photo = args[:cover_photo] if args.key?(:cover_photo)
1662
- @layout = args[:layout] if args.key?(:layout)
1663
- end
1664
-
1665
- # Extra information about the cover photo.
1666
- class CoverInfo
1667
- include Google::Apis::Core::Hashable
1668
-
1669
- # The difference between the left position of the cover image and the actual
1670
- # displayed cover image. Only valid for banner layout.
1671
- # Corresponds to the JSON property `leftImageOffset`
1672
- # @return [Fixnum]
1673
- attr_accessor :left_image_offset
1674
-
1675
- # The difference between the top position of the cover image and the actual
1676
- # displayed cover image. Only valid for banner layout.
1677
- # Corresponds to the JSON property `topImageOffset`
1678
- # @return [Fixnum]
1679
- attr_accessor :top_image_offset
1680
-
1681
- def initialize(**args)
1682
- update!(**args)
1683
- end
1684
-
1685
- # Update properties of this object
1686
- def update!(**args)
1687
- @left_image_offset = args[:left_image_offset] if args.key?(:left_image_offset)
1688
- @top_image_offset = args[:top_image_offset] if args.key?(:top_image_offset)
1689
- end
1690
- end
1691
-
1692
- # The person's primary cover image.
1693
- class CoverPhoto
1694
- include Google::Apis::Core::Hashable
1695
-
1696
- # The height of the image.
1697
- # Corresponds to the JSON property `height`
1698
- # @return [Fixnum]
1699
- attr_accessor :height
1700
-
1701
- # The URL of the image.
1702
- # Corresponds to the JSON property `url`
1703
- # @return [String]
1704
- attr_accessor :url
1705
-
1706
- # The width of the image.
1707
- # Corresponds to the JSON property `width`
1708
- # @return [Fixnum]
1709
- attr_accessor :width
1710
-
1711
- def initialize(**args)
1712
- update!(**args)
1713
- end
1714
-
1715
- # Update properties of this object
1716
- def update!(**args)
1717
- @height = args[:height] if args.key?(:height)
1718
- @url = args[:url] if args.key?(:url)
1719
- @width = args[:width] if args.key?(:width)
1720
- end
1721
- end
1722
- end
1723
-
1724
- #
1725
- class Email
1726
- include Google::Apis::Core::Hashable
1727
-
1728
- # The type of address. Possible values include, but are not limited to, the
1729
- # following values:
1730
- # - "account" - Google account email address.
1731
- # - "home" - Home email address.
1732
- # - "work" - Work email address.
1733
- # - "other" - Other.
1734
- # Corresponds to the JSON property `type`
1735
- # @return [String]
1736
- attr_accessor :type
1737
-
1738
- # The email address.
1739
- # Corresponds to the JSON property `value`
1740
- # @return [String]
1741
- attr_accessor :value
1742
-
1743
- def initialize(**args)
1744
- update!(**args)
1745
- end
1746
-
1747
- # Update properties of this object
1748
- def update!(**args)
1749
- @type = args[:type] if args.key?(:type)
1750
- @value = args[:value] if args.key?(:value)
1751
- end
1752
- end
1753
-
1754
- # The representation of the person's profile photo.
1755
- class Image
1756
- include Google::Apis::Core::Hashable
1757
-
1758
- # Whether the person's profile photo is the default one
1759
- # Corresponds to the JSON property `isDefault`
1760
- # @return [Boolean]
1761
- attr_accessor :is_default
1762
- alias_method :is_default?, :is_default
1763
-
1764
- # The URL of the person's profile photo. To resize the image and crop it to a
1765
- # square, append the query string ?sz=x, where x is the dimension in pixels of
1766
- # each side.
1767
- # Corresponds to the JSON property `url`
1768
- # @return [String]
1769
- attr_accessor :url
1770
-
1771
- def initialize(**args)
1772
- update!(**args)
1773
- end
1774
-
1775
- # Update properties of this object
1776
- def update!(**args)
1777
- @is_default = args[:is_default] if args.key?(:is_default)
1778
- @url = args[:url] if args.key?(:url)
1779
- end
1780
- end
1781
-
1782
- # An object representation of the individual components of a person's name.
1783
- class Name
1784
- include Google::Apis::Core::Hashable
1785
-
1786
- # The family name (last name) of this person.
1787
- # Corresponds to the JSON property `familyName`
1788
- # @return [String]
1789
- attr_accessor :family_name
1790
-
1791
- # The full name of this person, including middle names, suffixes, etc.
1792
- # Corresponds to the JSON property `formatted`
1793
- # @return [String]
1794
- attr_accessor :formatted
1795
-
1796
- # The given name (first name) of this person.
1797
- # Corresponds to the JSON property `givenName`
1798
- # @return [String]
1799
- attr_accessor :given_name
1800
-
1801
- # The honorific prefixes (such as "Dr." or "Mrs.") for this person.
1802
- # Corresponds to the JSON property `honorificPrefix`
1803
- # @return [String]
1804
- attr_accessor :honorific_prefix
1805
-
1806
- # The honorific suffixes (such as "Jr.") for this person.
1807
- # Corresponds to the JSON property `honorificSuffix`
1808
- # @return [String]
1809
- attr_accessor :honorific_suffix
1810
-
1811
- # The middle name of this person.
1812
- # Corresponds to the JSON property `middleName`
1813
- # @return [String]
1814
- attr_accessor :middle_name
1815
-
1816
- def initialize(**args)
1817
- update!(**args)
1818
- end
1819
-
1820
- # Update properties of this object
1821
- def update!(**args)
1822
- @family_name = args[:family_name] if args.key?(:family_name)
1823
- @formatted = args[:formatted] if args.key?(:formatted)
1824
- @given_name = args[:given_name] if args.key?(:given_name)
1825
- @honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix)
1826
- @honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix)
1827
- @middle_name = args[:middle_name] if args.key?(:middle_name)
1828
- end
1829
- end
1830
-
1831
- #
1832
- class Organization
1833
- include Google::Apis::Core::Hashable
1834
-
1835
- # The department within the organization. Deprecated.
1836
- # Corresponds to the JSON property `department`
1837
- # @return [String]
1838
- attr_accessor :department
1839
-
1840
- # A short description of the person's role in this organization. Deprecated.
1841
- # Corresponds to the JSON property `description`
1842
- # @return [String]
1843
- attr_accessor :description
1844
-
1845
- # The date that the person left this organization.
1846
- # Corresponds to the JSON property `endDate`
1847
- # @return [String]
1848
- attr_accessor :end_date
1849
-
1850
- # The location of this organization. Deprecated.
1851
- # Corresponds to the JSON property `location`
1852
- # @return [String]
1853
- attr_accessor :location
1854
-
1855
- # The name of the organization.
1856
- # Corresponds to the JSON property `name`
1857
- # @return [String]
1858
- attr_accessor :name
1859
-
1860
- # If "true", indicates this organization is the person's primary one, which is
1861
- # typically interpreted as the current one.
1862
- # Corresponds to the JSON property `primary`
1863
- # @return [Boolean]
1864
- attr_accessor :primary
1865
- alias_method :primary?, :primary
1866
-
1867
- # The date that the person joined this organization.
1868
- # Corresponds to the JSON property `startDate`
1869
- # @return [String]
1870
- attr_accessor :start_date
1871
-
1872
- # The person's job title or role within the organization.
1873
- # Corresponds to the JSON property `title`
1874
- # @return [String]
1875
- attr_accessor :title
1876
-
1877
- # The type of organization. Possible values include, but are not limited to, the
1878
- # following values:
1879
- # - "work" - Work.
1880
- # - "school" - School.
1881
- # Corresponds to the JSON property `type`
1882
- # @return [String]
1883
- attr_accessor :type
1884
-
1885
- def initialize(**args)
1886
- update!(**args)
1887
- end
1888
-
1889
- # Update properties of this object
1890
- def update!(**args)
1891
- @department = args[:department] if args.key?(:department)
1892
- @description = args[:description] if args.key?(:description)
1893
- @end_date = args[:end_date] if args.key?(:end_date)
1894
- @location = args[:location] if args.key?(:location)
1895
- @name = args[:name] if args.key?(:name)
1896
- @primary = args[:primary] if args.key?(:primary)
1897
- @start_date = args[:start_date] if args.key?(:start_date)
1898
- @title = args[:title] if args.key?(:title)
1899
- @type = args[:type] if args.key?(:type)
1900
- end
1901
- end
1902
-
1903
- #
1904
- class PlacesLived
1905
- include Google::Apis::Core::Hashable
1906
-
1907
- # If "true", this place of residence is this person's primary residence.
1908
- # Corresponds to the JSON property `primary`
1909
- # @return [Boolean]
1910
- attr_accessor :primary
1911
- alias_method :primary?, :primary
1912
-
1913
- # A place where this person has lived. For example: "Seattle, WA", "Near Toronto"
1914
- # .
1915
- # Corresponds to the JSON property `value`
1916
- # @return [String]
1917
- attr_accessor :value
1918
-
1919
- def initialize(**args)
1920
- update!(**args)
1921
- end
1922
-
1923
- # Update properties of this object
1924
- def update!(**args)
1925
- @primary = args[:primary] if args.key?(:primary)
1926
- @value = args[:value] if args.key?(:value)
1927
- end
1928
- end
1929
-
1930
- #
1931
- class Url
1932
- include Google::Apis::Core::Hashable
1933
-
1934
- # The label of the URL.
1935
- # Corresponds to the JSON property `label`
1936
- # @return [String]
1937
- attr_accessor :label
1938
-
1939
- # The type of URL. Possible values include, but are not limited to, the
1940
- # following values:
1941
- # - "otherProfile" - URL for another profile.
1942
- # - "contributor" - URL to a site for which this person is a contributor.
1943
- # - "website" - URL for this Google+ Page's primary website.
1944
- # - "other" - Other URL.
1945
- # Corresponds to the JSON property `type`
1946
- # @return [String]
1947
- attr_accessor :type
1948
-
1949
- # The URL value.
1950
- # Corresponds to the JSON property `value`
1951
- # @return [String]
1952
- attr_accessor :value
1953
-
1954
- def initialize(**args)
1955
- update!(**args)
1956
- end
1957
-
1958
- # Update properties of this object
1959
- def update!(**args)
1960
- @label = args[:label] if args.key?(:label)
1961
- @type = args[:type] if args.key?(:type)
1962
- @value = args[:value] if args.key?(:value)
1963
- end
1964
- end
1965
- end
1966
-
1967
- #
1968
- class Place
1969
- include Google::Apis::Core::Hashable
1970
-
1971
- # The physical address of the place.
1972
- # Corresponds to the JSON property `address`
1973
- # @return [Google::Apis::PlusV1::Place::Address]
1974
- attr_accessor :address
1975
-
1976
- # The display name of the place.
1977
- # Corresponds to the JSON property `displayName`
1978
- # @return [String]
1979
- attr_accessor :display_name
1980
-
1981
- # The id of the place.
1982
- # Corresponds to the JSON property `id`
1983
- # @return [String]
1984
- attr_accessor :id
1985
-
1986
- # Identifies this resource as a place. Value: "plus#place".
1987
- # Corresponds to the JSON property `kind`
1988
- # @return [String]
1989
- attr_accessor :kind
1990
-
1991
- # The position of the place.
1992
- # Corresponds to the JSON property `position`
1993
- # @return [Google::Apis::PlusV1::Place::Position]
1994
- attr_accessor :position
1995
-
1996
- def initialize(**args)
1997
- update!(**args)
1998
- end
1999
-
2000
- # Update properties of this object
2001
- def update!(**args)
2002
- @address = args[:address] if args.key?(:address)
2003
- @display_name = args[:display_name] if args.key?(:display_name)
2004
- @id = args[:id] if args.key?(:id)
2005
- @kind = args[:kind] if args.key?(:kind)
2006
- @position = args[:position] if args.key?(:position)
2007
- end
2008
-
2009
- # The physical address of the place.
2010
- class Address
2011
- include Google::Apis::Core::Hashable
2012
-
2013
- # The formatted address for display.
2014
- # Corresponds to the JSON property `formatted`
2015
- # @return [String]
2016
- attr_accessor :formatted
2017
-
2018
- def initialize(**args)
2019
- update!(**args)
2020
- end
2021
-
2022
- # Update properties of this object
2023
- def update!(**args)
2024
- @formatted = args[:formatted] if args.key?(:formatted)
2025
- end
2026
- end
2027
-
2028
- # The position of the place.
2029
- class Position
2030
- include Google::Apis::Core::Hashable
2031
-
2032
- # The latitude of this position.
2033
- # Corresponds to the JSON property `latitude`
2034
- # @return [Float]
2035
- attr_accessor :latitude
2036
-
2037
- # The longitude of this position.
2038
- # Corresponds to the JSON property `longitude`
2039
- # @return [Float]
2040
- attr_accessor :longitude
2041
-
2042
- def initialize(**args)
2043
- update!(**args)
2044
- end
2045
-
2046
- # Update properties of this object
2047
- def update!(**args)
2048
- @latitude = args[:latitude] if args.key?(:latitude)
2049
- @longitude = args[:longitude] if args.key?(:longitude)
2050
- end
2051
- end
2052
- end
2053
-
2054
- #
2055
- class PlusAclentryResource
2056
- include Google::Apis::Core::Hashable
2057
-
2058
- # A descriptive name for this entry. Suitable for display.
2059
- # Corresponds to the JSON property `displayName`
2060
- # @return [String]
2061
- attr_accessor :display_name
2062
-
2063
- # The ID of the entry. For entries of type "person" or "circle", this is the ID
2064
- # of the resource. For other types, this property is not set.
2065
- # Corresponds to the JSON property `id`
2066
- # @return [String]
2067
- attr_accessor :id
2068
-
2069
- # The type of entry describing to whom access is granted. Possible values are:
2070
- # - "person" - Access to an individual.
2071
- # - "circle" - Access to members of a circle.
2072
- # - "myCircles" - Access to members of all the person's circles.
2073
- # - "extendedCircles" - Access to members of all the person's circles, plus all
2074
- # of the people in their circles.
2075
- # - "domain" - Access to members of the person's Google Apps domain.
2076
- # - "public" - Access to anyone on the web.
2077
- # Corresponds to the JSON property `type`
2078
- # @return [String]
2079
- attr_accessor :type
2080
-
2081
- def initialize(**args)
2082
- update!(**args)
2083
- end
2084
-
2085
- # Update properties of this object
2086
- def update!(**args)
2087
- @display_name = args[:display_name] if args.key?(:display_name)
2088
- @id = args[:id] if args.key?(:id)
2089
- @type = args[:type] if args.key?(:type)
2090
- end
2091
- end
2092
- end
2093
- end
2094
- end