google-apis-contactcenteraiplatform_v1alpha1 0.8.0 → 0.9.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/contactcenteraiplatform_v1alpha1/classes.rb +0 -90
- data/lib/google/apis/contactcenteraiplatform_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/contactcenteraiplatform_v1alpha1/representations.rb +0 -46
- data/lib/google/apis/contactcenteraiplatform_v1alpha1/service.rb +0 -70
- metadata +3 -3
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 47fbec4c323748532f0625f6ecd3b3b49d3bd4830aa30f81a1172dadbf3421d1
         | 
| 4 | 
            +
              data.tar.gz: 63588a44fe2c42d54b9123d378cd45d743846da2f8ad67831325099575bb235c
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 687cbf1a604ac9b454ba73de6566e2bc86a5f35c39466c620579d18f875e3e77f43601e065c841b3cee3ae57c2c42a12bd0300bed2adae6436970b7c82ed94ab
         | 
| 7 | 
            +
              data.tar.gz: b5e3f086cd916759b2e5b60f626cd6d7005db7bfb660a9e1413b3db0eb0fad7090267957001365bc5febf2d0ce6273fe7c783969a57005b1ca3671b5311d0f61
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
| @@ -47,58 +47,6 @@ module Google | |
| 47 47 | 
             
                    end
         | 
| 48 48 | 
             
                  end
         | 
| 49 49 |  | 
| 50 | 
            -
                  # 
         | 
| 51 | 
            -
                  class AuthenticationConfig
         | 
| 52 | 
            -
                    include Google::Apis::Core::Hashable
         | 
| 53 | 
            -
                  
         | 
| 54 | 
            -
                    # 
         | 
| 55 | 
            -
                    # Corresponds to the JSON property `basicAuthSetting`
         | 
| 56 | 
            -
                    # @return [Google::Apis::ContactcenteraiplatformV1alpha1::BasicAuthConfig]
         | 
| 57 | 
            -
                    attr_accessor :basic_auth_setting
         | 
| 58 | 
            -
                  
         | 
| 59 | 
            -
                    # Name of authentication config. Format: projects/`project`/locations/`location`/
         | 
| 60 | 
            -
                    # contactCenters/`contact_center`/authentication-config
         | 
| 61 | 
            -
                    # Corresponds to the JSON property `name`
         | 
| 62 | 
            -
                    # @return [String]
         | 
| 63 | 
            -
                    attr_accessor :name
         | 
| 64 | 
            -
                  
         | 
| 65 | 
            -
                    # 
         | 
| 66 | 
            -
                    # Corresponds to the JSON property `samlSetting`
         | 
| 67 | 
            -
                    # @return [Google::Apis::ContactcenteraiplatformV1alpha1::SamlConfig]
         | 
| 68 | 
            -
                    attr_accessor :saml_setting
         | 
| 69 | 
            -
                  
         | 
| 70 | 
            -
                    def initialize(**args)
         | 
| 71 | 
            -
                       update!(**args)
         | 
| 72 | 
            -
                    end
         | 
| 73 | 
            -
                  
         | 
| 74 | 
            -
                    # Update properties of this object
         | 
| 75 | 
            -
                    def update!(**args)
         | 
| 76 | 
            -
                      @basic_auth_setting = args[:basic_auth_setting] if args.key?(:basic_auth_setting)
         | 
| 77 | 
            -
                      @name = args[:name] if args.key?(:name)
         | 
| 78 | 
            -
                      @saml_setting = args[:saml_setting] if args.key?(:saml_setting)
         | 
| 79 | 
            -
                    end
         | 
| 80 | 
            -
                  end
         | 
| 81 | 
            -
                  
         | 
| 82 | 
            -
                  # 
         | 
| 83 | 
            -
                  class BasicAuthConfig
         | 
| 84 | 
            -
                    include Google::Apis::Core::Hashable
         | 
| 85 | 
            -
                  
         | 
| 86 | 
            -
                    # 
         | 
| 87 | 
            -
                    # Corresponds to the JSON property `enabled`
         | 
| 88 | 
            -
                    # @return [Boolean]
         | 
| 89 | 
            -
                    attr_accessor :enabled
         | 
| 90 | 
            -
                    alias_method :enabled?, :enabled
         | 
| 91 | 
            -
                  
         | 
| 92 | 
            -
                    def initialize(**args)
         | 
| 93 | 
            -
                       update!(**args)
         | 
| 94 | 
            -
                    end
         | 
| 95 | 
            -
                  
         | 
| 96 | 
            -
                    # Update properties of this object
         | 
| 97 | 
            -
                    def update!(**args)
         | 
| 98 | 
            -
                      @enabled = args[:enabled] if args.key?(:enabled)
         | 
