google-apis-cloudchannel_v1 0.4.0 → 0.9.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: bbed9e17905377589ad43f3d2d4b3c7131e26b6e809389a894ac0a49d9ae22ed
4
- data.tar.gz: 289ef31af95786a61391a67bfafd22acd08f9c45f551c539c564f6b896c867ff
3
+ metadata.gz: d1e1c9e90d3342302fb7ded031f7821e2b5c0207f40b482a2191c7ad685e2ae4
4
+ data.tar.gz: '092bd322130bcd7563623e0f1966c0efe5ca03ec40998733c4dbdd1913607e3d'
5
5
  SHA512:
6
- metadata.gz: c7e7daf11c02505fc184bb32c654e1eb5d0333c4344ddb471c805178b981454a7aabc14b138ad4bc6dbe75786a7f51645440a38bb45e8975a094e5758230c78a
7
- data.tar.gz: 114181e11e2b03e79105193a3ce71145572f7be3fe2f7b1b5e9f9cc2bde7dae48d457b912ea8bea54ca345e3d1c26be3f220d91bcd667491e98dfc5cb8adc3f7
6
+ metadata.gz: 8f7f377c995d219b46b4e19ca9af3f78cd58cf94047b6c6d6f374c488b36af8083c8ab6704773ceec82fbf73995dfb1d574c462c3a759853f232846f5786e8b3
7
+ data.tar.gz: 0dfc84f708e33fc45bcc3904cd813eb625ce535e4184980d805bca3222e416ad163f9dee2f1eee6c534cb98ea9c7c93c5184eab88a2b2476ab3b84bed3f6510e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Release history for google-apis-cloudchannel_v1
2
2
 
3
+ ### v0.9.0 (2021-06-24)
4
+
5
+ * Regenerated using generator version 0.3.0
6
+
7
+ ### v0.8.0 (2021-05-19)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.7.0 (2021-05-07)
12
+
13
+ * Regenerated from discovery document revision 20210506
14
+
15
+ ### v0.6.0 (2021-03-30)
16
+
17
+ * Regenerated from discovery document revision 20210326
18
+
19
+ ### v0.5.0 (2021-03-26)
20
+
21
+ * Regenerated from discovery document revision 20210325
22
+
3
23
  ### v0.4.0 (2021-03-19)
4
24
 
5
25
  * Regenerated from discovery document revision 20210317
@@ -407,7 +407,11 @@ module Google
407
407
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1EduData]
408
408
  attr_accessor :edu_data
409
409
 
410
- # Whether the domain is verified.
410
+ # Output only. Whether the domain is verified. This field is not returned for a
411
+ # Customer's cloud_identity_info resource. Partners can use the domains.get()
412
+ # method of the Workspace SDK's Directory API, or listen to the
413
+ # PRIMARY_DOMAIN_VERIFIED Pub/Sub event in to track domain verification of their
414
+ # resolve Workspace customers.
411
415
  # Corresponds to the JSON property `isDomainVerified`
412
416
  # @return [Boolean]
413
417
  attr_accessor :is_domain_verified
@@ -499,35 +503,35 @@ module Google
499
503
  class GoogleCloudChannelV1ContactInfo
500
504
  include Google::Apis::Core::Hashable
501
505
 
502
- # Output only. Display name of the contact in the customer account. Populated by
503
- # 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.
504
508
  # Corresponds to the JSON property `displayName`
505
509
  # @return [String]
506
510
  attr_accessor :display_name
507
511
 
508
- # Email of the contact in the customer account. Email is required for
509
- # entitlements that need creation of admin.google.com accounts. The email will
510
- # 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.
511
515
  # Corresponds to the JSON property `email`
512
516
  # @return [String]
513
517
  attr_accessor :email
514
518
 
515
- # First name of the contact in the customer account.
519
+ # The customer account contact's first name.
516
520
  # Corresponds to the JSON property `firstName`
517
521
  # @return [String]
518
522
  attr_accessor :first_name
519
523
 
520
- # Last name of the contact in the customer account.
524
+ # The customer account contact's last name.
521
525
  # Corresponds to the JSON property `lastName`
522
526
  # @return [String]
523
527
  attr_accessor :last_name
524
528
 
525
- # Phone number of the contact in the customer account.
529
+ # The customer account's contact phone number.
526
530
  # Corresponds to the JSON property `phone`
527
531
  # @return [String]
528
532
  attr_accessor :phone
529
533
 
530
- # Optional. Job title of the contact in the customer account.
534
+ # Optional. The customer account contact's job title.
531
535
  # Corresponds to the JSON property `title`
