google-api-client 0.9.2 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -0
  3. data/CHANGELOG.md +9 -0
  4. data/Gemfile +1 -0
  5. data/README.md +2 -2
  6. data/api_names.yaml +19 -0
  7. data/api_names_out.yaml +843 -269
  8. data/bin/generate-api +18 -4
  9. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +249 -9
  11. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +208 -1
  12. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +68 -0
  13. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +38 -0
  14. data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
  15. data/generated/google/apis/admin_datatransfer_v1/representations.rb +12 -0
  16. data/generated/google/apis/admin_datatransfer_v1/service.rb +1 -1
  17. data/generated/google/apis/admin_directory_v1/representations.rb +118 -0
  18. data/generated/google/apis/admin_reports_v1/representations.rb +26 -0
  19. data/generated/google/apis/adsense_v1_4.rb +1 -1
  20. data/generated/google/apis/adsense_v1_4/classes.rb +0 -7
  21. data/generated/google/apis/adsense_v1_4/representations.rb +62 -1
  22. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  23. data/generated/google/apis/adsensehost_v4_1/representations.rb +40 -0
  24. data/generated/google/apis/analytics_v3.rb +1 -1
  25. data/generated/google/apis/analytics_v3/representations.rb +188 -0
  26. data/generated/google/apis/analytics_v3/service.rb +3 -3
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/representations.rb +76 -0
  29. data/generated/google/apis/androidenterprise_v1/service.rb +6 -2
  30. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v2/representations.rb +92 -0
  32. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  33. data/generated/google/apis/appengine_v1beta5/classes.rb +22 -1
  34. data/generated/google/apis/appengine_v1beta5/representations.rb +69 -0
  35. data/generated/google/apis/appengine_v1beta5/service.rb +43 -0
  36. data/generated/google/apis/appsactivity_v1/representations.rb +22 -0
  37. data/generated/google/apis/appstate_v1.rb +1 -1
  38. data/generated/google/apis/appstate_v1/representations.rb +8 -0
  39. data/generated/google/apis/autoscaler_v1beta2/representations.rb +32 -0
  40. data/generated/google/apis/bigquery_v2.rb +1 -1
  41. data/generated/google/apis/bigquery_v2/classes.rb +31 -0
  42. data/generated/google/apis/bigquery_v2/representations.rb +98 -0
  43. data/generated/google/apis/blogger_v3/representations.rb +70 -0
  44. data/generated/google/apis/books_v1/representations.rb +196 -0
  45. data/generated/google/apis/calendar_v3.rb +1 -1
  46. data/generated/google/apis/calendar_v3/representations.rb +64 -0
  47. data/generated/google/apis/civicinfo_v2/representations.rb +40 -0
  48. data/generated/google/apis/classroom_v1/representations.rb +28 -0
  49. data/generated/google/apis/cloudbilling_v1/representations.rb +8 -0
  50. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  51. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  52. data/generated/google/apis/cloudbuild_v1/representations.rb +24 -0
  53. data/generated/google/apis/cloudbuild_v1/service.rb +2 -2
  54. data/generated/google/apis/clouddebugger_v2/representations.rb +54 -0
  55. data/generated/google/apis/cloudlatencytest_v2/representations.rb +14 -0
  56. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  57. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +42 -0
  58. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  59. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +15 -2
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +38 -0
  61. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -1
  62. data/generated/google/apis/cloudtrace_v1/representations.rb +10 -0
  63. data/generated/google/apis/clouduseraccounts_beta/representations.rb +38 -0
  64. data/generated/google/apis/compute_beta.rb +1 -1
  65. data/generated/google/apis/compute_beta/classes.rb +512 -0
  66. data/generated/google/apis/compute_beta/representations.rb +599 -0
  67. data/generated/google/apis/compute_beta/service.rb +415 -0
  68. data/generated/google/apis/compute_v1.rb +1 -1
  69. data/generated/google/apis/compute_v1/representations.rb +386 -0
  70. data/generated/google/apis/container_v1/representations.rb +20 -0
  71. data/generated/google/apis/content_v2/representations.rb +296 -0
  72. data/generated/google/apis/coordinate_v1/representations.rb +36 -0
  73. data/generated/google/apis/customsearch_v1/representations.rb +26 -0
  74. data/generated/google/apis/dataproc_v1.rb +1 -1
  75. data/generated/google/apis/dataproc_v1/classes.rb +1415 -0
  76. data/generated/google/apis/dataproc_v1/representations.rb +569 -0
  77. data/generated/google/apis/dataproc_v1/service.rb +581 -4
  78. data/generated/google/apis/datastore_v1beta2/representations.rb +68 -0
  79. data/generated/google/apis/deploymentmanager_v2/representations.rb +58 -0
  80. data/generated/google/apis/dfareporting_v2_3/representations.rb +386 -0
  81. data/generated/google/apis/discovery_v1/representations.rb +40 -0
  82. data/generated/google/apis/dns_v1.rb +1 -1
  83. data/generated/google/apis/dns_v1/classes.rb +2 -2
  84. data/generated/google/apis/dns_v1/representations.rb +16 -0
  85. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +42 -0
  86. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  87. data/generated/google/apis/doubleclicksearch_v2/representations.rb +34 -0
  88. data/generated/google/apis/drive_v2.rb +1 -1
  89. data/generated/google/apis/drive_v2/classes.rb +7 -0
  90. data/generated/google/apis/drive_v2/representations.rb +83 -0
  91. data/generated/google/apis/drive_v3.rb +1 -1
  92. data/generated/google/apis/drive_v3/classes.rb +7 -0
  93. data/generated/google/apis/drive_v3/representations.rb +51 -0
  94. data/generated/google/apis/fitness_v1/representations.rb +40 -0
  95. data/generated/google/apis/fusiontables_v2.rb +1 -1
  96. data/generated/google/apis/fusiontables_v2/representations.rb +48 -0
  97. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  98. data/generated/google/apis/games_configuration_v1configuration/representations.rb +22 -0
  99. data/generated/google/apis/games_management_v1management.rb +1 -1
  100. data/generated/google/apis/games_management_v1management/representations.rb +30 -0
  101. data/generated/google/apis/games_v1.rb +1 -1
  102. data/generated/google/apis/games_v1/representations.rb +198 -0
  103. data/generated/google/apis/gan_v1beta1/representations.rb +34 -0
  104. data/generated/google/apis/genomics_v1.rb +1 -1
  105. data/generated/google/apis/genomics_v1/classes.rb +2 -211
  106. data/generated/google/apis/genomics_v1/representations.rb +119 -84
  107. data/generated/google/apis/gmail_v1/representations.rb +44 -0
  108. data/generated/google/apis/groupsmigration_v1/representations.rb +2 -0
  109. data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
  110. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  111. data/generated/google/apis/identitytoolkit_v3/classes.rb +105 -0
  112. data/generated/google/apis/identitytoolkit_v3/representations.rb +99 -0
  113. data/generated/google/apis/identitytoolkit_v3/service.rb +36 -1
  114. data/generated/google/apis/kgsearch_v1/representations.rb +2 -0
  115. data/generated/google/apis/licensing_v1/representations.rb +6 -0
  116. data/generated/google/apis/logging_v2beta1/representations.rb +40 -0
  117. data/generated/google/apis/manager_v1beta2/representations.rb +70 -0
  118. data/generated/google/apis/mirror_v1/representations.rb +40 -0
  119. data/generated/google/apis/oauth2_v2.rb +1 -1
  120. data/generated/google/apis/oauth2_v2/representations.rb +8 -0
  121. data/generated/google/apis/pagespeedonline_v2/representations.rb +28 -0
  122. data/generated/google/apis/partners_v2/representations.rb +52 -0
  123. data/generated/google/apis/people_v1.rb +11 -11
  124. data/generated/google/apis/people_v1/classes.rb +888 -961
  125. data/generated/google/apis/people_v1/representations.rb +295 -225
  126. data/generated/google/apis/people_v1/service.rb +61 -65
  127. data/generated/google/apis/plus_domains_v1.rb +1 -1
  128. data/generated/google/apis/plus_domains_v1/representations.rb +124 -0
  129. data/generated/google/apis/plus_v1.rb +1 -1
  130. data/generated/google/apis/plus_v1/representations.rb +102 -0
  131. data/generated/google/apis/prediction_v1_6/classes.rb +1 -1
  132. data/generated/google/apis/prediction_v1_6/representations.rb +42 -0
  133. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +38 -0
  134. data/generated/google/apis/pubsub_v1/representations.rb +42 -0
  135. data/generated/google/apis/qpx_express_v1/representations.rb +48 -0
  136. data/generated/google/apis/replicapool_v1beta2/representations.rb +28 -0
  137. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +30 -0
  138. data/generated/google/apis/reseller_v1.rb +1 -1
  139. data/generated/google/apis/reseller_v1/classes.rb +6 -0
  140. data/generated/google/apis/reseller_v1/representations.rb +23 -0
  141. data/generated/google/apis/resourceviews_v1beta2/representations.rb +32 -0
  142. data/generated/google/apis/script_v1/representations.rb +12 -0
  143. data/generated/google/apis/site_verification_v1/representations.rb +12 -0
  144. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  145. data/generated/google/apis/sqladmin_v1beta4/classes.rb +50 -21
  146. data/generated/google/apis/sqladmin_v1beta4/representations.rb +98 -0
  147. data/generated/google/apis/sqladmin_v1beta4/service.rb +3 -3
  148. data/generated/google/apis/storage_v1.rb +1 -1
  149. data/generated/google/apis/storage_v1/representations.rb +52 -0
  150. data/generated/google/apis/storagetransfer_v1/representations.rb +48 -0
  151. data/generated/google/apis/tagmanager_v1.rb +1 -1
  152. data/generated/google/apis/tagmanager_v1/classes.rb +110 -0
  153. data/generated/google/apis/tagmanager_v1/representations.rb +96 -0
  154. data/generated/google/apis/tagmanager_v1/service.rb +303 -1
  155. data/generated/google/apis/taskqueue_v1beta2/representations.rb +12 -0
  156. data/generated/google/apis/tasks_v1/representations.rb +10 -0
  157. data/generated/google/apis/translate_v2.rb +1 -1
  158. data/generated/google/apis/translate_v2/representations.rb +12 -0
  159. data/generated/google/apis/urlshortener_v1/representations.rb +10 -0
  160. data/generated/google/apis/vision_v1.rb +37 -0
  161. data/generated/google/apis/vision_v1/classes.rb +1259 -0
  162. data/generated/google/apis/vision_v1/representations.rb +418 -0
  163. data/generated/google/apis/vision_v1/service.rb +91 -0
  164. data/generated/google/apis/webmasters_v3/representations.rb +32 -0
  165. data/generated/google/apis/youtube_analytics_v1/representations.rb +30 -0
  166. data/generated/google/apis/youtube_v3/representations.rb +332 -0
  167. data/generated/google/apis/youtubereporting_v1/representations.rb +16 -0
  168. data/google-api-client.gemspec +0 -2
  169. data/lib/google/api_client/client_secrets.rb +3 -4
  170. data/lib/google/apis/core/api_command.rb +5 -4
  171. data/lib/google/apis/core/http_command.rb +20 -4
  172. data/lib/google/apis/core/json_representation.rb +20 -2
  173. data/lib/google/apis/generator/annotator.rb +1 -1
  174. data/lib/google/apis/generator/templates/_representation_stub.tmpl +2 -0
  175. data/lib/google/apis/version.rb +1 -1
  176. data/script/generate +2 -1
  177. data/spec/google/api_client/client_secrets_spec.rb +2 -2
  178. data/spec/google/apis/core/api_command_spec.rb +2 -2
  179. data/spec/google/apis/core/http_command_spec.rb +19 -0
  180. data/spec/google/apis/core/json_representation_spec.rb +14 -7
  181. data/spec/google/apis/generator/generator_spec.rb +52 -0
  182. metadata +6 -30