| 99 | 
            -
                    end
         | 
| 100 | 
            -
                  end
         | 
| 101 | 
            -
                  
         | 
| 102 50 | 
             
                  # The request message for Operations.CancelOperation.
         | 
| 103 51 | 
             
                  class CancelOperationRequest
         | 
| 104 52 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -662,44 +610,6 @@ module Google | |
| 662 610 | 
             
                    end
         | 
| 663 611 | 
             
                  end
         | 
| 664 612 |  | 
| 665 | 
            -
                  # 
         | 
| 666 | 
            -
                  class SamlConfig
         | 
| 667 | 
            -
                    include Google::Apis::Core::Hashable
         | 
| 668 | 
            -
                  
         | 
| 669 | 
            -
                    # X.509 public certificate for IdP
         | 
| 670 | 
            -
                    # Corresponds to the JSON property `cert`
         | 
| 671 | 
            -
                    # @return [String]
         | 
| 672 | 
            -
                    attr_accessor :cert
         | 
| 673 | 
            -
                  
         | 
| 674 | 
            -
                    # IdP field that maps to the user’s email address
         | 
| 675 | 
            -
                    # Corresponds to the JSON property `emailMapping`
         | 
| 676 | 
            -
                    # @return [String]
         | 
| 677 | 
            -
                    attr_accessor :email_mapping
         | 
| 678 | 
            -
                  
         | 
| 679 | 
            -
                    # The entity ID for the identity provider. Example: https://[IDP Domain]/saml/
         | 
| 680 | 
            -
                    # metadata
         | 
| 681 | 
            -
                    # Corresponds to the JSON property `entityId`
         | 
| 682 | 
            -
                    # @return [String]
         | 
| 683 | 
            -
                    attr_accessor :entity_id
         | 
| 684 | 
            -
                  
         | 
| 685 | 
            -
                    # The sso login url. Example: https://[IDP Domain]/saml/sso/login
         | 
| 686 | 
            -
                    # Corresponds to the JSON property `loginUri`
         | 
| 687 | 
            -
                    # @return [String]
         | 
| 688 | 
            -
                    attr_accessor :login_uri
         | 
| 689 | 
            -
                  
         | 
| 690 | 
            -
                    def initialize(**args)
         | 
| 691 | 
            -
                       update!(**args)
         | 
| 692 | 
            -
                    end
         | 
| 693 | 
            -
                  
         | 
| 694 | 
            -
                    # Update properties of this object
         | 
| 695 | 
            -
                    def update!(**args)
         | 
| 696 | 
            -
                      @cert = args[:cert] if args.key?(:cert)
         | 
| 697 | 
            -
                      @email_mapping = args[:email_mapping] if args.key?(:email_mapping)
         | 
| 698 | 
            -
                      @entity_id = args[:entity_id] if args.key?(:entity_id)
         | 
| 699 | 
            -
                      @login_uri = args[:login_uri] if args.key?(:login_uri)
         | 
| 700 | 
            -
                    end
         | 
| 701 | 
            -
                  end
         | 
| 702 | 
            -
                  
         | 
| 703 613 | 
             
                  # The `Status` type defines a logical error model that is suitable for different
         | 
| 704 614 | 
             
                  # programming environments, including REST APIs and RPC APIs. It is used by [
         | 
| 705 615 | 
             
                  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
         | 
| @@ -16,13 +16,13 @@ module Google | |
| 16 16 | 
             
              module Apis
         | 
| 17 17 | 
             
                module ContactcenteraiplatformV1alpha1
         | 
| 18 18 | 
             
                  # Version of the google-apis-contactcenteraiplatform_v1alpha1 gem
         | 
| 19 | 
            -
                  GEM_VERSION = "0. | 
| 19 | 
            +
                  GEM_VERSION = "0.9.0"
         | 
| 20 20 |  | 
| 21 21 | 
             
                  # Version of the code generator used to generate this client
         | 
| 22 22 | 
             
                  GENERATOR_VERSION = "0.12.0"
         | 
| 23 23 |  | 
| 24 24 | 
             
                  # Revision of the discovery document this client was generated from
         | 
| 25 | 
            -
                  REVISION = " | 
| 25 | 
            +
                  REVISION = "20230731"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -28,18 +28,6 @@ module Google | |
| 28 28 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 29 29 | 
             
                  end
         | 
| 30 30 |  | 
| 31 | 
            -
                  class AuthenticationConfig
         | 
| 32 | 
            -
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 33 | 
            -
                  
         | 
| 34 | 
            -
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 35 | 
            -
                  end
         | 
| 36 | 
            -
                  
         | 
| 37 | 
            -
                  class BasicAuthConfig
         | 