532
536
  # @return [String]
533
537
  attr_accessor :title
@@ -583,10 +587,10 @@ module Google
583
587
  class GoogleCloudChannelV1Customer
584
588
  include Google::Apis::Core::Hashable
585
589
 
586
- # Secondary contact email. Alternate email and primary contact email are
587
- # required to have different domains if primary contact email is present. When
588
- # creating admin.google.com accounts, users get notified credentials at this
589
- # 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.
590
594
  # Corresponds to the JSON property `alternateEmail`
591
595
  # @return [String]
592
596
  attr_accessor :alternate_email
@@ -597,8 +601,8 @@ module Google
597
601
  # @return [String]
598
602
  attr_accessor :channel_partner_id
599
603
 
600
- # Output only. Customer's cloud_identity_id. Populated only if a Cloud Identity
601
- # resource exists for this customer.
604
+ # Output only. The customer's Cloud Identity ID if the customer has a Cloud
605
+ # Identity resource.
602
606
  # Corresponds to the JSON property `cloudIdentityId`
603
607
  # @return [String]
604
608
  attr_accessor :cloud_identity_id
@@ -608,13 +612,13 @@ module Google
608
612
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1CloudIdentityInfo]
609
613
  attr_accessor :cloud_identity_info
610
614
 
611
- # Output only. The time at which the customer is created.
615
+ # Output only. Time when the customer was created.
612
616
  # Corresponds to the JSON property `createTime`
613
617
  # @return [String]
614
618
  attr_accessor :create_time
615
619
 
616
- # Required. Primary domain used by the customer. Domain of primary contact email
617
- # 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.
618
622
  # Corresponds to the JSON property `domain`
619
623
  # @return [String]
620
624
  attr_accessor :domain
@@ -656,7 +660,7 @@ module Google
656
660
  # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1ContactInfo]
657
661
  attr_accessor :primary_contact_info
658
662
 
659
- # Output only. The time at which the customer is updated.
663
+ # Output only. Time when the customer was updated.
660
664
  # Corresponds to the JSON property `updateTime`
661
665
  # @return [String]
662
666
  attr_accessor :update_time
@@ -2225,6 +2229,14 @@ module Google
2225
2229
  class GoogleCloudChannelV1TransferableSku
2226
2230
  include Google::Apis::Core::Hashable
2227
2231
 
2232
+ # Represents a product's purchasable Stock Keeping Unit (SKU). SKUs represent
2233
+ # the different variations of the product. For example, Google Workspace
2234
+ # Business Standard and Google Workspace Business Plus are Google Workspace
2235
+ # product SKUs.
2236
+ # Corresponds to the JSON property `legacySku`
2237
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Sku]
2238
+ attr_accessor :legacy_sku
2239
+
2228
2240
  # Represents a product's purchasable Stock Keeping Unit (SKU). SKUs represent
2229
2241
  # the different variations of the product. For example, Google Workspace
2230
2242
  # Business Standard and Google Workspace Business Plus are Google Workspace
@@ -2244,6 +2256,7 @@ module Google
2244
2256
 
2245
2257
  # Update properties of this object
2246
2258
  def update!(**args)
2259
+ @legacy_sku = args[:legacy_sku] if args.key?(:legacy_sku)
2247
2260
  @sku = args[:sku] if args.key?(:sku)
2248
2261
  @transfer_eligibility = args[:transfer_eligibility] if args.key?(:transfer_eligibility)
2249
2262
  end
@@ -2346,6 +2359,12 @@ module Google
2346
2359
  class GoogleCloudChannelV1Value
2347
2360
  include Google::Apis::Core::Hashable
2348
2361
 
2362
+ # Represents a boolean value.
2363
+ # Corresponds to the JSON property `boolValue`
2364
+ # @return [Boolean]
2365
+ attr_accessor :bool_value
2366
+ alias_method :bool_value?, :bool_value
2367
+
2349
2368
  # Represents a double value.
2350
2369
  # Corresponds to the JSON property `doubleValue`
2351
2370
  # @return [Float]
@@ -2372,6 +2391,7 @@ module Google
2372
2391
 
2373
2392
  # Update properties of this object
2374
2393
  def update!(**args)
2394
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
2375
2395
  @double_value = args[:double_value] if args.key?(:double_value)
2376
2396
  @int64_value = args[:int64_value] if args.key?(:int64_value)
2377
2397
  @proto_value = args[:proto_value] if args.key?(:proto_value)
