google-api-client 0.41.1 → 0.41.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +41 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  5. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  6. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  7. data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
  8. data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
  9. data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
  10. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  11. data/generated/google/apis/bigquery_v2.rb +1 -1
  12. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  13. data/generated/google/apis/bigtableadmin_v2/classes.rb +6 -6
  14. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  15. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  16. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  17. data/generated/google/apis/cloudbuild_v1/classes.rb +271 -11
  18. data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
  19. data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
  20. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  21. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
  22. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
  23. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  24. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  25. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
  26. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
  27. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  28. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  29. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
  30. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  31. data/generated/google/apis/compute_alpha.rb +1 -1
  32. data/generated/google/apis/compute_alpha/classes.rb +54 -30
  33. data/generated/google/apis/compute_alpha/representations.rb +3 -0
  34. data/generated/google/apis/compute_alpha/service.rb +23 -29
  35. data/generated/google/apis/compute_beta.rb +1 -1
  36. data/generated/google/apis/compute_beta/classes.rb +55 -29
  37. data/generated/google/apis/compute_beta/representations.rb +2 -0
  38. data/generated/google/apis/compute_beta/service.rb +75 -29
  39. data/generated/google/apis/compute_v1.rb +1 -1
  40. data/generated/google/apis/compute_v1/classes.rb +84 -29
  41. data/generated/google/apis/compute_v1/representations.rb +17 -0
  42. data/generated/google/apis/compute_v1/service.rb +21 -29
  43. data/generated/google/apis/container_v1.rb +1 -1
  44. data/generated/google/apis/container_v1/classes.rb +94 -2
  45. data/generated/google/apis/container_v1/representations.rb +35 -0
  46. data/generated/google/apis/container_v1beta1.rb +1 -1
  47. data/generated/google/apis/container_v1beta1/classes.rb +121 -17
  48. data/generated/google/apis/container_v1beta1/representations.rb +37 -0
  49. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  50. data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
  51. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  52. data/generated/google/apis/dataproc_v1.rb +1 -1
  53. data/generated/google/apis/dataproc_v1/classes.rb +6 -5
  54. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  55. data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -5
  56. data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
  57. data/generated/google/apis/dialogflow_v2.rb +1 -1
  58. data/generated/google/apis/dialogflow_v2/classes.rb +74 -8
  59. data/generated/google/apis/dialogflow_v2/representations.rb +16 -0
  60. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  61. data/generated/google/apis/dialogflow_v2beta1/classes.rb +74 -8
  62. data/generated/google/apis/dialogflow_v2beta1/representations.rb +16 -0
  63. data/generated/google/apis/dialogflow_v2beta1/service.rb +42 -42
  64. data/generated/google/apis/displayvideo_v1.rb +1 -1
  65. data/generated/google/apis/displayvideo_v1/classes.rb +3 -6
  66. data/generated/google/apis/displayvideo_v1/service.rb +0 -4
  67. data/generated/google/apis/dns_v1beta2.rb +4 -4
  68. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  69. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  70. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  71. data/generated/google/apis/drive_v2.rb +1 -1
  72. data/generated/google/apis/drive_v2/classes.rb +9 -0
  73. data/generated/google/apis/drive_v2/representations.rb +1 -0
  74. data/generated/google/apis/drive_v3.rb +1 -1
  75. data/generated/google/apis/drive_v3/classes.rb +9 -0
  76. data/generated/google/apis/drive_v3/representations.rb +1 -0
  77. data/generated/google/apis/games_v1.rb +1 -1
  78. data/generated/google/apis/gameservices_v1.rb +34 -0
  79. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  80. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  81. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  82. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +33 -0
  83. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  84. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  85. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  86. data/generated/google/apis/managedidentities_v1.rb +1 -1
  87. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  88. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  89. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  90. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  91. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  92. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  93. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  94. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  95. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  96. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  97. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  98. data/generated/google/apis/ml_v1.rb +1 -1
  99. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  100. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +73 -0
  101. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +32 -0
  102. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +477 -0
  103. data/generated/google/apis/run_v1.rb +1 -1
  104. data/generated/google/apis/run_v1/classes.rb +1 -6
  105. data/generated/google/apis/run_v1/service.rb +1 -1
  106. data/generated/google/apis/run_v1alpha1.rb +1 -1
  107. data/generated/google/apis/run_v1alpha1/service.rb +1 -1
  108. data/generated/google/apis/run_v1beta1.rb +1 -1
  109. data/generated/google/apis/run_v1beta1/service.rb +1 -1
  110. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  111. data/generated/google/apis/sasportal_v1alpha1/classes.rb +73 -0
  112. data/generated/google/apis/sasportal_v1alpha1/representations.rb +32 -0
  113. data/generated/google/apis/sasportal_v1alpha1/service.rb +477 -0
  114. data/generated/google/apis/spanner_v1.rb +1 -1
  115. data/generated/google/apis/spanner_v1/service.rb +5 -0
  116. data/lib/google/apis/version.rb +1 -1
  117. metadata +11 -3