| 38 | 
            -
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 39 | 
            -
                  
         | 
| 40 | 
            -
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 41 | 
            -
                  end
         | 
| 42 | 
            -
                  
         | 
| 43 31 | 
             
                  class CancelOperationRequest
         | 
| 44 32 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 45 33 |  | 
| @@ -124,12 +112,6 @@ module Google | |
| 124 112 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 125 113 | 
             
                  end
         | 
| 126 114 |  | 
| 127 | 
            -
                  class SamlConfig
         | 
| 128 | 
            -
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 129 | 
            -
                  
         | 
| 130 | 
            -
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 131 | 
            -
                  end
         | 
| 132 | 
            -
                  
         | 
| 133 115 | 
             
                  class Status
         | 
| 134 116 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 135 117 |  | 
| @@ -150,24 +132,6 @@ module Google | |
| 150 132 | 
             
                    end
         | 
| 151 133 | 
             
                  end
         | 
| 152 134 |  | 
| 153 | 
            -
                  class AuthenticationConfig
         | 
| 154 | 
            -
                    # @private
         | 
| 155 | 
            -
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 156 | 
            -
                      property :basic_auth_setting, as: 'basicAuthSetting', class: Google::Apis::ContactcenteraiplatformV1alpha1::BasicAuthConfig, decorator: Google::Apis::ContactcenteraiplatformV1alpha1::BasicAuthConfig::Representation
         | 
| 157 | 
            -
                  
         | 
| 158 | 
            -
                      property :name, as: 'name'
         | 
| 159 | 
            -
                      property :saml_setting, as: 'samlSetting', class: Google::Apis::ContactcenteraiplatformV1alpha1::SamlConfig, decorator: Google::Apis::ContactcenteraiplatformV1alpha1::SamlConfig::Representation
         | 
| 160 | 
            -
                  
         | 
| 161 | 
            -
                    end
         | 
| 162 | 
            -
                  end
         | 
| 163 | 
            -
                  
         | 
| 164 | 
            -
                  class BasicAuthConfig
         | 
| 165 | 
            -
                    # @private
         | 
| 166 | 
            -
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 167 | 
            -
                      property :enabled, as: 'enabled'
         | 
| 168 | 
            -
                    end
         | 
| 169 | 
            -
                  end
         | 
| 170 | 
            -
                  
         | 
| 171 135 | 
             
                  class CancelOperationRequest
         | 
| 172 136 | 
             
                    # @private
         | 
| 173 137 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -319,16 +283,6 @@ module Google | |
| 319 283 | 
             
                    end
         | 
| 320 284 | 
             
                  end
         | 
| 321 285 |  | 
| 322 | 
            -
                  class SamlConfig
         | 
| 323 | 
            -
                    # @private
         | 
| 324 | 
            -
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 325 | 
            -
                      property :cert, as: 'cert'
         | 
| 326 | 
            -
                      property :email_mapping, as: 'emailMapping'
         | 
| 327 | 
            -
                      property :entity_id, as: 'entityId'
         | 
| 328 | 
            -
                      property :login_uri, as: 'loginUri'
         | 
| 329 | 
            -
                    end
         | 
| 330 | 
            -
                  end
         | 
| 331 | 
            -
                  
         | 
| 332 286 | 
             
                  class Status
         | 
| 333 287 | 
             
                    # @private
         | 
| 334 288 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -275,38 +275,6 @@ module Google | |
| 275 275 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 276 276 | 
             
                    end
         | 
| 277 277 |  | 
| 278 | 
            -
                    # 
         | 
| 279 | 
            -
                    # @param [String] name
         | 
| 280 | 
            -
                    #   Required. The name of the AuthenticationConfig resource. Format: projects/`
         | 
| 281 | 
            -
                    #   project`/locations/`location`/contactCenters/`contact_center`/authentication-
         | 
| 282 | 
            -
                    #   config
         | 
| 283 | 
            -
                    # @param [String] fields
         | 
| 284 | 
            -
                    #   Selector specifying which fields to include in a partial response.
         | 
| 285 | 
            -
                    # @param [String] quota_user
         | 
| 286 | 
            -
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 287 | 
            -
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 288 | 
            -
                    # @param [Google::Apis::RequestOptions] options
         | 
| 289 | 
            -
                    #   Request-specific options
         | 
| 290 | 
            -
                    #
         | 
| 291 | 
            -
                    # @yield [result, err] Result & error if block supplied
         | 
| 292 | 
            -
                    # @yieldparam result [Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig] parsed result object
         | 
| 293 | 
            -
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 294 | 
            -
                    #
         | 
| 295 | 
            -
                    # @return [Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig]
         | 
| 296 | 
            -
                    #
         | 