@@ -2852,6 +2872,12 @@ module Google
2852
2872
  class GoogleCloudChannelV1alpha1Value
2853
2873
  include Google::Apis::Core::Hashable
2854
2874
 
2875
+ # Represents a boolean value.
2876
+ # Corresponds to the JSON property `boolValue`
2877
+ # @return [Boolean]
2878
+ attr_accessor :bool_value
2879
+ alias_method :bool_value?, :bool_value
2880
+
2855
2881
  # Represents a double value.
2856
2882
  # Corresponds to the JSON property `doubleValue`
2857
2883
  # @return [Float]
@@ -2878,6 +2904,7 @@ module Google
2878
2904
 
2879
2905
  # Update properties of this object
2880
2906
  def update!(**args)
2907
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
2881
2908
  @double_value = args[:double_value] if args.key?(:double_value)
2882
2909
  @int64_value = args[:int64_value] if args.key?(:int64_value)
2883
2910
  @proto_value = args[:proto_value] if args.key?(:proto_value)
@@ -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.4.0"
19
+ GEM_VERSION = "0.9.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.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210317"
25
+ REVISION = "20210506"
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
@@ -1255,6 +1257,7 @@ module Google
1255
1257
  class GoogleCloudChannelV1Value
1256
1258
  # @private
1257
1259
  class Representation < Google::Apis::Core::JsonRepresentation
1260
+ property :bool_value, as: 'boolValue'
1258
1261
  property :double_value, as: 'doubleValue'
1259
1262
  property :int64_value, :numeric_string => true, as: 'int64Value'
1260
1263
  hash :proto_value, as: 'protoValue'
@@ -1398,6 +1401,7 @@ module Google
1398
1401
  class GoogleCloudChannelV1alpha1Value
1399
1402
  # @private
1400
1403
  class Representation < Google::Apis::Core::JsonRepresentation
1404
+ property :bool_value, as: 'boolValue'
1401
1405
  property :double_value, as: 'doubleValue'
1402
1406
  property :int64_value, :numeric_string => true, as: 'int64Value'
1403
1407
  hash :proto_value, as: 'protoValue'
@@ -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
@@ -491,6 +491,202 @@ module Google
491
491
  execute_or_queue_command(command, &block)
492
492
  end
493
493
 
