google-api-client 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +11 -2
- data/api_names.yaml +76 -43
- data/api_names_out.yaml +3853 -3508
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +151 -151
- data/generated/google/apis/adexchangebuyer_v1_4.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +2785 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1033 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1378 -0
- data/generated/google/apis/adexchangeseller_v2_0/classes.rb +79 -79
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +26 -26
- data/generated/google/apis/admin_directory_v1/classes.rb +374 -374
- data/generated/google/apis/admin_reports_v1/classes.rb +63 -63
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +145 -143
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +95 -92
- data/generated/google/apis/analytics_v3/classes.rb +582 -582
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +132 -132
- data/generated/google/apis/androidenterprise_v1/service.rb +9 -8
- data/generated/google/apis/androidpublisher_v2/classes.rb +122 -122
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/classes.rb +195 -142
- data/generated/google/apis/appengine_v1beta4/representations.rb +16 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +3 -2
- data/generated/google/apis/appengine_v1beta5.rb +35 -0
- data/generated/google/apis/appengine_v1beta5/classes.rb +1523 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +525 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +478 -0
- data/generated/google/apis/appsactivity_v1/classes.rb +34 -34
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/classes.rb +12 -12
- data/generated/google/apis/autoscaler_v1beta2/classes.rb +82 -82
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +266 -265
- data/generated/google/apis/blogger_v3/classes.rb +145 -145
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +431 -431
- data/generated/google/apis/books_v1/service.rb +3 -12
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +180 -180
- data/generated/google/apis/civicinfo_v2/classes.rb +125 -125
- data/generated/google/apis/classroom_v1/classes.rb +42 -42
- data/generated/google/apis/cloudbilling_v1/classes.rb +11 -11
- data/generated/google/apis/{mapsengine_v1.rb → cloudbuild_v1.rb} +11 -14
- data/generated/google/apis/cloudbuild_v1/classes.rb +521 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +190 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +278 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +81 -81
- data/generated/google/apis/cloudlatencytest_v2.rb +34 -0
- data/generated/google/apis/cloudlatencytest_v2/classes.rb +195 -0
- data/generated/google/apis/cloudlatencytest_v2/representations.rb +113 -0
- data/generated/google/apis/cloudlatencytest_v2/service.rb +135 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +55 -55
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -26
- data/generated/google/apis/cloudtrace_v1/classes.rb +13 -13
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +85 -85
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1051 -998
- data/generated/google/apis/compute_beta/representations.rb +1 -0
- data/generated/google/apis/compute_beta/service.rb +426 -366
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1332 -946
- data/generated/google/apis/compute_v1/representations.rb +108 -0
- data/generated/google/apis/compute_v1/service.rb +686 -318
- data/generated/google/apis/container_v1/classes.rb +43 -43
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +767 -639
- data/generated/google/apis/content_v2/representations.rb +40 -0
- data/generated/google/apis/coordinate_v1/classes.rb +66 -66
- data/generated/google/apis/customsearch_v1/classes.rb +96 -96
- data/generated/google/apis/dataproc_v1.rb +43 -0
- data/generated/google/apis/dataproc_v1/classes.rb +175 -0
- data/generated/google/apis/dataproc_v1/representations.rb +84 -0
- data/generated/google/apis/dataproc_v1/service.rb +142 -0
- data/generated/google/apis/datastore_v1beta2/classes.rb +105 -105
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +183 -112
- data/generated/google/apis/deploymentmanager_v2/representations.rb +28 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +42 -37
- data/generated/google/apis/dfareporting_v2_3.rb +37 -0
- data/generated/google/apis/dfareporting_v2_3/classes.rb +10830 -0
- data/generated/google/apis/dfareporting_v2_3/representations.rb +3443 -0
- data/generated/google/apis/dfareporting_v2_3/service.rb +8581 -0
- data/generated/google/apis/discovery_v1/classes.rb +106 -106
- data/generated/google/apis/dns_v1/classes.rb +39 -39
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +155 -69
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +31 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +106 -104
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +308 -308
- data/generated/google/apis/drive_v2/service.rb +44 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +178 -178
- data/generated/google/apis/drive_v3/service.rb +2 -1
- data/generated/google/apis/fitness_v1/classes.rb +74 -74
- data/generated/google/apis/fusiontables_v2/classes.rb +108 -108
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +52 -52
- data/generated/google/apis/games_management_v1management.rb +2 -2
- data/generated/google/apis/games_management_v1management/classes.rb +55 -46
- data/generated/google/apis/games_management_v1management/representations.rb +1 -0
- data/generated/google/apis/games_v1.rb +2 -2
- data/generated/google/apis/games_v1/classes.rb +484 -475
- data/generated/google/apis/games_v1/representations.rb +1 -0
- data/generated/google/apis/gan_v1beta1/classes.rb +187 -187
- data/generated/google/apis/genomics_v1.rb +2 -2
- data/generated/google/apis/genomics_v1/classes.rb +441 -232
- data/generated/google/apis/genomics_v1/representations.rb +85 -0
- data/generated/google/apis/genomics_v1/service.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +73 -73
- data/generated/google/apis/groupsmigration_v1/classes.rb +2 -2
- data/generated/google/apis/groupssettings_v1/classes.rb +28 -28
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +232 -166
- data/generated/google/apis/identitytoolkit_v3/representations.rb +10 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +3 -3
- data/generated/google/apis/licensing_v1/classes.rb +11 -11
- data/generated/google/apis/logging_v2beta1.rb +47 -0
- data/generated/google/apis/logging_v2beta1/classes.rb +990 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +337 -0
- data/generated/google/apis/logging_v2beta1/service.rb +547 -0
- data/generated/google/apis/manager_v1beta2/classes.rb +125 -125
- data/generated/google/apis/mirror_v1/classes.rb +101 -101
- data/generated/google/apis/oauth2_v2.rb +2 -2
- data/generated/google/apis/oauth2_v2/classes.rb +27 -27
- data/generated/google/apis/pagespeedonline_v2/classes.rb +62 -62
- data/generated/google/apis/partners_v2/classes.rb +87 -87
- data/generated/google/apis/people_v1.rb +59 -0
- data/generated/google/apis/people_v1/classes.rb +1594 -0
- data/generated/google/apis/people_v1/representations.rb +593 -0
- data/generated/google/apis/people_v1/service.rb +193 -0
- data/generated/google/apis/plus_domains_v1.rb +2 -2
- data/generated/google/apis/plus_domains_v1/classes.rb +274 -274
- data/generated/google/apis/plus_v1.rb +2 -2
- data/generated/google/apis/plus_v1/classes.rb +215 -215
- data/generated/google/apis/prediction_v1_6/classes.rb +73 -73
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +45 -45
- data/generated/google/apis/pubsub_v1/classes.rb +36 -36
- data/generated/google/apis/qpx_express_v1/classes.rb +135 -135
- data/generated/google/apis/replicapool_v1beta2/classes.rb +63 -63
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +76 -76
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +55 -55
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +68 -68
- data/generated/google/apis/script_v1/classes.rb +18 -18
- data/generated/google/apis/site_verification_v1/classes.rb +12 -12
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +203 -203
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +130 -130
- data/generated/google/apis/storagetransfer_v1/classes.rb +84 -84
- data/generated/google/apis/tagmanager_v1/classes.rb +154 -154
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +24 -24
- data/generated/google/apis/tasks_v1/classes.rb +32 -32
- data/generated/google/apis/translate_v2/classes.rb +10 -10
- data/generated/google/apis/urlshortener_v1/classes.rb +24 -24
- data/generated/google/apis/webmasters_v3/classes.rb +49 -49
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +49 -49
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +882 -895
- data/generated/google/apis/youtube_v3/representations.rb +2 -13
- data/generated/google/apis/youtubereporting_v1/classes.rb +19 -19
- data/lib/google/apis/core/api_command.rb +1 -1
- data/lib/google/apis/core/upload.rb +1 -1
- data/lib/google/apis/generator/templates/_class.tmpl +1 -1
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/base_cli.rb +2 -1
- data/samples/cli/lib/samples/androidpublisher.rb +47 -0
- data/script/generate +17 -13
- metadata +35 -6
- data/generated/google/apis/mapsengine_v1/classes.rb +0 -2873
- data/generated/google/apis/mapsengine_v1/representations.rb +0 -1235
- data/generated/google/apis/mapsengine_v1/service.rb +0 -3388
@@ -0,0 +1,193 @@
|
|
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/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module PeopleV1
|
23
|
+
# Google People API
|
24
|
+
#
|
25
|
+
# The Google People API service gives access to information about profiles and
|
26
|
+
# contacts.
|
27
|
+
#
|
28
|
+
# @example
|
29
|
+
# require 'google/apis/people_v1'
|
30
|
+
#
|
31
|
+
# People = Google::Apis::PeopleV1 # Alias the module
|
32
|
+
# service = People::PeopleService.new
|
33
|
+
#
|
34
|
+
# @see https://developers.google.com/people/
|
35
|
+
class PeopleService < Google::Apis::Core::BaseService
|
36
|
+
# @return [String]
|
37
|
+
# API key. Your API key identifies your project and provides you with API access,
|
38
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
39
|
+
attr_accessor :key
|
40
|
+
|
41
|
+
# @return [String]
|
42
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
43
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
44
|
+
attr_accessor :quota_user
|
45
|
+
|
46
|
+
def initialize
|
47
|
+
super('https://people.googleapis.com/', '')
|
48
|
+
end
|
49
|
+
|
50
|
+
# Provides information about a list of specific people by specifying a list
|
51
|
+
# of requested resource names. Use `people/me` to indicate the authenticated
|
52
|
+
# user.
|
53
|
+
# @param [String] request_mask_include_field
|
54
|
+
# Comma-separated list of fields to be included in the response. Omitting
|
55
|
+
# this field will include all fields.
|
56
|
+
# Each path should start with `person.`: for example, `person.names` or
|
57
|
+
# `person.photos`.
|
58
|
+
# @param [Array<String>, String] resource_names
|
59
|
+
# The resource name, such as one returned by
|
60
|
+
# [`people.connections.list`](/people/api/rest/v1/people.connections/list),
|
61
|
+
# of one of the people to provide information about. You can include this
|
62
|
+
# parameter up to 50 times in one request.
|
63
|
+
# @param [String] quota_user
|
64
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
65
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
66
|
+
# @param [String] fields
|
67
|
+
# Selector specifying which fields to include in a partial response.
|
68
|
+
# @param [Google::Apis::RequestOptions] options
|
69
|
+
# Request-specific options
|
70
|
+
#
|
71
|
+
# @yield [result, err] Result & error if block supplied
|
72
|
+
# @yieldparam result [Google::Apis::PeopleV1::GetPeopleResponse] parsed result object
|
73
|
+
# @yieldparam err [StandardError] error object if request failed
|
74
|
+
#
|
75
|
+
# @return [Google::Apis::PeopleV1::GetPeopleResponse]
|
76
|
+
#
|
77
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
78
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
79
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
80
|
+
def get_people(request_mask_include_field: nil, resource_names: nil, quota_user: nil, fields: nil, options: nil, &block)
|
81
|
+
command = make_simple_command(:get, 'v1/people:batchGet', options)
|
82
|
+
command.response_representation = Google::Apis::PeopleV1::GetPeopleResponse::Representation
|
83
|
+
command.response_class = Google::Apis::PeopleV1::GetPeopleResponse
|
84
|
+
command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil?
|
85
|
+
command.query['resourceNames'] = resource_names unless resource_names.nil?
|
86
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
87
|
+
command.query['fields'] = fields unless fields.nil?
|
88
|
+
execute_or_queue_command(command, &block)
|
89
|
+
end
|
90
|
+
|
91
|
+
# Provides information about a person resource for a resource name. Use
|
92
|
+
# `people/me` to indicate the authenticated user.
|
93
|
+
# @param [String] resource_name
|
94
|
+
# The resource name of the person to provide information about.
|
95
|
+
# - To get information about the authenticated user, specify `people/me`.
|
96
|
+
# - To get information about any user, specify the resource name that
|
97
|
+
# identifies the user, such as the resource names returned by
|
98
|
+
# [`people.connections.list`](/people/api/rest/v1/people.connections/list).
|
99
|
+
# @param [String] request_mask_include_field
|
100
|
+
# Comma-separated list of fields to be included in the response. Omitting
|
101
|
+
# this field will include all fields.
|
102
|
+
# Each path should start with `person.`: for example, `person.names` or
|
103
|
+
# `person.photos`.
|
104
|
+
# @param [String] quota_user
|
105
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
106
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
107
|
+
# @param [String] fields
|
108
|
+
# Selector specifying which fields to include in a partial response.
|
109
|
+
# @param [Google::Apis::RequestOptions] options
|
110
|
+
# Request-specific options
|
111
|
+
#
|
112
|
+
# @yield [result, err] Result & error if block supplied
|
113
|
+
# @yieldparam result [Google::Apis::PeopleV1::Person] parsed result object
|
114
|
+
# @yieldparam err [StandardError] error object if request failed
|
115
|
+
#
|
116
|
+
# @return [Google::Apis::PeopleV1::Person]
|
117
|
+
#
|
118
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
119
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
120
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
121
|
+
def get_person(resource_name, request_mask_include_field: nil, quota_user: nil, fields: nil, options: nil, &block)
|
122
|
+
command = make_simple_command(:get, 'v1/{+resourceName}', options)
|
123
|
+
command.response_representation = Google::Apis::PeopleV1::Person::Representation
|
124
|
+
command.response_class = Google::Apis::PeopleV1::Person
|
125
|
+
command.params['resourceName'] = resource_name unless resource_name.nil?
|
126
|
+
command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil?
|
127
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
128
|
+
command.query['fields'] = fields unless fields.nil?
|
129
|
+
execute_or_queue_command(command, &block)
|
130
|
+
end
|
131
|
+
|
132
|
+
# Provides a list of the authenticated user's contacts merged with any
|
133
|
+
# linked profiles.
|
134
|
+
# @param [String] resource_name
|
135
|
+
# The resource name to return connections for. Only `people/me` is valid.
|
136
|
+
# @param [String] sort_order
|
137
|
+
# The order in which the connections should be sorted. Defaults to
|
138
|
+
# `LAST_MODIFIED_ASCENDING`.
|
139
|
+
# @param [String] sync_token
|
140
|
+
# A sync token, returned by a previous call to `people.connections.list`.
|
141
|
+
# Only resources changed since the sync token was created are returned.
|
142
|
+
# @param [Fixnum] page_size
|
143
|
+
# The number of connections to include in the response. Valid values are
|
144
|
+
# between 1 and 500, inclusive. Defaults to 100.
|
145
|
+
# @param [String] request_mask_include_field
|
146
|
+
# Comma-separated list of fields to be included in the response. Omitting
|
147
|
+
# this field will include all fields.
|
148
|
+
# Each path should start with `person.`: for example, `person.names` or
|
149
|
+
# `person.photos`.
|
150
|
+
# @param [String] page_token
|
151
|
+
# The token of the page to be returned.
|
152
|
+
# @param [String] quota_user
|
153
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
154
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
155
|
+
# @param [String] fields
|
156
|
+
# Selector specifying which fields to include in a partial response.
|
157
|
+
# @param [Google::Apis::RequestOptions] options
|
158
|
+
# Request-specific options
|
159
|
+
#
|
160
|
+
# @yield [result, err] Result & error if block supplied
|
161
|
+
# @yieldparam result [Google::Apis::PeopleV1::ListConnectionsResponse] parsed result object
|
162
|
+
# @yieldparam err [StandardError] error object if request failed
|
163
|
+
#
|
164
|
+
# @return [Google::Apis::PeopleV1::ListConnectionsResponse]
|
165
|
+
#
|
166
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
167
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
168
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
169
|
+
def list_person_connections(resource_name, sort_order: nil, sync_token: nil, page_size: nil, request_mask_include_field: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block)
|
170
|
+
command = make_simple_command(:get, 'v1/{+resourceName}/connections', options)
|
171
|
+
command.response_representation = Google::Apis::PeopleV1::ListConnectionsResponse::Representation
|
172
|
+
command.response_class = Google::Apis::PeopleV1::ListConnectionsResponse
|
173
|
+
command.params['resourceName'] = resource_name unless resource_name.nil?
|
174
|
+
command.query['sortOrder'] = sort_order unless sort_order.nil?
|
175
|
+
command.query['syncToken'] = sync_token unless sync_token.nil?
|
176
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
177
|
+
command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil?
|
178
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
179
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
180
|
+
command.query['fields'] = fields unless fields.nil?
|
181
|
+
execute_or_queue_command(command, &block)
|
182
|
+
end
|
183
|
+
|
184
|
+
protected
|
185
|
+
|
186
|
+
def apply_command_defaults(command)
|
187
|
+
command.query['key'] = key unless key.nil?
|
188
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
189
|
+
end
|
190
|
+
end
|
191
|
+
end
|
192
|
+
end
|
193
|
+
end
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/+/domains/
|
26
26
|
module PlusDomainsV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160208'
|
29
29
|
|
30
30
|
# View your circles and the people and pages in them
|
31
31
|
AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'
|
@@ -33,7 +33,7 @@ module Google
|
|
33
33
|
# Manage your circles and add people and pages. People and pages you add to your circles will be notified. Others may see this information publicly. People you add to circles can use Hangouts with you.
|
34
34
|
AUTH_PLUS_CIRCLES_WRITE = 'https://www.googleapis.com/auth/plus.circles.write'
|
35
35
|
|
36
|
-
# Know
|
36
|
+
# Know the list of people in your circles, your age range, and language
|
37
37
|
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
38
38
|
|
39
39
|
# Know who you are on Google
|
@@ -53,10 +53,10 @@ module Google
|
|
53
53
|
|
54
54
|
# Update properties of this object
|
55
55
|
def update!(**args)
|
56
|
-
@description = args[:description]
|
57
|
-
@domain_restricted = args[:domain_restricted]
|
58
|
-
@items = args[:items]
|
59
|
-
@kind = args[:kind]
|
56
|
+
@description = args[:description] if args.key?(:description)
|
57
|
+
@domain_restricted = args[:domain_restricted] if args.key?(:domain_restricted)
|
58
|
+
@items = args[:items] if args.key?(:items)
|
59
|
+
@kind = args[:kind] if args.key?(:kind)
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|
@@ -179,26 +179,26 @@ module Google
|
|
179
179
|
|
180
180
|
# Update properties of this object
|
181
181
|
def update!(**args)
|
182
|
-
@access = args[:access]
|
183
|
-
@actor = args[:actor]
|
184
|
-
@address = args[:address]
|
185
|
-
@annotation = args[:annotation]
|
186
|
-
@crosspost_source = args[:crosspost_source]
|
187
|
-
@etag = args[:etag]
|
188
|
-
@geocode = args[:geocode]
|
189
|
-
@id = args[:id]
|
190
|
-
@kind = args[:kind]
|
191
|
-
@location = args[:location]
|
192
|
-
@object = args[:object]
|
193
|
-
@place_id = args[:place_id]
|
194
|
-
@place_name = args[:place_name]
|
195
|
-
@provider = args[:provider]
|
196
|
-
@published = args[:published]
|
197
|
-
@radius = args[:radius]
|
198
|
-
@title = args[:title]
|
199
|
-
@updated = args[:updated]
|
200
|
-
@url = args[:url]
|
201
|
-
@verb = args[:verb]
|
182
|
+
@access = args[:access] if args.key?(:access)
|
183
|
+
@actor = args[:actor] if args.key?(:actor)
|
184
|
+
@address = args[:address] if args.key?(:address)
|
185
|
+
@annotation = args[:annotation] if args.key?(:annotation)
|
186
|
+
@crosspost_source = args[:crosspost_source] if args.key?(:crosspost_source)
|
187
|
+
@etag = args[:etag] if args.key?(:etag)
|
188
|
+
@geocode = args[:geocode] if args.key?(:geocode)
|
189
|
+
@id = args[:id] if args.key?(:id)
|
190
|
+
@kind = args[:kind] if args.key?(:kind)
|
191
|
+
@location = args[:location] if args.key?(:location)
|
192
|
+
@object = args[:object] if args.key?(:object)
|
193
|
+
@place_id = args[:place_id] if args.key?(:place_id)
|
194
|
+
@place_name = args[:place_name] if args.key?(:place_name)
|
195
|
+
@provider = args[:provider] if args.key?(:provider)
|
196
|
+
@published = args[:published] if args.key?(:published)
|
197
|
+
@radius = args[:radius] if args.key?(:radius)
|
198
|
+
@title = args[:title] if args.key?(:title)
|
199
|
+
@updated = args[:updated] if args.key?(:updated)
|
200
|
+
@url = args[:url] if args.key?(:url)
|
201
|
+
@verb = args[:verb] if args.key?(:verb)
|
202
202
|
end
|
203
203
|
|
204
204
|
# The person who performed this activity.
|
@@ -246,13 +246,13 @@ module Google
|
|
246
246
|
|
247
247
|
# Update properties of this object
|
248
248
|
def update!(**args)
|
249
|
-
@client_specific_actor_info = args[:client_specific_actor_info]
|
250
|
-
@display_name = args[:display_name]
|
251
|
-
@id = args[:id]
|
252
|
-
@image = args[:image]
|
253
|
-
@name = args[:name]
|
254
|
-
@url = args[:url]
|
255
|
-
@verification = args[:verification]
|
249
|
+
@client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info)
|
250
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
251
|
+
@id = args[:id] if args.key?(:id)
|
252
|
+
@image = args[:image] if args.key?(:image)
|
253
|
+
@name = args[:name] if args.key?(:name)
|
254
|
+
@url = args[:url] if args.key?(:url)
|
255
|
+
@verification = args[:verification] if args.key?(:verification)
|
256
256
|
end
|
257
257
|
|
258
258
|
# Actor info specific to particular clients.
|
@@ -270,7 +270,7 @@ module Google
|
|
270
270
|
|
271
271
|
# Update properties of this object
|
272
272
|
def update!(**args)
|
273
|
-
@youtube_actor_info = args[:youtube_actor_info]
|
273
|
+
@youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info)
|
274
274
|
end
|
275
275
|
|
276
276
|
# Actor info specific to YouTube clients.
|
@@ -288,7 +288,7 @@ module Google
|
|
288
288
|
|
289
289
|
# Update properties of this object
|
290
290
|
def update!(**args)
|
291
|
-
@channel_id = args[:channel_id]
|
291
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
292
292
|
end
|
293
293
|
end
|
294
294
|
end
|
@@ -310,7 +310,7 @@ module Google
|
|
310
310
|
|
311
311
|
# Update properties of this object
|
312
312
|
def update!(**args)
|
313
|
-
@url = args[:url]
|
313
|
+
@url = args[:url] if args.key?(:url)
|
314
314
|
end
|
315
315
|
end
|
316
316
|
|
@@ -334,8 +334,8 @@ module Google
|
|
334
334
|
|
335
335
|
# Update properties of this object
|
336
336
|
def update!(**args)
|
337
|
-
@family_name = args[:family_name]
|
338
|
-
@given_name = args[:given_name]
|
337
|
+
@family_name = args[:family_name] if args.key?(:family_name)
|
338
|
+
@given_name = args[:given_name] if args.key?(:given_name)
|
339
339
|
end
|
340
340
|
end
|
341
341
|
|
@@ -354,7 +354,7 @@ module Google
|
|
354
354
|
|
355
355
|
# Update properties of this object
|
356
356
|
def update!(**args)
|
357
|
-
@ad_hoc_verified = args[:ad_hoc_verified]
|
357
|
+
@ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified)
|
358
358
|
end
|
359
359
|
end
|
360
360
|
end
|
@@ -431,17 +431,17 @@ module Google
|
|
431
431
|
|
432
432
|
# Update properties of this object
|
433
433
|
def update!(**args)
|
434
|
-
@actor = args[:actor]
|
435
|
-
@attachments = args[:attachments]
|
436
|
-
@content = args[:content]
|
437
|
-
@id = args[:id]
|
438
|
-
@object_type = args[:object_type]
|
439
|
-
@original_content = args[:original_content]
|
440
|
-
@plusoners = args[:plusoners]
|
441
|
-
@replies = args[:replies]
|
442
|
-
@resharers = args[:resharers]
|
443
|
-
@status_for_viewer = args[:status_for_viewer]
|
444
|
-
@url = args[:url]
|
434
|
+
@actor = args[:actor] if args.key?(:actor)
|
435
|
+
@attachments = args[:attachments] if args.key?(:attachments)
|
436
|
+
@content = args[:content] if args.key?(:content)
|
437
|
+
@id = args[:id] if args.key?(:id)
|
438
|
+
@object_type = args[:object_type] if args.key?(:object_type)
|
439
|
+
@original_content = args[:original_content] if args.key?(:original_content)
|
440
|
+
@plusoners = args[:plusoners] if args.key?(:plusoners)
|
441
|
+
@replies = args[:replies] if args.key?(:replies)
|
442
|
+
@resharers = args[:resharers] if args.key?(:resharers)
|
443
|
+
@status_for_viewer = args[:status_for_viewer] if args.key?(:status_for_viewer)
|
444
|
+
@url = args[:url] if args.key?(:url)
|
445
445
|
end
|
446
446
|
|
447
447
|
# If this activity's object is itself another activity, such as when a person
|
@@ -485,12 +485,12 @@ module Google
|
|
485
485
|
|
486
486
|
# Update properties of this object
|
487
487
|
def update!(**args)
|
488
|
-
@client_specific_actor_info = args[:client_specific_actor_info]
|
489
|
-
@display_name = args[:display_name]
|
490
|
-
@id = args[:id]
|
491
|
-
@image = args[:image]
|
492
|
-
@url = args[:url]
|
493
|
-
@verification = args[:verification]
|
488
|
+
@client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info)
|
489
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
490
|
+
@id = args[:id] if args.key?(:id)
|
491
|
+
@image = args[:image] if args.key?(:image)
|
492
|
+
@url = args[:url] if args.key?(:url)
|
493
|
+
@verification = args[:verification] if args.key?(:verification)
|
494
494
|
end
|
495
495
|
|
496
496
|
# Actor info specific to particular clients.
|
@@ -508,7 +508,7 @@ module Google
|
|
508
508
|
|
509
509
|
# Update properties of this object
|
510
510
|
def update!(**args)
|
511
|
-
@youtube_actor_info = args[:youtube_actor_info]
|
511
|
+
@youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info)
|
512
512
|
end
|
513
513
|
|
514
514
|
# Actor info specific to YouTube clients.
|
@@ -526,7 +526,7 @@ module Google
|
|
526
526
|
|
527
527
|
# Update properties of this object
|
528
528
|
def update!(**args)
|
529
|
-
@channel_id = args[:channel_id]
|
529
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
530
530
|
end
|
531
531
|
end
|
532
532
|
end
|
@@ -546,7 +546,7 @@ module Google
|
|
546
546
|
|
547
547
|
# Update properties of this object
|
548
548
|
def update!(**args)
|
549
|
-
@url = args[:url]
|
549
|
+
@url = args[:url] if args.key?(:url)
|
550
550
|
end
|
551
551
|
end
|
552
552
|
|
@@ -565,7 +565,7 @@ module Google
|
|
565
565
|
|
566
566
|
# Update properties of this object
|
567
567
|
def update!(**args)
|
568
|
-
@ad_hoc_verified = args[:ad_hoc_verified]
|
568
|
+
@ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified)
|
569
569
|
end
|
570
570
|
end
|
571
571
|
end
|
@@ -639,16 +639,16 @@ module Google
|
|
639
639
|
|
640
640
|
# Update properties of this object
|
641
641
|
def update!(**args)
|
642
|
-
@content = args[:content]
|
643
|
-
@display_name = args[:display_name]
|
644
|
-
@embed = args[:embed]
|
645
|
-
@full_image = args[:full_image]
|
646
|
-
@id = args[:id]
|
647
|
-
@image = args[:image]
|
648
|
-
@object_type = args[:object_type]
|
649
|
-
@preview_thumbnails = args[:preview_thumbnails]
|
650
|
-
@thumbnails = args[:thumbnails]
|
651
|
-
@url = args[:url]
|
642
|
+
@content = args[:content] if args.key?(:content)
|
643
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
644
|
+
@embed = args[:embed] if args.key?(:embed)
|
645
|
+
@full_image = args[:full_image] if args.key?(:full_image)
|
646
|
+
@id = args[:id] if args.key?(:id)
|
647
|
+
@image = args[:image] if args.key?(:image)
|
648
|
+
@object_type = args[:object_type] if args.key?(:object_type)
|
649
|
+
@preview_thumbnails = args[:preview_thumbnails] if args.key?(:preview_thumbnails)
|
650
|
+
@thumbnails = args[:thumbnails] if args.key?(:thumbnails)
|
651
|
+
@url = args[:url] if args.key?(:url)
|
652
652
|
end
|
653
653
|
|
654
654
|
# If the attachment is a video, the embeddable link.
|
@@ -671,8 +671,8 @@ module Google
|
|
671
671
|
|
672
672
|
# Update properties of this object
|
673
673
|
def update!(**args)
|
674
|
-
@type = args[:type]
|
675
|
-
@url = args[:url]
|
674
|
+
@type = args[:type] if args.key?(:type)
|
675
|
+
@url = args[:url] if args.key?(:url)
|
676
676
|
end
|
677
677
|
end
|
678
678
|
|
@@ -706,10 +706,10 @@ module Google
|
|
706
706
|
|
707
707
|
# Update properties of this object
|
708
708
|
def update!(**args)
|
709
|
-
@height = args[:height]
|
710
|
-
@type = args[:type]
|
711
|
-
@url = args[:url]
|
712
|
-
@width = args[:width]
|
709
|
+
@height = args[:height] if args.key?(:height)
|
710
|
+
@type = args[:type] if args.key?(:type)
|
711
|
+
@url = args[:url] if args.key?(:url)
|
712
|
+
@width = args[:width] if args.key?(:width)
|
713
713
|
end
|
714
714
|
end
|
715
715
|
|
@@ -743,10 +743,10 @@ module Google
|
|
743
743
|
|
744
744
|
# Update properties of this object
|
745
745
|
def update!(**args)
|
746
|
-
@height = args[:height]
|
747
|
-
@type = args[:type]
|
748
|
-
@url = args[:url]
|
749
|
-
@width = args[:width]
|
746
|
+
@height = args[:height] if args.key?(:height)
|
747
|
+
@type = args[:type] if args.key?(:type)
|
748
|
+
@url = args[:url] if args.key?(:url)
|
749
|
+
@width = args[:width] if args.key?(:width)
|
750
750
|
end
|
751
751
|
end
|
752
752
|
|
@@ -765,7 +765,7 @@ module Google
|
|
765
765
|
|
766
766
|
# Update properties of this object
|
767
767
|
def update!(**args)
|
768
|
-
@url = args[:url]
|
768
|
+
@url = args[:url] if args.key?(:url)
|
769
769
|
end
|
770
770
|
end
|
771
771
|
|
@@ -794,9 +794,9 @@ module Google
|
|
794
794
|
|
795
795
|
# Update properties of this object
|
796
796
|
def update!(**args)
|
797
|
-
@description = args[:description]
|
798
|
-
@image = args[:image]
|
799
|
-
@url = args[:url]
|
797
|
+
@description = args[:description] if args.key?(:description)
|
798
|
+
@image = args[:image] if args.key?(:image)
|
799
|
+
@url = args[:url] if args.key?(:url)
|
800
800
|
end
|
801
801
|
|
802
802
|
# Image resource.
|
@@ -829,10 +829,10 @@ module Google
|
|
829
829
|
|
830
830
|
# Update properties of this object
|
831
831
|
def update!(**args)
|
832
|
-
@height = args[:height]
|
833
|
-
@type = args[:type]
|
834
|
-
@url = args[:url]
|
835
|
-
@width = args[:width]
|
832
|
+
@height = args[:height] if args.key?(:height)
|
833
|
+
@type = args[:type] if args.key?(:type)
|
834
|
+
@url = args[:url] if args.key?(:url)
|
835
|
+
@width = args[:width] if args.key?(:width)
|
836
836
|
end
|
837
837
|
end
|
838
838
|
end
|
@@ -858,8 +858,8 @@ module Google
|
|
858
858
|
|
859
859
|
# Update properties of this object
|
860
860
|
def update!(**args)
|
861
|
-
@self_link = args[:self_link]
|
862
|
-
@total_items = args[:total_items]
|
861
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
862
|
+
@total_items = args[:total_items] if args.key?(:total_items)
|
863
863
|
end
|
864
864
|
end
|
865
865
|
|
@@ -883,8 +883,8 @@ module Google
|
|
883
883
|
|
884
884
|
# Update properties of this object
|
885
885
|
def update!(**args)
|
886
|
-
@self_link = args[:self_link]
|
887
|
-
@total_items = args[:total_items]
|
886
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
887
|
+
@total_items = args[:total_items] if args.key?(:total_items)
|
888
888
|
end
|
889
889
|
end
|
890
890
|
|
@@ -908,8 +908,8 @@ module Google
|
|
908
908
|
|
909
909
|
# Update properties of this object
|
910
910
|
def update!(**args)
|
911
|
-
@self_link = args[:self_link]
|
912
|
-
@total_items = args[:total_items]
|
911
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
912
|
+
@total_items = args[:total_items] if args.key?(:total_items)
|
913
913
|
end
|
914
914
|
end
|
915
915
|
|
@@ -953,11 +953,11 @@ module Google
|
|
953
953
|
|
954
954
|
# Update properties of this object
|
955
955
|
def update!(**args)
|
956
|
-
@can_comment = args[:can_comment]
|
957
|
-
@can_plusone = args[:can_plusone]
|
958
|
-
@can_update = args[:can_update]
|
959
|
-
@is_plus_oned = args[:is_plus_oned]
|
960
|
-
@resharing_disabled = args[:resharing_disabled]
|
956
|
+
@can_comment = args[:can_comment] if args.key?(:can_comment)
|
957
|
+
@can_plusone = args[:can_plusone] if args.key?(:can_plusone)
|
958
|
+
@can_update = args[:can_update] if args.key?(:can_update)
|
959
|
+
@is_plus_oned = args[:is_plus_oned] if args.key?(:is_plus_oned)
|
960
|
+
@resharing_disabled = args[:resharing_disabled] if args.key?(:resharing_disabled)
|
961
961
|
end
|
962
962
|
end
|
963
963
|
end
|
@@ -977,7 +977,7 @@ module Google
|
|
977
977
|
|
978
978
|
# Update properties of this object
|
979
979
|
def update!(**args)
|
980
|
-
@title = args[:title]
|
980
|
+
@title = args[:title] if args.key?(:title)
|
981
981
|
end
|
982
982
|
end
|
983
983
|
end
|
@@ -1041,15 +1041,15 @@ module Google
|
|
1041
1041
|
|
1042
1042
|
# Update properties of this object
|
1043
1043
|
def update!(**args)
|
1044
|
-
@etag = args[:etag]
|
1045
|
-
@id = args[:id]
|
1046
|
-
@items = args[:items]
|
1047
|
-
@kind = args[:kind]
|
1048
|
-
@next_link = args[:next_link]
|
1049
|
-
@next_page_token = args[:next_page_token]
|
1050
|
-
@self_link = args[:self_link]
|
1051
|
-
@title = args[:title]
|
1052
|
-
@updated = args[:updated]
|
1044
|
+
@etag = args[:etag] if args.key?(:etag)
|
1045
|
+
@id = args[:id] if args.key?(:id)
|
1046
|
+
@items = args[:items] if args.key?(:items)
|
1047
|
+
@kind = args[:kind] if args.key?(:kind)
|
1048
|
+
@next_link = args[:next_link] if args.key?(:next_link)
|
1049
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1050
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
1051
|
+
@title = args[:title] if args.key?(:title)
|
1052
|
+
@updated = args[:updated] if args.key?(:updated)
|
1053
1053
|
end
|
1054
1054
|
end
|
1055
1055
|
|
@@ -1093,11 +1093,11 @@ module Google
|
|
1093
1093
|
|
1094
1094
|
# Update properties of this object
|
1095
1095
|
def update!(**args)
|
1096
|
-
@etag = args[:etag]
|
1097
|
-
@item = args[:item]
|
1098
|
-
@kind = args[:kind]
|
1099
|
-
@member_count = args[:member_count]
|
1100
|
-
@visibility = args[:visibility]
|
1096
|
+
@etag = args[:etag] if args.key?(:etag)
|
1097
|
+
@item = args[:item] if args.key?(:item)
|
1098
|
+
@kind = args[:kind] if args.key?(:kind)
|
1099
|
+
@member_count = args[:member_count] if args.key?(:member_count)
|
1100
|
+
@visibility = args[:visibility] if args.key?(:visibility)
|
1101
1101
|
end
|
1102
1102
|
end
|
1103
1103
|
|
@@ -1139,11 +1139,11 @@ module Google
|
|
1139
1139
|
|
1140
1140
|
# Update properties of this object
|
1141
1141
|
def update!(**args)
|
1142
|
-
@etag = args[:etag]
|
1143
|
-
@items = args[:items]
|
1144
|
-
@kind = args[:kind]
|
1145
|
-
@next_page_token = args[:next_page_token]
|
1146
|
-
@total_items = args[:total_items]
|
1142
|
+
@etag = args[:etag] if args.key?(:etag)
|
1143
|
+
@items = args[:items] if args.key?(:items)
|
1144
|
+
@kind = args[:kind] if args.key?(:kind)
|
1145
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1146
|
+
@total_items = args[:total_items] if args.key?(:total_items)
|
1147
1147
|
end
|
1148
1148
|
end
|
1149
1149
|
|
@@ -1192,13 +1192,13 @@ module Google
|
|
1192
1192
|
|
1193
1193
|
# Update properties of this object
|
1194
1194
|
def update!(**args)
|
1195
|
-
@description = args[:description]
|
1196
|
-
@display_name = args[:display_name]
|
1197
|
-
@etag = args[:etag]
|
1198
|
-
@id = args[:id]
|
1199
|
-
@kind = args[:kind]
|
1200
|
-
@people = args[:people]
|
1201
|
-
@self_link = args[:self_link]
|
1195
|
+
@description = args[:description] if args.key?(:description)
|
1196
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1197
|
+
@etag = args[:etag] if args.key?(:etag)
|
1198
|
+
@id = args[:id] if args.key?(:id)
|
1199
|
+
@kind = args[:kind] if args.key?(:kind)
|
1200
|
+
@people = args[:people] if args.key?(:people)
|
1201
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
1202
1202
|
end
|
1203
1203
|
|
1204
1204
|
# The people in this circle.
|
@@ -1216,7 +1216,7 @@ module Google
|
|
1216
1216
|
|
1217
1217
|
# Update properties of this object
|
1218
1218
|
def update!(**args)
|
1219
|
-
@total_items = args[:total_items]
|
1219
|
+
@total_items = args[:total_items] if args.key?(:total_items)
|
1220
1220
|
end
|
1221
1221
|
end
|
1222
1222
|
end
|
@@ -1273,14 +1273,14 @@ module Google
|
|
1273
1273
|
|
1274
1274
|
# Update properties of this object
|
1275
1275
|
def update!(**args)
|
1276
|
-
@etag = args[:etag]
|
1277
|
-
@items = args[:items]
|
1278
|
-
@kind = args[:kind]
|
1279
|
-
@next_link = args[:next_link]
|
1280
|
-
@next_page_token = args[:next_page_token]
|
1281
|
-
@self_link = args[:self_link]
|
1282
|
-
@title = args[:title]
|
1283
|
-
@total_items = args[:total_items]
|
1276
|
+
@etag = args[:etag] if args.key?(:etag)
|
1277
|
+
@items = args[:items] if args.key?(:items)
|
1278
|
+
@kind = args[:kind] if args.key?(:kind)
|
1279
|
+
@next_link = args[:next_link] if args.key?(:next_link)
|
1280
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1281
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
1282
|
+
@title = args[:title] if args.key?(:title)
|
1283
|
+
@total_items = args[:total_items] if args.key?(:total_items)
|
1284
1284
|
end
|
1285
1285
|
end
|
1286
1286
|
|
@@ -1353,17 +1353,17 @@ module Google
|
|
1353
1353
|
|
1354
1354
|
# Update properties of this object
|
1355
1355
|
def update!(**args)
|
1356
|
-
@actor = args[:actor]
|
1357
|
-
@etag = args[:etag]
|
1358
|
-
@id = args[:id]
|
1359
|
-
@in_reply_to = args[:in_reply_to]
|
1360
|
-
@kind = args[:kind]
|
1361
|
-
@object = args[:object]
|
1362
|
-
@plusoners = args[:plusoners]
|
1363
|
-
@published = args[:published]
|
1364
|
-
@self_link = args[:self_link]
|
1365
|
-
@updated = args[:updated]
|
1366
|
-
@verb = args[:verb]
|
1356
|
+
@actor = args[:actor] if args.key?(:actor)
|
1357
|
+
@etag = args[:etag] if args.key?(:etag)
|
1358
|
+
@id = args[:id] if args.key?(:id)
|
1359
|
+
@in_reply_to = args[:in_reply_to] if args.key?(:in_reply_to)
|
1360
|
+
@kind = args[:kind] if args.key?(:kind)
|
1361
|
+
@object = args[:object] if args.key?(:object)
|
1362
|
+
@plusoners = args[:plusoners] if args.key?(:plusoners)
|
1363
|
+
@published = args[:published] if args.key?(:published)
|
1364
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
1365
|
+
@updated = args[:updated] if args.key?(:updated)
|
1366
|
+
@verb = args[:verb] if args.key?(:verb)
|
1367
1367
|
end
|
1368
1368
|
|
1369
1369
|
# The person who posted this comment.
|
@@ -1406,12 +1406,12 @@ module Google
|
|
1406
1406
|
|
1407
1407
|
# Update properties of this object
|
1408
1408
|
def update!(**args)
|
1409
|
-
@client_specific_actor_info = args[:client_specific_actor_info]
|
1410
|
-
@display_name = args[:display_name]
|
1411
|
-
@id = args[:id]
|
1412
|
-
@image = args[:image]
|
1413
|
-
@url = args[:url]
|
1414
|
-
@verification = args[:verification]
|
1409
|
+
@client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info)
|
1410
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1411
|
+
@id = args[:id] if args.key?(:id)
|
1412
|
+
@image = args[:image] if args.key?(:image)
|
1413
|
+
@url = args[:url] if args.key?(:url)
|
1414
|
+
@verification = args[:verification] if args.key?(:verification)
|
1415
1415
|
end
|
1416
1416
|
|
1417
1417
|
# Actor info specific to particular clients.
|
@@ -1429,7 +1429,7 @@ module Google
|
|
1429
1429
|
|
1430
1430
|
# Update properties of this object
|
1431
1431
|
def update!(**args)
|
1432
|
-
@youtube_actor_info = args[:youtube_actor_info]
|
1432
|
+
@youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info)
|
1433
1433
|
end
|
1434
1434
|
|
1435
1435
|
# Actor info specific to YouTube clients.
|
@@ -1447,7 +1447,7 @@ module Google
|
|
1447
1447
|
|
1448
1448
|
# Update properties of this object
|
1449
1449
|
def update!(**args)
|
1450
|
-
@channel_id = args[:channel_id]
|
1450
|
+
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
1451
1451
|
end
|
1452
1452
|
end
|
1453
1453
|
end
|
@@ -1469,7 +1469,7 @@ module Google
|
|
1469
1469
|
|
1470
1470
|
# Update properties of this object
|
1471
1471
|
def update!(**args)
|
1472
|
-
@url = args[:url]
|
1472
|
+
@url = args[:url] if args.key?(:url)
|
1473
1473
|
end
|
1474
1474
|
end
|
1475
1475
|
|
@@ -1488,7 +1488,7 @@ module Google
|
|
1488
1488
|
|
1489
1489
|
# Update properties of this object
|
1490
1490
|
def update!(**args)
|
1491
|
-
@ad_hoc_verified = args[:ad_hoc_verified]
|
1491
|
+
@ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified)
|
1492
1492
|
end
|
1493
1493
|
end
|
1494
1494
|
end
|
@@ -1513,8 +1513,8 @@ module Google
|
|
1513
1513
|
|
1514
1514
|
# Update properties of this object
|
1515
1515
|
def update!(**args)
|
1516
|
-
@id = args[:id]
|
1517
|
-
@url = args[:url]
|
1516
|
+
@id = args[:id] if args.key?(:id)
|
1517
|
+
@url = args[:url] if args.key?(:url)
|
1518
1518
|
end
|
1519
1519
|
end
|
1520
1520
|
|
@@ -1546,9 +1546,9 @@ module Google
|
|
1546
1546
|
|
1547
1547
|
# Update properties of this object
|
1548
1548
|
def update!(**args)
|
1549
|
-
@content = args[:content]
|
1550
|
-
@object_type = args[:object_type]
|
1551
|
-
@original_content = args[:original_content]
|
1549
|
+
@content = args[:content] if args.key?(:content)
|
1550
|
+
@object_type = args[:object_type] if args.key?(:object_type)
|
1551
|
+
@original_content = args[:original_content] if args.key?(:original_content)
|
1552
1552
|
end
|
1553
1553
|
end
|
1554
1554
|
|
@@ -1567,7 +1567,7 @@ module Google
|
|
1567
1567
|
|
1568
1568
|
# Update properties of this object
|
1569
1569
|
def update!(**args)
|
1570
|
-
@total_items = args[:total_items]
|
1570
|
+
@total_items = args[:total_items] if args.key?(:total_items)
|
1571
1571
|
end
|
1572
1572
|
end
|
1573
1573
|
end
|
@@ -1625,14 +1625,14 @@ module Google
|
|
1625
1625
|
|
1626
1626
|
# Update properties of this object
|
1627
1627
|
def update!(**args)
|
1628
|
-
@etag = args[:etag]
|
1629
|
-
@id = args[:id]
|
1630
|
-
@items = args[:items]
|
1631
|
-
@kind = args[:kind]
|
1632
|
-
@next_link = args[:next_link]
|
1633
|
-
@next_page_token = args[:next_page_token]
|
1634
|
-
@title = args[:title]
|
1635
|
-
@updated = args[:updated]
|
1628
|
+
@etag = args[:etag] if args.key?(:etag)
|
1629
|
+
@id = args[:id] if args.key?(:id)
|
1630
|
+
@items = args[:items] if args.key?(:items)
|
1631
|
+
@kind = args[:kind] if args.key?(:kind)
|
1632
|
+
@next_link = args[:next_link] if args.key?(:next_link)
|
1633
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1634
|
+
@title = args[:title] if args.key?(:title)
|
1635
|
+
@updated = args[:updated] if args.key?(:updated)
|
1636
1636
|
end
|
1637
1637
|
end
|
1638
1638
|
|
@@ -1744,24 +1744,24 @@ module Google
|
|
1744
1744
|
|
1745
1745
|
# Update properties of this object
|
1746
1746
|
def update!(**args)
|
1747
|
-
@author = args[:author]
|
1748
|
-
@display_name = args[:display_name]
|
1749
|
-
@etag = args[:etag]
|
1750
|
-
@exif = args[:exif]
|
1751
|
-
@height = args[:height]
|
1752
|
-
@id = args[:id]
|
1753
|
-
@kind = args[:kind]
|
1754
|
-
@media_created_time = args[:media_created_time]
|
1755
|
-
@media_url = args[:media_url]
|
1756
|
-
@published = args[:published]
|
1757
|
-
@size_bytes = args[:size_bytes]
|
1758
|
-
@streams = args[:streams]
|
1759
|
-
@summary = args[:summary]
|
1760
|
-
@updated = args[:updated]
|
1761
|
-
@url = args[:url]
|
1762
|
-
@video_duration = args[:video_duration]
|
1763
|
-
@video_status = args[:video_status]
|
1764
|
-
@width = args[:width]
|
1747
|
+
@author = args[:author] if args.key?(:author)
|
1748
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1749
|
+
@etag = args[:etag] if args.key?(:etag)
|
1750
|
+
@exif = args[:exif] if args.key?(:exif)
|
1751
|
+
@height = args[:height] if args.key?(:height)
|
1752
|
+
@id = args[:id] if args.key?(:id)
|
1753
|
+
@kind = args[:kind] if args.key?(:kind)
|
1754
|
+
@media_created_time = args[:media_created_time] if args.key?(:media_created_time)
|
1755
|
+
@media_url = args[:media_url] if args.key?(:media_url)
|
1756
|
+
@published = args[:published] if args.key?(:published)
|
1757
|
+
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
|
1758
|
+
@streams = args[:streams] if args.key?(:streams)
|
1759
|
+
@summary = args[:summary] if args.key?(:summary)
|
1760
|
+
@updated = args[:updated] if args.key?(:updated)
|
1761
|
+
@url = args[:url] if args.key?(:url)
|
1762
|
+
@video_duration = args[:video_duration] if args.key?(:video_duration)
|
1763
|
+
@video_status = args[:video_status] if args.key?(:video_status)
|
1764
|
+
@width = args[:width] if args.key?(:width)
|
1765
1765
|
end
|
1766
1766
|
|
1767
1767
|
# The person who uploaded this media.
|
@@ -1794,10 +1794,10 @@ module Google
|
|
1794
1794
|
|
1795
1795
|
# Update properties of this object
|
1796
1796
|
def update!(**args)
|
1797
|
-
@display_name = args[:display_name]
|
1798
|
-
@id = args[:id]
|
1799
|
-
@image = args[:image]
|
1800
|
-
@url = args[:url]
|
1797
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1798
|
+
@id = args[:id] if args.key?(:id)
|
1799
|
+
@image = args[:image] if args.key?(:image)
|
1800
|
+
@url = args[:url] if args.key?(:url)
|
1801
1801
|
end
|
1802
1802
|
|
1803
1803
|
# The author's Google profile image.
|
@@ -1817,7 +1817,7 @@ module Google
|
|
1817
1817
|
|
1818
1818
|
# Update properties of this object
|
1819
1819
|
def update!(**args)
|
1820
|
-
@url = args[:url]
|
1820
|
+
@url = args[:url] if args.key?(:url)
|
1821
1821
|
end
|
1822
1822
|
end
|
1823
1823
|
end
|
@@ -1837,7 +1837,7 @@ module Google
|
|
1837
1837
|
|
1838
1838
|
# Update properties of this object
|
1839
1839
|
def update!(**args)
|
1840
|
-
@time = args[:time]
|
1840
|
+
@time = args[:time] if args.key?(:time)
|
1841
1841
|
end
|
1842
1842
|
end
|
1843
1843
|
end
|
@@ -1892,13 +1892,13 @@ module Google
|
|
1892
1892
|
|
1893
1893
|
# Update properties of this object
|
1894
1894
|
def update!(**args)
|
1895
|
-
@etag = args[:etag]
|
1896
|
-
@items = args[:items]
|
1897
|
-
@kind = args[:kind]
|
1898
|
-
@next_page_token = args[:next_page_token]
|
1899
|
-
@self_link = args[:self_link]
|
1900
|
-
@title = args[:title]
|
1901
|
-
@total_items = args[:total_items]
|
1895
|
+
@etag = args[:etag] if args.key?(:etag)
|
1896
|
+
@items = args[:items] if args.key?(:items)
|
1897
|
+
@kind = args[:kind] if args.key?(:kind)
|
1898
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1899
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
1900
|
+
@title = args[:title] if args.key?(:title)
|
1901
|
+
@total_items = args[:total_items] if args.key?(:total_items)
|
1902
1902
|
end
|
1903
1903
|
end
|
1904
1904
|
|
@@ -2078,34 +2078,34 @@ module Google
|
|
2078
2078
|
|
2079
2079
|
# Update properties of this object
|
2080
2080
|
def update!(**args)
|
2081
|
-
@about_me = args[:about_me]
|
2082
|
-
@birthday = args[:birthday]
|
2083
|
-
@bragging_rights = args[:bragging_rights]
|
2084
|
-
@circled_by_count = args[:circled_by_count]
|
2085
|
-
@cover = args[:cover]
|
2086
|
-
@current_location = args[:current_location]
|
2087
|
-
@display_name = args[:display_name]
|
2088
|
-
@domain = args[:domain]
|
2089
|
-
@emails = args[:emails]
|
2090
|
-
@etag = args[:etag]
|
2091
|
-
@gender = args[:gender]
|
2092
|
-
@id = args[:id]
|
2093
|
-
@image = args[:image]
|
2094
|
-
@is_plus_user = args[:is_plus_user]
|
2095
|
-
@kind = args[:kind]
|
2096
|
-
@name = args[:name]
|
2097
|
-
@nickname = args[:nickname]
|
2098
|
-
@object_type = args[:object_type]
|
2099
|
-
@occupation = args[:occupation]
|
2100
|
-
@organizations = args[:organizations]
|
2101
|
-
@places_lived = args[:places_lived]
|
2102
|
-
@plus_one_count = args[:plus_one_count]
|
2103
|
-
@relationship_status = args[:relationship_status]
|
2104
|
-
@skills = args[:skills]
|
2105
|
-
@tagline = args[:tagline]
|
2106
|
-
@url = args[:url]
|
2107
|
-
@urls = args[:urls]
|
2108
|
-
@verified = args[:verified]
|
2081
|
+
@about_me = args[:about_me] if args.key?(:about_me)
|
2082
|
+
@birthday = args[:birthday] if args.key?(:birthday)
|
2083
|
+
@bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights)
|
2084
|
+
@circled_by_count = args[:circled_by_count] if args.key?(:circled_by_count)
|
2085
|
+
@cover = args[:cover] if args.key?(:cover)
|
2086
|
+
@current_location = args[:current_location] if args.key?(:current_location)
|
2087
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2088
|
+
@domain = args[:domain] if args.key?(:domain)
|
2089
|
+
@emails = args[:emails] if args.key?(:emails)
|
2090
|
+
@etag = args[:etag] if args.key?(:etag)
|
2091
|
+
@gender = args[:gender] if args.key?(:gender)
|
2092
|
+
@id = args[:id] if args.key?(:id)
|
2093
|
+
@image = args[:image] if args.key?(:image)
|
2094
|
+
@is_plus_user = args[:is_plus_user] if args.key?(:is_plus_user)
|
2095
|
+
@kind = args[:kind] if args.key?(:kind)
|
2096
|
+
@name = args[:name] if args.key?(:name)
|
2097
|
+
@nickname = args[:nickname] if args.key?(:nickname)
|
2098
|
+
@object_type = args[:object_type] if args.key?(:object_type)
|
2099
|
+
@occupation = args[:occupation] if args.key?(:occupation)
|
2100
|
+
@organizations = args[:organizations] if args.key?(:organizations)
|
2101
|
+
@places_lived = args[:places_lived] if args.key?(:places_lived)
|
2102
|
+
@plus_one_count = args[:plus_one_count] if args.key?(:plus_one_count)
|
2103
|
+
@relationship_status = args[:relationship_status] if args.key?(:relationship_status)
|
2104
|
+
@skills = args[:skills] if args.key?(:skills)
|
2105
|
+
@tagline = args[:tagline] if args.key?(:tagline)
|
2106
|
+
@url = args[:url] if args.key?(:url)
|
2107
|
+
@urls = args[:urls] if args.key?(:urls)
|
2108
|
+
@verified = args[:verified] if args.key?(:verified)
|
2109
2109
|
end
|
2110
2110
|
|
2111
2111
|
# The cover photo content.
|
@@ -2135,9 +2135,9 @@ module Google
|
|
2135
2135
|
|
2136
2136
|
# Update properties of this object
|
2137
2137
|
def update!(**args)
|
2138
|
-
@cover_info = args[:cover_info]
|
2139
|
-
@cover_photo = args[:cover_photo]
|
2140
|
-
@layout = args[:layout]
|
2138
|
+
@cover_info = args[:cover_info] if args.key?(:cover_info)
|
2139
|
+
@cover_photo = args[:cover_photo] if args.key?(:cover_photo)
|
2140
|
+
@layout = args[:layout] if args.key?(:layout)
|
2141
2141
|
end
|
2142
2142
|
|
2143
2143
|
# Extra information about the cover photo.
|
@@ -2162,8 +2162,8 @@ module Google
|
|
2162
2162
|
|
2163
2163
|
# Update properties of this object
|
2164
2164
|
def update!(**args)
|
2165
|
-
@left_image_offset = args[:left_image_offset]
|
2166
|
-
@top_image_offset = args[:top_image_offset]
|
2165
|
+
@left_image_offset = args[:left_image_offset] if args.key?(:left_image_offset)
|
2166
|
+
@top_image_offset = args[:top_image_offset] if args.key?(:top_image_offset)
|
2167
2167
|
end
|
2168
2168
|
end
|
2169
2169
|
|
@@ -2192,9 +2192,9 @@ module Google
|
|
2192
2192
|
|
2193
2193
|
# Update properties of this object
|
2194
2194
|
def update!(**args)
|
2195
|
-
@height = args[:height]
|
2196
|
-
@url = args[:url]
|
2197
|
-
@width = args[:width]
|
2195
|
+
@height = args[:height] if args.key?(:height)
|
2196
|
+
@url = args[:url] if args.key?(:url)
|
2197
|
+
@width = args[:width] if args.key?(:width)
|
2198
2198
|
end
|
2199
2199
|
end
|
2200
2200
|
end
|
@@ -2224,8 +2224,8 @@ module Google
|
|
2224
2224
|
|
2225
2225
|
# Update properties of this object
|
2226
2226
|
def update!(**args)
|
2227
|
-
@type = args[:type]
|
2228
|
-
@value = args[:value]
|
2227
|
+
@type = args[:type] if args.key?(:type)
|
2228
|
+
@value = args[:value] if args.key?(:value)
|
2229
2229
|
end
|
2230
2230
|
end
|
2231
2231
|
|
@@ -2252,8 +2252,8 @@ module Google
|
|
2252
2252
|
|
2253
2253
|
# Update properties of this object
|
2254
2254
|
def update!(**args)
|
2255
|
-
@is_default = args[:is_default]
|
2256
|
-
@url = args[:url]
|
2255
|
+
@is_default = args[:is_default] if args.key?(:is_default)
|
2256
|
+
@url = args[:url] if args.key?(:url)
|
2257
2257
|
end
|
2258
2258
|
end
|
2259
2259
|
|
@@ -2297,12 +2297,12 @@ module Google
|
|
2297
2297
|
|
2298
2298
|
# Update properties of this object
|
2299
2299
|
def update!(**args)
|
2300
|
-
@family_name = args[:family_name]
|
2301
|
-
@formatted = args[:formatted]
|
2302
|
-
@given_name = args[:given_name]
|
2303
|
-
@honorific_prefix = args[:honorific_prefix]
|
2304
|
-
@honorific_suffix = args[:honorific_suffix]
|
2305
|
-
@middle_name = args[:middle_name]
|
2300
|
+
@family_name = args[:family_name] if args.key?(:family_name)
|
2301
|
+
@formatted = args[:formatted] if args.key?(:formatted)
|
2302
|
+
@given_name = args[:given_name] if args.key?(:given_name)
|
2303
|
+
@honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix)
|
2304
|
+
@honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix)
|
2305
|
+
@middle_name = args[:middle_name] if args.key?(:middle_name)
|
2306
2306
|
end
|
2307
2307
|
end
|
2308
2308
|
|
@@ -2366,15 +2366,15 @@ module Google
|
|
2366
2366
|
|
2367
2367
|
# Update properties of this object
|
2368
2368
|
def update!(**args)
|
2369
|
-
@department = args[:department]
|
2370
|
-
@description = args[:description]
|
2371
|
-
@end_date = args[:end_date]
|
2372
|
-
@location = args[:location]
|
2373
|
-
@name = args[:name]
|
2374
|
-
@primary = args[:primary]
|
2375
|
-
@start_date = args[:start_date]
|
2376
|
-
@title = args[:title]
|
2377
|
-
@type = args[:type]
|
2369
|
+
@department = args[:department] if args.key?(:department)
|
2370
|
+
@description = args[:description] if args.key?(:description)
|
2371
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
2372
|
+
@location = args[:location] if args.key?(:location)
|
2373
|
+
@name = args[:name] if args.key?(:name)
|
2374
|
+
@primary = args[:primary] if args.key?(:primary)
|
2375
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
2376
|
+
@title = args[:title] if args.key?(:title)
|
2377
|
+
@type = args[:type] if args.key?(:type)
|
2378
2378
|
end
|
2379
2379
|
end
|
2380
2380
|
|
@@ -2400,8 +2400,8 @@ module Google
|
|
2400
2400
|
|
2401
2401
|
# Update properties of this object
|
2402
2402
|
def update!(**args)
|
2403
|
-
@primary = args[:primary]
|
2404
|
-
@value = args[:value]
|
2403
|
+
@primary = args[:primary] if args.key?(:primary)
|
2404
|
+
@value = args[:value] if args.key?(:value)
|
2405
2405
|
end
|
2406
2406
|
end
|
2407
2407
|
|
@@ -2435,9 +2435,9 @@ module Google
|
|
2435
2435
|
|
2436
2436
|
# Update properties of this object
|
2437
2437
|
def update!(**args)
|
2438
|
-
@label = args[:label]
|
2439
|
-
@type = args[:type]
|
2440
|
-
@value = args[:value]
|
2438
|
+
@label = args[:label] if args.key?(:label)
|
2439
|
+
@type = args[:type] if args.key?(:type)
|
2440
|
+
@value = args[:value] if args.key?(:value)
|
2441
2441
|
end
|
2442
2442
|
end
|
2443
2443
|
end
|
@@ -2477,11 +2477,11 @@ module Google
|
|
2477
2477
|
|
2478
2478
|
# Update properties of this object
|
2479
2479
|
def update!(**args)
|
2480
|
-
@address = args[:address]
|
2481
|
-
@display_name = args[:display_name]
|
2482
|
-
@id = args[:id]
|
2483
|
-
@kind = args[:kind]
|
2484
|
-
@position = args[:position]
|
2480
|
+
@address = args[:address] if args.key?(:address)
|
2481
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2482
|
+
@id = args[:id] if args.key?(:id)
|
2483
|
+
@kind = args[:kind] if args.key?(:kind)
|
2484
|
+
@position = args[:position] if args.key?(:position)
|
2485
2485
|
end
|
2486
2486
|
|
2487
2487
|
# The physical address of the place.
|
@@ -2499,7 +2499,7 @@ module Google
|
|
2499
2499
|
|
2500
2500
|
# Update properties of this object
|
2501
2501
|
def update!(**args)
|
2502
|
-
@formatted = args[:formatted]
|
2502
|
+
@formatted = args[:formatted] if args.key?(:formatted)
|
2503
2503
|
end
|
2504
2504
|
end
|
2505
2505
|
|
@@ -2523,8 +2523,8 @@ module Google
|
|
2523
2523
|
|
2524
2524
|
# Update properties of this object
|
2525
2525
|
def update!(**args)
|
2526
|
-
@latitude = args[:latitude]
|
2527
|
-
@longitude = args[:longitude]
|
2526
|
+
@latitude = args[:latitude] if args.key?(:latitude)
|
2527
|
+
@longitude = args[:longitude] if args.key?(:longitude)
|
2528
2528
|
end
|
2529
2529
|
end
|
2530
2530
|
end
|
@@ -2562,9 +2562,9 @@ module Google
|
|
2562
2562
|
|
2563
2563
|
# Update properties of this object
|
2564
2564
|
def update!(**args)
|
2565
|
-
@display_name = args[:display_name]
|
2566
|
-
@id = args[:id]
|
2567
|
-
@type = args[:type]
|
2565
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2566
|
+
@id = args[:id] if args.key?(:id)
|
2567
|
+
@type = args[:type] if args.key?(:type)
|
2568
2568
|
end
|
2569
2569
|
end
|
2570
2570
|
|
@@ -2598,10 +2598,10 @@ module Google
|
|
2598
2598
|
|
2599
2599
|
# Update properties of this object
|
2600
2600
|
def update!(**args)
|
2601
|
-
@height = args[:height]
|
2602
|
-
@type = args[:type]
|
2603
|
-
@url = args[:url]
|
2604
|
-
@width = args[:width]
|
2601
|
+
@height = args[:height] if args.key?(:height)
|
2602
|
+
@type = args[:type] if args.key?(:type)
|
2603
|
+
@url = args[:url] if args.key?(:url)
|
2604
|
+
@width = args[:width] if args.key?(:width)
|
2605
2605
|
end
|
2606
2606
|
end
|
2607
2607
|
end
|