google-cloud-channel-v1 0.9.1 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +1 -1
- data/lib/google/cloud/channel/v1/channel_partner_links_pb.rb +1 -1
- data/lib/google/cloud/channel/v1/cloud_channel_service/client.rb +1 -0
- data/lib/google/cloud/channel/v1/common_pb.rb +1 -1
- data/lib/google/cloud/channel/v1/customers_pb.rb +1 -1
- data/lib/google/cloud/channel/v1/entitlements_pb.rb +1 -1
- data/lib/google/cloud/channel/v1/offers_pb.rb +1 -1
- data/lib/google/cloud/channel/v1/products_pb.rb +1 -1
- data/lib/google/cloud/channel/v1/subscriber_event_pb.rb +1 -1
- data/lib/google/cloud/channel/v1/version.rb +1 -1
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/channel/v1/channel_partner_links.rb +1 -1
- data/proto_docs/google/cloud/channel/v1/common.rb +3 -3
- data/proto_docs/google/cloud/channel/v1/entitlements.rb +7 -6
- data/proto_docs/google/cloud/channel/v1/operations.rb +1 -1
- data/proto_docs/google/cloud/channel/v1/subscriber_event.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e352dd1b1d869ef28a191ea35e1f208ea9bcf9de65150b765375d8f81f48760
|
4
|
+
data.tar.gz: 486cc4bffcd277277decc5c4ee6025590ec93faca530f58b728d3846f962da53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd8edc86da9c80448fa882e374f8c7d19ccfcf9afeef842ab437b9140f74d53741e4a5cd8e2e27655874e4c7ca479c65364ffc6214f59ba851d4c742da2804f8
|
7
|
+
data.tar.gz: a4dc45f0162fcf0feb9f2973b4b0e46c65e09e2bffcf1db0453fc331ab91e736067a661807c530dbccf04fee6b58181351cc36fa6b10f1be1ccb0839401becad
|
data/.yardopts
CHANGED
data/AUTHENTICATION.md
CHANGED
@@ -120,15 +120,6 @@ To configure your system for this, simply:
|
|
120
120
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
121
121
|
*should* only be used during development.
|
122
122
|
|
123
|
-
[gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
|
124
|
-
[dev-console]: https://console.cloud.google.com/project
|
125
|
-
|
126
|
-
[enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
|
127
|
-
|
128
|
-
[create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
|
129
|
-
[create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
|
130
|
-
[reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
|
131
|
-
|
132
123
|
## Creating a Service Account
|
133
124
|
|
134
125
|
Google Cloud requires **Service Account Credentials** to
|
@@ -139,31 +130,22 @@ If you are not running this client within
|
|
139
130
|
[Google Cloud Platform environments](#google-cloud-platform-environments), you
|
140
131
|
need a Google Developers service account.
|
141
132
|
|
142
|
-
1. Visit the [Google
|
133
|
+
1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
|
143
134
|
2. Create a new project or click on an existing project.
|
144
|
-
3. Activate the
|
135
|
+
3. Activate the menu in the upper left and select **APIs & Services**. From
|
145
136
|
here, you will enable the APIs that your application requires.
|
146
137
|
|
147
|
-
![Enable the APIs that your application requires][enable-apis]
|
148
|
-
|
149
138
|
*Note: You may need to enable billing in order to use these services.*
|
150
139
|
|
151
140
|
4. Select **Credentials** from the side navigation.
|
152
141
|
|
153
|
-
|
154
|
-
|
155
|
-
![Create a new service account][create-new-service-account]
|
156
|
-
|
157
|
-
![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
|
158
|
-
|
159
|
-
Find the "Add credentials" drop down and select "Service account" to be
|
160
|
-
guided through downloading a new JSON key file.
|
142
|
+
Find the "Create credentials" drop down near the top of the page, and select
|
143
|
+
"Service account" to be guided through downloading a new JSON key file.
|
161
144
|
|
162
145
|
If you want to re-use an existing service account, you can easily generate a
|
163
|
-
new key file. Just select the account you wish to re-use,
|
164
|
-
|
165
|
-
|
166
|
-
![Re-use an existing service account][reuse-service-account]
|
146
|
+
new key file. Just select the account you wish to re-use, click the pencil
|
147
|
+
tool on the right side to edit the service account, select the **Keys** tab,
|
148
|
+
and then select **Add Key**.
|
167
149
|
|
168
150
|
The key file you download will be used by this library to authenticate API
|
169
151
|
requests and should be stored in a secure location.
|
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://
|
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)
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/channel/v1/channel_partner_links.proto
|
3
3
|
|
4
|
+
require 'google/api/annotations_pb'
|
4
5
|
require 'google/api/field_behavior_pb'
|
5
6
|
require 'google/api/resource_pb'
|
6
7
|
require 'google/cloud/channel/v1/common_pb'
|
7
8
|
require 'google/protobuf/timestamp_pb'
|
8
|
-
require 'google/api/annotations_pb'
|
9
9
|
require 'google/protobuf'
|
10
10
|
|
11
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -1,9 +1,9 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/channel/v1/common.proto
|
3
3
|
|
4
|
+
require 'google/api/annotations_pb'
|
4
5
|
require 'google/api/field_behavior_pb'
|
5
6
|
require 'google/protobuf/any_pb'
|
6
|
-
require 'google/api/annotations_pb'
|
7
7
|
require 'google/protobuf'
|
8
8
|
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/channel/v1/customers.proto
|
3
3
|
|
4
|
+
require 'google/api/annotations_pb'
|
4
5
|
require 'google/api/field_behavior_pb'
|
5
6
|
require 'google/api/resource_pb'
|
6
7
|
require 'google/cloud/channel/v1/common_pb'
|
7
8
|
require 'google/protobuf/timestamp_pb'
|
8
9
|
require 'google/type/postal_address_pb'
|
9
|
-
require 'google/api/annotations_pb'
|
10
10
|
require 'google/protobuf'
|
11
11
|
|
12
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/channel/v1/entitlements.proto
|
3
3
|
|
4
|
+
require 'google/api/annotations_pb'
|
4
5
|
require 'google/api/field_behavior_pb'
|
5
6
|
require 'google/api/resource_pb'
|
6
7
|
require 'google/cloud/channel/v1/common_pb'
|
@@ -8,7 +9,6 @@ require 'google/cloud/channel/v1/offers_pb'
|
|
8
9
|
require 'google/cloud/channel/v1/products_pb'
|
9
10
|
require 'google/protobuf/timestamp_pb'
|
10
11
|
require 'google/protobuf/wrappers_pb'
|
11
|
-
require 'google/api/annotations_pb'
|
12
12
|
require 'google/protobuf'
|
13
13
|
|
14
14
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/channel/v1/offers.proto
|
3
3
|
|
4
|
+
require 'google/api/annotations_pb'
|
4
5
|
require 'google/api/field_behavior_pb'
|
5
6
|
require 'google/api/resource_pb'
|
6
7
|
require 'google/cloud/channel/v1/common_pb'
|
7
8
|
require 'google/cloud/channel/v1/products_pb'
|
8
9
|
require 'google/protobuf/timestamp_pb'
|
9
10
|
require 'google/type/money_pb'
|
10
|
-
require 'google/api/annotations_pb'
|
11
11
|
require 'google/protobuf'
|
12
12
|
|
13
13
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/channel/v1/products.proto
|
3
3
|
|
4
|
-
require 'google/api/resource_pb'
|
5
4
|
require 'google/api/annotations_pb'
|
5
|
+
require 'google/api/resource_pb'
|
6
6
|
require 'google/protobuf'
|
7
7
|
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/channel/v1/subscriber_event.proto
|
3
3
|
|
4
|
-
require 'google/api/resource_pb'
|
5
4
|
require 'google/api/annotations_pb'
|
5
|
+
require 'google/api/resource_pb'
|
6
6
|
require 'google/protobuf'
|
7
7
|
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -33,11 +33,7 @@ module Google
|
|
33
33
|
# // For Kubernetes resources, the format is {api group}/{kind}.
|
34
34
|
# option (google.api.resource) = {
|
35
35
|
# type: "pubsub.googleapis.com/Topic"
|
36
|
-
#
|
37
|
-
# pattern: "projects/{project}/topics/{topic}"
|
38
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
39
|
-
# parent_name_extractor: "projects/{project}"
|
40
|
-
# }
|
36
|
+
# pattern: "projects/{project}/topics/{topic}"
|
41
37
|
# };
|
42
38
|
# }
|
43
39
|
#
|
@@ -45,10 +41,7 @@ module Google
|
|
45
41
|
#
|
46
42
|
# resources:
|
47
43
|
# - type: "pubsub.googleapis.com/Topic"
|
48
|
-
#
|
49
|
-
# - pattern: "projects/{project}/topics/{topic}"
|
50
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
51
|
-
# parent_name_extractor: "projects/{project}"
|
44
|
+
# pattern: "projects/{project}/topics/{topic}"
|
52
45
|
#
|
53
46
|
# Sometimes, resources have multiple patterns, typically because they can
|
54
47
|
# live under multiple parents.
|
@@ -58,26 +51,10 @@ module Google
|
|
58
51
|
# message LogEntry {
|
59
52
|
# option (google.api.resource) = {
|
60
53
|
# type: "logging.googleapis.com/LogEntry"
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# }
|
66
|
-
# name_descriptor: {
|
67
|
-
# pattern: "folders/{folder}/logs/{log}"
|
68
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
69
|
-
# parent_name_extractor: "folders/{folder}"
|
70
|
-
# }
|
71
|
-
# name_descriptor: {
|
72
|
-
# pattern: "organizations/{organization}/logs/{log}"
|
73
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
74
|
-
# parent_name_extractor: "organizations/{organization}"
|
75
|
-
# }
|
76
|
-
# name_descriptor: {
|
77
|
-
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
78
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
79
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
80
|
-
# }
|
54
|
+
# pattern: "projects/{project}/logs/{log}"
|
55
|
+
# pattern: "folders/{folder}/logs/{log}"
|
56
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
57
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
81
58
|
# };
|
82
59
|
# }
|
83
60
|
#
|
@@ -85,48 +62,10 @@ module Google
|
|
85
62
|
#
|
86
63
|
# resources:
|
87
64
|
# - type: 'logging.googleapis.com/LogEntry'
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
# - pattern: "folders/{folder}/logs/{log}"
|
93
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
94
|
-
# parent_name_extractor: "folders/{folder}"
|
95
|
-
# - pattern: "organizations/{organization}/logs/{log}"
|
96
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
97
|
-
# parent_name_extractor: "organizations/{organization}"
|
98
|
-
# - pattern: "billingAccounts/{billing_account}/logs/{log}"
|
99
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
100
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
101
|
-
#
|
102
|
-
# For flexible resources, the resource name doesn't contain parent names, but
|
103
|
-
# the resource itself has parents for policy evaluation.
|
104
|
-
#
|
105
|
-
# Example:
|
106
|
-
#
|
107
|
-
# message Shelf {
|
108
|
-
# option (google.api.resource) = {
|
109
|
-
# type: "library.googleapis.com/Shelf"
|
110
|
-
# name_descriptor: {
|
111
|
-
# pattern: "shelves/{shelf}"
|
112
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
113
|
-
# }
|
114
|
-
# name_descriptor: {
|
115
|
-
# pattern: "shelves/{shelf}"
|
116
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
117
|
-
# }
|
118
|
-
# };
|
119
|
-
# }
|
120
|
-
#
|
121
|
-
# The ResourceDescriptor Yaml config will look like:
|
122
|
-
#
|
123
|
-
# resources:
|
124
|
-
# - type: 'library.googleapis.com/Shelf'
|
125
|
-
# name_descriptor:
|
126
|
-
# - pattern: "shelves/{shelf}"
|
127
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
128
|
-
# - pattern: "shelves/{shelf}"
|
129
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
65
|
+
# pattern: "projects/{project}/logs/{log}"
|
66
|
+
# pattern: "folders/{folder}/logs/{log}"
|
67
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
68
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
130
69
|
# @!attribute [rw] type
|
131
70
|
# @return [::String]
|
132
71
|
# The resource type. It must be in the format of
|
@@ -70,7 +70,7 @@ module Google
|
|
70
70
|
|
71
71
|
# ChannelPartnerLinkState represents state of a channel partner link.
|
72
72
|
module ChannelPartnerLinkState
|
73
|
-
#
|
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
|
-
#
|
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
|
-
#
|
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
|
-
#
|
113
|
+
# Not used.
|
114
114
|
CUSTOMER_TYPE_UNSPECIFIED = 0
|
115
115
|
|
116
116
|
# Domain-owning customer which needs domain verification to use services.
|
@@ -69,7 +69,7 @@ module Google
|
|
69
69
|
#
|
70
70
|
# The response may include the following output-only Parameters:
|
71
71
|
#
|
72
|
-
# - assigned_units: The number of licenses assigned to
|
72
|
+
# - assigned_units: The number of licenses assigned to users.
|
73
73
|
#
|
74
74
|
# - max_units: The maximum assignable units for a flexible offer.
|
75
75
|
#
|
@@ -80,7 +80,7 @@ module Google
|
|
80
80
|
|
81
81
|
# Indicates the current provisioning state of the entitlement.
|
82
82
|
module ProvisioningState
|
83
|
-
#
|
83
|
+
# Not used.
|
84
84
|
PROVISIONING_STATE_UNSPECIFIED = 0
|
85
85
|
|
86
86
|
# The entitlement is currently active.
|
@@ -92,7 +92,7 @@ module Google
|
|
92
92
|
|
93
93
|
# Suspension reason for an entitlement if {::Google::Cloud::Channel::V1::Entitlement#provisioning_state provisioning_state} = SUSPENDED.
|
94
94
|
module SuspensionReason
|
95
|
-
#
|
95
|
+
# Not used.
|
96
96
|
SUSPENSION_REASON_UNSPECIFIED = 0
|
97
97
|
|
98
98
|
# Entitlement was manually suspended by the Reseller.
|
@@ -142,8 +142,9 @@ module Google
|
|
142
142
|
# Service provisioned for an entitlement.
|
143
143
|
# @!attribute [r] provisioning_id
|
144
144
|
# @return [::String]
|
145
|
-
# Output only. Provisioning ID of the entitlement. For Google Workspace, this
|
146
|
-
# underlying Subscription ID.
|
145
|
+
# Output only. Provisioning ID of the entitlement. For Google Workspace, this is the
|
146
|
+
# underlying Subscription ID. For Google Cloud Platform, this is the
|
147
|
+
# Billing Account ID of the billing subaccount."
|
147
148
|
# @!attribute [r] product_id
|
148
149
|
# @return [::String]
|
149
150
|
# Output only. The product pertaining to the provisioning resource as specified in the
|
@@ -241,7 +242,7 @@ module Google
|
|
241
242
|
|
242
243
|
# Reason of ineligibility.
|
243
244
|
module Reason
|
244
|
-
#
|
245
|
+
# Not used.
|
245
246
|
REASON_UNSPECIFIED = 0
|
246
247
|
|
247
248
|
# 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
|
-
#
|
34
|
+
# Not used.
|
35
35
|
OPERATION_TYPE_UNSPECIFIED = 0
|
36
36
|
|
37
37
|
# Long Running Operation was triggered by CreateEntitlement.
|
@@ -35,7 +35,7 @@ module Google
|
|
35
35
|
|
36
36
|
# Type of customer event.
|
37
37
|
module Type
|
38
|
-
#
|
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
|
-
#
|
63
|
+
# Not used.
|
64
64
|
TYPE_UNSPECIFIED = 0
|
65
65
|
|
66
66
|
# A new entitlement was created.
|
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.
|
4
|
+
version: 0.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -230,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
230
230
|
- !ruby/object:Gem::Version
|
231
231
|
version: '0'
|
232
232
|
requirements: []
|
233
|
-
rubygems_version: 3.
|
233
|
+
rubygems_version: 3.3.5
|
234
234
|
signing_key:
|
235
235
|
specification_version: 4
|
236
236
|
summary: API Client library for the Cloud Channel V1 API
|