google-cloud-channel-v1 0.19.0 → 0.21.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.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/channel/v1/channel_partner_links_pb.rb +26 -23
  3. data/lib/google/cloud/channel/v1/cloud_channel_reports_service/client.rb +4 -2
  4. data/lib/google/cloud/channel/v1/cloud_channel_reports_service/operations.rb +3 -1
  5. data/lib/google/cloud/channel/v1/cloud_channel_reports_service/rest/client.rb +4 -2
  6. data/lib/google/cloud/channel/v1/cloud_channel_reports_service/rest/operations.rb +7 -5
  7. data/lib/google/cloud/channel/v1/cloud_channel_reports_service/rest/service_stub.rb +3 -3
  8. data/lib/google/cloud/channel/v1/cloud_channel_service/client.rb +257 -2
  9. data/lib/google/cloud/channel/v1/cloud_channel_service/operations.rb +3 -1
  10. data/lib/google/cloud/channel/v1/cloud_channel_service/paths.rb +17 -0
  11. data/lib/google/cloud/channel/v1/cloud_channel_service/rest/client.rb +203 -2
  12. data/lib/google/cloud/channel/v1/cloud_channel_service/rest/operations.rb +7 -5
  13. data/lib/google/cloud/channel/v1/cloud_channel_service/rest/service_stub.rb +164 -46
  14. data/lib/google/cloud/channel/v1/common_pb.rb +25 -50
  15. data/lib/google/cloud/channel/v1/customers_pb.rb +27 -24
  16. data/lib/google/cloud/channel/v1/entitlement_changes_pb.rb +26 -54
  17. data/lib/google/cloud/channel/v1/entitlements_pb.rb +28 -73
  18. data/lib/google/cloud/channel/v1/offers_pb.rb +28 -104
  19. data/lib/google/cloud/channel/v1/operations_pb.rb +24 -18
  20. data/lib/google/cloud/channel/v1/products_pb.rb +24 -24
  21. data/lib/google/cloud/channel/v1/reports_service_pb.rb +29 -94
  22. data/lib/google/cloud/channel/v1/repricing_pb.rb +27 -52
  23. data/lib/google/cloud/channel/v1/service_pb.rb +39 -345
  24. data/lib/google/cloud/channel/v1/service_services_pb.rb +40 -0
  25. data/lib/google/cloud/channel/v1/subscriber_event_pb.rb +24 -35
  26. data/lib/google/cloud/channel/v1/version.rb +1 -1
  27. data/proto_docs/google/cloud/channel/v1/service.rb +112 -0
  28. data/proto_docs/google/protobuf/any.rb +7 -4
  29. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  30. metadata +4 -4
@@ -701,6 +701,118 @@ module Google
701
701
  extend ::Google::Protobuf::MessageExts::ClassMethods
702
702
  end
703
703
 
