google-api-client 0.10.1 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (176) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/api_names.yaml +395 -0
  4. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +254 -254
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +65 -65
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +220 -220
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +106 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +37 -0
  11. data/generated/google/apis/admin_reports_v1.rb +3 -3
  12. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  13. data/generated/google/apis/adsense_v1_4.rb +1 -1
  14. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  15. data/generated/google/apis/analytics_v3.rb +1 -1
  16. data/generated/google/apis/analytics_v3/service.rb +39 -0
  17. data/generated/google/apis/analyticsreporting_v4/classes.rb +920 -920
  18. data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
  19. data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
  20. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  21. data/generated/google/apis/androidenterprise_v1/classes.rb +8 -13
  22. data/generated/google/apis/androidenterprise_v1/service.rb +3 -3
  23. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  24. data/generated/google/apis/appengine_v1beta5/classes.rb +115 -5
  25. data/generated/google/apis/appengine_v1beta5/representations.rb +37 -0
  26. data/generated/google/apis/appengine_v1beta5/service.rb +12 -9
  27. data/generated/google/apis/appstate_v1.rb +1 -1
  28. data/generated/google/apis/bigquery_v2.rb +1 -1
  29. data/generated/google/apis/bigquery_v2/classes.rb +32 -37
  30. data/generated/google/apis/bigquery_v2/service.rb +10 -2
  31. data/generated/google/apis/calendar_v3.rb +1 -1
  32. data/generated/google/apis/calendar_v3/classes.rb +205 -0
  33. data/generated/google/apis/calendar_v3/representations.rb +97 -0
  34. data/generated/google/apis/classroom_v1.rb +22 -25
  35. data/generated/google/apis/classroom_v1/classes.rb +998 -907
  36. data/generated/google/apis/classroom_v1/representations.rb +240 -240
  37. data/generated/google/apis/classroom_v1/service.rb +1269 -1061
  38. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  39. data/generated/google/apis/cloudbuild_v1/classes.rb +164 -163
  40. data/generated/google/apis/cloudbuild_v1/representations.rb +31 -31
  41. data/generated/google/apis/cloudbuild_v1/service.rb +114 -114
  42. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  43. data/generated/google/apis/clouddebugger_v2/classes.rb +687 -687
  44. data/generated/google/apis/clouddebugger_v2/representations.rb +147 -147
  45. data/generated/google/apis/clouddebugger_v2/service.rb +132 -132
  46. data/generated/google/apis/cloudkms_v1.rb +1 -1
  47. data/generated/google/apis/cloudkms_v1/classes.rb +231 -248
  48. data/generated/google/apis/cloudkms_v1/representations.rb +74 -74
  49. data/generated/google/apis/cloudkms_v1/service.rb +228 -228
  50. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  51. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  52. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +738 -128
  53. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +245 -23
  54. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1293 -249
  55. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  56. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +982 -372
  57. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +293 -71
  58. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +626 -277
  59. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  60. data/generated/google/apis/cloudtrace_v1/classes.rb +19 -19
  61. data/generated/google/apis/cloudtrace_v1/representations.rb +2 -2
  62. data/generated/google/apis/cloudtrace_v1/service.rb +30 -30
  63. data/generated/google/apis/compute_beta.rb +1 -1
  64. data/generated/google/apis/compute_beta/classes.rb +116 -0
  65. data/generated/google/apis/compute_beta/representations.rb +48 -0
  66. data/generated/google/apis/compute_beta/service.rb +46 -1
  67. data/generated/google/apis/compute_v1.rb +1 -1
  68. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  69. data/generated/google/apis/dataflow_v1b3/classes.rb +3276 -3320
  70. data/generated/google/apis/dataflow_v1b3/representations.rb +779 -781
  71. data/generated/google/apis/dataflow_v1b3/service.rb +225 -225
  72. data/generated/google/apis/dataproc_v1.rb +1 -1
  73. data/generated/google/apis/dataproc_v1/classes.rb +1221 -1207
  74. data/generated/google/apis/dataproc_v1/representations.rb +255 -253
  75. data/generated/google/apis/dataproc_v1/service.rb +100 -100
  76. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  77. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  78. data/generated/google/apis/dns_v1.rb +1 -1
  79. data/generated/google/apis/dns_v2beta1.rb +1 -1
  80. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  81. data/generated/google/apis/drive_v2.rb +1 -1
  82. data/generated/google/apis/drive_v2/classes.rb +3 -1
  83. data/generated/google/apis/drive_v3.rb +1 -1
  84. data/generated/google/apis/drive_v3/classes.rb +3 -1
  85. data/generated/google/apis/fusiontables_v2.rb +1 -1
  86. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  87. data/generated/google/apis/games_management_v1management.rb +1 -1
  88. data/generated/google/apis/games_v1.rb +1 -1
  89. data/generated/google/apis/genomics_v1.rb +7 -7
  90. data/generated/google/apis/genomics_v1/classes.rb +959 -959
  91. data/generated/google/apis/genomics_v1/representations.rb +238 -238
  92. data/generated/google/apis/genomics_v1/service.rb +996 -996
  93. data/generated/google/apis/iam_v1.rb +1 -1
  94. data/generated/google/apis/iam_v1/classes.rb +440 -440
  95. data/generated/google/apis/iam_v1/representations.rb +94 -94
  96. data/generated/google/apis/iam_v1/service.rb +170 -173
  97. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  98. data/generated/google/apis/identitytoolkit_v3/classes.rb +55 -0
  99. data/generated/google/apis/identitytoolkit_v3/representations.rb +8 -0
  100. data/generated/google/apis/kgsearch_v1/service.rb +4 -4
  101. data/generated/google/apis/language_v1beta1.rb +1 -1
  102. data/generated/google/apis/language_v1beta1/classes.rb +427 -427
  103. data/generated/google/apis/language_v1beta1/representations.rb +113 -113
  104. data/generated/google/apis/language_v1beta1/service.rb +25 -24
  105. data/generated/google/apis/licensing_v1.rb +2 -2
  106. data/generated/google/apis/licensing_v1/classes.rb +14 -2
  107. data/generated/google/apis/licensing_v1/representations.rb +2 -0
  108. data/generated/google/apis/licensing_v1/service.rb +1 -1
  109. data/generated/google/apis/logging_v2beta1.rb +1 -1
  110. data/generated/google/apis/logging_v2beta1/classes.rb +864 -864
  111. data/generated/google/apis/logging_v2beta1/representations.rb +168 -168
  112. data/generated/google/apis/logging_v2beta1/service.rb +261 -261
  113. data/generated/google/apis/manufacturers_v1.rb +1 -1
  114. data/generated/google/apis/manufacturers_v1/classes.rb +452 -105
  115. data/generated/google/apis/manufacturers_v1/representations.rb +138 -18
  116. data/generated/google/apis/manufacturers_v1/service.rb +11 -11
  117. data/generated/google/apis/mirror_v1.rb +1 -1
  118. data/generated/google/apis/monitoring_v3.rb +7 -7
  119. data/generated/google/apis/monitoring_v3/classes.rb +668 -670
  120. data/generated/google/apis/monitoring_v3/representations.rb +140 -140
  121. data/generated/google/apis/monitoring_v3/service.rb +208 -208
  122. data/generated/google/apis/partners_v2.rb +1 -1
  123. data/generated/google/apis/partners_v2/classes.rb +505 -505
  124. data/generated/google/apis/partners_v2/representations.rb +118 -118
  125. data/generated/google/apis/partners_v2/service.rb +275 -275
  126. data/generated/google/apis/people_v1.rb +1 -1
  127. data/generated/google/apis/people_v1/classes.rb +1037 -1031
  128. data/generated/google/apis/people_v1/representations.rb +247 -246
  129. data/generated/google/apis/people_v1/service.rb +20 -20
  130. data/generated/google/apis/plus_domains_v1.rb +1 -1
  131. data/generated/google/apis/plus_v1.rb +1 -1
  132. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  133. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +392 -392
  134. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +93 -93
  135. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +381 -381
  136. data/generated/google/apis/pubsub_v1.rb +4 -4
  137. data/generated/google/apis/pubsub_v1/classes.rb +131 -132
  138. data/generated/google/apis/pubsub_v1/representations.rb +35 -35
  139. data/generated/google/apis/pubsub_v1/service.rb +399 -408
  140. data/generated/google/apis/reseller_v1.rb +1 -1
  141. data/generated/google/apis/reseller_v1/classes.rb +9 -0
  142. data/generated/google/apis/reseller_v1/representations.rb +1 -0
  143. data/generated/google/apis/script_v1.rb +9 -9
  144. data/generated/google/apis/script_v1/classes.rb +110 -110
  145. data/generated/google/apis/script_v1/representations.rb +26 -26
  146. data/generated/google/apis/sheets_v4.rb +4 -4
  147. data/generated/google/apis/sheets_v4/classes.rb +4329 -4329
  148. data/generated/google/apis/sheets_v4/representations.rb +856 -856
  149. data/generated/google/apis/sheets_v4/service.rb +106 -106
  150. data/generated/google/apis/slides_v1.rb +4 -4
  151. data/generated/google/apis/slides_v1/classes.rb +2923 -2841
  152. data/generated/google/apis/slides_v1/representations.rb +722 -691
  153. data/generated/google/apis/slides_v1/service.rb +58 -15
  154. data/generated/google/apis/speech_v1beta1.rb +1 -1
  155. data/generated/google/apis/speech_v1beta1/classes.rb +191 -191
  156. data/generated/google/apis/speech_v1beta1/representations.rb +57 -57
  157. data/generated/google/apis/speech_v1beta1/service.rb +70 -70
  158. data/generated/google/apis/storage_v1.rb +1 -1
  159. data/generated/google/apis/storage_v1/classes.rb +151 -0
  160. data/generated/google/apis/storage_v1/representations.rb +45 -0
  161. data/generated/google/apis/storage_v1/service.rb +248 -0
  162. data/generated/google/apis/vision_v1.rb +1 -1
  163. data/generated/google/apis/vision_v1/classes.rb +1227 -1221
  164. data/generated/google/apis/vision_v1/representations.rb +217 -215
  165. data/generated/google/apis/webmasters_v3.rb +1 -1
  166. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  167. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  168. data/generated/google/apis/youtube_partner_v1/classes.rb +78 -0
  169. data/generated/google/apis/youtube_partner_v1/representations.rb +34 -0
  170. data/generated/google/apis/youtube_partner_v1/service.rb +40 -0
  171. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  172. data/generated/google/apis/youtubereporting_v1/classes.rb +65 -65
  173. data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
  174. data/generated/google/apis/youtubereporting_v1/service.rb +111 -111
  175. data/lib/google/apis/version.rb +1 -1
  176. metadata +2 -2
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/partners/
27
27
  module PartnersV2
28
28
  VERSION = 'V2'
29
- REVISION = '20170303'
29
+ REVISION = '20170316'
30
30
  end
31
31
  end
32
32
  end
@@ -22,60 +22,11 @@ module Google
22
22
  module Apis
