google-cloud-channel-v1 0.9.3 → 0.10.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: bb47215c8a899c88060c50634eaa41aadf214c27995c664600f42ce5c1bfa02e
4
- data.tar.gz: fd7d86f17cfb372b2149e46f857d4b3d1bd50577effbca1950f5679173fe42a3
3
+ metadata.gz: 26bb7e24a2690e8172959f4a0ab6befbacfa90bea0a94bda181f78c9202879ed
4
+ data.tar.gz: b1ee7ad98f512e52e84655596a0af11a2fb7a6761e462d642d913e074b6d35b8
5
5
  SHA512:
6
- metadata.gz: b8ea68b206691b24a4fafc0b087244c1faa104ffb31710b79b42418a848b017d99107dff2c692e7c01956df301f8e51f0fef923c0822fb42b776ddeaaf3d3607
7
- data.tar.gz: b7cc5bd95277024bef748760ae7d394c53f131fbff2c8b884005d787691dc3ed2eb0ab5a8dd6797539aa62df419408f411c501924ebfd5c6f239f6db5d237413
6
+ metadata.gz: 4ea67ca5434558be0d8a39c51b937c858d7a6557e9dcdd339d4c0e656d706fdf0b86ccc285d0fde8df6ef681f9a6d6ba84bb59e7b67171c982fa0856b536197c
7
+ data.tar.gz: '0986be48d7db1d46b9a367dd018a2c9509da3b2c24f4fe0ce5e1b072e8a5572da076ab57878101828c8e37a7c558597f0aeeffb501508bd0ff0a8ab48a2c6724'
data/README.md CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Channel::V1::ListCustomersRequest.new # (request fiel
37
37
  response = client.list_customers request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-channel-v1/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-channel-v1/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/channel)
@@ -5,7 +5,6 @@ require 'google/api/field_behavior_pb'
5
5
  require 'google/api/resource_pb'
6
6
  require 'google/cloud/channel/v1/common_pb'
7
7
  require 'google/protobuf/timestamp_pb'
8
- require 'google/api/annotations_pb'
9
8
  require 'google/protobuf'
10
9
 
11
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -224,7 +224,7 @@ module Google
224
224
  # @param options [::Gapic::CallOptions, ::Hash]
225
225
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
226
226
  #
227
- # @overload list_customers(parent: nil, page_size: nil, page_token: nil)
227
+ # @overload list_customers(parent: nil, page_size: nil, page_token: nil, filter: nil)
228
228
  # Pass arguments to `list_customers` via keyword arguments. Note that at
229
229
  # least one keyword argument is required. To specify no parameters, or to keep all
230
230
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -241,6 +241,10 @@ module Google
241
241
  # Obtained through
242
242
  # {::Google::Cloud::Channel::V1::ListCustomersResponse#next_page_token ListCustomersResponse.next_page_token} of the previous
243
243
  # {::Google::Cloud::Channel::V1::CloudChannelService::Client#list_customers CloudChannelService.ListCustomers} call.
244
+ # @param filter [::String]
245
+ # Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See
246
+ # https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
247
+ # for more information.
244
248
  #
245
249
  # @yield [response, operation] Access the result along with the RPC operation
246
250
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Channel::V1::Customer>]
@@ -3,7 +3,6 @@
3
3
 
4
4
  require 'google/api/field_behavior_pb'
5
5
  require 'google/protobuf/any_pb'
6
- require 'google/api/annotations_pb'
7
6
  require 'google/protobuf'
8
7
 
9
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -6,7 +6,6 @@ require 'google/api/resource_pb'
6
6
  require 'google/cloud/channel/v1/common_pb'
7
7
  require 'google/protobuf/timestamp_pb'
8
8
  require 'google/type/postal_address_pb'
9
- require 'google/api/annotations_pb'
10
9
  require 'google/protobuf'
11
10
 
12
11
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -7,8 +7,6 @@ require 'google/cloud/channel/v1/common_pb'
7
7
  require 'google/cloud/channel/v1/offers_pb'
8
8
  require 'google/cloud/channel/v1/products_pb'
9
9
  require 'google/protobuf/timestamp_pb'
10
- require 'google/protobuf/wrappers_pb'
11
- require 'google/api/annotations_pb'
12
10
  require 'google/protobuf'
13
11
 
14
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -7,7 +7,6 @@ require 'google/cloud/channel/v1/common_pb'
7
7
  require 'google/cloud/channel/v1/products_pb'