@@ -47,113 +47,109 @@ module Google
47
47
  super('https://people.googleapis.com/', '')
48
48
  end
49
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.
50
+ # Provides information about a person resource for a resource name. Use `people/
51
+ # me` to indicate the authenticated user.
52
+ # @param [String] resource_name
53
+ # The resource name of the person to provide information about. - To get
54
+ # information about the authenticated user, specify `people/me`. - To get
55
+ # information about any user, specify the resource name that identifies the user,
56
+ # such as the resource names returned by [`people.connections.list`](/people/
57
+ # api/rest/v1/people.connections/list).
53
58
  # @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.
59
+ # Comma-separated list of fields to be included in the response. Omitting this
60
+ # field will include all fields. Each path should start with `person.`: for
61
+ # example, `person.names` or `person.photos`.
62
+ # @param [String] fields
63
+ # Selector specifying which fields to include in a partial response.
63
64
  # @param [String] quota_user
64
65
  # Available to use for quota purposes for server-side applications. Can be any
65
66
  # 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
67
  # @param [Google::Apis::RequestOptions] options
69
68
  # Request-specific options
70
69
  #
71
70
  # @yield [result, err] Result & error if block supplied
72
- # @yieldparam result [Google::Apis::PeopleV1::GetPeopleResponse] parsed result object
71
+ # @yieldparam result [Google::Apis::PeopleV1::Person] parsed result object
73
72
  # @yieldparam err [StandardError] error object if request failed