23
23
  module PartnersV2
24
24
 
25
- # Response message for ListLeads.
26
- class ListLeadsResponse
27
- include Google::Apis::Core::Hashable
28
-
29
- # A token to retrieve next page of results.
30
- # Pass this value in the `ListLeadsRequest.page_token` field in the
31
- # subsequent call to
32
- # ListLeads to retrieve the
33
- # next page of results.
34
- # Corresponds to the JSON property `nextPageToken`
35
- # @return [String]
36
- attr_accessor :next_page_token
37
-
38
- # Common data that is in each API response.
39
- # Corresponds to the JSON property `responseMetadata`
40
- # @return [Google::Apis::PartnersV2::ResponseMetadata]
41
- attr_accessor :response_metadata
42
-
43
- # The total count of leads for the given company.
44
- # Corresponds to the JSON property `totalSize`
45
- # @return [Fixnum]
46
- attr_accessor :total_size
47
-
48
- # The list of leads.
49
- # Corresponds to the JSON property `leads`
50
- # @return [Array<Google::Apis::PartnersV2::Lead>]
51
- attr_accessor :leads
52
-
53
- def initialize(**args)
54
- update!(**args)
55
- end
56
-
57
- # Update properties of this object
58
- def update!(**args)
59
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
60
- @response_metadata = args[:response_metadata] if args.key?(:response_metadata)
61
- @total_size = args[:total_size] if args.key?(:total_size)
62
- @leads = args[:leads] if args.key?(:leads)
63
- end
64
- end
65
-
66
25
  # A company resource in the Google Partners API. Once certified, it qualifies
67
26
  # for being searched by advertisers.
68
27
  class Company
69
28
  include Google::Apis::Core::Hashable
70
29
 
71
- # The list of all company locations.
72
- # If set, must include the
73
- # primary_location
74
- # in the list.
75
- # Corresponds to the JSON property `locations`
76
- # @return [Array<Google::Apis::PartnersV2::Location>]
77
- attr_accessor :locations
78
-
79
30
  # Represents an amount of money with its currency type.
80
31
  # Corresponds to the JSON property `convertedMinMonthlyBudget`
81
32
  # @return [Google::Apis::PartnersV2::Money]
@@ -113,57 +64,52 @@ module Google
113
64
  # @return [Array<Google::Apis::PartnersV2::LocalizedCompanyInfo>]
114
65
  attr_accessor :localized_infos
115
66
 
116
- # The ID of the company.
117
- # Corresponds to the JSON property `id`
118
- # @return [String]
119
- attr_accessor :id
120
-
121
67
  # The list of Google Partners certification statuses for the company.
122
68
  # Corresponds to the JSON property `certificationStatuses`
123
69
  # @return [Array<Google::Apis::PartnersV2::CertificationStatus>]
124
70
  attr_accessor :certification_statuses
125
71
 
126
- # Basic information from a public profile.
127
- # Corresponds to the JSON property `publicProfile`
128
- # @return [Google::Apis::PartnersV2::PublicProfile]
129
- attr_accessor :public_profile
72
+ # The ID of the company.
73
+ # Corresponds to the JSON property `id`
74
+ # @return [String]
75
+ attr_accessor :id
130
76
 
131
77
  # Services the company can help with.
132
78
  # Corresponds to the JSON property `services`
133
79
  # @return [Array<String>]
134
80
  attr_accessor :services
135
81
 
82
+ # Represents an amount of money with its currency type.
83
+ # Corresponds to the JSON property `originalMinMonthlyBudget`
84
+ # @return [Google::Apis::PartnersV2::Money]
85
+ attr_accessor :original_min_monthly_budget
86
+
87
+ # Basic information from a public profile.
88
+ # Corresponds to the JSON property `publicProfile`
89
+ # @return [Google::Apis::PartnersV2::PublicProfile]
90
+ attr_accessor :public_profile
91
+
136
92
  # A location with address and geographic coordinates. May optionally contain a
137
93
  # detailed (multi-field) version of the address.
138
94
  # Corresponds to the JSON property `primaryLocation`
139
95
  # @return [Google::Apis::PartnersV2::Location]
140
96
  attr_accessor :primary_location
141
97
 
142
- # Represents an amount of money with its currency type.
143
- # Corresponds to the JSON property `originalMinMonthlyBudget`
144
- # @return [Google::Apis::PartnersV2::Money]
145
- attr_accessor :original_min_monthly_budget
146
-
147
98
  # Information related to the ranking of the company within the list of
148
99
  # companies.
149
100
  # Corresponds to the JSON property `ranks`
150
101
  # @return [Array<Google::Apis::PartnersV2::Rank>]
151
102
  attr_accessor :ranks
152
103
 
153
- # Partner badge tier
154
- # Corresponds to the JSON property `badgeTier`
155
- # @return [String]
156
- attr_accessor :badge_tier
157
-
158
104
  # The list of Google Partners specialization statuses for the company.
159
105
  # Corresponds to the JSON property `specializationStatus`
160
106
  # @return [Array<Google::Apis::PartnersV2::SpecializationStatus>]
161
107
  attr_accessor :specialization_status
162
108
 
163
- # Company type labels listed on the company's profile.
164
- # Corresponds to the JSON property `companyTypes`
165
- # @return [Array<String>]
166
- attr_accessor :company_types
109
+ # Partner badge tier
110
+ # Corresponds to the JSON property `badgeTier`
111
+ # @return [String]
112
+ attr_accessor :badge_tier
167
113
 
168
114
  # Email domains that allow users with a matching email address to get
169
115
  # auto-approved for associating with this company.
@@ -171,6 +117,16 @@ module Google
171
117
  # @return [Array<String>]
172
118
  attr_accessor :auto_approval_email_domains
173
119
 
120
+ # Company type labels listed on the company's profile.
121
+ # Corresponds to the JSON property `companyTypes`
122
+ # @return [Array<String>]
123
+ attr_accessor :company_types
124
+
125
+ # The public viewability status of the company's profile.
126
+ # Corresponds to the JSON property `profileStatus`
127
+ # @return [String]
128
+ attr_accessor :profile_status
129
+
174
130
  # The primary language code of the company, as defined by
175
131
  # <a href="https://tools.ietf.org/html/bcp47">BCP 47</a>
176
132
  # (IETF BCP 47, "Tags for Identifying Languages").
@@ -178,10 +134,13 @@ module Google
178
134
  # @return [String]
179
135
  attr_accessor :primary_language_code
180
136
 
181
- # The public viewability status of the company's profile.
182
- # Corresponds to the JSON property `profileStatus`
183
- # @return [String]
184
- attr_accessor :profile_status
137
+ # The list of all company locations.
138
+ # If set, must include the
139
+ # primary_location
140
+ # in the list.
141
+ # Corresponds to the JSON property `locations`
142
+ # @return [Array<Google::Apis::PartnersV2::Location>]
143
+ attr_accessor :locations
185
144
 
186
145
  def initialize(**args)
187
146
  update!(**args)
@@ -189,7 +148,6 @@ module Google
189
148
 
190
149
  # Update properties of this object
191
150
  def update!(**args)
192
- @locations = args[:locations] if args.key?(:locations)
193
151
  @converted_min_monthly_budget = args[:converted_min_monthly_budget] if args.key?(:converted_min_monthly_budget)
194
152
  @industries = args[:industries] if args.key?(:industries)
195
153
  @website_url = args[:website_url] if args.key?(:website_url)
@@ -197,19 +155,61 @@ module Google
197
155
  @primary_adwords_manager_account_id = args[:primary_adwords_manager_account_id] if args.key?(:primary_adwords_manager_account_id)
198
156
  @name = args[:name] if args.key?(:name)
199
157
  @localized_infos = args[:localized_infos] if args.key?(:localized_infos)
200
- @id = args[:id] if args.key?(:id)
201
158
  @certification_statuses = args[:certification_statuses] if args.key?(:certification_statuses)
202
- @public_profile = args[:public_profile] if args.key?(:public_profile)
159
+ @id = args[:id] if args.key?(:id)
203
160
  @services = args[:services] if args.key?(:services)
204
- @primary_location = args[:primary_location] if args.key?(:primary_location)
205
161
  @original_min_monthly_budget = args[:original_min_monthly_budget] if args.key?(:original_min_monthly_budget)
162
+ @public_profile = args[:public_profile] if args.key?(:public_profile)
163
+ @primary_location = args[:primary_location] if args.key?(:primary_location)
206
164
  @ranks = args[:ranks] if args.key?(:ranks)
207
- @badge_tier = args[:badge_tier] if args.key?(:badge_tier)
208
165
  @specialization_status = args[:specialization_status] if args.key?(:specialization_status)
209
- @company_types = args[:company_types] if args.key?(:company_types)
166
+ @badge_tier = args[:badge_tier] if args.key?(:badge_tier)
210
167
  @auto_approval_email_domains = args[:auto_approval_email_domains] if args.key?(:auto_approval_email_domains)
211
- @primary_language_code = args[:primary_language_code] if args.key?(:primary_language_code)
168
+ @company_types = args[:company_types] if args.key?(:company_types)
212
169
  @profile_status = args[:profile_status] if args.key?(:profile_status)
170
+ @primary_language_code = args[:primary_language_code] if args.key?(:primary_language_code)
171
+ @locations = args[:locations] if args.key?(:locations)
172
+ end
173
+ end
174
+
175
+ # Response message for ListLeads.
176
+ class ListLeadsResponse
177
+ include Google::Apis::Core::Hashable
178
+
179
+ # A token to retrieve next page of results.
180
+ # Pass this value in the `ListLeadsRequest.page_token` field in the
181
+ # subsequent call to
182
+ # ListLeads to retrieve the
183
+ # next page of results.
184
+ # Corresponds to the JSON property `nextPageToken`
185
+ # @return [String]
186
+ attr_accessor :next_page_token
187
+
188
+ # Common data that is in each API response.
189
+ # Corresponds to the JSON property `responseMetadata`
190
+ # @return [Google::Apis::PartnersV2::ResponseMetadata]
191
+ attr_accessor :response_metadata
192
+
193
+ # The total count of leads for the given company.
194
+ # Corresponds to the JSON property `totalSize`
195
+ # @return [Fixnum]
196
+ attr_accessor :total_size
197
+
198
+ # The list of leads.
199
+ # Corresponds to the JSON property `leads`
200
+ # @return [Array<Google::Apis::PartnersV2::Lead>]
201
+ attr_accessor :leads
202
+
203
+ def initialize(**args)
204
+ update!(**args)
205
+ end
206
+
207
+ # Update properties of this object
208
+ def update!(**args)
209
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
210
+ @response_metadata = args[:response_metadata] if args.key?(:response_metadata)
211
+ @total_size = args[:total_size] if args.key?(:total_size)
212
+ @leads = args[:leads] if args.key?(:leads)
213
213
  end
214
214
  end
215
215
 
@@ -277,6 +277,28 @@ module Google
277
277
  class Location
278
278
  include Google::Apis::Core::Hashable
279
279
 