8
8
  require 'google/protobuf/timestamp_pb'
9
9
  require 'google/type/money_pb'
10
- require 'google/api/annotations_pb'
11
10
  require 'google/protobuf'
12
11
 
13
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/channel/v1/operations.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/protobuf'
6
5
 
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -2,7 +2,6 @@
2
2
  # source: google/cloud/channel/v1/products.proto
3
3
 
4
4
  require 'google/api/resource_pb'
5
- require 'google/api/annotations_pb'
6
5
  require 'google/protobuf'
7
6
 
8
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -35,6 +35,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
35
35
  optional :parent, :string, 1
36
36
  optional :page_size, :int32, 2
37
37
  optional :page_token, :string, 3
38
+ optional :filter, :string, 4
38
39
  end
39
40
  add_message "google.cloud.channel.v1.ListCustomersResponse" do
40
41
  repeated :customers, :message, 1, "google.cloud.channel.v1.Customer"
@@ -2,7 +2,6 @@
2
2
  # source: google/cloud/channel/v1/subscriber_event.proto
3
3
 
4
4
  require 'google/api/resource_pb'
5
- require 'google/api/annotations_pb'
6
5
  require 'google/protobuf'
7
6
 
8
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Channel
23
23
  module V1
24
- VERSION = "0.9.3"
24
+ VERSION = "0.10.0"
25
25
  end
26
26
  end
27
27
  end
@@ -25,6 +25,8 @@ module Google
25
25
  ##
26
26
  # To load this package, including all its services, and instantiate a client:
27
27
  #
28
+ # @example
29
+ #
28
30
  # require "google/cloud/channel/v1"
29
31
  # client = ::Google::Cloud::Channel::V1::CloudChannelService::Client.new
30
32
  #
@@ -70,7 +70,7 @@ module Google
70
70
 
71
71
  # ChannelPartnerLinkState represents state of a channel partner link.
72
72
  module ChannelPartnerLinkState
73
- # The state is not specified.
73
+ # Not used.
74
74
  CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED = 0
75
75
 
76
76
  # An invitation has been sent to the reseller to create a channel partner
@@ -37,7 +37,7 @@ module Google
37
37
 
38
38
  # Enum to specify the institute type.
39
39
  module InstituteType
40
- # Default value. This state doesn't show unless an error occurs.
40
+ # Not used.
41
41
  INSTITUTE_TYPE_UNSPECIFIED = 0
42
42
 
43
43
  # Elementary/Secondary Schools & Districts
@@ -49,7 +49,7 @@ module Google
49
49
 
50
50
  # Number of students and staff the institute has.
51
51
  module InstituteSize
52
- # Default value. This state doesn't show unless an error occurs.
52
+ # Not used.
53
53
  INSTITUTE_SIZE_UNSPECIFIED = 0
54
54
 
55
55
  # 1 - 100
@@ -110,7 +110,7 @@ module Google
110
110
 
111
111
  # CustomerType of the customer
112
112
  module CustomerType
113
- # Default value. This state doesn't show unless an error occurs.
113
+ # Not used.
114
114
  CUSTOMER_TYPE_UNSPECIFIED = 0
115
115
 
116
116
  # Domain-owning customer which needs domain verification to use services.
@@ -54,7 +54,8 @@ module Google
54
54
  # Optional. This purchase order (PO) information is for resellers to use for their
55
55
  # company tracking usage. If a purchaseOrderId value is given, it appears in
56
56
  # the API responses and shows up in the invoice. The property accepts up to
57
- # 80 plain text characters.
57
+ # 80 plain text characters. This is only supported for Google Workspace
58
+ # entitlements.
58
59
  # @!attribute [r] trial_settings
59
60
  # @return [::Google::Cloud::Channel::V1::TrialSettings]
60
61
  # Output only. Settings for trial offers.
@@ -80,7 +81,7 @@ module Google
80
81
 
81
82
  # Indicates the current provisioning state of the entitlement.
82
83
  module ProvisioningState
83
- # Default value. This state doesn't show unless an error occurs.
84
+ # Not used.
84
85
  PROVISIONING_STATE_UNSPECIFIED = 0
85
86
 
86
87
  # The entitlement is currently active.
@@ -92,7 +93,7 @@ module Google
92
93
 
93
94
  # Suspension reason for an entitlement if {::Google::Cloud::Channel::V1::Entitlement#provisioning_state provisioning_state} = SUSPENDED.
