google-apis-cloudchannel_v1 0.19.0 → 0.20.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: 762f96cb9b2fcd18d3fadcc5b15626b8ca87f4b021155a8d4a6868ed3706ab4b
4
- data.tar.gz: 9030af66b73fc09a0495344e9a66f745c51bf2cbd05b813fdb24d0ea8a061be8
3
+ metadata.gz: a4984ee47257d8ef8cbe6e262d07e09e9a9d72e399afc20521a30966b8f4d022
4
+ data.tar.gz: 4c73d3b725e70aec92166c7e8dd239b44e055618df1b3f62b3239cd957c13c0b
5
5
  SHA512:
6
- metadata.gz: f141c01e5c550645808f7b9830a8692bfeea3e853964e6b3f83cd3896d8c86770ed8c5e1a0c49225bd2f4a53b612af10db12beb738e1b57bf9cc31cadfb21159
7
- data.tar.gz: 5e6d1f1b1b99d67e73db2ee06bae893ec709690c093655257cc2e8a5c2f85798148e0debf2fd917aa7eac788996d651925b6b99c952959687369cd33a54ed102
6
+ metadata.gz: 8066ab49732544c39a57b8148ccac757576e2e87924861f973401c54b704f364286d95b0aece034cef8e7b05e18d45d95428ff90d4f9f997a4215fdb911c1d37
7
+ data.tar.gz: 9616b6ccf991e1e78c3f468c3d49ac52293daf746b85fe1b699553ace1be392badc86f796bb78ac86d3abe47f258be8ba4561b9cad9b70e625bae13520cb3662
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-cloudchannel_v1
2
2
 
3
+ ### v0.20.0 (2022-06-07)
4
+
5
+ * Regenerated from discovery document revision 20220604
6
+ * Regenerated using generator version 0.5.0
7
+
3
8
  ### v0.19.0 (2022-04-26)
4
9
 
5
10
  * Regenerated from discovery document revision 20220422
@@ -2734,6 +2734,33 @@ module Google
2734
2734
  end
2735
2735
  end
2736
2736
 
2737
+ # Represents Pub/Sub messages about updates to a Channel Partner. You can
2738
+ # retrieve updated values through the ChannelPartnerLinks API.
2739
+ class GoogleCloudChannelV1alpha1ChannelPartnerEvent
2740
+ include Google::Apis::Core::Hashable
2741
+
2742
+ # Resource name for the Channel Partner Link. Channel_partner uses the format:
2743
+ # accounts/`account_id`/channelPartnerLinks/`channel_partner_id`
2744
+ # Corresponds to the JSON property `channelPartner`
2745
+ # @return [String]
2746
+ attr_accessor :channel_partner
2747
+
2748
+ # Type of event performed on the Channel Partner.
2749
+ # Corresponds to the JSON property `eventType`
2750
+ # @return [String]
2751
+ attr_accessor :event_type
2752
+
2753
+ def initialize(**args)
2754
+ update!(**args)
2755
+ end
2756
+
2757
+ # Update properties of this object
2758
+ def update!(**args)
2759
+ @channel_partner = args[:channel_partner] if args.key?(:channel_partner)
2760
+ @event_type = args[:event_type] if args.key?(:event_type)
2761
+ end
2762
+ end
2763
+
2737
2764
  # Commitment settings for commitment-based offers.
2738
2765
  class GoogleCloudChannelV1alpha1CommitmentSettings
2739
2766
  include Google::Apis::Core::Hashable
@@ -3120,6 +3147,12 @@ module Google
3120
3147
  class GoogleCloudChannelV1alpha1SubscriberEvent
3121
3148
  include Google::Apis::Core::Hashable
3122
3149
 
3150
+ # Represents Pub/Sub messages about updates to a Channel Partner. You can
3151
+ # retrieve updated values through the ChannelPartnerLinks API.
3152
+ # Corresponds to the JSON property `channelPartnerEvent`
3153
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ChannelPartnerEvent]
3154
+ attr_accessor :channel_partner_event
3155
+
3123
3156
  # Represents Pub/Sub message content describing customer update.
3124
3157
  # Corresponds to the JSON property `customerEvent`
3125
3158
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1CustomerEvent]
@@ -3136,6 +3169,7 @@ module Google
3136
3169
 
3137
3170
  # Update properties of this object
3138
3171
  def update!(**args)
3172
+ @channel_partner_event = args[:channel_partner_event] if args.key?(:channel_partner_event)
3139
3173
  @customer_event = args[:customer_event] if args.key?(:customer_event)
3140
3174
  @entitlement_event = args[:entitlement_event] if args.key?(:entitlement_event)
3141
3175
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudchannelV1
18
18
  # Version of the google-apis-cloudchannel_v1 gem
19
- GEM_VERSION = "0.19.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220422"
25
+ REVISION = "20220604"
26
26
  end
27
27
  end
28
28
  end
@@ -508,6 +508,12 @@ module Google
508
508
  include Google::Apis::Core::JsonObjectSupport
509
509
  end
510
510
 
511
+ class GoogleCloudChannelV1alpha1ChannelPartnerEvent
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
511
517
  class GoogleCloudChannelV1alpha1CommitmentSettings
512
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
513
519
 
@@ -1438,6 +1444,14 @@ module Google
1438
1444
  end
1439
1445
  end
1440
1446
 
1447
+ class GoogleCloudChannelV1alpha1ChannelPartnerEvent
1448
+ # @private
1449
+ class Representation < Google::Apis::Core::JsonRepresentation
1450
+ property :channel_partner, as: 'channelPartner'
1451
+ property :event_type, as: 'eventType'
1452
+ end
1453
+ end
1454
+
1441
1455
  class GoogleCloudChannelV1alpha1CommitmentSettings
1442
1456
  # @private
1443
1457
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1541,6 +1555,8 @@ module Google
1541
1555
  class GoogleCloudChannelV1alpha1SubscriberEvent
1542
1556
  # @private
1543
1557
  class Representation < Google::Apis::Core::JsonRepresentation
1558
+ property :channel_partner_event, as: 'channelPartnerEvent', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ChannelPartnerEvent, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ChannelPartnerEvent::Representation
1559
+
1544
1560
  property :customer_event, as: 'customerEvent', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1CustomerEvent, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1CustomerEvent::Representation
1545
1561
 
1546
1562
  property :entitlement_event, as: 'entitlementEvent', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1EntitlementEvent, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1EntitlementEvent::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudchannel_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.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-05-02 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-cloudchannel_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudchannel_v1/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudchannel_v1/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudchannel_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Channel API V1