280
+ # Values are frequently alphanumeric.
281
+ # Corresponds to the JSON property `postalCode`
282
+ # @return [String]
283
+ attr_accessor :postal_code
284
+
285
+ # Language code of the address. Should be in BCP 47 format.
286
+ # Corresponds to the JSON property `languageCode`
287
+ # @return [String]
288
+ attr_accessor :language_code
289
+
290
+ # Use of this code is very country-specific, but will refer to a secondary
291
+ # classification code for sorting mail.
292
+ # Corresponds to the JSON property `sortingCode`
293
+ # @return [String]
294
+ attr_accessor :sorting_code
295
+
296
+ # The following address lines represent the most specific part of any
297
+ # address.
298
+ # Corresponds to the JSON property `addressLine`
299
+ # @return [Array<String>]
300
+ attr_accessor :address_line
301
+
280
302
  # Top-level administrative subdivision of this country.
281
303
  # Corresponds to the JSON property `administrativeArea`
282
304
  # @return [String]
@@ -328,60 +350,63 @@ module Google
328
350
  # @return [Google::Apis::PartnersV2::LatLng]
329
351
  attr_accessor :lat_lng
330
352
 
353
+ # The single string version of the address.
354
+ # Corresponds to the JSON property `address`
355
+ # @return [String]
356
+ attr_accessor :address
357
+
331
358
  # Dependent locality or sublocality. Used for UK dependent localities, or
332
359
  # neighborhoods or boroughs in other locations.
333
360
  # Corresponds to the JSON property `dependentLocality`
334
361
  # @return [String]
335
362
  attr_accessor :dependent_locality
336
363
 
337
- # The single string version of the address.
338
- # Corresponds to the JSON property `address`
339
- # @return [String]
340
- attr_accessor :address
341
-
342
364
  # CLDR (Common Locale Data Repository) region code .
343
365
  # Corresponds to the JSON property `regionCode`
344
366
  # @return [String]
345
367
  attr_accessor :region_code
346
368
 
347
- # Values are frequently alphanumeric.
348
- # Corresponds to the JSON property `postalCode`
349
- # @return [String]
350
- attr_accessor :postal_code
351
-
352
- # Use of this code is very country-specific, but will refer to a secondary
353
- # classification code for sorting mail.
354
- # Corresponds to the JSON property `sortingCode`
355
- # @return [String]
356
- attr_accessor :sorting_code
357
-
358
- # Language code of the address. Should be in BCP 47 format.
359
- # Corresponds to the JSON property `languageCode`
360
- # @return [String]
361
- attr_accessor :language_code
362
-
363
- # The following address lines represent the most specific part of any
364
- # address.
365
- # Corresponds to the JSON property `addressLine`
366
- # @return [Array<String>]
367
- attr_accessor :address_line
368
-
369
369
  def initialize(**args)
370
370
  update!(**args)
371
371
  end
372
372
 
373
373
  # Update properties of this object
374
374
  def update!(**args)
375
+ @postal_code = args[:postal_code] if args.key?(:postal_code)
376
+ @language_code = args[:language_code] if args.key?(:language_code)
377
+ @sorting_code = args[:sorting_code] if args.key?(:sorting_code)
378
+ @address_line = args[:address_line] if args.key?(:address_line)
375
379
  @administrative_area = args[:administrative_area] if args.key?(:administrative_area)
376
380
  @locality = args[:locality] if args.key?(:locality)
377
381
  @lat_lng = args[:lat_lng] if args.key?(:lat_lng)
378
- @dependent_locality = args[:dependent_locality] if args.key?(:dependent_locality)
379
382
  @address = args[:address] if args.key?(:address)
383
+ @dependent_locality = args[:dependent_locality] if args.key?(:dependent_locality)
380
384
  @region_code = args[:region_code] if args.key?(:region_code)
381
- @postal_code = args[:postal_code] if args.key?(:postal_code)
382
- @sorting_code = args[:sorting_code] if args.key?(:sorting_code)
383
- @language_code = args[:language_code] if args.key?(:language_code)
384
- @address_line = args[:address_line] if args.key?(:address_line)
385
+ end
386
+ end
387
+
388
+ # Status for a Google Partners certification exam.
389
+ class CertificationExamStatus
390
+ include Google::Apis::Core::Hashable
391
+
392
+ # The number of people who have passed the certification exam.
393
+ # Corresponds to the JSON property `numberUsersPass`
394
+ # @return [Fixnum]
395
+ attr_accessor :number_users_pass
396
+
397
+ # The type of certification exam.
398
+ # Corresponds to the JSON property `type`
399
+ # @return [String]
400
+ attr_accessor :type
401
+
402
+ def initialize(**args)
403
+ update!(**args)
404
+ end
405
+
406
+ # Update properties of this object
407
+ def update!(**args)
408
+ @number_users_pass = args[:number_users_pass] if args.key?(:number_users_pass)
409
+ @type = args[:type] if args.key?(:type)
385
410
  end
386
411
  end
387
412
 
@@ -416,42 +441,10 @@ module Google
416
441
  end
417
442
  end
418
443
 
419
- # Status for a Google Partners certification exam.
420
- class CertificationExamStatus
421
- include Google::Apis::Core::Hashable
422
-
423
- # The number of people who have passed the certification exam.
424
- # Corresponds to the JSON property `numberUsersPass`
425
- # @return [Fixnum]
426
- attr_accessor :number_users_pass
427
-
428
- # The type of certification exam.
429
- # Corresponds to the JSON property `type`
430
- # @return [String]
431
- attr_accessor :type
432
-
433
- def initialize(**args)
434
- update!(**args)
435
- end
436
-
437
- # Update properties of this object
438
- def update!(**args)
439
- @number_users_pass = args[:number_users_pass] if args.key?(:number_users_pass)
440
- @type = args[:type] if args.key?(:type)
441
- end
442
- end
443
-
444
444
  # A set of opt-ins for a user.
445
445
  class OptIns
446
446
  include Google::Apis::Core::Hashable
447
447
 
448
- # An opt-in about receiving email with customized AdWords campaign management
449
- # tips.
450
- # Corresponds to the JSON property `performanceSuggestions`
451
- # @return [Boolean]
452
- attr_accessor :performance_suggestions
453
- alias_method :performance_suggestions?, :performance_suggestions
454
-
455
448
  # An opt-in to receive special promotional gifts and material in the mail.
456
449
  # Corresponds to the JSON property `physicalMail`
457
450
  # @return [Boolean]
@@ -477,17 +470,24 @@ module Google
477
470
  attr_accessor :special_offers
478
471
  alias_method :special_offers?, :special_offers
479
472
 
473
+ # An opt-in about receiving email with customized AdWords campaign management
474
+ # tips.
475
+ # Corresponds to the JSON property `performanceSuggestions`
476
+ # @return [Boolean]
477
+ attr_accessor :performance_suggestions
478
+ alias_method :performance_suggestions?, :performance_suggestions
479
+
480
480
  def initialize(**args)
481
481
  update!(**args)
482
482
  end
483
483
 
484
484
  # Update properties of this object
485
485
  def update!(**args)
486
- @performance_suggestions = args[:performance_suggestions] if args.key?(:performance_suggestions)
487
486
  @physical_mail = args[:physical_mail] if args.key?(:physical_mail)
488
487
  @phone_contact = args[:phone_contact] if args.key?(:phone_contact)
489
488
  @market_comm = args[:market_comm] if args.key?(:market_comm)
490
489
  @special_offers = args[:special_offers] if args.key?(:special_offers)
490
+ @performance_suggestions = args[:performance_suggestions] if args.key?(:performance_suggestions)
491
491
  end
492
492
  end
493
493
 
@@ -516,26 +516,6 @@ module Google
516
516
  end
517
517
  end
518
518
 
519
- # Response message for
520
- # GetPartnersStatus.
521
- class GetPartnersStatusResponse
522
- include Google::Apis::Core::Hashable
523
-
524
- # Common data that is in each API response.
525
- # Corresponds to the JSON property `responseMetadata`
526
- # @return [Google::Apis::PartnersV2::ResponseMetadata]
527
- attr_accessor :response_metadata
528
-
529
- def initialize(**args)
530
- update!(**args)
531
- end
532
-
533
- # Update properties of this object
534
- def update!(**args)
535
- @response_metadata = args[:response_metadata] if args.key?(:response_metadata)
536
- end
537
- end
538
-
539
519
  # The profile information of a Partners user.
540
520
  class UserProfile
541
521
  include Google::Apis::Core::Hashable
@@ -556,6 +536,11 @@ module Google
556
536
  # @return [Array<String>]
557
537
  attr_accessor :industries
558
538
 
539
+ # The list of languages this user understands.
540
+ # Corresponds to the JSON property `languages`
541
+ # @return [Array<String>]
542
+ attr_accessor :languages
543
+
559
544
  # The user's family name.
560
545
  # Corresponds to the JSON property `familyName`
561
546
  # @return [String]
@@ -566,16 +551,16 @@ module Google
566
551
  # @return [Google::Apis::PartnersV2::OptIns]
567
552
  attr_accessor :email_opt_ins
568
553
 
569
- # The list of languages this user understands.
570
- # Corresponds to the JSON property `languages`
571
- # @return [Array<String>]
572
- attr_accessor :languages
573
-
574
554
  # A list of ids representing which markets the user was interested in.
575
555
  # Corresponds to the JSON property `markets`
576
556
  # @return [Array<String>]
577
557
  attr_accessor :markets
578
558
 
559
+ # The user's phone number.
560
+ # Corresponds to the JSON property `phoneNumber`
561
+ # @return [String]
562
+ attr_accessor :phone_number
563
+
579
564
  # If the user has edit access to multiple accounts, the user can choose the
580
565
  # preferred account and it is used when a personal account is needed. Can
581
566
  # be empty.
@@ -583,11 +568,6 @@ module Google
583
568
  # @return [String]
584
569
  attr_accessor :adwords_manager_account
585
570
 
586
- # The user's phone number.
587
- # Corresponds to the JSON property `phoneNumber`
588
- # @return [String]
589
- attr_accessor :phone_number
590
-
591
571
  # The user's primary country, an ISO 2-character code.
592
572
  # Corresponds to the JSON property `primaryCountryCode`
593
573
  # @return [String]
@@ -598,17 +578,17 @@ module Google
598
578
  # @return [String]
599
579
  attr_accessor :email_address
600
580
 
601
- # A list of ids representing which channels the user selected they were in.
602
- # Corresponds to the JSON property `channels`
603
- # @return [Array<String>]
604
- attr_accessor :channels
605
-
606
581
  # Whether the user's public profile is visible to anyone with the URL.
607
582
  # Corresponds to the JSON property `profilePublic`
608
583
  # @return [Boolean]
609
584
  attr_accessor :profile_public
610
585
  alias_method :profile_public?, :profile_public
611
586
 
587
+ # A list of ids representing which channels the user selected they were in.
588
+ # Corresponds to the JSON property `channels`
589
+ # @return [Array<String>]
590
+ attr_accessor :channels
591
+
612
592
  # A list of ids represnting which job categories the user selected.
