google-apis-cloudchannel_v1 0.4.0 → 0.5.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: 2ed2f7186e1f0c3751f41238ce07689bd88edece7c5af5a262625c4876e7491e
4
+ data.tar.gz: 43c2b4fd13ddc0d60ceca2bafb5c7b2614e74d307503afa15937bada44ec4556
5
5
  SHA512:
6
- metadata.gz: c7e7daf11c02505fc184bb32c654e1eb5d0333c4344ddb471c805178b981454a7aabc14b138ad4bc6dbe75786a7f51645440a38bb45e8975a094e5758230c78a
7
- data.tar.gz: 114181e11e2b03e79105193a3ce71145572f7be3fe2f7b1b5e9f9cc2bde7dae48d457b912ea8bea54ca345e3d1c26be3f220d91bcd667491e98dfc5cb8adc3f7
6
+ metadata.gz: 10d0eb5f2635dc13fa240c1a65425b92e0c304c0159b3ae139a3cb97e81e1f3f038c1352ac6cf07ee7281344f57dedb0125589ea46fe7d8975d5bc6065f83727
7
+ data.tar.gz: 3688fd64d111d42af7058435b3df1cfe835166a07ea49166e52e0103e8f9b0f875b1123fb1f5999d9231fbf3e62ac7798016047fd5b746dca3af110f7684bb1d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudchannel_v1
2
2
 
3
+ ### v0.5.0 (2021-03-26)
4
+
5
+ * Regenerated from discovery document revision 20210325
6
+
3
7
  ### v0.4.0 (2021-03-19)
4
8
 
5
9
  * 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
@@ -2346,6 +2350,12 @@ module Google
2346
2350
  class GoogleCloudChannelV1Value
2347
2351
  include Google::Apis::Core::Hashable
2348
2352
 
2353
+ # Represents a boolean value.
2354
+ # Corresponds to the JSON property `boolValue`
2355
+ # @return [Boolean]
2356
+ attr_accessor :bool_value
2357
+ alias_method :bool_value?, :bool_value
2358
+
2349
2359
  # Represents a double value.
2350
2360
  # Corresponds to the JSON property `doubleValue`
2351
2361
  # @return [Float]
@@ -2372,6 +2382,7 @@ module Google
2372
2382
 
2373
2383
  # Update properties of this object
2374
2384
  def update!(**args)
2385
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
2375
2386
  @double_value = args[:double_value] if args.key?(:double_value)
2376
2387
  @int64_value = args[:int64_value] if args.key?(:int64_value)
2377
2388
  @proto_value = args[:proto_value] if args.key?(:proto_value)
@@ -2852,6 +2863,12 @@ module Google
2852
2863
  class GoogleCloudChannelV1alpha1Value
2853
2864
  include Google::Apis::Core::Hashable
2854
2865
 
2866
+ # Represents a boolean value.
2867
+ # Corresponds to the JSON property `boolValue`
2868
+ # @return [Boolean]
2869
+ attr_accessor :bool_value
2870
+ alias_method :bool_value?, :bool_value
2871
+
2855
2872
  # Represents a double value.
2856
2873
  # Corresponds to the JSON property `doubleValue`
2857
2874
  # @return [Float]
@@ -2878,6 +2895,7 @@ module Google
2878
2895
 
2879
2896
  # Update properties of this object
2880
2897
  def update!(**args)
2898
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
2881
2899
  @double_value = args[:double_value] if args.key?(:double_value)
2882
2900
  @int64_value = args[:int64_value] if args.key?(:int64_value)
2883
2901
  @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.5.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 = "20210317"
25
+ REVISION = "20210325"
26
26
  end
27
27
  end
28
28
  end
@@ -1255,6 +1255,7 @@ module Google
1255
1255
  class GoogleCloudChannelV1Value
1256
1256
  # @private
1257
1257
  class Representation < Google::Apis::Core::JsonRepresentation
1258
+ property :bool_value, as: 'boolValue'
1258
1259
  property :double_value, as: 'doubleValue'
1259
1260
  property :int64_value, :numeric_string => true, as: 'int64Value'
1260
1261
  hash :proto_value, as: 'protoValue'
@@ -1398,6 +1399,7 @@ module Google
1398
1399
  class GoogleCloudChannelV1alpha1Value
1399
1400
  # @private
1400
1401
  class Representation < Google::Apis::Core::JsonRepresentation
1402
+ property :bool_value, as: 'boolValue'
1401
1403
  property :double_value, as: 'doubleValue'
1402
1404
  property :int64_value, :numeric_string => true, as: 'int64Value'
1403
1405
  hash :proto_value, as: 'protoValue'
@@ -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 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. *
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 a 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. *
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.0
4
+ version: 0.5.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-03-29 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.4.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudchannel_v1/v0.5.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: []