@@ -0,0 +1,33 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/gmailpostmastertools_v1beta1/service.rb'
16
+ require 'google/apis/gmailpostmastertools_v1beta1/classes.rb'
17
+ require 'google/apis/gmailpostmastertools_v1beta1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Gmail Postmaster Tools API
22
+ #
23
+ # The Gmail Postmaster API is a RESTful API that provides programmatic access to
24
+ # email traffic metrics (like spam reports, delivery errors etc) otherwise
25
+ # available through the Gmail Postmaster Tools UI currently.
26
+ #
27
+ # @see https://developers.google.com/gmail/postmaster
28
+ module GmailpostmastertoolsV1beta1
29
+ VERSION = 'V1beta1'
30
+ REVISION = '20200629'
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,306 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module GmailpostmastertoolsV1beta1
24
+
25
+ # Metric on a particular delivery error type.
26
+ class DeliveryError
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The class of delivery error.
30
+ # Corresponds to the JSON property `errorClass`
31
+ # @return [String]
32
+ attr_accessor :error_class
33
+
34
+ # The ratio of messages where the error occurred vs all authenticated
35
+ # traffic.
36
+ # Corresponds to the JSON property `errorRatio`
37
+ # @return [Float]
38
+ attr_accessor :error_ratio
39
+
40
+ # The type of delivery error.
41
+ # Corresponds to the JSON property `errorType`
42
+ # @return [String]
43
+ attr_accessor :error_type
44
+
45
+ def initialize(**args)
46
+ update!(**args)
47
+ end
48
+
49
+ # Update properties of this object
50
+ def update!(**args)
51
+ @error_class = args[:error_class] if args.key?(:error_class)
52
+ @error_ratio = args[:error_ratio] if args.key?(:error_ratio)
53
+ @error_type = args[:error_type] if args.key?(:error_type)
54
+ end
55
+ end
56
+
57
+ # A registered domain resource in the Postmaster API.
58
+ class Domain
59
+ include Google::Apis::Core::Hashable
60
+
61
+ # Timestamp when the user registered this domain. Assigned by
62
+ # the server.
63
+ # Corresponds to the JSON property `createTime`
64
+ # @return [String]
65
+ attr_accessor :create_time
66
+
67
+ # The resource name of the Domain.
68
+ # Domain names have the form `domains/`domain_name``, where domain_name
69
+ # is the fully qualified domain name (i.e., mymail.mydomain.com).
70
+ # Corresponds to the JSON property `name`
71
+ # @return [String]
72
+ attr_accessor :name
73
+
74
+ # User’s permission for this domain. Assigned by the server.
75
+ # Corresponds to the JSON property `permission`
76
+ # @return [String]
77
+ attr_accessor :permission
78
+
79
+ def initialize(**args)
80
+ update!(**args)
81
+ end
82
+
83
+ # Update properties of this object
84
+ def update!(**args)
85
+ @create_time = args[:create_time] if args.key?(:create_time)
86
+ @name = args[:name] if args.key?(:name)
87
+ @permission = args[:permission] if args.key?(:permission)
88
+ end
89
+ end
90
+
91
+ # [Feedback loop](https://support.google.com/mail/answer/6254652) identifier
92
+ # information.
93
+ class FeedbackLoop
94
+ include Google::Apis::Core::Hashable
95
+
96
+ # Feedback loop identifier that uniquely identifies individual campaigns.
97
+ # Corresponds to the JSON property `id`
98
+ # @return [String]
99
+ attr_accessor :id
100
+
101
+ # The ratio of user marked spam messages with the identifier vs the total
102
+ # number of inboxed messages with that identifier.
103
+ # Corresponds to the JSON property `spamRatio`
104
+ # @return [Float]
105
+ attr_accessor :spam_ratio
106
+
107
+ def initialize(**args)
108
+ update!(**args)
109
+ end
110
+
111
+ # Update properties of this object
112
+ def update!(**args)
113
+ @id = args[:id] if args.key?(:id)
114
+ @spam_ratio = args[:spam_ratio] if args.key?(:spam_ratio)
115
+ end
116
+ end
117
+
118
+ # IP Reputation information for a set of IPs in a specific reputation category.
119
+ class IpReputation
120
+ include Google::Apis::Core::Hashable
121
+
122
+ # Total number of unique IPs in this reputation category. This metric only
123
+ # pertains to traffic that passed [SPF](http://www.openspf.org/) or
124
+ # [DKIM](http://www.dkim.org/).
125
+ # Corresponds to the JSON property `numIps`
126
+ # @return [Fixnum]
127
+ attr_accessor :num_ips
128
+
129
+ # The reputation category this IP reputation represents.
130
+ # Corresponds to the JSON property `reputation`
131
+ # @return [String]
132
+ attr_accessor :reputation
133
+
134
+ # A sample of IPs in this reputation category.
135
+ # Corresponds to the JSON property `sampleIps`
136
+ # @return [Array<String>]
137
+ attr_accessor :sample_ips
138
+
139
+ def initialize(**args)
140
+ update!(**args)
141
+ end
142
+
143
+ # Update properties of this object
144
+ def update!(**args)
145
+ @num_ips = args[:num_ips] if args.key?(:num_ips)
146
+ @reputation = args[:reputation] if args.key?(:reputation)
147
+ @sample_ips = args[:sample_ips] if args.key?(:sample_ips)
148
+ end
149
+ end
150
+
151
+ # Response message for ListDomains.
152
+ class ListDomainsResponse
153
+ include Google::Apis::Core::Hashable
154
+
155
+ # The list of domains.
156
+ # Corresponds to the JSON property `domains`
157
+ # @return [Array<Google::Apis::GmailpostmastertoolsV1beta1::Domain>]
158
+ attr_accessor :domains
159
+
160
+ # Token to retrieve the next page of results, or empty if there are no
161
+ # more results in the list.
162
+ # Corresponds to the JSON property `nextPageToken`
163
+ # @return [String]
164
+ attr_accessor :next_page_token
165
+
166
+ def initialize(**args)
167
+ update!(**args)
168
+ end
169
+
170
+ # Update properties of this object
171
+ def update!(**args)
172
+ @domains = args[:domains] if args.key?(:domains)
173
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
174
+ end
175
+ end
176
+
177
+ # Response message for ListTrafficStats.
178
+ class ListTrafficStatsResponse
179
+ include Google::Apis::Core::Hashable
180
+
181
+ # Token to retrieve the next page of results, or empty if there are no
182
+ # more results in the list.
183
+ # Corresponds to the JSON property `nextPageToken`
184
+ # @return [String]
185
+ attr_accessor :next_page_token
186
+
187
+ # The list of TrafficStats.
188
+ # Corresponds to the JSON property `trafficStats`
189
+ # @return [Array<Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats>]
190
+ attr_accessor :traffic_stats
191
+
192
+ def initialize(**args)
193
+ update!(**args)
194
+ end
195
+
196
+ # Update properties of this object
197
+ def update!(**args)
198
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
199
+ @traffic_stats = args[:traffic_stats] if args.key?(:traffic_stats)
200
+ end
201
+ end
202
+
203
+ # Email traffic statistics pertaining to a specific date.
204
+ class TrafficStats
205
+ include Google::Apis::Core::Hashable
206
+
207
+ # Delivery errors for the domain. This metric only pertains to traffic that
208
+ # passed [SPF](http://www.openspf.org/) or [DKIM](http://www.dkim.org/).
209
+ # Corresponds to the JSON property `deliveryErrors`
210
+ # @return [Array<Google::Apis::GmailpostmastertoolsV1beta1::DeliveryError>]
211
+ attr_accessor :delivery_errors
212
+
213
+ # The ratio of mail that successfully authenticated with DKIM vs. all mail
214
+ # that attempted to authenticate with [DKIM](http://www.dkim.org/). Spoofed
215
+ # mail is excluded.
216
+ # Corresponds to the JSON property `dkimSuccessRatio`
217
+ # @return [Float]
218
+ attr_accessor :dkim_success_ratio
219
+
220
+ # The ratio of mail that passed [DMARC](https://dmarc.org/) alignment checks
221
+ # vs all mail received from the domain that successfully authenticated with
222
+ # either of [SPF](http://www.openspf.org/) or [DKIM](http://www.dkim.org/).
223
+ # Corresponds to the JSON property `dmarcSuccessRatio`
224
+ # @return [Float]
225
+ attr_accessor :dmarc_success_ratio
226
+
227
+ # Reputation of the domain.
228
+ # Corresponds to the JSON property `domainReputation`
229
+ # @return [String]
230
+ attr_accessor :domain_reputation
231
+
232
+ # The ratio of incoming mail (to Gmail), that passed secure transport (TLS)
233
+ # vs all mail received from that domain. This metric only pertains to traffic
234
+ # that passed [SPF](http://www.openspf.org/) or [DKIM](http://www.dkim.org/).
235
+ # Corresponds to the JSON property `inboundEncryptionRatio`
236
+ # @return [Float]
237
+ attr_accessor :inbound_encryption_ratio
238
+
239
+ # Reputation information pertaining to the IP addresses of the email servers
240
+ # for the domain. There is exactly one entry for each reputation category
241
+ # except
242
+ # REPUTATION_CATEGORY_UNSPECIFIED.
243
+ # Corresponds to the JSON property `ipReputations`
244
+ # @return [Array<Google::Apis::GmailpostmastertoolsV1beta1::IpReputation>]
245
+ attr_accessor :ip_reputations
246
+
247
+ # The resource name of the traffic statistics. Traffic statistic names have
248
+ # the form `domains/`domain`/trafficStats/`date``, where
249
+ # domain_name is the fully qualified domain name (i.e., mymail.mydomain.com)
250
+ # of the domain this traffic statistics pertains to and date is the date in
251
+ # yyyymmdd format that these statistics corresponds to.
252
+ # For example: domains/mymail.mydomain.com/trafficStats/20160807
253
+ # Corresponds to the JSON property `name`
254
+ # @return [String]
255
+ attr_accessor :name
256
+
257
+ # The ratio of outgoing mail (from Gmail) that was accepted over secure
258
+ # transport (TLS).
259
+ # Corresponds to the JSON property `outboundEncryptionRatio`
260
+ # @return [Float]
261
+ attr_accessor :outbound_encryption_ratio
262
+
263
+ # Spammy [Feedback loop identifiers]
264
+ # (https://support.google.com/mail/answer/6254652) with their individual spam
265
+ # rates. This metric only pertains to traffic that is authenticated by
266
+ # [DKIM](http://www.dkim.org/).
267
+ # Corresponds to the JSON property `spammyFeedbackLoops`
268
+ # @return [Array<Google::Apis::GmailpostmastertoolsV1beta1::FeedbackLoop>]
269
+ attr_accessor :spammy_feedback_loops
270
+
271
+ # The ratio of mail that successfully authenticated with SPF vs. all mail
272
+ # that attempted to authenticate with [SPF](http://www.openspf.org/). Spoofed
273
+ # mail is excluded.
274
+ # Corresponds to the JSON property `spfSuccessRatio`
275
+ # @return [Float]
276
+ attr_accessor :spf_success_ratio
277
+
278
+ # The ratio of user-report spam vs. email that was sent to the inbox. This
279
+ # metric only pertains to emails authenticated by
280
+ # [DKIM](http://www.dkim.org/).
281
+ # Corresponds to the JSON property `userReportedSpamRatio`
282
+ # @return [Float]
283
+ attr_accessor :user_reported_spam_ratio
284
+
285
+ def initialize(**args)
286
+ update!(**args)
287
+ end
288
+
289
+ # Update properties of this object
290
+ def update!(**args)
291
+ @delivery_errors = args[:delivery_errors] if args.key?(:delivery_errors)
292
+ @dkim_success_ratio = args[:dkim_success_ratio] if args.key?(:dkim_success_ratio)
293
+ @dmarc_success_ratio = args[:dmarc_success_ratio] if args.key?(:dmarc_success_ratio)
294
+ @domain_reputation = args[:domain_reputation] if args.key?(:domain_reputation)
295
+ @inbound_encryption_ratio = args[:inbound_encryption_ratio] if args.key?(:inbound_encryption_ratio)
296
+ @ip_reputations = args[:ip_reputations] if args.key?(:ip_reputations)
297
+ @name = args[:name] if args.key?(:name)
298
+ @outbound_encryption_ratio = args[:outbound_encryption_ratio] if args.key?(:outbound_encryption_ratio)
299
+ @spammy_feedback_loops = args[:spammy_feedback_loops] if args.key?(:spammy_feedback_loops)
300
+ @spf_success_ratio = args[:spf_success_ratio] if args.key?(:spf_success_ratio)
301
+ @user_reported_spam_ratio = args[:user_reported_spam_ratio] if args.key?(:user_reported_spam_ratio)
302
+ end
303
+ end
304
+ end
305
+ end
306
+ end
@@ -0,0 +1,141 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module GmailpostmastertoolsV1beta1
24
+
25
+ class DeliveryError
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Domain
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class FeedbackLoop
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class IpReputation
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class ListDomainsResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class ListTrafficStatsResponse
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class TrafficStats
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class DeliveryError
68
+ # @private
69
+ class Representation < Google::Apis::Core::JsonRepresentation
70
+ property :error_class, as: 'errorClass'
71
+ property :error_ratio, as: 'errorRatio'
72
+ property :error_type, as: 'errorType'
73
+ end
74
+ end
75
+
76
+ class Domain
77
+ # @private
78
+ class Representation < Google::Apis::Core::JsonRepresentation
79
+ property :create_time, as: 'createTime'
80
+ property :name, as: 'name'
81
+ property :permission, as: 'permission'
82
+ end
83
+ end
84
+
85
+ class FeedbackLoop
86
+ # @private
87
+ class Representation < Google::Apis::Core::JsonRepresentation
88
+ property :id, as: 'id'
89
+ property :spam_ratio, as: 'spamRatio'
90
+ end
91
+ end
92
+
93
+ class IpReputation
94
+ # @private
95
+ class Representation < Google::Apis::Core::JsonRepresentation
96
+ property :num_ips, :numeric_string => true, as: 'numIps'
97
+ property :reputation, as: 'reputation'
98
+ collection :sample_ips, as: 'sampleIps'
99
+ end
100
+ end
101
+
102
+ class ListDomainsResponse
103
+ # @private
104
+ class Representation < Google::Apis::Core::JsonRepresentation
105
+ collection :domains, as: 'domains', class: Google::Apis::GmailpostmastertoolsV1beta1::Domain, decorator: Google::Apis::GmailpostmastertoolsV1beta1::Domain::Representation
106
+
107
+ property :next_page_token, as: 'nextPageToken'
108
+ end
109
+ end
110
+
111
+ class ListTrafficStatsResponse
112
+ # @private
113
+ class Representation < Google::Apis::Core::JsonRepresentation
114
+ property :next_page_token, as: 'nextPageToken'
115
+ collection :traffic_stats, as: 'trafficStats', class: Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats, decorator: Google::Apis::GmailpostmastertoolsV1beta1::TrafficStats::Representation
116
+
117
+ end
118
+ end
119
+
120
+ class TrafficStats
121
+ # @private
122
+ class Representation < Google::Apis::Core::JsonRepresentation
123
+ collection :delivery_errors, as: 'deliveryErrors', class: Google::Apis::GmailpostmastertoolsV1beta1::DeliveryError, decorator: Google::Apis::GmailpostmastertoolsV1beta1::DeliveryError::Representation
124
+
125
+ property :dkim_success_ratio, as: 'dkimSuccessRatio'
126
+ property :dmarc_success_ratio, as: 'dmarcSuccessRatio'
127
+ property :domain_reputation, as: 'domainReputation'
128
+ property :inbound_encryption_ratio, as: 'inboundEncryptionRatio'
129
+ collection :ip_reputations, as: 'ipReputations', class: Google::Apis::GmailpostmastertoolsV1beta1::IpReputation, decorator: Google::Apis::GmailpostmastertoolsV1beta1::IpReputation::Representation
130
+
131
+ property :name, as: 'name'
132
+ property :outbound_encryption_ratio, as: 'outboundEncryptionRatio'
133
+ collection :spammy_feedback_loops, as: 'spammyFeedbackLoops', class: Google::Apis::GmailpostmastertoolsV1beta1::FeedbackLoop, decorator: Google::Apis::GmailpostmastertoolsV1beta1::FeedbackLoop::Representation
134
+
135
+ property :spf_success_ratio, as: 'spfSuccessRatio'
136
+ property :user_reported_spam_ratio, as: 'userReportedSpamRatio'
137
+ end
138
+ end
139
+ end
140
+ end
141
+ end