94
95
  module SuspensionReason
95
- # Default value. This state doesn't show unless an error occurs.
96
+ # Not used.
96
97
  SUSPENSION_REASON_UNSPECIFIED = 0
97
98
 
98
99
  # Entitlement was manually suspended by the Reseller.
@@ -142,8 +143,9 @@ module Google
142
143
  # Service provisioned for an entitlement.
143
144
  # @!attribute [r] provisioning_id
144
145
  # @return [::String]
145
- # Output only. Provisioning ID of the entitlement. For Google Workspace, this would be the
146
- # underlying Subscription ID.
146
+ # Output only. Provisioning ID of the entitlement. For Google Workspace, this is the
147
+ # underlying Subscription ID. For Google Cloud Platform, this is the
148
+ # Billing Account ID of the billing subaccount."
147
149
  # @!attribute [r] product_id
148
150
  # @return [::String]
149
151
  # Output only. The product pertaining to the provisioning resource as specified in the
@@ -241,7 +243,7 @@ module Google
241
243
 
242
244
  # Reason of ineligibility.
243
245
  module Reason
244
- # Reason is not available.
246
+ # Not used.
245
247
  REASON_UNSPECIFIED = 0
246
248
 
247
249
  # Reseller needs to accept TOS before transferring the SKU.
@@ -31,7 +31,7 @@ module Google
31
31
 
32
32
  # RPCs that return a Long Running Operation.
33
33
  module OperationType
34
- # Default value. This state doesn't show unless an error occurs.
34
+ # Not used.
35
35
  OPERATION_TYPE_UNSPECIFIED = 0
36
36
 
37
37
  # Long Running Operation was triggered by CreateEntitlement.
@@ -83,6 +83,11 @@ module Google
83
83
  # Obtained through
84
84
  # {::Google::Cloud::Channel::V1::ListCustomersResponse#next_page_token ListCustomersResponse.next_page_token} of the previous
85
85
  # {::Google::Cloud::Channel::V1::CloudChannelService::Client#list_customers CloudChannelService.ListCustomers} call.
86
+ # @!attribute [rw] filter
87
+ # @return [::String]
88
+ # Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See
89
+ # https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers
90
+ # for more information.
86
91
  class ListCustomersRequest
87
92
  include ::Google::Protobuf::MessageExts
88
93
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -35,7 +35,7 @@ module Google
35
35
 
36
36
  # Type of customer event.
37
37
  module Type
38
- # Default value. This state doesn't show unless an error occurs.
38
+ # Not used.
39
39
  TYPE_UNSPECIFIED = 0
40
40
 
41
41
  # Primary domain for customer was changed.
@@ -60,7 +60,7 @@ module Google
60
60
 
61
61
  # Type of entitlement event.
62
62
  module Type
63
- # Default value. This state doesn't show unless an error occurs.
63
+ # Not used.
64
64
  TYPE_UNSPECIFIED = 0
65
65
 
66
66
  # A new entitlement was created.
@@ -105,13 +105,13 @@ module Google
105
105
  end
106
106
 
107
107
  # Represents information which resellers will get as part of notification from
108
- # Cloud Pub/Sub.
108
+ # Pub/Sub.
109
109
  # @!attribute [rw] customer_event
110
110
  # @return [::Google::Cloud::Channel::V1::CustomerEvent]
111
- # Customer event send as part of Pub/Sub event to partners.
111
+ # Customer event sent as part of Pub/Sub event to partners.
112
112
  # @!attribute [rw] entitlement_event
113
113
  # @return [::Google::Cloud::Channel::V1::EntitlementEvent]
114
- # Entitlement event send as part of Pub/Sub event to partners.
114
+ # Entitlement event sent as part of Pub/Sub event to partners.
115
115
  class SubscriberEvent
116
116
  include ::Google::Protobuf::MessageExts
117
117
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.9.3
4
+ version: 0.10.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-01-11 00:00:00.000000000 Z
11
+ date: 2022-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -207,7 +207,6 @@ files:
207
207
  - proto_docs/google/protobuf/empty.rb
208
208
  - proto_docs/google/protobuf/field_mask.rb
209
209
  - proto_docs/google/protobuf/timestamp.rb
210
- - proto_docs/google/protobuf/wrappers.rb
211
210
  - proto_docs/google/rpc/status.rb