613
593
  # Corresponds to the JSON property `jobFunctions`
614
594
  # @return [Array<String>]
@@ -623,38 +603,43 @@ module Google
623
603
  @given_name = args[:given_name] if args.key?(:given_name)
624
604
  @address = args[:address] if args.key?(:address)
625
605
  @industries = args[:industries] if args.key?(:industries)
606
+ @languages = args[:languages] if args.key?(:languages)
626
607
  @family_name = args[:family_name] if args.key?(:family_name)
627
608
  @email_opt_ins = args[:email_opt_ins] if args.key?(:email_opt_ins)
628
- @languages = args[:languages] if args.key?(:languages)
629
609
  @markets = args[:markets] if args.key?(:markets)
630
- @adwords_manager_account = args[:adwords_manager_account] if args.key?(:adwords_manager_account)
631
610
  @phone_number = args[:phone_number] if args.key?(:phone_number)
611
+ @adwords_manager_account = args[:adwords_manager_account] if args.key?(:adwords_manager_account)
632
612
  @primary_country_code = args[:primary_country_code] if args.key?(:primary_country_code)
633
613
  @email_address = args[:email_address] if args.key?(:email_address)
634
- @channels = args[:channels] if args.key?(:channels)
635
614
  @profile_public = args[:profile_public] if args.key?(:profile_public)
615
+ @channels = args[:channels] if args.key?(:channels)
636
616
  @job_functions = args[:job_functions] if args.key?(:job_functions)
637
617
  end
638
618
  end
639
619
 
640
- # Historical information about a Google Partners Offer.
641
- class HistoricalOffer
620
+ # Response message for
621
+ # GetPartnersStatus.
622
+ class GetPartnersStatusResponse
642
623
  include Google::Apis::Core::Hashable
643
624
 
644
- # Time offer was first created.
645
- # Corresponds to the JSON property `creationTime`
646
- # @return [String]
647
- attr_accessor :creation_time
625
+ # Common data that is in each API response.
626
+ # Corresponds to the JSON property `responseMetadata`
627
+ # @return [Google::Apis::PartnersV2::ResponseMetadata]
628
+ attr_accessor :response_metadata
648
629
 
649
- # Status of the offer.
650
- # Corresponds to the JSON property `status`
651
- # @return [String]
652
- attr_accessor :status
630
+ def initialize(**args)
631
+ update!(**args)
632
+ end
653
633
 
654
- # Email address for client.
655
- # Corresponds to the JSON property `clientEmail`
656
- # @return [String]
657
- attr_accessor :client_email
634
+ # Update properties of this object
635
+ def update!(**args)
636
+ @response_metadata = args[:response_metadata] if args.key?(:response_metadata)
637
+ end
638
+ end
639
+
640
+ # Historical information about a Google Partners Offer.
641
+ class HistoricalOffer
642
+ include Google::Apis::Core::Hashable
658
643
 
659
644
  # ID of client.
660
645
  # Corresponds to the JSON property `clientId`
@@ -701,15 +686,27 @@ module Google
701
686
  # @return [String]
702
687
  attr_accessor :offer_code
703
688
 
689
+ # Time offer was first created.
690
+ # Corresponds to the JSON property `creationTime`
691
+ # @return [String]
692
+ attr_accessor :creation_time
693
+
694
+ # Email address for client.
695
+ # Corresponds to the JSON property `clientEmail`
696
+ # @return [String]
697
+ attr_accessor :client_email
698
+
699
+ # Status of the offer.
700
+ # Corresponds to the JSON property `status`
701
+ # @return [String]
702
+ attr_accessor :status
703
+
704
704
  def initialize(**args)
705
705
  update!(**args)
706
706
  end
707
707
 
708
708
  # Update properties of this object
709
709
  def update!(**args)
710
- @creation_time = args[:creation_time] if args.key?(:creation_time)
711
- @status = args[:status] if args.key?(:status)
712
- @client_email = args[:client_email] if args.key?(:client_email)
713
710
  @client_id = args[:client_id] if args.key?(:client_id)
714
711
  @client_name = args[:client_name] if args.key?(:client_name)
715
712
  @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
@@ -719,32 +716,9 @@ module Google
719
716
  @offer_country_code = args[:offer_country_code] if args.key?(:offer_country_code)
720
717
  @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
721
718
  @offer_code = args[:offer_code] if args.key?(:offer_code)
722
- end
723
- end
724
-
725
- # Values to use instead of the user's respective defaults. These are only
726
- # honored by whitelisted products.
727
- class UserOverrides
728
- include Google::Apis::Core::Hashable
729
-
730
- # IP address to use instead of the user's geo-located IP address.
731
- # Corresponds to the JSON property `ipAddress`
732
- # @return [String]
733
- attr_accessor :ip_address
734
-
735
- # Logged-in user ID to impersonate instead of the user's ID.
736
- # Corresponds to the JSON property `userId`
737
- # @return [String]
738
- attr_accessor :user_id
739
-
740
- def initialize(**args)
741
- update!(**args)
742
- end
743
-
744
- # Update properties of this object
745
- def update!(**args)
746
- @ip_address = args[:ip_address] if args.key?(:ip_address)
747
- @user_id = args[:user_id] if args.key?(:user_id)
719
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
720
+ @client_email = args[:client_email] if args.key?(:client_email)
721
+ @status = args[:status] if args.key?(:status)
748
722
  end
749
723
  end
750
724
 
@@ -805,29 +779,55 @@ module Google
805
779
  end
806
780
  end
807
781
 
782
+ # Values to use instead of the user's respective defaults. These are only
783
+ # honored by whitelisted products.
784
+ class UserOverrides
785
+ include Google::Apis::Core::Hashable
786
+
787
+ # Logged-in user ID to impersonate instead of the user's ID.
788
+ # Corresponds to the JSON property `userId`
789
+ # @return [String]
790
+ attr_accessor :user_id
791
+
792
+ # IP address to use instead of the user's geo-located IP address.
793
+ # Corresponds to the JSON property `ipAddress`
794
+ # @return [String]
795
+ attr_accessor :ip_address
796
+
797
+ def initialize(**args)
798
+ update!(**args)
799
+ end
800
+
801
+ # Update properties of this object
802
+ def update!(**args)
803
+ @user_id = args[:user_id] if args.key?(:user_id)
804
+ @ip_address = args[:ip_address] if args.key?(:ip_address)
805
+ end
806
+ end
807
+
808
808
  # Details of the analytics events for a `Company` within a single day.
809
809
  class AnalyticsDataPoint
810
810
  include Google::Apis::Core::Hashable
811
811
 
812
- # Location information of where these events occurred.
813
- # Corresponds to the JSON property `eventLocations`
814
- # @return [Array<Google::Apis::PartnersV2::LatLng>]
815
- attr_accessor :event_locations
816
-
817
812
  # Number of times the type of event occurred.
818
813
  # Meaning depends on context (e.g. profile views, contacts, etc.).
819
814
  # Corresponds to the JSON property `eventCount`
820
815
  # @return [Fixnum]
821
816
  attr_accessor :event_count
822
817
 
818
+ # Location information of where these events occurred.
819
+ # Corresponds to the JSON property `eventLocations`
820
+ # @return [Array<Google::Apis::PartnersV2::LatLng>]
821
+ attr_accessor :event_locations
822
+
823
823
  def initialize(**args)
824
824
  update!(**args)
825
825
  end
826
826
 
827
827
  # Update properties of this object
828
828
  def update!(**args)
829
- @event_locations = args[:event_locations] if args.key?(:event_locations)
830
829
  @event_count = args[:event_count] if args.key?(:event_count)
830
+ @event_locations = args[:event_locations] if args.key?(:event_locations)
831
831
  end
832
832
  end
833
833
 
@@ -856,10 +856,38 @@ module Google
856
856
  # @return [Google::Apis::PartnersV2::AnalyticsDataPoint]
857
857
  attr_accessor :profile_views
858
858
 
859
- # Details of the analytics events for a `Company` within a single day.
860
- # Corresponds to the JSON property `searchViews`
861
- # @return [Google::Apis::PartnersV2::AnalyticsDataPoint]
862
- attr_accessor :search_views
859
+ # Details of the analytics events for a `Company` within a single day.
860
+ # Corresponds to the JSON property `searchViews`
861
+ # @return [Google::Apis::PartnersV2::AnalyticsDataPoint]
862
+ attr_accessor :search_views
863
+
864
+ def initialize(**args)
865
+ update!(**args)
866
+ end
867
+
868
+ # Update properties of this object
869
+ def update!(**args)
870
+ @contacts = args[:contacts] if args.key?(:contacts)
871
+ @event_date = args[:event_date] if args.key?(:event_date)
872
+ @profile_views = args[:profile_views] if args.key?(:profile_views)
873
+ @search_views = args[:search_views] if args.key?(:search_views)
874
+ end
875
+ end
876
+
877
+ # Information about a particular AdWords Manager Account.
878
+ # Read more at https://support.google.com/adwords/answer/6139186
879
+ class AdWordsManagerAccountInfo
880
+ include Google::Apis::Core::Hashable
881
+
882
+ # The AdWords Manager Account id.
883
+ # Corresponds to the JSON property `id`
884
+ # @return [String]
885
+ attr_accessor :id
886
+
887
+ # Name of the customer this account represents.
888
+ # Corresponds to the JSON property `customerName`
889
+ # @return [String]
890
+ attr_accessor :customer_name
863
891
 
864
892
  def initialize(**args)
865
893
  update!(**args)
@@ -867,10 +895,8 @@ module Google
867
895
 
868
896
  # Update properties of this object
869
897
  def update!(**args)
870
- @contacts = args[:contacts] if args.key?(:contacts)
871
- @event_date = args[:event_date] if args.key?(:event_date)
872
- @profile_views = args[:profile_views] if args.key?(:profile_views)
873
- @search_views = args[:search_views] if args.key?(:search_views)
898
+ @id = args[:id] if args.key?(:id)
899
+ @customer_name = args[:customer_name] if args.key?(:customer_name)
874
900
  end
875
901
  end
876
902
 
@@ -878,16 +904,6 @@ module Google
878
904
  class PublicProfile
879
905
  include Google::Apis::Core::Hashable
880
906
 
881
- # The ID which can be used to retrieve more details about the public profile.
882
- # Corresponds to the JSON property `id`
883
- # @return [String]
884
- attr_accessor :id
885
-
886
- # The URL of the public profile.
887
- # Corresponds to the JSON property `url`
888
- # @return [String]
889
- attr_accessor :url
890
-
891
907
  # The URL to the main profile image of the public profile.
892
908
  # Corresponds to the JSON property `profileImage`
893
909
  # @return [String]
@@ -903,34 +919,15 @@ module Google
903
919
  # @return [String]
904
920
  attr_accessor :display_image_url
905
921
 
