google-apis-cloudchannel_v1 0.6.0 → 0.7.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d35e6a22666857abeeb8d4bd0363eada8aadd0f78d2b64c336b04a26e9353c0d
|
|
4
|
+
data.tar.gz: c3d8f9c75b74091d5f90104e8bba252d4abb06541f98fa3a912696b82b7c0fbb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 564666d41a833308d013f59a18fb0395fb780c7776f9603cc7f48ef8d739d2e317af5481641c54bed5e6dbd77547072901f9a150c467861438dca4c3f36c0d4c
|
|
7
|
+
data.tar.gz: ae5bace86545563263f0363d6e03a652aaffb47830b1fbd9533cb0645907bf3adb5f9854d400baa3c1bda4ab5fb5e04b19a3600d5a7174a36e653662966d343d
|
data/CHANGELOG.md
CHANGED
|
@@ -503,35 +503,35 @@ module Google
|
|
|
503
503
|
class GoogleCloudChannelV1ContactInfo
|
|
504
504
|
include Google::Apis::Core::Hashable
|
|
505
505
|
|
|
506
|
-
# Output only.
|
|
507
|
-
#
|
|
506
|
+
# Output only. The customer account contact's display name, formatted as a
|
|
507
|
+
# combination of the customer's first and last name.
|
|
508
508
|
# Corresponds to the JSON property `displayName`
|
|
509
509
|
# @return [String]
|
|
510
510
|
attr_accessor :display_name
|
|
511
511
|
|
|
512
|
-
#
|
|
513
|
-
#
|
|
514
|
-
#
|
|
512
|
+
# The customer account's contact email. Required for entitlements that create
|
|
513
|
+
# admin.google.com accounts, and serves as the customer's username for those
|
|
514
|
+
# accounts.
|
|
515
515
|
# Corresponds to the JSON property `email`
|
|
516
516
|
# @return [String]
|
|
517
517
|
attr_accessor :email
|
|
518
518
|
|
|
519
|
-
#
|
|
519
|
+
# The customer account contact's first name.
|
|
520
520
|
# Corresponds to the JSON property `firstName`
|
|
521
521
|
# @return [String]
|
|
522
522
|
attr_accessor :first_name
|
|
523
523
|
|
|
524
|
-
#
|
|
524
|
+
# The customer account contact's last name.
|
|
525
525
|
# Corresponds to the JSON property `lastName`
|
|
526
526
|
# @return [String]
|
|
527
527
|
attr_accessor :last_name
|
|
528
528
|
|
|
529
|
-
#
|
|
529
|
+
# The customer account's contact phone number.
|
|
530
530
|
# Corresponds to the JSON property `phone`
|
|
531
531
|
# @return [String]
|
|
532
532
|
attr_accessor :phone
|
|
533
533
|
|
|
534
|
-
# Optional.
|
|
534
|
+
# Optional. The customer account contact's job title.
|
|
535
535
|
# Corresponds to the JSON property `title`
|
|
536
536
|
# @return [String]
|
|
537
537
|
attr_accessor :title
|
|
@@ -587,10 +587,10 @@ module Google
|
|
|
587
587
|
class GoogleCloudChannelV1Customer
|
|
588
588
|
include Google::Apis::Core::Hashable
|
|
589
589
|
|
|
590
|
-
# Secondary contact email.
|
|
591
|
-
#
|
|
592
|
-
#
|
|
593
|
-
#
|
|
590
|
+
# Secondary contact email. You need to provide an alternate email to create
|
|
591
|
+
# different domains if a primary contact email already exists. Users will
|
|
592
|
+
# receive a notification with credentials when you create an admin.google.com
|
|
593
|
+
# account. Secondary emails are also recovery email addresses.
|
|
594
594
|
# Corresponds to the JSON property `alternateEmail`
|
|
595
595
|
# @return [String]
|
|
596
596
|
attr_accessor :alternate_email
|
|
@@ -601,8 +601,8 @@ module Google
|
|
|
601
601
|
# @return [String]
|
|
602
602
|
attr_accessor :channel_partner_id
|
|
603
603
|
|
|
604
|
-
# Output only.
|
|
605
|
-
# resource
|
|
604
|
+
# Output only. The customer's Cloud Identity ID if the customer has a Cloud
|
|
605
|
+
# Identity resource.
|
|
606
606
|
# Corresponds to the JSON property `cloudIdentityId`
|
|
607
607
|
# @return [String]
|
|
608
608
|
attr_accessor :cloud_identity_id
|
|
@@ -612,13 +612,13 @@ module Google
|
|
|
612
612
|
# @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1CloudIdentityInfo]
|
|
613
613
|
attr_accessor :cloud_identity_info
|
|
614
614
|
|
|
615
|
-
# Output only.
|
|
615
|
+
# Output only. Time when the customer was created.
|
|
616
616
|
# Corresponds to the JSON property `createTime`
|
|
617
617
|
# @return [String]
|
|
618
618
|
attr_accessor :create_time
|
|
619
619
|
|
|
620
|
-
# Required.
|
|
621
|
-
#
|
|
620
|
+
# Required. The customer's primary domain. Must match the primary contact email'
|
|
621
|
+
# s domain.
|
|
622
622
|
# Corresponds to the JSON property `domain`
|
|
623
623
|
# @return [String]
|
|
624
624
|
attr_accessor :domain
|
|
@@ -660,7 +660,7 @@ module Google
|
|
|
660
660
|
# @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1ContactInfo]
|
|
661
661
|
attr_accessor :primary_contact_info
|
|
662
662
|
|
|
663
|
-
# Output only.
|
|
663
|
+
# Output only. Time when the customer was updated.
|
|
664
664
|
# Corresponds to the JSON property `updateTime`
|
|
665
665
|
# @return [String]
|
|
666
666
|
attr_accessor :update_time
|
|
@@ -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
|
+
GEM_VERSION = "0.7.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20210506"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -355,8 +355,8 @@ module Google
|
|
|
355
355
|
execute_or_queue_command(command, &block)
|
|
356
356
|
end
|
|
357
357
|
|
|
358
|
-
# Returns
|
|
359
|
-
# call this method. Possible error codes: * PERMISSION_DENIED: The reseller
|
|
358
|
+
# Returns the requested ChannelPartnerLink resource. You must be a distributor
|
|
359
|
+
# to call this method. Possible error codes: * PERMISSION_DENIED: The reseller
|
|
360
360
|
# account making the request is different from the reseller account in the API
|
|
361
361
|
# request. * INVALID_ARGUMENT: Required request parameters are missing or
|
|
362
362
|
# invalid. * NOT_FOUND: ChannelPartnerLink resource not found because of an
|
|
@@ -530,9 +530,9 @@ module Google
|
|
|
530
530
|
execute_or_queue_command(command, &block)
|
|
531
531
|
end
|
|
532
532
|
|
|
533
|
-
# Deletes the given Customer permanently
|
|
534
|
-
#
|
|
535
|
-
#
|
|
533
|
+
# Deletes the given Customer permanently. Possible error codes: *
|
|
534
|
+
# PERMISSION_DENIED: The account making the request does not own this customer. *
|
|
535
|
+
# INVALID_ARGUMENT: Required request parameters are missing or invalid. *
|
|
536
536
|
# FAILED_PRECONDITION: The customer has existing entitlements. * NOT_FOUND: No
|
|
537
537
|
# Customer resource found for the name in the request.
|
|
538
538
|
# @param [String] name
|
|
@@ -564,7 +564,7 @@ module Google
|
|
|
564
564
|
execute_or_queue_command(command, &block)
|
|
565
565
|
end
|
|
566
566
|
|
|
567
|
-
# Returns
|
|
567
|
+
# Returns the requested Customer resource. Possible error codes: *
|
|
568
568
|
# PERMISSION_DENIED: The reseller account making the request is different from
|
|
569
569
|
# the reseller account in the API request. * INVALID_ARGUMENT: Required request
|
|
570
570
|
# parameters are missing or invalid. * NOT_FOUND: The customer resource doesn't
|
|
@@ -726,9 +726,9 @@ module Google
|
|
|
726
726
|
execute_or_queue_command(command, &block)
|
|
727
727
|
end
|
|
728
728
|
|
|
729
|
-
# Deletes the given Customer permanently
|
|
730
|
-
#
|
|
731
|
-
#
|
|
729
|
+
# Deletes the given Customer permanently. Possible error codes: *
|
|
730
|
+
# PERMISSION_DENIED: The account making the request does not own this customer. *
|
|
731
|
+
# INVALID_ARGUMENT: Required request parameters are missing or invalid. *
|
|
732
732
|
# FAILED_PRECONDITION: The customer has existing entitlements. * NOT_FOUND: No
|
|
733
733
|
# Customer resource found for the name in the request.
|
|
734
734
|
# @param [String] name
|
|
@@ -760,7 +760,7 @@ module Google
|
|
|
760
760
|
execute_or_queue_command(command, &block)
|
|
761
761
|
end
|
|
762
762
|
|
|
763
|
-
# Returns
|
|
763
|
+
# Returns the requested Customer resource. Possible error codes: *
|
|
764
764
|
# PERMISSION_DENIED: The reseller account making the request is different from
|
|
765
765
|
# the reseller account in the API request. * INVALID_ARGUMENT: Required request
|
|
766
766
|
# parameters are missing or invalid. * NOT_FOUND: The customer resource doesn't
|
|
@@ -1437,7 +1437,7 @@ module Google
|
|
|
1437
1437
|
execute_or_queue_command(command, &block)
|
|
1438
1438
|
end
|
|
1439
1439
|
|
|
1440
|
-
# Returns
|
|
1440
|
+
# Returns the requested Entitlement resource. Possible error codes: *
|
|
1441
1441
|
# PERMISSION_DENIED: The customer doesn't belong to the reseller. *
|
|
1442
1442
|
# INVALID_ARGUMENT: Required request parameters are missing or invalid. *
|
|
1443
1443
|
# NOT_FOUND: The customer entitlement was not found. Return value: The requested
|
|
@@ -1518,6 +1518,42 @@ module Google
|
|
|
1518
1518
|
execute_or_queue_command(command, &block)
|
|
1519
1519
|
end
|
|
1520
1520
|
|
|
1521
|
+
# Returns the requested Offer resource. Possible error codes: *
|
|
1522
|
+
# PERMISSION_DENIED: The entitlement doesn't belong to the reseller. *
|
|
1523
|
+
# INVALID_ARGUMENT: Required request parameters are missing or invalid. *
|
|
1524
|
+
# NOT_FOUND: Entitlement or offer was not found. Return value: The Offer
|
|
1525
|
+
# resource.
|
|
1526
|
+
# @param [String] entitlement
|
|
1527
|
+
# Required. The resource name of the entitlement to retrieve the Offer.
|
|
1528
|
+
# Entitlement uses the format: accounts/`account_id`/customers/`customer_id`/
|
|
1529
|
+
# entitlements/`entitlement_id`
|
|
1530
|
+
# @param [String] fields
|
|
1531
|
+
# Selector specifying which fields to include in a partial response.
|
|
1532
|
+
# @param [String] quota_user
|
|
1533
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1534
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1535
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1536
|
+
# Request-specific options
|
|
1537
|
+
#
|
|
1538
|
+
# @yield [result, err] Result & error if block supplied
|
|
1539
|
+
# @yieldparam result [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Offer] parsed result object
|
|
1540
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1541
|
+
#
|
|
1542
|
+
# @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Offer]
|
|
1543
|
+
#
|
|
1544
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1545
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1546
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1547
|
+
def lookup_account_customer_entitlement_offer(entitlement, fields: nil, quota_user: nil, options: nil, &block)
|
|
1548
|
+
command = make_simple_command(:get, 'v1/{+entitlement}:lookupOffer', options)
|
|
1549
|
+
command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1Offer::Representation
|
|
1550
|
+
command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1Offer
|
|
1551
|
+
command.params['entitlement'] = entitlement unless entitlement.nil?
|
|
1552
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1553
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1554
|
+
execute_or_queue_command(command, &block)
|
|
1555
|
+
end
|
|
1556
|
+
|
|
1521
1557
|
# Starts paid service for a trial entitlement. Starts paid service for a trial
|
|
1522
1558
|
# entitlement immediately. This method is only applicable if a plan is set up
|
|
1523
1559
|
# for a trial entitlement but has some trial days remaining. Possible error
|
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.
|
|
4
|
+
version: 0.7.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: 2021-
|
|
11
|
+
date: 2021-05-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-apis-core
|
|
@@ -52,7 +52,7 @@ licenses:
|
|
|
52
52
|
metadata:
|
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudchannel_v1/CHANGELOG.md
|
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudchannel_v1/v0.
|
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudchannel_v1/v0.7.0
|
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudchannel_v1
|
|
57
57
|
post_install_message:
|
|
58
58
|
rdoc_options: []
|
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
69
69
|
- !ruby/object:Gem::Version
|
|
70
70
|
version: '0'
|
|
71
71
|
requirements: []
|
|
72
|
-
rubygems_version: 3.2.
|
|
72
|
+
rubygems_version: 3.2.17
|
|
73
73
|
signing_key:
|
|
74
74
|
specification_version: 4
|
|
75
75
|
summary: Simple REST client for Cloud Channel API V1
|