google-apis-adsense_v2 0.11.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 732d76d0a4a9495c9bb054a891daee0b86d590fa3171c20334ca8a4c623a4020
4
- data.tar.gz: 9c588371721a2b122f8bfa5c76396d4589bfc79e49e3e2a47eab6dcc40032923
3
+ metadata.gz: 7043c97180eac33f139e24c6d5b027fa7e155ec4fd07cd4869ee0910f44fd37d
4
+ data.tar.gz: c21fc3b437cbed90724fdc24fe6926d0be3ea091101338a15667d4b29f3c747e
5
5
  SHA512:
6
- metadata.gz: 7b05a4fb4a1f440399e451f0b9b80f62f7764a7b4581f9d03399e8c19e311899898c48c7f1684f7937fea72d5f0c182a8253e879923ea3432c07af2f7df3d829
7
- data.tar.gz: 295a06a3c64c537d96a58ac8d70bad2ca56c6bcec3eb35c9aa8081079f9fb149a1d11093f77c7f2a9ae0340a6856ba552651dd5b84ef670124a7ace07d433322
6
+ metadata.gz: 1b7f145cd0945220bba3cb8945a76f861ea21e585f19228dda2433558b7de4fae7fec93e4aad00b648342da2ae8a01909edf8bfd65d72b01663ead84105217cd
7
+ data.tar.gz: 9b406757d4de0f7da0b40fd38170aab715b1f634845cb58ea36c1c9524777318d7bec30db42e2f8f9cb60761da6f3966b15d0f15f5f1afc04da8815c4caaf268
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-adsense_v2
2
2
 
3
+ ### v0.14.0 (2022-04-01)
4
+
5
+ * Regenerated from discovery document revision 20220330
6
+
7
+ ### v0.13.0 (2022-03-22)
8
+
9
+ * Regenerated from discovery document revision 20220319
10
+
11
+ ### v0.12.0 (2022-03-01)
12
+
13
+ * Regenerated from discovery document revision 20220301
14
+
3
15
  ### v0.11.0 (2022-02-25)
4
16
 
5
17
  * Regenerated from discovery document revision 20220224
@@ -54,6 +54,11 @@ module Google
54
54
  attr_accessor :premium
55
55
  alias_method :premium?, :premium
56
56
 
57
+ # Output only. State of the account.
58
+ # Corresponds to the JSON property `state`
59
+ # @return [String]
60
+ attr_accessor :state
61
+
57
62
  # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
58
63
  # time-zones).
59
64
  # Corresponds to the JSON property `timeZone`
@@ -71,6 +76,7 @@ module Google
71
76
  @name = args[:name] if args.key?(:name)
72
77
  @pending_tasks = args[:pending_tasks] if args.key?(:pending_tasks)
73
78
  @premium = args[:premium] if args.key?(:premium)
79
+ @state = args[:state] if args.key?(:state)
74
80
  @time_zone = args[:time_zone] if args.key?(:time_zone)
75
81
  end
76
82
  end
@@ -97,6 +103,11 @@ module Google
97
103
  # @return [String]
98
104
  attr_accessor :reporting_dimension_id
99
105
 
106
+ # Output only. State of the ad client.
107
+ # Corresponds to the JSON property `state`
108
+ # @return [String]
109
+ attr_accessor :state
110
+
100
111
  def initialize(**args)
101
112
  update!(**args)
102
113
  end
@@ -106,6 +117,7 @@ module Google
106
117
  @name = args[:name] if args.key?(:name)
107
118
  @product_code = args[:product_code] if args.key?(:product_code)
108
119
  @reporting_dimension_id = args[:reporting_dimension_id] if args.key?(:reporting_dimension_id)
120
+ @state = args[:state] if args.key?(:state)
109
121
  end
110
122
  end
111
123
 
@@ -152,13 +164,14 @@ module Google
152
164
  # @return [Google::Apis::AdsenseV2::ContentAdsSettings]
153
165
  attr_accessor :content_ads_settings
154
166
 
155
- # Display name of the ad unit, as provided when the ad unit was created.
167
+ # Required. Display name of the ad unit, as provided when the ad unit was
168
+ # created.
156
169
  # Corresponds to the JSON property `displayName`
157
170
  # @return [String]
158
171
  attr_accessor :display_name
159
172
 
160
- # Resource name of the ad unit. Format: accounts/`account`/adclients/`adclient`/
161
- # adunits/`adunit`
173
+ # Required. Resource name of the ad unit. Format: accounts/`account`/adclients/`
174
+ # adclient`/adunits/`adunit`
162
175
  # Corresponds to the JSON property `name`
163
176
  # @return [String]