906
- def initialize(**args)
907
- update!(**args)
908
- end
909
-
910
- # Update properties of this object
911
- def update!(**args)
912
- @id = args[:id] if args.key?(:id)
913
- @url = args[:url] if args.key?(:url)
914
- @profile_image = args[:profile_image] if args.key?(:profile_image)
915
- @display_name = args[:display_name] if args.key?(:display_name)
916
- @display_image_url = args[:display_image_url] if args.key?(:display_image_url)
917
- end
918
- end
919
-
920
- # Information about a particular AdWords Manager Account.
921
- # Read more at https://support.google.com/adwords/answer/6139186
922
- class AdWordsManagerAccountInfo
923
- include Google::Apis::Core::Hashable
924
-
925
- # The AdWords Manager Account id.
922
+ # The ID which can be used to retrieve more details about the public profile.
926
923
  # Corresponds to the JSON property `id`
927
924
  # @return [String]
928
925
  attr_accessor :id
929
926
 
930
- # Name of the customer this account represents.
931
- # Corresponds to the JSON property `customerName`
927
+ # The URL of the public profile.
928
+ # Corresponds to the JSON property `url`
932
929
  # @return [String]
933
- attr_accessor :customer_name
930
+ attr_accessor :url
934
931
 
935
932
  def initialize(**args)
936
933
  update!(**args)
@@ -938,8 +935,11 @@ module Google
938
935
 
939
936
  # Update properties of this object
940
937
  def update!(**args)
938
+ @profile_image = args[:profile_image] if args.key?(:profile_image)
939
+ @display_name = args[:display_name] if args.key?(:display_name)
940
+ @display_image_url = args[:display_image_url] if args.key?(:display_image_url)
941
941
  @id = args[:id] if args.key?(:id)
942
- @customer_name = args[:customer_name] if args.key?(:customer_name)
942
+ @url = args[:url] if args.key?(:url)
943
943
  end
944
944
  end
945
945
 
@@ -966,24 +966,24 @@ module Google
966
966
  class RecaptchaChallenge
967
967
  include Google::Apis::Core::Hashable
968
968
 
969
- # The response to the reCaptcha challenge.
970
- # Corresponds to the JSON property `response`
971
- # @return [String]
972
- attr_accessor :response
973
-
974
969
  # The ID of the reCaptcha challenge.
975
970
  # Corresponds to the JSON property `id`
976
971
  # @return [String]
977
972
  attr_accessor :id
978
973
 
974
+ # The response to the reCaptcha challenge.
975
+ # Corresponds to the JSON property `response`
976
+ # @return [String]
977
+ attr_accessor :response
978
+
979
979
  def initialize(**args)
980
980
  update!(**args)
981
981
  end
982
982
 
983
983
  # Update properties of this object
984
984
  def update!(**args)
985
- @response = args[:response] if args.key?(:response)
986
985
  @id = args[:id] if args.key?(:id)
986
+ @response = args[:response] if args.key?(:response)
987
987
  end
988
988
  end
989
989
 
@@ -991,22 +991,6 @@ module Google
991
991
  class AvailableOffer
992
992
  include Google::Apis::Core::Hashable
993
993
 
994
- # Whether or not the list of qualified customers is definitely complete.
995
- # Corresponds to the JSON property `qualifiedCustomersComplete`
996
- # @return [Boolean]
997
- attr_accessor :qualified_customers_complete
998
- alias_method :qualified_customers_complete?, :qualified_customers_complete
999
-
1000
- # ID of this offer.
1001
- # Corresponds to the JSON property `id`
1002
- # @return [String]
1003
- attr_accessor :id
1004
-
1005
- # Offer info by country.
1006
- # Corresponds to the JSON property `countryOfferInfos`
1007
- # @return [Array<Google::Apis::PartnersV2::CountryOfferInfo>]
1008
- attr_accessor :country_offer_infos
1009
-
1010
994
  # Type of offer.
1011
995
  # Corresponds to the JSON property `offerType`
1012
996
  # @return [String]
@@ -1053,15 +1037,28 @@ module Google
1053
1037
  # @return [String]
1054
1038
  attr_accessor :name
1055
1039
 
1040
+ # Whether or not the list of qualified customers is definitely complete.
1041
+ # Corresponds to the JSON property `qualifiedCustomersComplete`
1042
+ # @return [Boolean]
1043
+ attr_accessor :qualified_customers_complete
1044
+ alias_method :qualified_customers_complete?, :qualified_customers_complete
1045
+
1046
+ # ID of this offer.
1047
+ # Corresponds to the JSON property `id`
1048
+ # @return [String]
1049
+ attr_accessor :id
1050
+
1051
+ # Offer info by country.
1052
+ # Corresponds to the JSON property `countryOfferInfos`
1053
+ # @return [Array<Google::Apis::PartnersV2::CountryOfferInfo>]
1054
+ attr_accessor :country_offer_infos
1055
+
1056
1056
  def initialize(**args)
1057
1057
  update!(**args)
1058
1058
  end
1059
1059
 
1060
1060
  # Update properties of this object
1061
1061
  def update!(**args)
1062
- @qualified_customers_complete = args[:qualified_customers_complete] if args.key?(:qualified_customers_complete)
1063
- @id = args[:id] if args.key?(:id)
1064
- @country_offer_infos = args[:country_offer_infos] if args.key?(:country_offer_infos)
1065
1062
  @offer_type = args[:offer_type] if args.key?(:offer_type)
1066
1063
  @max_account_age = args[:max_account_age] if args.key?(:max_account_age)
1067
1064
  @qualified_customer = args[:qualified_customer] if args.key?(:qualified_customer)
@@ -1071,6 +1068,9 @@ module Google
1071
1068
  @description = args[:description] if args.key?(:description)
1072
1069
  @offer_level = args[:offer_level] if args.key?(:offer_level)
1073
1070
  @name = args[:name] if args.key?(:name)
1071
+ @qualified_customers_complete = args[:qualified_customers_complete] if args.key?(:qualified_customers_complete)
1072
+ @id = args[:id] if args.key?(:id)
1073
+ @country_offer_infos = args[:country_offer_infos] if args.key?(:country_offer_infos)
1074
1074
  end
1075
1075
  end
1076
1076
 
@@ -1139,6 +1139,16 @@ module Google
1139
1139
  class Money
1140
1140
  include Google::Apis::Core::Hashable
1141
1141
 
1142
+ # Number of nano (10^-9) units of the amount.
1143
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
1144
+ # If `units` is positive, `nanos` must be positive or zero.
1145
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
1146
+ # If `units` is negative, `nanos` must be negative or zero.
1147
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
1148
+ # Corresponds to the JSON property `nanos`
1149
+ # @return [Fixnum]
1150
+ attr_accessor :nanos
1151
+
1142
1152
  # The whole units of the amount.
1143
1153
  # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
1144
1154
  # Corresponds to the JSON property `units`
@@ -1150,25 +1160,15 @@ module Google
1150
1160
  # @return [String]
1151
1161
  attr_accessor :currency_code
1152
1162
 
1153
- # Number of nano (10^-9) units of the amount.
1154
- # The value must be between -999,999,999 and +999,999,999 inclusive.
1155
- # If `units` is positive, `nanos` must be positive or zero.
1156
- # If `units` is zero, `nanos` can be positive, zero, or negative.
1157
- # If `units` is negative, `nanos` must be negative or zero.
1158
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
1159
- # Corresponds to the JSON property `nanos`
1160
- # @return [Fixnum]
1161
- attr_accessor :nanos
1162
-
1163
1163
  def initialize(**args)
1164
1164
  update!(**args)
1165
1165
  end
1166
1166
 
1167
1167
  # Update properties of this object
1168
1168
  def update!(**args)
1169
+ @nanos = args[:nanos] if args.key?(:nanos)
1169
1170
  @units = args[:units] if args.key?(:units)
1170
1171
  @currency_code = args[:currency_code] if args.key?(:currency_code)
1171
- @nanos = args[:nanos] if args.key?(:nanos)
1172
1172
  end
1173
1173
  end
1174
1174
 
@@ -1176,11 +1176,6 @@ module Google
1176
1176
  class AnalyticsSummary
1177
1177
  include Google::Apis::Core::Hashable
1178
1178
 
1179
- # Aggregated number of profile views for the `Company` for given date range.
1180
- # Corresponds to the JSON property `profileViewsCount`
1181
- # @return [Fixnum]
1182
- attr_accessor :profile_views_count
1183
-
1184
1179
  # Aggregated number of times users saw the `Company`
1185
1180
  # in Google Partners Search results for given date range.
1186
1181
  # Corresponds to the JSON property `searchViewsCount`
@@ -1193,15 +1188,20 @@ module Google
1193
1188
  # @return [Fixnum]
1194
1189
  attr_accessor :contacts_count
1195
1190
 
1191
+ # Aggregated number of profile views for the `Company` for given date range.
1192
+ # Corresponds to the JSON property `profileViewsCount`
1193
+ # @return [Fixnum]
1194
+ attr_accessor :profile_views_count
1195
+
1196
1196
  def initialize(**args)
1197
1197
  update!(**args)
1198
1198
  end
1199
1199
 
1200
1200
  # Update properties of this object
1201
1201
  def update!(**args)
1202
- @profile_views_count = args[:profile_views_count] if args.key?(:profile_views_count)
1203
1202
  @search_views_count = args[:search_views_count] if args.key?(:search_views_count)
1204
1203
  @contacts_count = args[:contacts_count] if args.key?(:contacts_count)
1204
+ @profile_views_count = args[:profile_views_count] if args.key?(:profile_views_count)
1205
1205
  end
1206
1206
  end
1207
1207
 
@@ -1210,16 +1210,6 @@ module Google
1210
1210
  class LogMessageRequest
1211
1211
  include Google::Apis::Core::Hashable
1212
1212
 
1213
- # Details about the client message.
1214
- # Corresponds to the JSON property `details`
1215
- # @return [String]
1216
- attr_accessor :details
1217
-
1218
- # Map of client info, such as URL, browser navigator, browser platform, etc.
1219
- # Corresponds to the JSON property `clientInfo`
1220
- # @return [Hash<String,String>]
1221
- attr_accessor :client_info
1222
-
1223
1213
  # Common data that is in each API request.
1224
1214
  # Corresponds to the JSON property `requestMetadata`
1225
1215
  # @return [Google::Apis::PartnersV2::RequestMetadata]
@@ -1230,16 +1220,26 @@ module Google
1230
1220
  # @return [String]
1231
1221
  attr_accessor :level
1232
1222
 
1223
+ # Details about the client message.
1224
+ # Corresponds to the JSON property `details`
1225
+ # @return [String]
1226
+ attr_accessor :details
1227
+
1228
+ # Map of client info, such as URL, browser navigator, browser platform, etc.
1229
+ # Corresponds to the JSON property `clientInfo`
1230
+ # @return [Hash<String,String>]
1231
+ attr_accessor :client_info
1232
+
1233
1233
  def initialize(**args)
1234
1234
  update!(**args)
1235
1235
  end
1236
1236
 
1237
1237
  # Update properties of this object
1238
1238
  def update!(**args)