74
73
  #
75
- # @return [Google::Apis::PeopleV1::GetPeopleResponse]
74
+ # @return [Google::Apis::PeopleV1::Person]
76
75
  #
77
76
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
78
77
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
79
78
  # @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
79
+ def get_person(resource_name, request_mask_include_field: nil, fields: nil, quota_user: nil, options: nil, &block)
80
+ command = make_simple_command(:get, 'v1/{+resourceName}', options)
81
+ command.response_representation = Google::Apis::PeopleV1::Person::Representation
82
+ command.response_class = Google::Apis::PeopleV1::Person
83
+ command.params['resourceName'] = resource_name unless resource_name.nil?
84
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
85
  command.query['fields'] = fields unless fields.nil?
86
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
88
87
  execute_or_queue_command(command, &block)
89
88
  end
90
89
 
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).
90
+ # Provides information about a list of specific people by specifying a list of
91
+ # requested resource names. Use `people/me` to indicate the authenticated user.
92
+ # @param [Array<String>, String] resource_names
93
+ # The resource name, such as one returned by [`people.connections.list`](/people/
94
+ # api/rest/v1/people.connections/list), of one of the people to provide
95
+ # information about. You can include this parameter up to 50 times in one
96
+ # request.
99
97
  # @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`.
98
+ # Comma-separated list of fields to be included in the response. Omitting this
99
+ # field will include all fields. Each path should start with `person.`: for
100
+ # example, `person.names` or `person.photos`.
101
+ # @param [String] fields
102
+ # Selector specifying which fields to include in a partial response.
104
103
  # @param [String] quota_user