164
177
  attr_accessor :name
@@ -328,11 +341,11 @@ module Google
328
341
  # Represents a whole or partial calendar date, such as a birthday. The time of
329
342
  # day and time zone are either specified elsewhere or are insignificant. The
330
343
  # date is relative to the Gregorian Calendar. This can represent one of the
331
- # following: * A full date, with non-zero year, month, and day values * A month
332
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
333
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
334
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
335
- # DateTime * google.protobuf.Timestamp
344
+ # following: * A full date, with non-zero year, month, and day values. * A month
345
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
346
+ # with a zero month and a zero day. * A year and month, with a zero day (for
347
+ # example, a credit card expiration date). Related types: * google.type.
348
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
336
349
  class Date
337
350
  include Google::Apis::Core::Hashable
338
351
 
@@ -761,11 +774,11 @@ module Google
761
774
  # Represents a whole or partial calendar date, such as a birthday. The time of
762
775
  # day and time zone are either specified elsewhere or are insignificant. The
763
776
  # date is relative to the Gregorian Calendar. This can represent one of the
764
- # following: * A full date, with non-zero year, month, and day values * A month
765
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
766
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
767
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
768
- # DateTime * google.protobuf.Timestamp
777
+ # following: * A full date, with non-zero year, month, and day values. * A month
778
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
779
+ # with a zero month and a zero day. * A year and month, with a zero day (for
780
+ # example, a credit card expiration date). Related types: * google.type.
781
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
769
782
  # Corresponds to the JSON property `date`
770
783
  # @return [Google::Apis::AdsenseV2::Date]
771
784
  attr_accessor :date
@@ -803,11 +816,11 @@ module Google
803
816
  # Represents a whole or partial calendar date, such as a birthday. The time of
804
817
  # day and time zone are either specified elsewhere or are insignificant. The
805
818
  # date is relative to the Gregorian Calendar. This can represent one of the
806
- # following: * A full date, with non-zero year, month, and day values * A month
807
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
808
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
809
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
810
- # DateTime * google.protobuf.Timestamp
819
+ # following: * A full date, with non-zero year, month, and day values. * A month
820
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
821
+ # with a zero month and a zero day. * A year and month, with a zero day (for
822
+ # example, a credit card expiration date). Related types: * google.type.
823
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
811
824
  # Corresponds to the JSON property `endDate`
812
825
  # @return [Google::Apis::AdsenseV2::Date]
813
826
  attr_accessor :end_date
@@ -827,11 +840,11 @@ module Google
827
840
  # Represents a whole or partial calendar date, such as a birthday. The time of
828
841
  # day and time zone are either specified elsewhere or are insignificant. The
829
842
  # date is relative to the Gregorian Calendar. This can represent one of the
830
- # following: * A full date, with non-zero year, month, and day values * A month
831
- # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
832
- # zero month and a zero day * A year and month, with a zero day (e.g., a credit
833
- # card expiration date) Related types: * google.type.TimeOfDay * google.type.
834
- # DateTime * google.protobuf.Timestamp
843
+ # following: * A full date, with non-zero year, month, and day values. * A month
844
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
845
+ # with a zero month and a zero day. * A year and month, with a zero day (for
846
+ # example, a credit card expiration date). Related types: * google.type.
847
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
835
848
  # Corresponds to the JSON property `startDate`
836
849
  # @return [Google::Apis::AdsenseV2::Date]
837
850
  attr_accessor :start_date
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AdsenseV2
18
18
  # Version of the google-apis-adsense_v2 gem
19
- GEM_VERSION = "0.11.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220224"
25
+ REVISION = "20220330"
26
26
  end
27
27
  end
28
28
  end
@@ -216,6 +216,7 @@ module Google
216
216
  property :name, as: 'name'
217
217
  collection :pending_tasks, as: 'pendingTasks'
218
218
  property :premium, as: 'premium'
219
+ property :state, as: 'state'
219
220
  property :time_zone, as: 'timeZone', class: Google::Apis::AdsenseV2::TimeZone, decorator: Google::Apis::AdsenseV2::TimeZone::Representation
220
221
 
221
222
  end
@@ -227,6 +228,7 @@ module Google
227
228
  property :name, as: 'name'
228
229
  property :product_code, as: 'productCode'
229
230
  property :reporting_dimension_id, as: 'reportingDimensionId'
231
+ property :state, as: 'state'
230
232
  end
231
233
  end
232
234
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-adsense_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-28 00:00:00.000000000 Z
11
+ date: 2022-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-adsense_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-adsense_v2/v0.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-adsense_v2/v0.14.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-adsense_v2
63
63
  post_install_message:
64
64
  rdoc_options: []