1239
- @details = args[:details] if args.key?(:details)
1240
- @client_info = args[:client_info] if args.key?(:client_info)
1241
1239
  @request_metadata = args[:request_metadata] if args.key?(:request_metadata)
1242
1240
  @level = args[:level] if args.key?(:level)
1241
+ @details = args[:details] if args.key?(:details)
1242
+ @client_info = args[:client_info] if args.key?(:client_info)
1243
1243
  end
1244
1244
  end
1245
1245
 
@@ -1279,15 +1279,20 @@ module Google
1279
1279
  class Lead
1280
1280
  include Google::Apis::Core::Hashable
1281
1281
 
1282
+ # First name of lead source.
1283
+ # Corresponds to the JSON property `givenName`
1284
+ # @return [String]
1285
+ attr_accessor :given_name
1286
+
1282
1287
  # Represents an amount of money with its currency type.
1283
1288
  # Corresponds to the JSON property `minMonthlyBudget`
1284
1289
  # @return [Google::Apis::PartnersV2::Money]
1285
1290
  attr_accessor :min_monthly_budget
1286
1291
 
1287
- # First name of lead source.
1288
- # Corresponds to the JSON property `givenName`
1292
+ # Website URL of lead source.
1293
+ # Corresponds to the JSON property `websiteUrl`
1289
1294
  # @return [String]
1290
- attr_accessor :given_name
1295
+ attr_accessor :website_url
1291
1296
 
1292
1297
  # Language code of the lead's language preference, as defined by
1293
1298
  # <a href="https://tools.ietf.org/html/bcp47">BCP 47</a>
@@ -1296,11 +1301,6 @@ module Google
1296
1301
  # @return [String]
1297
1302
  attr_accessor :language_code
1298
1303
 
1299
- # Website URL of lead source.
1300
- # Corresponds to the JSON property `websiteUrl`
1301
- # @return [String]
1302
- attr_accessor :website_url
1303
-
1304
1304
  # The lead's state in relation to the company.
1305
1305
  # Corresponds to the JSON property `state`
1306
1306
  # @return [String]
@@ -1363,10 +1363,10 @@ module Google
1363
1363
 
1364
1364
  # Update properties of this object
1365
1365
  def update!(**args)
1366
- @min_monthly_budget = args[:min_monthly_budget] if args.key?(:min_monthly_budget)
1367
1366
  @given_name = args[:given_name] if args.key?(:given_name)
1368
- @language_code = args[:language_code] if args.key?(:language_code)
1367
+ @min_monthly_budget = args[:min_monthly_budget] if args.key?(:min_monthly_budget)
1369
1368
  @website_url = args[:website_url] if args.key?(:website_url)
1369
+ @language_code = args[:language_code] if args.key?(:language_code)
1370
1370
  @state = args[:state] if args.key?(:state)
1371
1371
  @gps_motivations = args[:gps_motivations] if args.key?(:gps_motivations)
1372
1372
  @email = args[:email] if args.key?(:email)
@@ -1412,6 +1412,11 @@ module Google
1412
1412
  class CompanyRelation
1413
1413
  include Google::Apis::Core::Hashable
1414
1414
 
1415
+ # A URL to a profile photo, e.g. a G+ profile photo.
1416
+ # Corresponds to the JSON property `logoUrl`
1417
+ # @return [String]
1418
+ attr_accessor :logo_url
1419
+
1415
1420
  # The timestamp when the user was approved.
1416
1421
  # @OutputOnly
1417
1422
  # Corresponds to the JSON property `resolvedTimestamp`
@@ -1424,17 +1429,17 @@ module Google
1424
1429
  attr_accessor :company_admin
1425
1430
  alias_method :company_admin?, :company_admin
1426
1431
 
1432
+ # The primary address for this company.
1433
+ # Corresponds to the JSON property `address`
1434
+ # @return [String]
1435
+ attr_accessor :address
1436
+
1427
1437
  # The flag that indicates if the company is pending verification.
1428
1438
  # Corresponds to the JSON property `isPending`
1429
1439
  # @return [Boolean]
1430
1440
  attr_accessor :is_pending
1431
1441
  alias_method :is_pending?, :is_pending
1432
1442
 
1433
- # The primary address for this company.
1434
- # Corresponds to the JSON property `address`
1435
- # @return [String]
1436
- attr_accessor :address
1437
-
1438
1443
  # The timestamp of when affiliation was requested.
1439
1444
  # @OutputOnly
1440
1445
  # Corresponds to the JSON property `creationTime`
@@ -1461,58 +1466,53 @@ module Google
1461
1466
  # @return [Array<String>]
1462
1467
  attr_accessor :segment
1463
1468
 
1464
- # Whether the company is a Partner.
1465
- # Corresponds to the JSON property `badgeTier`
1466
- # @return [String]
1467
- attr_accessor :badge_tier
1468
-
1469
1469
  # The list of Google Partners specialization statuses for the company.
1470
1470
  # Corresponds to the JSON property `specializationStatus`
1471
1471
  # @return [Array<Google::Apis::PartnersV2::SpecializationStatus>]
1472
1472
  attr_accessor :specialization_status
1473
1473
 
1474
- # The phone number for the company's primary address.
1475
- # Corresponds to the JSON property `phoneNumber`
1474
+ # Whether the company is a Partner.
1475
+ # Corresponds to the JSON property `badgeTier`
1476
1476
  # @return [String]
1477
- attr_accessor :phone_number
1477
+ attr_accessor :badge_tier
1478
1478
 
1479
1479
  # The website URL for this company.
1480
1480
  # Corresponds to the JSON property `website`
1481
1481
  # @return [String]
1482
1482
  attr_accessor :website
1483
1483
 
1484
+ # The phone number for the company's primary address.
1485
+ # Corresponds to the JSON property `phoneNumber`
1486
+ # @return [String]
1487
+ attr_accessor :phone_number
1488
+
1484
1489
  # The ID of the company. There may be no id if this is a
1485
1490
  # pending company.5
1486
1491
  # Corresponds to the JSON property `companyId`
1487
1492
  # @return [String]
1488
1493
  attr_accessor :company_id
1489
1494
 
1490
- # A URL to a profile photo, e.g. a G+ profile photo.
1491
- # Corresponds to the JSON property `logoUrl`
1492
- # @return [String]
1493
- attr_accessor :logo_url
1494
-
1495
1495
  def initialize(**args)
1496
1496
  update!(**args)
1497
1497
  end
1498
1498
 
1499
1499
  # Update properties of this object
1500
1500
  def update!(**args)
1501
+ @logo_url = args[:logo_url] if args.key?(:logo_url)
1501
1502
  @resolved_timestamp = args[:resolved_timestamp] if args.key?(:resolved_timestamp)
1502
1503
  @company_admin = args[:company_admin] if args.key?(:company_admin)
1503
- @is_pending = args[:is_pending] if args.key?(:is_pending)
1504
1504
  @address = args[:address] if args.key?(:address)
1505
+ @is_pending = args[:is_pending] if args.key?(:is_pending)
1505
1506
  @creation_time = args[:creation_time] if args.key?(:creation_time)
1506
1507
  @state = args[:state] if args.key?(:state)
1507
1508
  @manager_account = args[:manager_account] if args.key?(:manager_account)
1508
1509
  @name = args[:name] if args.key?(:name)
1509
1510
  @segment = args[:segment] if args.key?(:segment)
1510
- @badge_tier = args[:badge_tier] if args.key?(:badge_tier)
1511
1511
  @specialization_status = args[:specialization_status] if args.key?(:specialization_status)
1512
- @phone_number = args[:phone_number] if args.key?(:phone_number)
1512
+ @badge_tier = args[:badge_tier] if args.key?(:badge_tier)
1513
1513
  @website = args[:website] if args.key?(:website)
1514
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
1514
1515
  @company_id = args[:company_id] if args.key?(:company_id)
1515
- @logo_url = args[:logo_url] if args.key?(:logo_url)
1516
1516
  end
1517
1517
  end
1518
1518
 
@@ -1526,11 +1526,6 @@ module Google
1526
1526
  class Date
1527
1527
  include Google::Apis::Core::Hashable
1528
1528
 
1529
- # Month of year. Must be from 1 to 12.
1530
- # Corresponds to the JSON property `month`
1531
- # @return [Fixnum]
1532
- attr_accessor :month
1533
-
1534
1529
  # Year of date. Must be from 1 to 9999, or 0 if specifying a date without
1535
1530
  # a year.
1536
1531
  # Corresponds to the JSON property `year`
@@ -1543,15 +1538,20 @@ module Google
1543
1538
  # @return [Fixnum]
1544
1539
  attr_accessor :day
1545
1540
 
1541
+ # Month of year. Must be from 1 to 12.
1542
+ # Corresponds to the JSON property `month`
1543
+ # @return [Fixnum]
1544
+ attr_accessor :month
1545
+
1546
1546
  def initialize(**args)
1547
1547
  update!(**args)
1548
1548
  end
1549
1549
 
1550
1550
  # Update properties of this object
1551
1551
  def update!(**args)
1552
- @month = args[:month] if args.key?(:month)
1553
1552
  @year = args[:year] if args.key?(:year)
1554
1553
  @day = args[:day] if args.key?(:day)
1554
+ @month = args[:month] if args.key?(:month)
1555
1555
  end
1556
1556
  end
1557
1557
 
@@ -1639,16 +1639,6 @@ module Google
1639
1639
  class RequestMetadata
1640
1640
  include Google::Apis::Core::Hashable
1641
1641
 
1642
- # Experiment IDs the current request belongs to.
1643
- # Corresponds to the JSON property `experimentIds`
1644
- # @return [Array<String>]
1645
- attr_accessor :experiment_ids
1646
-
1647
- # Source of traffic for the current request.
1648
- # Corresponds to the JSON property `trafficSource`
1649
- # @return [Google::Apis::PartnersV2::TrafficSource]
1650
- attr_accessor :traffic_source
1651
-
1652
1642
  # Locale to use for the current request.
1653
1643
  # Corresponds to the JSON property `locale`
1654
1644
  # @return [String]
@@ -1665,17 +1655,27 @@ module Google
1665
1655
  # @return [String]
1666
1656
  attr_accessor :partners_session_id
1667
1657
 
1658
+ # Experiment IDs the current request belongs to.
1659
+ # Corresponds to the JSON property `experimentIds`
1660
+ # @return [Array<String>]
1661
+ attr_accessor :experiment_ids
1662
+
1663
+ # Source of traffic for the current request.
1664
+ # Corresponds to the JSON property `trafficSource`
1665
+ # @return [Google::Apis::PartnersV2::TrafficSource]
1666
+ attr_accessor :traffic_source
1667
+
1668
1668
  def initialize(**args)
1669
1669
  update!(**args)
1670
1670
  end
1671
1671
 
1672
1672
  # Update properties of this object
1673
1673
  def update!(**args)
1674
- @experiment_ids = args[:experiment_ids] if args.key?(:experiment_ids)
1675
- @traffic_source = args[:traffic_source] if args.key?(:traffic_source)
1676
1674
  @locale = args[:locale] if args.key?(:locale)