212
211
  - proto_docs/google/type/money.rb
213
212
  - proto_docs/google/type/postal_address.rb
@@ -230,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
230
229
  - !ruby/object:Gem::Version
231
230
  version: '0'
232
231
  requirements: []
233
- rubygems_version: 3.3.4
232
+ rubygems_version: 3.3.5
234
233
  signing_key:
235
234
  specification_version: 4
236
235
  summary: API Client library for the Cloud Channel V1 API
@@ -1,121 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Copyright 2021 Google LLC
4
- #
5
- # Licensed under the Apache License, Version 2.0 (the "License");
6
- # you may not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # https://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing, software
12
- # distributed under the License is distributed on an "AS IS" BASIS,
13
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- # See the License for the specific language governing permissions and
15
- # limitations under the License.
16
-
17
- # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
-
19
-
20
- module Google
21
- module Protobuf
22
- # Wrapper message for `double`.
23
- #
24
- # The JSON representation for `DoubleValue` is JSON number.
25
- # @!attribute [rw] value
26
- # @return [::Float]
27
- # The double value.
28
- class DoubleValue
29
- include ::Google::Protobuf::MessageExts
30
- extend ::Google::Protobuf::MessageExts::ClassMethods
31
- end
32
-
33
- # Wrapper message for `float`.
34
- #
35
- # The JSON representation for `FloatValue` is JSON number.
36
- # @!attribute [rw] value
37
- # @return [::Float]
38
- # The float value.
39
- class FloatValue
40
- include ::Google::Protobuf::MessageExts
41
- extend ::Google::Protobuf::MessageExts::ClassMethods
42
- end
43
-
44
- # Wrapper message for `int64`.
45
- #
46
- # The JSON representation for `Int64Value` is JSON string.
47
- # @!attribute [rw] value
48
- # @return [::Integer]
49
- # The int64 value.
50
- class Int64Value
51
- include ::Google::Protobuf::MessageExts
52
- extend ::Google::Protobuf::MessageExts::ClassMethods
53
- end
54
-
55
- # Wrapper message for `uint64`.
56
- #
57
- # The JSON representation for `UInt64Value` is JSON string.
58
- # @!attribute [rw] value
59
- # @return [::Integer]
60
- # The uint64 value.
61
- class UInt64Value
62
- include ::Google::Protobuf::MessageExts
63
- extend ::Google::Protobuf::MessageExts::ClassMethods
64
- end
65
-
66
- # Wrapper message for `int32`.
67
- #
68
- # The JSON representation for `Int32Value` is JSON number.
69
- # @!attribute [rw] value
70
- # @return [::Integer]
71
- # The int32 value.
72
- class Int32Value
73
- include ::Google::Protobuf::MessageExts
74
- extend ::Google::Protobuf::MessageExts::ClassMethods
75
- end
76
-
77
- # Wrapper message for `uint32`.
78
- #
79
- # The JSON representation for `UInt32Value` is JSON number.
80
- # @!attribute [rw] value
81
- # @return [::Integer]
82
- # The uint32 value.
83
- class UInt32Value
84
- include ::Google::Protobuf::MessageExts
85
- extend ::Google::Protobuf::MessageExts::ClassMethods
86
- end
87
-
88
- # Wrapper message for `bool`.
89
- #
90
- # The JSON representation for `BoolValue` is JSON `true` and `false`.
91
- # @!attribute [rw] value
92
- # @return [::Boolean]
93
- # The bool value.
94
- class BoolValue
95
- include ::Google::Protobuf::MessageExts
96
- extend ::Google::Protobuf::MessageExts::ClassMethods
97
- end
98
-
99
- # Wrapper message for `string`.
100
- #
101
- # The JSON representation for `StringValue` is JSON string.
102
- # @!attribute [rw] value
103
- # @return [::String]
104
- # The string value.
105
- class StringValue
106
- include ::Google::Protobuf::MessageExts
107
- extend ::Google::Protobuf::MessageExts::ClassMethods
108
- end
109
-
110
- # Wrapper message for `bytes`.
111
- #
112
- # The JSON representation for `BytesValue` is JSON string.
113
- # @!attribute [rw] value
114
- # @return [::String]
115
- # The bytes value.
116
- class BytesValue
117
- include ::Google::Protobuf::MessageExts
118
- extend ::Google::Protobuf::MessageExts::ClassMethods
119
- end
120
- end
121
- end