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: 2a8cf0e571ba945329e00335721232e4c0ffd8e931ec8fbbb6e739055a6fe5f9
4
- data.tar.gz: a5af33f0fcb9bd33c002f0eec427aa7a6e8222228846ebf50c7ebe50fbbbc25e
3
+ metadata.gz: d35e6a22666857abeeb8d4bd0363eada8aadd0f78d2b64c336b04a26e9353c0d
4
+ data.tar.gz: c3d8f9c75b74091d5f90104e8bba252d4abb06541f98fa3a912696b82b7c0fbb
5
5
  SHA512:
6
- metadata.gz: 678306147e08418349715b4a4f09515ed8d43ba4d5c739ecff1481ae75f944ef65fa8a073ca7795ebbf8accfa06540dec9c490a193f9d54fc80f248ba4d92593
7
- data.tar.gz: 814a13f4d517646a724fb7e3e6c8b355b5c3c9e802acc5bb8ef3df7a1417f3a8404a13801aa0d5c43d0aea0efd50ea6a4a6b0bd0f951d83cad6eb11b06198f2a
6
+ metadata.gz: 564666d41a833308d013f59a18fb0395fb780c7776f9603cc7f48ef8d739d2e317af5481641c54bed5e6dbd77547072901f9a150c467861438dca4c3f36c0d4c
7
+ data.tar.gz: ae5bace86545563263f0363d6e03a652aaffb47830b1fbd9533cb0645907bf3adb5f9854d400baa3c1bda4ab5fb5e04b19a3600d5a7174a36e653662966d343d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudchannel_v1
2
2
 
3
+ ### v0.7.0 (2021-05-07)
4
+
5
+ * Regenerated from discovery document revision 20210506
6
+
3
7
  ### v0.6.0 (2021-03-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20210326
@@ -503,35 +503,35 @@ module Google
503
503
  class GoogleCloudChannelV1ContactInfo
504
504
  include Google::Apis::Core::Hashable
505
505
 
506
- # Output only. Display name of the contact in the customer account. Populated by
507
- # combining customer first name and last name.
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
- # Email of the contact in the customer account. Email is required for
513
- # entitlements that need creation of admin.google.com accounts. The email will
514
- # be the username used in credentials to access the admin.google.com account.
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
- # First name of the contact in the customer account.
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
- # Last name of the contact in the customer account.
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
- # Phone number of the contact in the customer account.
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. Job title of the contact in the customer account.
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. Alternate email and primary contact email are
591
- # required to have different domains if primary contact email is present. When
592
- # creating admin.google.com accounts, users get notified credentials at this
593
- # email. This email address is also used as a recovery email.
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. Customer's cloud_identity_id. Populated only if a Cloud Identity
605
- # resource exists for this customer.
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. The time at which the customer is created.
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. Primary domain used by the customer. Domain of primary contact email
621
- # is required to be same as the provided domain.
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. The time at which the customer is updated.
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.6.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 = "20210326"
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 a requested ChannelPartnerLink resource. You must be a distributor to
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 and irreversibly. 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. *
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 a requested Customer resource. Possible error codes: *
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 and irreversibly. 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. *
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 a requested Customer resource. Possible error codes: *
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 a requested Entitlement resource. Possible error codes: *
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.6.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-04-05 00:00:00.000000000 Z
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.6.0
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.13
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