1677
1675
  @user_overrides = args[:user_overrides] if args.key?(:user_overrides)
1678
1676
  @partners_session_id = args[:partners_session_id] if args.key?(:partners_session_id)
1677
+ @experiment_ids = args[:experiment_ids] if args.key?(:experiment_ids)
1678
+ @traffic_source = args[:traffic_source] if args.key?(:traffic_source)
1679
1679
  end
1680
1680
  end
1681
1681
 
@@ -1708,10 +1708,16 @@ module Google
1708
1708
  class ExamStatus
1709
1709
  include Google::Apis::Core::Hashable
1710
1710
 
1711
- # Date this exam is due to expire.
1712
- # Corresponds to the JSON property `expiration`
1711
+ # Whether this exam has been passed and not expired.
1712
+ # Corresponds to the JSON property `passed`
1713
+ # @return [Boolean]
1714
+ attr_accessor :passed
1715
+ alias_method :passed?, :passed
1716
+
1717
+ # The date the user last taken this exam.
1718
+ # Corresponds to the JSON property `taken`
1713
1719
  # @return [String]
1714
- attr_accessor :expiration
1720
+ attr_accessor :taken
1715
1721
 
1716
1722
  # Whether this exam is in the state of warning.
1717
1723
  # Corresponds to the JSON property `warning`
@@ -1719,6 +1725,11 @@ module Google
1719
1725
  attr_accessor :warning
1720
1726
  alias_method :warning?, :warning
1721
1727
 
1728
+ # Date this exam is due to expire.
1729
+ # Corresponds to the JSON property `expiration`
1730
+ # @return [String]
1731
+ attr_accessor :expiration
1732
+
1722
1733
  # The date the user last passed this exam.
1723
1734
  # Corresponds to the JSON property `lastPassed`
1724
1735
  # @return [String]
@@ -1729,29 +1740,18 @@ module Google
1729
1740
  # @return [String]
1730
1741
  attr_accessor :exam_type
1731
1742
 
1732
- # Whether this exam has been passed and not expired.
1733
- # Corresponds to the JSON property `passed`
1734
- # @return [Boolean]
1735
- attr_accessor :passed
1736
- alias_method :passed?, :passed
1737
-
1738
- # The date the user last taken this exam.
1739
- # Corresponds to the JSON property `taken`
1740
- # @return [String]
1741
- attr_accessor :taken
1742
-
1743
1743
  def initialize(**args)
1744
1744
  update!(**args)
1745
1745
  end
1746
1746
 
1747
1747
  # Update properties of this object
1748
1748
  def update!(**args)
1749
- @expiration = args[:expiration] if args.key?(:expiration)
1749
+ @passed = args[:passed] if args.key?(:passed)
1750
+ @taken = args[:taken] if args.key?(:taken)
1750
1751
  @warning = args[:warning] if args.key?(:warning)
1752
+ @expiration = args[:expiration] if args.key?(:expiration)
1751
1753
  @last_passed = args[:last_passed] if args.key?(:last_passed)
1752
1754
  @exam_type = args[:exam_type] if args.key?(:exam_type)
1753
- @passed = args[:passed] if args.key?(:passed)
1754
- @taken = args[:taken] if args.key?(:taken)
1755
1755
  end
1756
1756
  end
1757
1757
 
@@ -1759,6 +1759,11 @@ module Google
1759
1759
  class ListOffersResponse
1760
1760
  include Google::Apis::Core::Hashable
1761
1761
 
1762
+ # Available Offers to be distributed.
1763
+ # Corresponds to the JSON property `availableOffers`
1764
+ # @return [Array<Google::Apis::PartnersV2::AvailableOffer>]
1765
+ attr_accessor :available_offers
1766
+
1762
1767
  # Common data that is in each API response.
1763
1768
  # Corresponds to the JSON property `responseMetadata`
1764
1769
  # @return [Google::Apis::PartnersV2::ResponseMetadata]
@@ -1769,20 +1774,15 @@ module Google
1769
1774
  # @return [String]
1770
1775
  attr_accessor :no_offer_reason
1771
1776
 
1772
- # Available Offers to be distributed.
1773
- # Corresponds to the JSON property `availableOffers`
1774
- # @return [Array<Google::Apis::PartnersV2::AvailableOffer>]
1775
- attr_accessor :available_offers
1776
-
1777
1777
  def initialize(**args)
1778
1778
  update!(**args)
1779
1779
  end
1780
1780
 
1781
1781
  # Update properties of this object
1782
1782
  def update!(**args)
1783
+ @available_offers = args[:available_offers] if args.key?(:available_offers)
1783
1784
  @response_metadata = args[:response_metadata] if args.key?(:response_metadata)
1784
1785
  @no_offer_reason = args[:no_offer_reason] if args.key?(:no_offer_reason)
1785
- @available_offers = args[:available_offers] if args.key?(:available_offers)
1786
1786
  end
1787
1787
  end
1788
1788
 
@@ -1828,15 +1828,6 @@ module Google
1828
1828
  class ListCompaniesResponse
1829
1829
  include Google::Apis::Core::Hashable
1830
1830
 
1831
- # A token to retrieve next page of results.
1832
- # Pass this value in the `ListCompaniesRequest.page_token` field in the
1833
- # subsequent call to
1834
- # ListCompanies to retrieve the
1835
- # next page of results.
1836
- # Corresponds to the JSON property `nextPageToken`
1837
- # @return [String]
1838
- attr_accessor :next_page_token
1839
-
1840
1831
  # Common data that is in each API response.
1841
1832
  # Corresponds to the JSON property `responseMetadata`
1842
1833
  # @return [Google::Apis::PartnersV2::ResponseMetadata]
@@ -1847,15 +1838,24 @@ module Google
1847
1838
  # @return [Array<Google::Apis::PartnersV2::Company>]
1848
1839
  attr_accessor :companies
1849
1840
 
1841
+ # A token to retrieve next page of results.
1842
+ # Pass this value in the `ListCompaniesRequest.page_token` field in the
1843
+ # subsequent call to
1844
+ # ListCompanies to retrieve the
1845
+ # next page of results.
1846
+ # Corresponds to the JSON property `nextPageToken`
1847
+ # @return [String]
1848
+ attr_accessor :next_page_token
1849
+
1850
1850
  def initialize(**args)
1851
1851
  update!(**args)
1852
1852
  end
1853
1853
 
1854
1854
  # Update properties of this object
1855
1855
  def update!(**args)
1856
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1857
1856
  @response_metadata = args[:response_metadata] if args.key?(:response_metadata)
1858
1857
  @companies = args[:companies] if args.key?(:companies)
1858
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1859
1859
  end
1860
1860
  end
1861
1861
 
@@ -1863,16 +1863,21 @@ module Google
1863
1863
  class OfferCustomer
1864
1864
  include Google::Apis::Core::Hashable
1865
1865
 
1866
- # URL to the customer's AdWords page.
1867
- # Corresponds to the JSON property `adwordsUrl`
1866
+ # Country code of the customer.
1867
+ # Corresponds to the JSON property `countryCode`
1868
1868
  # @return [String]
1869
- attr_accessor :adwords_url
1869
+ attr_accessor :country_code
1870
1870
 
1871
1871
  # Time the customer was created.
1872
1872
  # Corresponds to the JSON property `creationTime`
1873
1873
  # @return [String]
1874
1874
  attr_accessor :creation_time
1875
1875
 
1876
+ # Days the customer is still eligible.
1877
+ # Corresponds to the JSON property `eligibilityDaysLeft`
1878
+ # @return [Fixnum]
1879
+ attr_accessor :eligibility_days_left
1880
+
1876
1881
  # Type of the offer
1877
1882
  # Corresponds to the JSON property `offerType`
1878
1883
  # @return [String]
@@ -1883,16 +1888,6 @@ module Google
1883
1888
  # @return [String]
1884
1889
  attr_accessor :external_cid
1885
1890
 
1886
- # Country code of the customer.
1887
- # Corresponds to the JSON property `countryCode`
1888
- # @return [String]
1889
- attr_accessor :country_code
1890
-
1891
- # Days the customer is still eligible.
1892
- # Corresponds to the JSON property `eligibilityDaysLeft`
1893
- # @return [Fixnum]
1894
- attr_accessor :eligibility_days_left
1895
-
1896
1891
  # Formatted Get Y amount with currency code.
1897
1892
  # Corresponds to the JSON property `getYAmount`
1898
1893
  # @return [String]
@@ -1908,21 +1903,26 @@ module Google
1908
1903
  # @return [String]
1909
1904
  attr_accessor :spend_x_amount
1910
1905
 
1906
+ # URL to the customer's AdWords page.
1907
+ # Corresponds to the JSON property `adwordsUrl`
1908
+ # @return [String]
1909
+ attr_accessor :adwords_url
1910
+
1911
1911
  def initialize(**args)
1912
1912
  update!(**args)
1913
1913
  end
1914
1914
 
1915
1915
  # Update properties of this object
1916
1916
  def update!(**args)
1917
- @adwords_url = args[:adwords_url] if args.key?(:adwords_url)
1917
+ @country_code = args[:country_code] if args.key?(:country_code)
1918
1918
  @creation_time = args[:creation_time] if args.key?(:creation_time)
1919
+ @eligibility_days_left = args[:eligibility_days_left] if args.key?(:eligibility_days_left)
1919
1920
  @offer_type = args[:offer_type] if args.key?(:offer_type)
1920
1921
  @external_cid = args[:external_cid] if args.key?(:external_cid)
1921
- @country_code = args[:country_code] if args.key?(:country_code)
1922
- @eligibility_days_left = args[:eligibility_days_left] if args.key?(:eligibility_days_left)
1923
1922
  @get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount)
1924
1923
  @name = args[:name] if args.key?(:name)
1925
1924
  @spend_x_amount = args[:spend_x_amount] if args.key?(:spend_x_amount)
1925
+ @adwords_url = args[:adwords_url] if args.key?(:adwords_url)
1926
1926
  end
1927
1927
  end
1928
1928
 
@@ -1930,6 +1930,16 @@ module Google
1930
1930
  class CertificationStatus
1931
1931
  include Google::Apis::Core::Hashable
1932
1932
 
1933
+ # List of certification exam statuses.
1934
+ # Corresponds to the JSON property `examStatuses`
1935
+ # @return [Array<Google::Apis::PartnersV2::CertificationExamStatus>]
1936
+ attr_accessor :exam_statuses
1937
+
1938
+ # The type of the certification.
1939
+ # Corresponds to the JSON property `type`
1940
+ # @return [String]
1941
+ attr_accessor :type
1942
+
1933
1943
  # Number of people who are certified,
1934
1944
  # Corresponds to the JSON property `userCount`
1935
1945
  # @return [Fixnum]
@@ -1941,26 +1951,16 @@ module Google
1941
1951
  attr_accessor :is_certified
1942
1952
  alias_method :is_certified?, :is_certified
1943
1953
 