105
104
  # Available to use for quota purposes for server-side applications. Can be any
106
105
  # 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
106
  # @param [Google::Apis::RequestOptions] options
110
107
  # Request-specific options
111
108
  #
112
109
  # @yield [result, err] Result & error if block supplied
113
- # @yieldparam result [Google::Apis::PeopleV1::Person] parsed result object
110
+ # @yieldparam result [Google::Apis::PeopleV1::GetPeopleResponse] parsed result object
114
111
  # @yieldparam err [StandardError] error object if request failed
115
112
  #
116
- # @return [Google::Apis::PeopleV1::Person]
113
+ # @return [Google::Apis::PeopleV1::GetPeopleResponse]
117
114
  #
118
115
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
119
116
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
120
117
  # @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?
118
+ def get_people(resource_names: nil, request_mask_include_field: nil, fields: nil, quota_user: nil, options: nil, &block)
119
+ command = make_simple_command(:get, 'v1/people:batchGet', options)
120
+ command.response_representation = Google::Apis::PeopleV1::GetPeopleResponse::Representation
121
+ command.response_class = Google::Apis::PeopleV1::GetPeopleResponse
122
+ command.query['resourceNames'] = resource_names unless resource_names.nil?
126
123
  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
124
  command.query['fields'] = fields unless fields.nil?