494
+ # Creates a new Customer resource under the reseller or distributor account.
495
+ # Possible error codes: * PERMISSION_DENIED: The reseller account making the
496
+ # request is different from the reseller account in the API request. *
497
+ # INVALID_ARGUMENT: * Required request parameters are missing or invalid. *
498
+ # Domain field value doesn't match the primary email domain. Return value: The
499
+ # newly created Customer resource.
500
+ # @param [String] parent
501
+ # Required. The resource name of reseller account in which to create the
502
+ # customer. Parent uses the format: accounts/`account_id`
503
+ # @param [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Customer] google_cloud_channel_v1_customer_object
504
+ # @param [String] fields
505
+ # Selector specifying which fields to include in a partial response.
506
+ # @param [String] quota_user
507
+ # Available to use for quota purposes for server-side applications. Can be any
508
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
509
+ # @param [Google::Apis::RequestOptions] options
510
+ # Request-specific options
511
+ #
512
+ # @yield [result, err] Result & error if block supplied
513
+ # @yieldparam result [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Customer] parsed result object
514
+ # @yieldparam err [StandardError] error object if request failed
515
+ #
516
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Customer]
517
+ #
518
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
519
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
520
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
521
+ def create_account_channel_partner_link_customer(parent, google_cloud_channel_v1_customer_object = nil, fields: nil, quota_user: nil, options: nil, &block)
522
+ command = make_simple_command(:post, 'v1/{+parent}/customers', options)
523
+ command.request_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1Customer::Representation
524
+ command.request_object = google_cloud_channel_v1_customer_object
525
+ command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1Customer::Representation
526
+ command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1Customer
527
+ command.params['parent'] = parent unless parent.nil?
528
+ command.query['fields'] = fields unless fields.nil?
529
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
530
+ execute_or_queue_command(command, &block)
531
+ end
532
+
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
+ # FAILED_PRECONDITION: The customer has existing entitlements. * NOT_FOUND: No
537
+ # Customer resource found for the name in the request.
538
+ # @param [String] name
539
+ # Required. The resource name of the customer to delete.
540
+ # @param [String] fields
541
+ # Selector specifying which fields to include in a partial response.
542
+ # @param [String] quota_user
543
+ # Available to use for quota purposes for server-side applications. Can be any
544
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
545
+ # @param [Google::Apis::RequestOptions] options
546
+ # Request-specific options
547
+ #
548
+ # @yield [result, err] Result & error if block supplied
549
+ # @yieldparam result [Google::Apis::CloudchannelV1::GoogleProtobufEmpty] parsed result object
550
+ # @yieldparam err [StandardError] error object if request failed
551
+ #
552
+ # @return [Google::Apis::CloudchannelV1::GoogleProtobufEmpty]
553
+ #
554
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
555
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
556
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
557
+ def delete_account_channel_partner_link_customer(name, fields: nil, quota_user: nil, options: nil, &block)
558
+ command = make_simple_command(:delete, 'v1/{+name}', options)
559
+ command.response_representation = Google::Apis::CloudchannelV1::GoogleProtobufEmpty::Representation
560
+ command.response_class = Google::Apis::CloudchannelV1::GoogleProtobufEmpty
561
+ command.params['name'] = name unless name.nil?
562
+ command.query['fields'] = fields unless fields.nil?
563
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
564
+ execute_or_queue_command(command, &block)
565
+ end
566
+
567
+ # Returns the requested Customer resource. Possible error codes: *
568
+ # PERMISSION_DENIED: The reseller account making the request is different from
569
+ # the reseller account in the API request. * INVALID_ARGUMENT: Required request
570
+ # parameters are missing or invalid. * NOT_FOUND: The customer resource doesn't
571
+ # exist. Usually the result of an invalid name parameter. Return value: The
572
+ # Customer resource.
573
+ # @param [String] name
574
+ # Required. The resource name of the customer to retrieve. Name uses the format:
575
+ # accounts/`account_id`/customers/`customer_id`
576
+ # @param [String] fields
577
+ # Selector specifying which fields to include in a partial response.
578
+ # @param [String] quota_user
579
+ # Available to use for quota purposes for server-side applications. Can be any
580
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
581
+ # @param [Google::Apis::RequestOptions] options
582
+ # Request-specific options
583
+ #
584
+ # @yield [result, err] Result & error if block supplied
585
+ # @yieldparam result [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Customer] parsed result object
586
+ # @yieldparam err [StandardError] error object if request failed
587
+ #
588
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Customer]
589
+ #
590
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
591
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
592
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
593
+ def get_account_channel_partner_link_customer(name, fields: nil, quota_user: nil, options: nil, &block)
594
+ command = make_simple_command(:get, 'v1/{+name}', options)
595
+ command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1Customer::Representation
596
+ command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1Customer
597
+ command.params['name'] = name unless name.nil?
598
+ command.query['fields'] = fields unless fields.nil?
599
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
600
+ execute_or_queue_command(command, &block)
601
+ end
602
+
603
+ # List Customers. Possible error codes: * PERMISSION_DENIED: The reseller
604
+ # account making the request is different from the reseller account in the API
605
+ # request. * INVALID_ARGUMENT: Required request parameters are missing or
606
+ # invalid. Return value: List of Customers, or an empty list if there are no
607
+ # customers.
608
+ # @param [String] parent
609
+ # Required. The resource name of the reseller account to list customers from.
610
+ # Parent uses the format: accounts/`account_id`.
611
+ # @param [Fixnum] page_size
612
+ # Optional. The maximum number of customers to return. The service may return
613
+ # fewer than this value. If unspecified, returns at most 10 customers. The
614
+ # maximum value is 50.
615
+ # @param [String] page_token
616
+ # Optional. A token identifying a page of results other than the first page.
617
+ # Obtained through ListCustomersResponse.next_page_token of the previous
618
+ # CloudChannelService.ListCustomers call.
619
+ # @param [String] fields
620
+ # Selector specifying which fields to include in a partial response.
621
+ # @param [String] quota_user
622
+ # Available to use for quota purposes for server-side applications. Can be any
623
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
624
+ # @param [Google::Apis::RequestOptions] options
625
+ # Request-specific options
626
+ #
627
+ # @yield [result, err] Result & error if block supplied
628
+ # @yieldparam result [Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListCustomersResponse] parsed result object
629
+ # @yieldparam err [StandardError] error object if request failed
630
+ #
631
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListCustomersResponse]
632
+ #
633
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
634
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
635
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
636
+ def list_account_channel_partner_link_customers(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
637
+ command = make_simple_command(:get, 'v1/{+parent}/customers', options)
638
+ command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListCustomersResponse::Representation
639
+ command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListCustomersResponse
640
+ command.params['parent'] = parent unless parent.nil?
641
+ command.query['pageSize'] = page_size unless page_size.nil?
642
+ command.query['pageToken'] = page_token unless page_token.nil?
643
+ command.query['fields'] = fields unless fields.nil?
644
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
645
+ execute_or_queue_command(command, &block)
646
+ end
647
+
648
+ # Updates an existing Customer resource for the reseller or distributor.
649
+ # Possible error codes: * PERMISSION_DENIED: The reseller account making the
650
+ # request is different from the reseller account in the API request. *
651
+ # INVALID_ARGUMENT: Required request parameters are missing or invalid. *
652
+ # NOT_FOUND: No Customer resource found for the name in the request. Return
653
+ # value: The updated Customer resource.
654
+ # @param [String] name
655
+ # Output only. Resource name of the customer. Format: accounts/`account_id`/
656
+ # customers/`customer_id`
657
+ # @param [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Customer] google_cloud_channel_v1_customer_object
658
+ # @param [String] update_mask
659
+ # The update mask that applies to the resource. Optional.
660
+ # @param [String] fields
661
+ # Selector specifying which fields to include in a partial response.
662
+ # @param [String] quota_user
663
+ # Available to use for quota purposes for server-side applications. Can be any
664
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
665
+ # @param [Google::Apis::RequestOptions] options
666
+ # Request-specific options
667
+ #
668
+ # @yield [result, err] Result & error if block supplied
669
+ # @yieldparam result [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Customer] parsed result object
670
+ # @yieldparam err [StandardError] error object if request failed
671
+ #
672
+ # @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1Customer]
673
+ #
674
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
675
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
676
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
677
+ def patch_account_channel_partner_link_customer(name, google_cloud_channel_v1_customer_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
678
+ command = make_simple_command(:patch, 'v1/{+name}', options)
679
+ command.request_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1Customer::Representation
680
+ command.request_object = google_cloud_channel_v1_customer_object
681
+ command.response_representation = Google::Apis::CloudchannelV1::GoogleCloudChannelV1Customer::Representation
682
+ command.response_class = Google::Apis::CloudchannelV1::GoogleCloudChannelV1Customer
683
+ command.params['name'] = name unless name.nil?
684
+ command.query['updateMask'] = update_mask unless update_mask.nil?
685
+ command.query['fields'] = fields unless fields.nil?
686
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
687
+ execute_or_queue_command(command, &block)
688
+ end
689
+
494
690
  # Creates a new Customer resource under the reseller or distributor account.
495
691
  # Possible error codes: * PERMISSION_DENIED: The reseller account making the
496
692
  # request is different from the reseller account in the API request. *
@@ -530,9 +726,9 @@ module Google
530
726
  execute_or_queue_command(command, &block)
531
727
  end
532
728
 
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. *
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. *
536
732
  # FAILED_PRECONDITION: The customer has existing entitlements. * NOT_FOUND: No
537
733
  # Customer resource found for the name in the request.
538
734
  # @param [String] name
@@ -564,7 +760,7 @@ module Google
564
760
  execute_or_queue_command(command, &block)
565
761
  end
566
762
 
567
- # Returns a requested Customer resource. Possible error codes: *
763
+ # Returns the requested Customer resource. Possible error codes: *
568
764
  # PERMISSION_DENIED: The reseller account making the request is different from
569
765
  # the reseller account in the API request. * INVALID_ARGUMENT: Required request
570
766
  # parameters are missing or invalid. * NOT_FOUND: The customer resource doesn't
@@ -1241,7 +1437,7 @@ module Google
1241
1437
  execute_or_queue_command(command, &block)
1242
1438
  end
1243
1439
 
1244
- # Returns a requested Entitlement resource. Possible error codes: *
1440
+ # Returns the requested Entitlement resource. Possible error codes: *
1245
1441
  # PERMISSION_DENIED: The customer doesn't belong to the reseller. *
1246
1442
  # INVALID_ARGUMENT: Required request parameters are missing or invalid. *
1247
1443
  # NOT_FOUND: The customer entitlement was not found. Return value: The requested
@@ -1322,6 +1518,42 @@ module Google
1322
1518
  execute_or_queue_command(command, &block)
1323
1519
  end
1324
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
+
1325
1557
  # Starts paid service for a trial entitlement. Starts paid service for a trial
1326
1558
  # entitlement immediately. This method is only applicable if a plan is set up
1327
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.4.0
4
+ version: 0.9.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-22 00:00:00.000000000 Z
11
+ date: 2021-06-28 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.3'
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.3'
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.4.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudchannel_v1/v0.9.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