google-apis-cloudchannel_v1 0.5.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ed2f7186e1f0c3751f41238ce07689bd88edece7c5af5a262625c4876e7491e
4
- data.tar.gz: 43c2b4fd13ddc0d60ceca2bafb5c7b2614e74d307503afa15937bada44ec4556
3
+ metadata.gz: dd0756ed0111d01ae7b9bf2513d4324d7c34186d3584baa607be371deaa6d7c4
4
+ data.tar.gz: 5a34e4bcad340af5e828c44a1934d8a99902e195694f12e46e5006ed4a5221a6
5
5
  SHA512:
6
- metadata.gz: 10d0eb5f2635dc13fa240c1a65425b92e0c304c0159b3ae139a3cb97e81e1f3f038c1352ac6cf07ee7281344f57dedb0125589ea46fe7d8975d5bc6065f83727
7
- data.tar.gz: 3688fd64d111d42af7058435b3df1cfe835166a07ea49166e52e0103e8f9b0f875b1123fb1f5999d9231fbf3e62ac7798016047fd5b746dca3af110f7684bb1d
6
+ metadata.gz: 7c28a4ae8daac35f379677bf26f571175236f1a7490a918e9538b171d10cbfb484ae41e2bc6dbde747ec21451e547d00933f1fd6ccaa53390c189fd819df2506
7
+ data.tar.gz: 74e6f9bd393e7e57a1e534df6af636ba6367ce114ba9cd43d0889565178a65c71750f61312889fba916463b4dc8c97d429020a62be237526d1fc25e8010b7046
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-cloudchannel_v1
2
2
 
3
+ ### v0.10.0 (2021-07-02)
4
+
5
+ * Regenerated from discovery document revision 20210629
6
+ * Regenerated using generator version 0.4.0
7
+
8
+ ### v0.9.0 (2021-06-24)
9
+
10
+ * Regenerated using generator version 0.3.0
11
+
12
+ ### v0.8.0 (2021-05-19)
13
+
14
+ * Unspecified changes
15
+
16
+ ### v0.7.0 (2021-05-07)
17
+
18
+ * Regenerated from discovery document revision 20210506
19
+
20
+ ### v0.6.0 (2021-03-30)
21
+
22
+ * Regenerated from discovery document revision 20210326
23
+
3
24
  ### v0.5.0 (2021-03-26)
4
25
 
5
26
  * Regenerated from discovery document revision 20210325
@@ -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. Use this email to invite Team customers.
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. Optional for Team customers.
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. Optional for Team customers.
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,11 @@ 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. Alternate emails
594
+ # are optional when you create Team customers.
594
595
  # Corresponds to the JSON property `alternateEmail`
595
596
  # @return [String]
596
597
  attr_accessor :alternate_email
@@ -601,8 +602,8 @@ module Google
601
602
  # @return [String]
602
603
  attr_accessor :channel_partner_id
603
604
 
604
- # Output only. Customer's cloud_identity_id. Populated only if a Cloud Identity
605
- # resource exists for this customer.
605
+ # Output only. The customer's Cloud Identity ID if the customer has a Cloud
606
+ # Identity resource.
606
607
  # Corresponds to the JSON property `cloudIdentityId`
607
608
  # @return [String]
608
609
  attr_accessor :cloud_identity_id
@@ -612,13 +613,13 @@ module Google
612
613
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1CloudIdentityInfo]
613
614
  attr_accessor :cloud_identity_info
614
615
 
615
- # Output only. The time at which the customer is created.
616
+ # Output only. Time when the customer was created.
616
617
  # Corresponds to the JSON property `createTime`
617
618
  # @return [String]
618
619
  attr_accessor :create_time
619
620
 
620
- # Required. Primary domain used by the customer. Domain of primary contact email
621
- # is required to be same as the provided domain.
621
+ # Required. The customer's primary domain. Must match the primary contact email'
622
+ # s domain.
622
623
  # Corresponds to the JSON property `domain`
623
624
  # @return [String]
624
625
  attr_accessor :domain
@@ -660,7 +661,7 @@ module Google
660
661
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1ContactInfo]
661
662
  attr_accessor :primary_contact_info
662
663
 
663
- # Output only. The time at which the customer is updated.
664
+ # Output only. Time when the customer was updated.
664
665
  # Corresponds to the JSON property `updateTime`
665
666
  # @return [String]
666
667
  attr_accessor :update_time
@@ -2229,6 +2230,14 @@ module Google
2229
2230
  class GoogleCloudChannelV1TransferableSku
2230
2231
  include Google::Apis::Core::Hashable
2231
2232
 
2233
+ # Represents a product's purchasable Stock Keeping Unit (SKU). SKUs represent
2234
+ # the different variations of the product. For example, Google Workspace
2235
+ # Business Standard and Google Workspace Business Plus are Google Workspace
2236
+ # product SKUs.
2237
+ # Corresponds to the JSON property `legacySku`
2238
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Sku]
2239
+ attr_accessor :legacy_sku
2240
+
2232
2241
  # Represents a product's purchasable Stock Keeping Unit (SKU). SKUs represent
2233
2242
  # the different variations of the product. For example, Google Workspace
2234
2243
  # Business Standard and Google Workspace Business Plus are Google Workspace
@@ -2248,6 +2257,7 @@ module Google
2248
2257
 
2249
2258
  # Update properties of this object
2250
2259
  def update!(**args)
2260
+ @legacy_sku = args[:legacy_sku] if args.key?(:legacy_sku)
2251
2261
  @sku = args[:sku] if args.key?(:sku)
2252
2262
  @transfer_eligibility = args[:transfer_eligibility] if args.key?(:transfer_eligibility)
2253
2263
  end
@@ -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.5.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210325"
25
+ REVISION = "20210629"
26
26
  end
27
27
  end
28
28
  end
@@ -1214,6 +1214,8 @@ module Google
1214
1214
  class GoogleCloudChannelV1TransferableSku
1215
1215
  # @private
1216
1216
  class Representation < Google::Apis::Core::JsonRepresentation
1217
+ property :legacy_sku, as: 'legacySku', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Sku, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Sku::Representation
1218
+
1217
1219
  property :sku, as: 'sku', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Sku, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1Sku::Representation
1218
1220
 
1219
1221
  property :transfer_eligibility, as: 'transferEligibility', class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1TransferEligibility, decorator: Google::Apis::CloudchannelV1::GoogleCloudChannelV1TransferEligibility::Representation
@@ -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,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudchannel_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
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: 2021-03-29 00:00:00.000000000 Z
11
+ date: 2021-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Cloud Channel API V1. Simple REST
28
34
  clients are Ruby client libraries that provide access to Google services via their
29
35
  HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  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.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudchannel_v1/v0.10.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudchannel_v1
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.13
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Cloud Channel API V1