125
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
129
126
  execute_or_queue_command(command, &block)
130
127
  end
131
128
 
132
- # Provides a list of the authenticated user's contacts merged with any
133
- # linked profiles.
129
+ # Provides a list of the authenticated user's contacts merged with any linked
130
+ # profiles.
134
131
  # @param [String] resource_name
135
132
  # The resource name to return connections for. Only `people/me` is valid.
133
+ # @param [String] page_token
134
+ # The token of the page to be returned.
135
+ # @param [Fixnum] page_size
136
+ # The number of connections to include in the response. Valid values are between
137
+ # 1 and 500, inclusive. Defaults to 100.
136
138
  # @param [String] sort_order
137
- # The order in which the connections should be sorted. Defaults to
138
- # `LAST_MODIFIED_ASCENDING`.
139
+ # The order in which the connections should be sorted. Defaults to `
140
+ # LAST_MODIFIED_ASCENDING`.
139
141
  # @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.
142
+ # A sync token, returned by a previous call to `people.connections.list`. Only
143
+ # resources changed since the sync token was created are returned.
145
144
  # @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.
145
+ # Comma-separated list of fields to be included in the response. Omitting this
146
+ # field will include all fields. Each path should start with `person.`: for
147
+ # example, `person.names` or `person.photos`.
148
+ # @param [String] fields
149
+ # Selector specifying which fields to include in a partial response.
152
150
  # @param [String] quota_user
153
151
  # Available to use for quota purposes for server-side applications. Can be any
154
152
  # 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
153
  # @param [Google::Apis::RequestOptions] options
158
154
  # Request-specific options
159
155
  #
@@ -166,18 +162,18 @@ module Google
166
162
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
167
163
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
168
164
  # @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)
165
+ def list_person_connections(resource_name, page_token: nil, page_size: nil, sort_order: nil, sync_token: nil, request_mask_include_field: nil, fields: nil, quota_user: nil, options: nil, &block)
170
166
  command = make_simple_command(:get, 'v1/{+resourceName}/connections', options)
171
167
  command.response_representation = Google::Apis::PeopleV1::ListConnectionsResponse::Representation
172
168
  command.response_class = Google::Apis::PeopleV1::ListConnectionsResponse
173
169
  command.params['resourceName'] = resource_name unless resource_name.nil?
170
+ command.query['pageToken'] = page_token unless page_token.nil?
171
+ command.query['pageSize'] = page_size unless page_size.nil?
174
172
  command.query['sortOrder'] = sort_order unless sort_order.nil?
175
173
  command.query['syncToken'] = sync_token unless sync_token.nil?
176
- command.query['pageSize'] = page_size unless page_size.nil?
177
174
  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
175
  command.query['fields'] = fields unless fields.nil?
176
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
181
177
  execute_or_queue_command(command, &block)
182
178
  end
183
179
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/+/domains/
26
26
  module PlusDomainsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20160208'
28
+ REVISION = '20160223'
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'
@@ -24,6 +24,8 @@ module Google
24
24
 
25
25
  class Acl
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
27
29
  end
28
30
 
29
31
  class Activity
