google-api-client 0.9.pre3 → 0.9.pre4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +14 -2
- data/Gemfile +4 -0
- data/MIGRATING.md +1 -1
- data/README.md +17 -3
- data/api_names.yaml +127 -14
- data/api_names_out.yaml +5442 -710
- data/bin/generate-api +16 -14
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +213 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +71 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -42
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +15 -29
- data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
- data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
- data/generated/google/apis/admin_directory_v1.rb +25 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +718 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +244 -0
- data/generated/google/apis/admin_directory_v1/service.rb +1522 -509
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +5 -10
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +6 -0
- data/generated/google/apis/adsense_v1_4/representations.rb +1 -0
- data/generated/google/apis/adsense_v1_4/service.rb +40 -78
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -52
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +11 -13
- data/generated/google/apis/analytics_v3/service.rb +84 -158
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +276 -8
- data/generated/google/apis/androidenterprise_v1/representations.rb +106 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +715 -97
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v2/service.rb +55 -107
- data/generated/google/apis/appengine_v1beta4.rb +35 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +1 -2
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +6 -11
- data/generated/google/apis/autoscaler_v1beta2/service.rb +10 -20
- data/generated/google/apis/bigquery_v2.rb +4 -1
- data/generated/google/apis/bigquery_v2/classes.rb +231 -16
- data/generated/google/apis/bigquery_v2/representations.rb +62 -0
- data/generated/google/apis/bigquery_v2/service.rb +24 -45
- data/generated/google/apis/blogger_v3/service.rb +33 -66
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +441 -0
- data/generated/google/apis/books_v1/representations.rb +177 -0
- data/generated/google/apis/books_v1/service.rb +210 -90
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +34 -18
- data/generated/google/apis/calendar_v3/service.rb +118 -103
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -3
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +5 -10
- data/generated/google/apis/classroom_v1.rb +49 -0
- data/generated/google/apis/classroom_v1/classes.rb +512 -0
- data/generated/google/apis/classroom_v1/representations.rb +217 -0
- data/generated/google/apis/classroom_v1/service.rb +970 -0
- data/generated/google/apis/cloudbilling_v1.rb +35 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
- data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
- data/generated/google/apis/clouddebugger_v2.rb +41 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +6 -12
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +5 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +173 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +36 -68
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +293 -80
- data/generated/google/apis/cloudtrace_v1.rb +35 -0
- data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
- data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
- data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
- data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
- data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
- data/generated/google/apis/compute_beta.rb +49 -0
- data/generated/google/apis/compute_beta/classes.rb +9128 -0
- data/generated/google/apis/compute_beta/representations.rb +3048 -0
- data/generated/google/apis/compute_beta/service.rb +10154 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1305 -520
- data/generated/google/apis/compute_v1/representations.rb +122 -15
- data/generated/google/apis/compute_v1/service.rb +2202 -1085
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +56 -31
- data/generated/google/apis/container_v1/representations.rb +12 -0
- data/generated/google/apis/container_v1/service.rb +62 -41
- data/generated/google/apis/content_v2.rb +2 -2
- data/generated/google/apis/content_v2/classes.rb +2252 -56
- data/generated/google/apis/content_v2/representations.rb +917 -87
- data/generated/google/apis/content_v2/service.rb +680 -85
- data/generated/google/apis/coordinate_v1.rb +1 -1
- data/generated/google/apis/coordinate_v1/service.rb +16 -25
- data/generated/google/apis/customsearch_v1/service.rb +1 -2
- data/generated/google/apis/datastore_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1beta2/service.rb +12 -18
- data/generated/google/apis/deploymentmanager_v2.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2/classes.rb +1089 -0
- data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
- data/generated/google/apis/deploymentmanager_v2beta2.rb +5 -2
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +22 -3
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +3 -0
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +14 -27
- data/generated/google/apis/dfareporting_v2_1.rb +1 -1
- data/generated/google/apis/dfareporting_v2_1/classes.rb +29 -14
- data/generated/google/apis/dfareporting_v2_1/service.rb +196 -389
- data/generated/google/apis/discovery_v1/classes.rb +7 -0
- data/generated/google/apis/discovery_v1/representations.rb +1 -0
- data/generated/google/apis/discovery_v1/service.rb +2 -4
- data/generated/google/apis/dns_v1.rb +4 -1
- data/generated/google/apis/dns_v1/service.rb +9 -18
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +9 -2
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -16
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +15 -6
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +1 -0
- data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -23
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +73 -30
- data/generated/google/apis/drive_v2/representations.rb +14 -0
- data/generated/google/apis/drive_v2/service.rb +139 -135
- data/generated/google/apis/drive_v3.rb +55 -0
- data/generated/google/apis/drive_v3/classes.rb +1534 -0
- data/generated/google/apis/drive_v3/representations.rb +497 -0
- data/generated/google/apis/drive_v3/service.rb +1541 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +14 -27
- data/generated/google/apis/fusiontables_v2/service.rb +40 -73
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +14 -27
- data/generated/google/apis/games_management_v1management.rb +37 -0
- data/generated/google/apis/games_management_v1management/classes.rb +524 -0
- data/generated/google/apis/games_management_v1management/representations.rb +231 -0
- data/generated/google/apis/games_management_v1management/service.rb +994 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +39 -0
- data/generated/google/apis/games_v1/representations.rb +14 -0
- data/generated/google/apis/games_v1/service.rb +93 -109
- data/generated/google/apis/gan_v1beta1/service.rb +10 -20
- data/generated/google/apis/genomics_v1.rb +5 -3
- data/generated/google/apis/genomics_v1/classes.rb +519 -200
- data/generated/google/apis/genomics_v1/representations.rb +126 -13
- data/generated/google/apis/genomics_v1/service.rb +392 -236
- data/generated/google/apis/gmail_v1.rb +4 -1
- data/generated/google/apis/gmail_v1/service.rb +39 -71
- data/generated/google/apis/groupsmigration_v1/service.rb +2 -3
- data/generated/google/apis/groupssettings_v1/service.rb +3 -6
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +125 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +37 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +44 -24
- data/generated/google/apis/kgsearch_v1.rb +32 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
- data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
- data/generated/google/apis/kgsearch_v1/service.rb +111 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +7 -14
- data/generated/google/apis/logging_v1beta3.rb +16 -4
- data/generated/google/apis/logging_v1beta3/classes.rb +620 -46
- data/generated/google/apis/logging_v1beta3/representations.rb +144 -0
- data/generated/google/apis/logging_v1beta3/service.rb +435 -104
- data/generated/google/apis/manager_v1beta2.rb +3 -0
- data/generated/google/apis/manager_v1beta2/service.rb +8 -16
- data/generated/google/apis/mapsengine_v1.rb +1 -1
- data/generated/google/apis/mapsengine_v1/service.rb +85 -162
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/mirror_v1/service.rb +28 -52
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oauth2_v2/service.rb +4 -8
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -2
- data/generated/google/apis/partners_v2.rb +32 -0
- data/generated/google/apis/partners_v2/classes.rb +942 -0
- data/generated/google/apis/partners_v2/representations.rb +402 -0
- data/generated/google/apis/partners_v2/service.rb +400 -0
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/classes.rb +207 -0
- data/generated/google/apis/plus_domains_v1/representations.rb +114 -0
- data/generated/google/apis/plus_domains_v1/service.rb +21 -41
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/classes.rb +207 -0
- data/generated/google/apis/plus_v1/representations.rb +114 -0
- data/generated/google/apis/plus_v1/service.rb +11 -56
- data/generated/google/apis/prediction_v1_6.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -16
- data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
- data/generated/google/apis/pubsub_v1.rb +37 -0
- data/generated/google/apis/pubsub_v1/classes.rb +614 -0
- data/generated/google/apis/pubsub_v1/representations.rb +281 -0
- data/generated/google/apis/pubsub_v1/service.rb +774 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +78 -283
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -85
- data/generated/google/apis/pubsub_v1beta2/service.rb +79 -87
- data/generated/google/apis/qpx_express_v1/service.rb +1 -2
- data/generated/google/apis/replicapool_v1beta2.rb +3 -0
- data/generated/google/apis/replicapool_v1beta2/service.rb +12 -24
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -1
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +46 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +16 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +58 -18
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +19 -1
- data/generated/google/apis/reseller_v1/representations.rb +1 -0
- data/generated/google/apis/reseller_v1/service.rb +16 -30
- data/generated/google/apis/resourceviews_v1beta2.rb +3 -0
- data/generated/google/apis/resourceviews_v1beta2/service.rb +16 -27
- data/generated/google/apis/script_v1.rb +61 -0
- data/generated/google/apis/script_v1/classes.rb +259 -0
- data/generated/google/apis/script_v1/representations.rb +106 -0
- data/generated/google/apis/script_v1/service.rb +98 -0
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +8 -15
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +186 -2
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +70 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +166 -75
- data/generated/google/apis/storage_v1.rb +5 -2
- data/generated/google/apis/storage_v1/classes.rb +47 -4
- data/generated/google/apis/storage_v1/representations.rb +18 -0
- data/generated/google/apis/storage_v1/service.rb +77 -94
- data/generated/google/apis/storagetransfer_v1.rb +35 -0
- data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +189 -31
- data/generated/google/apis/tagmanager_v1/representations.rb +69 -15
- data/generated/google/apis/tagmanager_v1/service.rb +114 -275
- data/generated/google/apis/taskqueue_v1beta2/service.rb +8 -16
- data/generated/google/apis/tasks_v1/service.rb +14 -28
- data/generated/google/apis/translate_v2/service.rb +3 -6
- data/generated/google/apis/urlshortener_v1/service.rb +3 -6
- data/generated/google/apis/webmasters_v3.rb +3 -3
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/service.rb +16 -30
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +6 -0
- data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +16 -21
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +111 -78
- data/generated/google/apis/youtube_v3/representations.rb +2 -0
- data/generated/google/apis/youtube_v3/service.rb +78 -246
- data/generated/google/apis/youtubereporting_v1.rb +38 -0
- data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
- data/google-api-client.gemspec +3 -3
- data/lib/google/api_client/auth/installed_app.rb +2 -2
- data/lib/google/api_client/auth/key_utils.rb +1 -0
- data/lib/google/api_client/auth/storage.rb +1 -0
- data/lib/google/api_client/auth/storages/file_store.rb +1 -0
- data/lib/google/api_client/auth/storages/redis_store.rb +1 -0
- data/lib/google/api_client/client_secrets.rb +4 -5
- data/lib/google/apis/core/api_command.rb +2 -2
- data/lib/google/apis/core/base_service.rb +1 -0
- data/lib/google/apis/core/batch.rb +25 -8
- data/lib/google/apis/core/download.rb +1 -1
- data/lib/google/apis/core/http_command.rb +24 -12
- data/lib/google/apis/core/multipart.rb +20 -6
- data/lib/google/apis/core/upload.rb +11 -4
- data/lib/google/apis/generator/annotator.rb +29 -10
- data/lib/google/apis/generator/helpers.rb +1 -1
- data/lib/google/apis/generator/templates/_method.tmpl +5 -6
- data/lib/google/apis/options.rb +7 -3
- data/lib/google/apis/version.rb +1 -1
- data/samples/calendar/calendar.rb +1 -1
- data/samples/drive/drive.rb +9 -2
- data/samples/pubsub/pubsub.rb +5 -6
- data/samples/translate/translate.rb +1 -5
- data/script/generate +20 -5
- data/spec/fixtures/files/child/.gitignore +0 -0
- data/spec/fixtures/files/invalid.json +1 -0
- data/spec/google/api_client/client_secrets_spec.rb +38 -1
- data/spec/google/apis/core/batch_spec.rb +22 -8
- data/spec/google/apis/core/download_spec.rb +13 -0
- data/spec/google/apis/core/http_command_spec.rb +26 -9
- data/spec/google/apis/core/upload_spec.rb +65 -17
- data/spec/google/apis/options_spec.rb +8 -0
- data/spec/integration_tests/adsense_spec.rb +28 -0
- data/spec/integration_tests/pubsub_spec.rb +3 -3
- data/spec/spec_helper.rb +5 -1
- data/third_party/hurley_patches.rb +103 -0
- metadata +87 -7
@@ -77,8 +77,7 @@ module Google
|
|
77
77
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
78
78
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
79
79
|
def get_activity(activity_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
80
|
-
|
81
|
-
command = make_simple_command(:get, path, options)
|
80
|
+
command = make_simple_command(:get, 'activities/{activityId}', options)
|
82
81
|
command.response_representation = Google::Apis::PlusDomainsV1::Activity::Representation
|
83
82
|
command.response_class = Google::Apis::PlusDomainsV1::Activity
|
84
83
|
command.params['activityId'] = activity_id unless activity_id.nil?
|
@@ -119,8 +118,7 @@ module Google
|
|
119
118
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
120
119
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
121
120
|
def insert_activity(user_id, activity_object = nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
122
|
-
|
123
|
-
command = make_simple_command(:post, path, options)
|
121
|
+
command = make_simple_command(:post, 'people/{userId}/activities', options)
|
124
122
|
command.request_representation = Google::Apis::PlusDomainsV1::Activity::Representation
|
125
123
|
command.request_object = activity_object
|
126
124
|
command.response_representation = Google::Apis::PlusDomainsV1::Activity::Representation
|
@@ -169,8 +167,7 @@ module Google
|
|
169
167
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
170
168
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
171
169
|
def list_activities(user_id, collection, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
172
|
-
|
173
|
-
command = make_simple_command(:get, path, options)
|
170
|
+
command = make_simple_command(:get, 'people/{userId}/activities/{collection}', options)
|
174
171
|
command.response_representation = Google::Apis::PlusDomainsV1::ActivityFeed::Representation
|
175
172
|
command.response_class = Google::Apis::PlusDomainsV1::ActivityFeed
|
176
173
|
command.params['userId'] = user_id unless user_id.nil?
|
@@ -217,8 +214,7 @@ module Google
|
|
217
214
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
218
215
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
219
216
|
def list_audiences(user_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
220
|
-
|
221
|
-
command = make_simple_command(:get, path, options)
|
217
|
+
command = make_simple_command(:get, 'people/{userId}/audiences', options)
|
222
218
|
command.response_representation = Google::Apis::PlusDomainsV1::AudiencesFeed::Representation
|
223
219
|
command.response_class = Google::Apis::PlusDomainsV1::AudiencesFeed
|
224
220
|
command.params['userId'] = user_id unless user_id.nil?
|
@@ -260,8 +256,7 @@ module Google
|
|
260
256
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
261
257
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
262
258
|
def add_people(circle_id, email: nil, user_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
263
|
-
|
264
|
-
command = make_simple_command(:put, path, options)
|
259
|
+
command = make_simple_command(:put, 'circles/{circleId}/people', options)
|
265
260
|
command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
266
261
|
command.response_class = Google::Apis::PlusDomainsV1::Circle
|
267
262
|
command.params['circleId'] = circle_id unless circle_id.nil?
|
@@ -298,8 +293,7 @@ module Google
|
|
298
293
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
299
294
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
300
295
|
def get_circle(circle_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
301
|
-
|
302
|
-
command = make_simple_command(:get, path, options)
|
296
|
+
command = make_simple_command(:get, 'circles/{circleId}', options)
|
303
297
|
command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
304
298
|
command.response_class = Google::Apis::PlusDomainsV1::Circle
|
305
299
|
command.params['circleId'] = circle_id unless circle_id.nil?
|
@@ -336,8 +330,7 @@ module Google
|
|
336
330
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
337
331
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
338
332
|
def insert_circle(user_id, circle_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
339
|
-
|
340
|
-
command = make_simple_command(:post, path, options)
|
333
|
+
command = make_simple_command(:post, 'people/{userId}/circles', options)
|
341
334
|
command.request_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
342
335
|
command.request_object = circle_object
|
343
336
|
command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
@@ -383,8 +376,7 @@ module Google
|
|
383
376
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
384
377
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
385
378
|
def list_circles(user_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
386
|
-
|
387
|
-
command = make_simple_command(:get, path, options)
|
379
|
+
command = make_simple_command(:get, 'people/{userId}/circles', options)
|
388
380
|
command.response_representation = Google::Apis::PlusDomainsV1::CircleFeed::Representation
|
389
381
|
command.response_class = Google::Apis::PlusDomainsV1::CircleFeed
|
390
382
|
command.params['userId'] = user_id unless user_id.nil?
|
@@ -422,8 +414,7 @@ module Google
|
|
422
414
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
423
415
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
424
416
|
def patch_circle(circle_id, circle_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
425
|
-
|
426
|
-
command = make_simple_command(:patch, path, options)
|
417
|
+
command = make_simple_command(:patch, 'circles/{circleId}', options)
|
427
418
|
command.request_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
428
419
|
command.request_object = circle_object
|
429
420
|
command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
@@ -460,8 +451,7 @@ module Google
|
|
460
451
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
461
452
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
462
453
|
def remove_circle(circle_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
463
|
-
|
464
|
-
command = make_simple_command(:delete, path, options)
|
454
|
+
command = make_simple_command(:delete, 'circles/{circleId}', options)
|
465
455
|
command.params['circleId'] = circle_id unless circle_id.nil?
|
466
456
|
command.query['fields'] = fields unless fields.nil?
|
467
457
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -498,8 +488,7 @@ module Google
|
|
498
488
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
499
489
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
500
490
|
def remove_people(circle_id, email: nil, user_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
501
|
-
|
502
|
-
command = make_simple_command(:delete, path, options)
|
491
|
+
command = make_simple_command(:delete, 'circles/{circleId}/people', options)
|
503
492
|
command.params['circleId'] = circle_id unless circle_id.nil?
|
504
493
|
command.query['email'] = email unless email.nil?
|
505
494
|
command.query['userId'] = user_id unless user_id.nil?
|
@@ -535,8 +524,7 @@ module Google
|
|
535
524
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
536
525
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
537
526
|
def update_circle(circle_id, circle_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
538
|
-
|
539
|
-
command = make_simple_command(:put, path, options)
|
527
|
+
command = make_simple_command(:put, 'circles/{circleId}', options)
|
540
528
|
command.request_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
541
529
|
command.request_object = circle_object
|
542
530
|
command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
@@ -573,8 +561,7 @@ module Google
|
|
573
561
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
574
562
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
575
563
|
def get_comment(comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
576
|
-
|
577
|
-
command = make_simple_command(:get, path, options)
|
564
|
+
command = make_simple_command(:get, 'comments/{commentId}', options)
|
578
565
|
command.response_representation = Google::Apis::PlusDomainsV1::Comment::Representation
|
579
566
|
command.response_class = Google::Apis::PlusDomainsV1::Comment
|
580
567
|
command.params['commentId'] = comment_id unless comment_id.nil?
|
@@ -610,8 +597,7 @@ module Google
|
|
610
597
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
611
598
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
612
599
|
def insert_comment(activity_id, comment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
613
|
-
|
614
|
-
command = make_simple_command(:post, path, options)
|
600
|
+
command = make_simple_command(:post, 'activities/{activityId}/comments', options)
|
615
601
|
command.request_representation = Google::Apis::PlusDomainsV1::Comment::Representation
|
616
602
|
command.request_object = comment_object
|
617
603
|
command.response_representation = Google::Apis::PlusDomainsV1::Comment::Representation
|
@@ -658,8 +644,7 @@ module Google
|
|
658
644
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
659
645
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
660
646
|
def list_comments(activity_id, max_results: nil, page_token: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
661
|
-
|
662
|
-
command = make_simple_command(:get, path, options)
|
647
|
+
command = make_simple_command(:get, 'activities/{activityId}/comments', options)
|
663
648
|
command.response_representation = Google::Apis::PlusDomainsV1::CommentFeed::Representation
|
664
649
|
command.response_class = Google::Apis::PlusDomainsV1::CommentFeed
|
665
650
|
command.params['activityId'] = activity_id unless activity_id.nil?
|
@@ -706,11 +691,10 @@ module Google
|
|
706
691
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
707
692
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
708
693
|
def insert_medium(user_id, collection, media_object = nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
709
|
-
path = 'people/{userId}/media/{collection}'
|
710
694
|
if upload_source.nil?
|
711
|
-
command = make_simple_command(:post,
|
695
|
+
command = make_simple_command(:post, 'people/{userId}/media/{collection}', options)
|
712
696
|
else
|
713
|
-
command = make_upload_command(:post,
|
697
|
+
command = make_upload_command(:post, 'people/{userId}/media/{collection}', options)
|
714
698
|
command.upload_source = upload_source
|
715
699
|
command.upload_content_type = content_type
|
716
700
|
end
|
@@ -752,8 +736,7 @@ module Google
|
|
752
736
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
753
737
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
754
738
|
def get_person(user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
755
|
-
|
756
|
-
command = make_simple_command(:get, path, options)
|
739
|
+
command = make_simple_command(:get, 'people/{userId}', options)
|
757
740
|
command.response_representation = Google::Apis::PlusDomainsV1::Person::Representation
|
758
741
|
command.response_class = Google::Apis::PlusDomainsV1::Person
|
759
742
|
command.params['userId'] = user_id unless user_id.nil?
|
@@ -801,8 +784,7 @@ module Google
|
|
801
784
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
802
785
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
803
786
|
def list_people(user_id, collection, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
804
|
-
|
805
|
-
command = make_simple_command(:get, path, options)
|
787
|
+
command = make_simple_command(:get, 'people/{userId}/people/{collection}', options)
|
806
788
|
command.response_representation = Google::Apis::PlusDomainsV1::PeopleFeed::Representation
|
807
789
|
command.response_class = Google::Apis::PlusDomainsV1::PeopleFeed
|
808
790
|
command.params['userId'] = user_id unless user_id.nil?
|
@@ -851,8 +833,7 @@ module Google
|
|
851
833
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
852
834
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
853
835
|
def list_people_by_activity(activity_id, collection, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
854
|
-
|
855
|
-
command = make_simple_command(:get, path, options)
|
836
|
+
command = make_simple_command(:get, 'activities/{activityId}/people/{collection}', options)
|
856
837
|
command.response_representation = Google::Apis::PlusDomainsV1::PeopleFeed::Representation
|
857
838
|
command.response_class = Google::Apis::PlusDomainsV1::PeopleFeed
|
858
839
|
command.params['activityId'] = activity_id unless activity_id.nil?
|
@@ -898,8 +879,7 @@ module Google
|
|
898
879
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
899
880
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
900
881
|
def list_people_by_circle(circle_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
901
|
-
|
902
|
-
command = make_simple_command(:get, path, options)
|
882
|
+
command = make_simple_command(:get, 'circles/{circleId}/people', options)
|
903
883
|
command.response_representation = Google::Apis::PlusDomainsV1::PeopleFeed::Representation
|
904
884
|
command.response_class = Google::Apis::PlusDomainsV1::PeopleFeed
|
905
885
|
command.params['circleId'] = circle_id unless circle_id.nil?
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/+/api/
|
26
26
|
module PlusV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20151214'
|
29
29
|
|
30
30
|
# Know your basic profile info and list of people in your circles.
|
31
31
|
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
@@ -198,6 +198,11 @@ module Google
|
|
198
198
|
class Actor
|
199
199
|
include Google::Apis::Core::Hashable
|
200
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
|
+
|
201
206
|
# The name of the actor, suitable for display.
|
202
207
|
# Corresponds to the JSON property `displayName`
|
203
208
|
# @return [String]
|
@@ -223,17 +228,62 @@ module Google
|
|
223
228
|
# @return [String]
|
224
229
|
attr_accessor :url
|
225
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
|
+
|
226
236
|
def initialize(**args)
|
227
237
|
update!(**args)
|
228
238
|
end
|
229
239
|
|
230
240
|
# Update properties of this object
|
231
241
|
def update!(**args)
|
242
|
+
@client_specific_actor_info = args[:client_specific_actor_info] unless args[:client_specific_actor_info].nil?
|
232
243
|
@display_name = args[:display_name] unless args[:display_name].nil?
|
233
244
|
@id = args[:id] unless args[:id].nil?
|
234
245
|
@image = args[:image] unless args[:image].nil?
|
235
246
|
@name = args[:name] unless args[:name].nil?
|
236
247
|
@url = args[:url] unless args[:url].nil?
|
248
|
+
@verification = args[:verification] unless args[:verification].nil?
|
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] unless args[:youtube_actor_info].nil?
|
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] unless args[:channel_id].nil?
|
285
|
+
end
|
286
|
+
end
|
237
287
|
end
|
238
288
|
|
239
289
|
# The image representation of the actor.
|
@@ -281,6 +331,25 @@ module Google
|
|
281
331
|
@given_name = args[:given_name] unless args[:given_name].nil?
|
282
332
|
end
|
283
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] unless args[:ad_hoc_verified].nil?
|
351
|
+
end
|
352
|
+
end
|
284
353
|
end
|
285
354
|
|
286
355
|
# The object of this activity.
|
@@ -367,6 +436,11 @@ module Google
|
|
367
436
|
class Actor
|
368
437
|
include Google::Apis::Core::Hashable
|
369
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
|
+
|
370
444
|
# The original actor's name, which is suitable for display.
|
371
445
|
# Corresponds to the JSON property `displayName`
|
372
446
|
# @return [String]
|
@@ -387,16 +461,61 @@ module Google
|
|
387
461
|
# @return [String]
|
388
462
|
attr_accessor :url
|
389
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
|
+
|
390
469
|
def initialize(**args)
|
391
470
|
update!(**args)
|
392
471
|
end
|
393
472
|
|
394
473
|
# Update properties of this object
|
395
474
|
def update!(**args)
|
475
|
+
@client_specific_actor_info = args[:client_specific_actor_info] unless args[:client_specific_actor_info].nil?
|
396
476
|
@display_name = args[:display_name] unless args[:display_name].nil?
|
397
477
|
@id = args[:id] unless args[:id].nil?
|
398
478
|
@image = args[:image] unless args[:image].nil?
|
399
479
|
@url = args[:url] unless args[:url].nil?
|
480
|
+
@verification = args[:verification] unless args[:verification].nil?
|
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] unless args[:youtube_actor_info].nil?
|
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] unless args[:channel_id].nil?
|
517
|
+
end
|
518
|
+
end
|
400
519
|
end
|
401
520
|
|
402
521
|
# The image representation of the original actor.
|
@@ -417,6 +536,25 @@ module Google
|
|
417
536
|
@url = args[:url] unless args[:url].nil?
|
418
537
|
end
|
419
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] unless args[:ad_hoc_verified].nil?
|
556
|
+
end
|
557
|
+
end
|
420
558
|
end
|
421
559
|
|
422
560
|
#
|
@@ -913,6 +1051,11 @@ module Google
|
|
913
1051
|
class Actor
|
914
1052
|
include Google::Apis::Core::Hashable
|
915
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
|
+
|
916
1059
|
# The name of this actor, suitable for display.
|
917
1060
|
# Corresponds to the JSON property `displayName`
|
918
1061
|
# @return [String]
|
@@ -933,16 +1076,61 @@ module Google
|
|
933
1076
|
# @return [String]
|
934
1077
|
attr_accessor :url
|
935
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
|
+
|
936
1084
|
def initialize(**args)
|
937
1085
|
update!(**args)
|
938
1086
|
end
|
939
1087
|
|
940
1088
|
# Update properties of this object
|
941
1089
|
def update!(**args)
|
1090
|
+
@client_specific_actor_info = args[:client_specific_actor_info] unless args[:client_specific_actor_info].nil?
|
942
1091
|
@display_name = args[:display_name] unless args[:display_name].nil?
|
943
1092
|
@id = args[:id] unless args[:id].nil?
|
944
1093
|
@image = args[:image] unless args[:image].nil?
|
945
1094
|
@url = args[:url] unless args[:url].nil?
|
1095
|
+
@verification = args[:verification] unless args[:verification].nil?
|
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] unless args[:youtube_actor_info].nil?
|
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] unless args[:channel_id].nil?
|
1132
|
+
end
|
1133
|
+
end
|
946
1134
|
end
|
947
1135
|
|
948
1136
|
# The image representation of this actor.
|
@@ -965,6 +1153,25 @@ module Google
|
|
965
1153
|
@url = args[:url] unless args[:url].nil?
|
966
1154
|
end
|
967
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] unless args[:ad_hoc_verified].nil?
|
1173
|
+
end
|
1174
|
+
end
|
968
1175
|
end
|
969
1176
|
|
970
1177
|
#
|