1944
- # List of certification exam statuses.
1945
- # Corresponds to the JSON property `examStatuses`
1946
- # @return [Array<Google::Apis::PartnersV2::CertificationExamStatus>]
1947
- attr_accessor :exam_statuses
1948
-
1949
- # The type of the certification.
1950
- # Corresponds to the JSON property `type`
1951
- # @return [String]
1952
- attr_accessor :type
1953
-
1954
1954
  def initialize(**args)
1955
1955
  update!(**args)
1956
1956
  end
1957
1957
 
1958
1958
  # Update properties of this object
1959
1959
  def update!(**args)
1960
- @user_count = args[:user_count] if args.key?(:user_count)
1961
- @is_certified = args[:is_certified] if args.key?(:is_certified)
1962
1960
  @exam_statuses = args[:exam_statuses] if args.key?(:exam_statuses)
1963
1961
  @type = args[:type] if args.key?(:type)
1962
+ @user_count = args[:user_count] if args.key?(:user_count)
1963
+ @is_certified = args[:is_certified] if args.key?(:is_certified)
1964
1964
  end
1965
1965
  end
1966
1966
 
@@ -2027,16 +2027,6 @@ module Google
2027
2027
  class ListOffersHistoryResponse
2028
2028
  include Google::Apis::Core::Hashable
2029
2029
 
2030
- # Historical offers meeting request.
2031
- # Corresponds to the JSON property `offers`
2032
- # @return [Array<Google::Apis::PartnersV2::HistoricalOffer>]
2033
- attr_accessor :offers
2034
-
2035
- # Supply this token in a ListOffersHistoryRequest to retrieve the next page.
2036
- # Corresponds to the JSON property `nextPageToken`
2037
- # @return [String]
2038
- attr_accessor :next_page_token
2039
-
2040
2030
  # Common data that is in each API response.
2041
2031
  # Corresponds to the JSON property `responseMetadata`
2042
2032
  # @return [Google::Apis::PartnersV2::ResponseMetadata]
@@ -2059,18 +2049,28 @@ module Google
2059
2049
  attr_accessor :showing_entire_company
2060
2050
  alias_method :showing_entire_company?, :showing_entire_company
2061
2051
 
2052
+ # Historical offers meeting request.
2053
+ # Corresponds to the JSON property `offers`
2054
+ # @return [Array<Google::Apis::PartnersV2::HistoricalOffer>]
2055
+ attr_accessor :offers
2056
+
2057
+ # Supply this token in a ListOffersHistoryRequest to retrieve the next page.
2058
+ # Corresponds to the JSON property `nextPageToken`
2059
+ # @return [String]
2060
+ attr_accessor :next_page_token
2061
+
2062
2062
  def initialize(**args)
2063
2063
  update!(**args)
2064
2064
  end
2065
2065
 
2066
2066
  # Update properties of this object
2067
2067
  def update!(**args)
2068
- @offers = args[:offers] if args.key?(:offers)
2069
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2070
2068
  @response_metadata = args[:response_metadata] if args.key?(:response_metadata)
2071
2069
  @can_show_entire_company = args[:can_show_entire_company] if args.key?(:can_show_entire_company)
2072
2070
  @total_results = args[:total_results] if args.key?(:total_results)
2073
2071
  @showing_entire_company = args[:showing_entire_company] if args.key?(:showing_entire_company)
2072
+ @offers = args[:offers] if args.key?(:offers)
2073
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2074
2074
  end
2075
2075
  end
2076
2076
 
@@ -2123,16 +2123,6 @@ module Google
2123
2123
  class Certification
2124
2124
  include Google::Apis::Core::Hashable
2125
2125
 
2126
- # The type of certification, the area of expertise.
2127
- # Corresponds to the JSON property `certificationType`
2128
- # @return [String]
2129
- attr_accessor :certification_type
2130
-
2131
- # The date the user last achieved certification.
2132
- # Corresponds to the JSON property `lastAchieved`
2133
- # @return [String]
2134
- attr_accessor :last_achieved
2135
-
2136
2126
  # Whether this certification has been achieved.
2137
2127
  # Corresponds to the JSON property `achieved`
2138
2128
  # @return [Boolean]
@@ -2150,17 +2140,27 @@ module Google
2150
2140
  attr_accessor :warning
2151
2141
  alias_method :warning?, :warning
2152
2142
 
2143
+ # The type of certification, the area of expertise.
2144
+ # Corresponds to the JSON property `certificationType`
2145
+ # @return [String]
2146
+ attr_accessor :certification_type
2147
+
2148
+ # The date the user last achieved certification.
2149
+ # Corresponds to the JSON property `lastAchieved`
2150
+ # @return [String]
2151
+ attr_accessor :last_achieved
2152
+
2153
2153
  def initialize(**args)
2154
2154
  update!(**args)
2155
2155
  end
2156
2156
 
2157
2157
  # Update properties of this object
2158
2158
  def update!(**args)
2159
- @certification_type = args[:certification_type] if args.key?(:certification_type)
2160
- @last_achieved = args[:last_achieved] if args.key?(:last_achieved)
2161
2159
  @achieved = args[:achieved] if args.key?(:achieved)
2162
2160
  @expiration = args[:expiration] if args.key?(:expiration)
2163
2161
  @warning = args[:warning] if args.key?(:warning)
2162
+ @certification_type = args[:certification_type] if args.key?(:certification_type)
2163
+ @last_achieved = args[:last_achieved] if args.key?(:last_achieved)
2164
2164
  end
2165
2165
  end
2166
2166
 
@@ -2168,35 +2168,6 @@ module Google
2168
2168
  class User
2169
2169
  include Google::Apis::Core::Hashable
2170
2170
 
2171
- # The list of exams the user ever taken. For each type of exam, only one
2172
- # entry is listed.
2173
- # Corresponds to the JSON property `examStatus`
2174
- # @return [Array<Google::Apis::PartnersV2::ExamStatus>]
2175
- attr_accessor :exam_status
2176
-
2177
- # The ID of the user.
2178
- # Corresponds to the JSON property `id`
2179
- # @return [String]
2180
- attr_accessor :id
2181
-
2182
- # Basic information from a public profile.
2183
- # Corresponds to the JSON property `publicProfile`
2184
- # @return [Google::Apis::PartnersV2::PublicProfile]
2185
- attr_accessor :public_profile
2186
-
2187
- # The email address used by the user used for company verification.
2188
- # @OutputOnly
2189
- # Corresponds to the JSON property `companyVerificationEmail`
2190
- # @return [String]
2191
- attr_accessor :company_verification_email
2192
-
2193
- # The list of achieved certifications. These are calculated based on exam
2194
- # results and other requirements.
2195
- # @OutputOnly
2196
- # Corresponds to the JSON property `certificationStatus`
2197
- # @return [Array<Google::Apis::PartnersV2::Certification>]
2198
- attr_accessor :certification_status
2199
-
2200
2171
  # A CompanyRelation resource representing information about a user's
2201
2172
  # affiliation and standing with a company in Partners.
2202
2173
  # Corresponds to the JSON property `company`
@@ -2214,6 +2185,12 @@ module Google
2214
2185
  # @return [String]
2215
2186
  attr_accessor :last_access_time
2216
2187
 
2188
+ # The list of emails the user has access to/can select as primary.
2189
+ # @OutputOnly
2190
+ # Corresponds to the JSON property `primaryEmails`
2191
+ # @return [Array<String>]
2192
+ attr_accessor :primary_emails
2193
+
2217
2194
  # This is the list of AdWords Manager Accounts the user has edit access to.
2218
2195
  # If the user has edit access to multiple accounts, the user can choose the
2219
2196
  # preferred account and we use this when a personal account is needed. Can
@@ -2223,11 +2200,34 @@ module Google
2223
2200
  # @return [Array<Google::Apis::PartnersV2::AdWordsManagerAccountInfo>]
2224
2201
  attr_accessor :available_adwords_manager_accounts
2225
2202
 
2226
- # The list of emails the user has access to/can select as primary.
2203
+ # The list of exams the user ever taken. For each type of exam, only one
2204
+ # entry is listed.
2205
+ # Corresponds to the JSON property `examStatus`
2206
+ # @return [Array<Google::Apis::PartnersV2::ExamStatus>]
2207
+ attr_accessor :exam_status
2208
+
2209
+ # The ID of the user.
2210
+ # Corresponds to the JSON property `id`
2211
+ # @return [String]
2212
+ attr_accessor :id
2213
+
2214
+ # Basic information from a public profile.
2215
+ # Corresponds to the JSON property `publicProfile`
2216
+ # @return [Google::Apis::PartnersV2::PublicProfile]
2217
+ attr_accessor :public_profile
2218
+
2219
+ # The list of achieved certifications. These are calculated based on exam
2220
+ # results and other requirements.
2227
2221
  # @OutputOnly
2228
- # Corresponds to the JSON property `primaryEmails`
2229
- # @return [Array<String>]
2230
- attr_accessor :primary_emails
2222
+ # Corresponds to the JSON property `certificationStatus`
2223
+ # @return [Array<Google::Apis::PartnersV2::Certification>]
2224
+ attr_accessor :certification_status
2225
+
2226
+ # The email address used by the user used for company verification.
2227
+ # @OutputOnly
2228
+ # Corresponds to the JSON property `companyVerificationEmail`
2229
+ # @return [String]
2230
+ attr_accessor :company_verification_email
2231
2231
 
2232
2232
  def initialize(**args)
2233
2233
  update!(**args)
@@ -2235,16 +2235,16 @@ module Google
2235
2235
 
2236
2236
  # Update properties of this object
2237
2237
  def update!(**args)
2238
- @exam_status = args[:exam_status] if args.key?(:exam_status)
2239
- @id = args[:id] if args.key?(:id)
2240
- @public_profile = args[:public_profile] if args.key?(:public_profile)
2241
- @company_verification_email = args[:company_verification_email] if args.key?(:company_verification_email)
2242
- @certification_status = args[:certification_status] if args.key?(:certification_status)
2243
2238
  @company = args[:company] if args.key?(:company)
2244
2239
  @profile = args[:profile] if args.key?(:profile)
2245
2240
  @last_access_time = args[:last_access_time] if args.key?(:last_access_time)
2246
- @available_adwords_manager_accounts = args[:available_adwords_manager_accounts] if args.key?(:available_adwords_manager_accounts)
2247
2241
  @primary_emails = args[:primary_emails] if args.key?(:primary_emails)
2242
+ @available_adwords_manager_accounts = args[:available_adwords_manager_accounts] if args.key?(:available_adwords_manager_accounts)
2243
+ @exam_status = args[:exam_status] if args.key?(:exam_status)
2244
+ @id = args[:id] if args.key?(:id)
2245
+ @public_profile = args[:public_profile] if args.key?(:public_profile)
2246
+ @certification_status = args[:certification_status] if args.key?(:certification_status)
2247
+ @company_verification_email = args[:company_verification_email] if args.key?(:company_verification_email)
2248
2248
  end
2249
2249
  end
2250
2250