704
+ # Request message for ListSkuGroups.
705
+ # @!attribute [rw] parent
706
+ # @return [::String]
707
+ # Required. The resource name of the account from which to list SKU groups.
708
+ # Parent uses the format: accounts/\\{account}.
709
+ # @!attribute [rw] page_size
710
+ # @return [::Integer]
711
+ # Optional. The maximum number of SKU groups to return. The service may
712
+ # return fewer than this value. If unspecified, returns a maximum of 1000 SKU
713
+ # groups. The maximum value is 1000; values above 1000 will be coerced to
714
+ # 1000.
715
+ # @!attribute [rw] page_token
716
+ # @return [::String]
717
+ # Optional. A token identifying a page of results beyond the first page.
718
+ # Obtained through
719
+ # [ListSkuGroups.next_page_token][] of the previous
720
+ # {::Google::Cloud::Channel::V1::CloudChannelService::Client#list_sku_groups CloudChannelService.ListSkuGroups}
721
+ # call.
722
+ class ListSkuGroupsRequest
723
+ include ::Google::Protobuf::MessageExts
724
+ extend ::Google::Protobuf::MessageExts::ClassMethods
725
+ end
726
+
727
+ # Request message for ListSkuGroupBillableSkus.
728
+ # @!attribute [rw] parent
729
+ # @return [::String]
730
+ # Required. Resource name of the SKU group.
731
+ # Format: accounts/\\{account}/skuGroups/\\{sku_group}.
732
+ # @!attribute [rw] page_size
733
+ # @return [::Integer]
734
+ # Optional. The maximum number of SKUs to return. The service may return
735
+ # fewer than this value. If unspecified, returns a maximum of 100000 SKUs.
736
+ # The maximum value is 100000; values above 100000 will be coerced to 100000.
737
+ # @!attribute [rw] page_token
738
+ # @return [::String]
739
+ # Optional. A token identifying a page of results beyond the first page.
740
+ # Obtained through
741
+ # [ListSkuGroupBillableSkus.next_page_token][] of the previous
742
+ # {::Google::Cloud::Channel::V1::CloudChannelService::Client#list_sku_group_billable_skus CloudChannelService.ListSkuGroupBillableSkus}
743
+ # call.
744
+ class ListSkuGroupBillableSkusRequest
745
+ include ::Google::Protobuf::MessageExts
746
+ extend ::Google::Protobuf::MessageExts::ClassMethods
747
+ end
748
+
749
+ # Response message for ListSkuGroups.
750
+ # @!attribute [rw] sku_groups
751
+ # @return [::Array<::Google::Cloud::Channel::V1::SkuGroup>]
752
+ # The list of SKU groups requested.
753
+ # @!attribute [rw] next_page_token
754
+ # @return [::String]
755
+ # A token to retrieve the next page of results.
756
+ # Pass to [ListSkuGroups.page_token][] to obtain that
757
+ # page.
758
+ class ListSkuGroupsResponse
759
+ include ::Google::Protobuf::MessageExts
760
+ extend ::Google::Protobuf::MessageExts::ClassMethods
761
+ end
762
+
763
+ # Response message for ListSkuGroupBillableSkus.
764
+ # @!attribute [rw] billable_skus
765
+ # @return [::Array<::Google::Cloud::Channel::V1::BillableSku>]
766
+ # The list of billable SKUs in the requested SKU group.
767
+ # @!attribute [rw] next_page_token
768
+ # @return [::String]
769
+ # A token to retrieve the next page of results.
770
+ # Pass to [ListSkuGroupBillableSkus.page_token][] to obtain that
771
+ # page.
772
+ class ListSkuGroupBillableSkusResponse
773
+ include ::Google::Protobuf::MessageExts
774
+ extend ::Google::Protobuf::MessageExts::ClassMethods
775
+ end
776
+
777
+ # Represents the SKU group information.
778
+ # @!attribute [rw] name
779
+ # @return [::String]
780
+ # Resource name of SKU group. Format:
781
+ # accounts/\\{account}/skuGroups/\\{sku_group}.
782
+ # Example:
783
+ # "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".
784
+ # @!attribute [rw] display_name
785
+ # @return [::String]
786
+ # Unique human readable identifier for the SKU group.
787
+ class SkuGroup
788
+ include ::Google::Protobuf::MessageExts
789
+ extend ::Google::Protobuf::MessageExts::ClassMethods
790
+ end
791
+
792
+ # Represents the Billable SKU information.
793
+ # @!attribute [rw] sku
794
+ # @return [::String]
795
+ # Resource name of Billable SKU. Format:
796
+ # billableSkus/\\{sku}.
797
+ # Example:
798
+ # billableSkus/6E1B-6634-470F".
799
+ # @!attribute [rw] sku_display_name
800
+ # @return [::String]
801
+ # Unique human readable name for the SKU.
802
+ # @!attribute [rw] service
803
+ # @return [::String]
804
+ # Resource name of Service which contains Repricing SKU. Format:
805
+ # services/\\{service}.
806
+ # Example:
807
+ # "services/B7D9-FDCB-15D8".
808
+ # @!attribute [rw] service_display_name
809
+ # @return [::String]
810
+ # Unique human readable name for the Service.
811
+ class BillableSku
812
+ include ::Google::Protobuf::MessageExts
813
+ extend ::Google::Protobuf::MessageExts::ClassMethods
814
+ end
815
+
704
816
  # Request message for
705
817
  # {::Google::Cloud::Channel::V1::CloudChannelService::Client#create_entitlement CloudChannelService.CreateEntitlement}
706
818
  # @!attribute [rw] parent
@@ -43,8 +43,12 @@ module Google
43
43
  # if (any.is(Foo.class)) {
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
+ # // or ...
47
+ # if (any.isSameTypeAs(Foo.getDefaultInstance())) {
48
+ # foo = any.unpack(Foo.getDefaultInstance());
49
+ # }
46
50
  #
47
- # Example 3: Pack and unpack a message in Python.
51
+ # Example 3: Pack and unpack a message in Python.
48
52
  #
49
53
  # foo = Foo(...)
50
54
  # any = Any()
@@ -54,7 +58,7 @@ module Google
54
58
  # any.Unpack(foo)
55
59
  # ...
56
60
  #
57
- # Example 4: Pack and unpack a message in Go
61
+ # Example 4: Pack and unpack a message in Go
58
62
  #
59
63
  # foo := &pb.Foo{...}
60
64
  # any, err := anypb.New(foo)
@@ -73,9 +77,8 @@ module Google
73
77
  # in the type URL, for example "foo.bar.com/x/y.z" will yield type
74
78
  # name "y.z".
75
79
  #
76
- #
77
80
  # JSON
78
- #
81
+ # ====
79
82
  # The JSON representation of an `Any` value uses the regular
80
83
  # representation of the deserialized, embedded message, with an
81
84
  # additional field `@type` which contains the type URL. Example:
@@ -69,7 +69,6 @@ module Google
69
69
  # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
- #
73
72
  # Example 5: Compute Timestamp from Java `Instant.now()`.
74
73
  #
75
74
  # Instant now = Instant.now();
@@ -78,7 +77,6 @@ module Google
78
77
  # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
78
  # .setNanos(now.getNano()).build();
80
79
  #
81
- #
82
80
  # Example 6: Compute Timestamp from current time in Python.
83
81
  #
84
82
  # timestamp = Timestamp()
@@ -108,7 +106,7 @@ module Google
108
106
  # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
109
107
  # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
110
108
  # the Joda Time's [`ISODateTimeFormat.dateTime()`](
111
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
112
110
  # ) to obtain a formatter capable of generating timestamps in this format.
113
111
  # @!attribute [rw] seconds
114
112
  # @return [::Integer]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-channel-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.21.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: 2023-05-19 00:00:00.000000000 Z
11
+ date: 2023-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.18.0
19
+ version: 0.19.1
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.18.0
29
+ version: 0.19.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a