@@ -37,20 +39,32 @@ module Google
37
39
 
38
40
  class YoutubeActorInfo
39
41
  class Representation < Google::Apis::Core::JsonRepresentation; end
42
+
43
+ include Google::Apis::Core::JsonObjectSupport
40
44
  end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
41
47
  end
42
48
 
43
49
  class Image
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
45
53
  end
46
54
 
47
55
  class Name
48
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
49
59
  end
50
60
 
51
61
  class Verification
52
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
53
65
  end
66
+
67
+ include Google::Apis::Core::JsonObjectSupport
54
68
  end
55
69
 
56
70
  class Object
@@ -64,16 +78,26 @@ module Google
64
78
 
65
79
  class YoutubeActorInfo
66
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
67
83
  end
84
+
85
+ include Google::Apis::Core::JsonObjectSupport
68
86
  end
69
87
 
70
88
  class Image
71
89
  class Representation < Google::Apis::Core::JsonRepresentation; end
90
+
91
+ include Google::Apis::Core::JsonObjectSupport
72
92
  end
73
93
 
74
94
  class Verification
75
95
  class Representation < Google::Apis::Core::JsonRepresentation; end
96
+
97
+ include Google::Apis::Core::JsonObjectSupport
76
98
  end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
77
101
  end
78
102
 
79
103
  class Attachment
@@ -81,18 +105,26 @@ module Google
81
105
 
82
106
  class Embed
83
107
  class Representation < Google::Apis::Core::JsonRepresentation; end
108
+
109
+ include Google::Apis::Core::JsonObjectSupport
84
110
  end
85
111
 
86
112
  class FullImage
87
113
  class Representation < Google::Apis::Core::JsonRepresentation; end
114
+
115
+ include Google::Apis::Core::JsonObjectSupport
88
116
  end
89
117
 
90
118
  class Image
91
119
  class Representation < Google::Apis::Core::JsonRepresentation; end
120
+
121
+ include Google::Apis::Core::JsonObjectSupport
92
122
  end
93
123
 
94
124
  class PreviewThumbnail
95
125
  class Representation < Google::Apis::Core::JsonRepresentation; end
126
+
127
+ include Google::Apis::Core::JsonObjectSupport
96
128
  end
97
129
 
98
130
  class Thumbnail
@@ -100,42 +132,68 @@ module Google
100
132
 
101
133
  class Image
102
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
103
137
  end
138
+
139
+ include Google::Apis::Core::JsonObjectSupport
104
140
  end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
105
143
  end
106
144
 
107
145
  class Plusoners
108
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
109
149
  end
110
150
 
111
151
  class Replies
112
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
113
155
  end
114
156
 
115
157
  class Resharers
116
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
117
161
  end
118
162
 
119
163
  class StatusForViewer
120
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
121
167
  end
168
+
169
+ include Google::Apis::Core::JsonObjectSupport
122
170
  end
123
171
 
124
172
  class Provider
125
173
  class Representation < Google::Apis::Core::JsonRepresentation; end
174
+
175
+ include Google::Apis::Core::JsonObjectSupport
126
176
  end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
127
179
  end
128
180
 
129
181
  class ActivityFeed
130
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
131
185
  end
132
186
 
133
187
  class Audience
134
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
135
191
  end
136
192
 
137
193
  class AudiencesFeed
138
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
139
197
  end
140
198
 
141
199
  class Circle
@@ -143,11 +201,17 @@ module Google
143
201
 
144
202
  class People
145
203
  class Representation < Google::Apis::Core::JsonRepresentation; end
204
+
205
+ include Google::Apis::Core::JsonObjectSupport
146
206
  end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
147
209
  end
148
210
 
149
211
  class CircleFeed
150
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
151
215
  end
152
216
 
153
217
  class Comment
@@ -161,33 +225,53 @@ module Google
161
225
 
162
226
  class YoutubeActorInfo
163
227
  class Representation < Google::Apis::Core::JsonRepresentation; end