| 297 | 
            -
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 298 | 
            -
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 299 | 
            -
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 300 | 
            -
                    def get_project_location_contact_center_authentication_config(name, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 301 | 
            -
                      command = make_simple_command(:get, 'v1alpha1/{+name}', options)
         | 
| 302 | 
            -
                      command.response_representation = Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig::Representation
         | 
| 303 | 
            -
                      command.response_class = Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig
         | 
| 304 | 
            -
                      command.params['name'] = name unless name.nil?
         | 
| 305 | 
            -
                      command.query['fields'] = fields unless fields.nil?
         | 
| 306 | 
            -
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 307 | 
            -
                      execute_or_queue_command(command, &block)
         | 
| 308 | 
            -
                    end
         | 
| 309 | 
            -
                    
         | 
| 310 278 | 
             
                    # Lists ContactCenters in a given project and location.
         | 
| 311 279 | 
             
                    # @param [String] parent
         | 
| 312 280 | 
             
                    #   Required. Parent value for ListContactCentersRequest
         | 
| @@ -402,44 +370,6 @@ module Google | |
| 402 370 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 403 371 | 
             
                    end
         | 
| 404 372 |  | 
| 405 | 
            -
                    # 
         | 
| 406 | 
            -
                    # @param [String] name
         | 
| 407 | 
            -
                    #   Name of authentication config. Format: projects/`project`/locations/`location`/
         | 
| 408 | 
            -
                    #   contactCenters/`contact_center`/authentication-config
         | 
| 409 | 
            -
                    # @param [Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig] authentication_config_object
         | 
| 410 | 
            -
                    # @param [String] update_mask
         | 
| 411 | 
            -
                    #   Required. Indicates which fields in the provided authentication config to
         | 
| 412 | 
            -
                    #   update. Must be specified and non-empty.
         | 
| 413 | 
            -
                    # @param [String] fields
         | 
| 414 | 
            -
                    #   Selector specifying which fields to include in a partial response.
         | 
| 415 | 
            -
                    # @param [String] quota_user
         | 
| 416 | 
            -
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 417 | 
            -
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 418 | 
            -
                    # @param [Google::Apis::RequestOptions] options
         | 
| 419 | 
            -
                    #   Request-specific options
         | 
| 420 | 
            -
                    #
         | 
| 421 | 
            -
                    # @yield [result, err] Result & error if block supplied
         | 
| 422 | 
            -
                    # @yieldparam result [Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig] parsed result object
         | 
| 423 | 
            -
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 424 | 
            -
                    #
         | 
| 425 | 
            -
                    # @return [Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig]
         | 
| 426 | 
            -
                    #
         | 
| 427 | 
            -
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 428 | 
            -
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 429 | 
            -
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 430 | 
            -
                    def update_project_location_contact_center_authentication_config(name, authentication_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 431 | 
            -
                      command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
         | 
| 432 | 
            -
                      command.request_representation = Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig::Representation
         | 
| 433 | 
            -
                      command.request_object = authentication_config_object
         | 
| 434 | 
            -
                      command.response_representation = Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig::Representation
         | 
| 435 | 
            -
                      command.response_class = Google::Apis::ContactcenteraiplatformV1alpha1::AuthenticationConfig
         | 
| 436 | 
            -
                      command.params['name'] = name unless name.nil?
         | 
| 437 | 
            -
                      command.query['updateMask'] = update_mask unless update_mask.nil?
         | 
| 438 | 
            -
                      command.query['fields'] = fields unless fields.nil?
         | 
| 439 | 
            -
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 440 | 
            -
                      execute_or_queue_command(command, &block)
         | 
| 441 | 
            -
                    end
         | 
| 442 | 
            -
                    
         | 
| 443 373 | 
             
                    # Starts asynchronous cancellation on a long-running operation. The server makes
         | 
| 444 374 | 
             
                    # a best effort to cancel the operation, but success is not guaranteed. If the
         | 
| 445 375 | 
             
                    # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-apis-contactcenteraiplatform_v1alpha1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 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: 2023- | 
| 11 | 
            +
            date: 2023-08-06 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: google-apis-core
         | 
| @@ -58,7 +58,7 @@ licenses: | |
| 58 58 | 
             
            metadata:
         | 
| 59 59 | 
             
              bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
         | 
| 60 60 | 
             
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contactcenteraiplatform_v1alpha1/CHANGELOG.md
         | 
| 61 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenteraiplatform_v1alpha1/v0. | 
| 61 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenteraiplatform_v1alpha1/v0.9.0
         | 
| 62 62 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contactcenteraiplatform_v1alpha1
         | 
| 63 63 | 
             
            post_install_message: 
         | 
| 64 64 | 
             
            rdoc_options: []
         |