228
+
229
+ include Google::Apis::Core::JsonObjectSupport
164
230
  end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
165
233
  end
166
234
 
167
235
  class Image
168
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
169
239
  end
170
240
 
171
241
  class Verification
172
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
173
245
  end
246
+
247
+ include Google::Apis::Core::JsonObjectSupport
174
248
  end
175
249
 
176
250
  class InReplyTo
177
251
  class Representation < Google::Apis::Core::JsonRepresentation; end
252
+
253
+ include Google::Apis::Core::JsonObjectSupport
178
254
  end
179
255
 
180
256
  class Object
181
257
  class Representation < Google::Apis::Core::JsonRepresentation; end
258
+
259
+ include Google::Apis::Core::JsonObjectSupport
182
260
  end
183
261
 
184
262
  class Plusoners
185
263
  class Representation < Google::Apis::Core::JsonRepresentation; end
264
+
265
+ include Google::Apis::Core::JsonObjectSupport
186
266
  end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
187
269
  end
188
270
 
189
271
  class CommentFeed
190
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
191
275
  end
192
276
 
193
277
  class Media
@@ -198,16 +282,26 @@ module Google
198
282
 
199
283
  class Image
200
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
201
287
  end
288
+
289
+ include Google::Apis::Core::JsonObjectSupport
202
290
  end
203
291
 
204
292
  class Exif
205
293
  class Representation < Google::Apis::Core::JsonRepresentation; end
294
+
295
+ include Google::Apis::Core::JsonObjectSupport
206
296
  end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
207
299
  end
208
300
 
209
301
  class PeopleFeed
210
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
211
305
  end
212
306
 
213
307
  class Person
@@ -218,36 +312,56 @@ module Google
218
312
 
219
313
  class CoverInfo
220
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
221
317
  end
222
318
 
223
319
  class CoverPhoto
224
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
225
323
  end
324
+
325
+ include Google::Apis::Core::JsonObjectSupport
226
326
  end
227
327
 
228
328
  class Email
229
329
  class Representation < Google::Apis::Core::JsonRepresentation; end
330
+
331
+ include Google::Apis::Core::JsonObjectSupport
230
332
  end
231
333
 
232
334
  class Image
233
335
  class Representation < Google::Apis::Core::JsonRepresentation; end
336
+
337
+ include Google::Apis::Core::JsonObjectSupport
234
338
  end
235
339
 
236
340
  class Name
237
341
  class Representation < Google::Apis::Core::JsonRepresentation; end
342
+
343
+ include Google::Apis::Core::JsonObjectSupport
238
344
  end
239
345
 
240
346
  class Organization
241
347
  class Representation < Google::Apis::Core::JsonRepresentation; end
348
+
349
+ include Google::Apis::Core::JsonObjectSupport
242
350
  end
243
351
 
244
352
  class PlacesLived
245
353
  class Representation < Google::Apis::Core::JsonRepresentation; end
354
+
355
+ include Google::Apis::Core::JsonObjectSupport
246
356
  end
247
357
 
248
358
  class Url
249
359
  class Representation < Google::Apis::Core::JsonRepresentation; end
360
+
361
+ include Google::Apis::Core::JsonObjectSupport
250
362
  end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
251
365
  end
252
366
 
253
367
  class Place
@@ -255,19 +369,29 @@ module Google
255
369
 
256
370
  class Address
257
371
  class Representation < Google::Apis::Core::JsonRepresentation; end
372
+
373
+ include Google::Apis::Core::JsonObjectSupport
258
374
  end
259
375
 
260
376
  class Position
261
377
  class Representation < Google::Apis::Core::JsonRepresentation; end
378
+
379
+ include Google::Apis::Core::JsonObjectSupport
262
380
  end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
263
383
  end
264
384
 
265
385
  class PlusDomainsAclentryResource
266
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
267
389
  end
268
390
 
269
391
  class Videostream
270
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
271
395
  end
272
396
 
273
397
  class Acl