google-apis-contactcenterinsights_v1 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/OVERVIEW.md +1 -1
- data/lib/google/apis/contactcenterinsights_v1/classes.rb +78 -1
- data/lib/google/apis/contactcenterinsights_v1/gem_version.rb +2 -2
- data/lib/google/apis/contactcenterinsights_v1/representations.rb +33 -0
- data/lib/google/apis/contactcenterinsights_v1/service.rb +172 -0
- metadata +4 -4
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: e705d910d0ce7de044c642f660a12fdd6f321a1697d56cf9a06216c92635186a
         | 
| 4 | 
            +
              data.tar.gz: f83010408e61cd09669ae84835961d8d01de4dba8729ceb2d67ae6627ac3997f
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 0e2549554042f129ffa6627ff9e267abc520900548b33f34806961cad78e6cf04d9a01c7e102705c1ce589cf022781bfb535532b193f8b9def416d6b602e9ae5
         | 
| 7 | 
            +
              data.tar.gz: 72b375dc81606bbd5482314067a661ab3f4c3eeb58baba1f2f987a8b46054b1f7d2e03979a458ce51d24b4385119fe8a5e9069df327e47328c2adcdd6fed764f
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/OVERVIEW.md
    CHANGED
    
    | @@ -51,7 +51,7 @@ require "google/apis/contactcenterinsights_v1" | |
| 51 51 | 
             
            client = Google::Apis::ContactcenterinsightsV1::ContactcenterinsightsService.new
         | 
| 52 52 |  | 
| 53 53 | 
             
            # Authenticate calls
         | 
| 54 | 
            -
            client. | 
| 54 | 
            +
            client.authorization = # ... use the googleauth gem to create credentials
         | 
| 55 55 | 
             
            ```
         | 
| 56 56 |  | 
| 57 57 | 
             
            See the class reference docs for information on the methods you can call from a client.
         | 
| @@ -536,6 +536,11 @@ module Google | |
| 536 536 | 
             
                    # @return [String]
         | 
| 537 537 | 
             
                    attr_accessor :name
         | 
| 538 538 |  | 
| 539 | 
            +
                    # Obfuscated user ID which the customer sent to us.
         | 
| 540 | 
            +
                    # Corresponds to the JSON property `obfuscatedUserId`
         | 
| 541 | 
            +
                    # @return [String]
         | 
| 542 | 
            +
                    attr_accessor :obfuscated_user_id
         | 
| 543 | 
            +
                  
         | 
| 539 544 | 
             
                    # Output only. The annotations that were generated during the customer and agent
         | 
| 540 545 | 
             
                    # interaction.
         | 
| 541 546 | 
             
                    # Corresponds to the JSON property `runtimeAnnotations`
         | 
| @@ -586,6 +591,7 @@ module Google | |
| 586 591 | 
             
                      @latest_analysis = args[:latest_analysis] if args.key?(:latest_analysis)
         | 
| 587 592 | 
             
                      @medium = args[:medium] if args.key?(:medium)
         | 
| 588 593 | 
             
                      @name = args[:name] if args.key?(:name)
         | 
| 594 | 
            +
                      @obfuscated_user_id = args[:obfuscated_user_id] if args.key?(:obfuscated_user_id)
         | 
| 589 595 | 
             
                      @runtime_annotations = args[:runtime_annotations] if args.key?(:runtime_annotations)
         | 
| 590 596 | 
             
                      @start_time = args[:start_time] if args.key?(:start_time)
         | 
| 591 597 | 
             
                      @transcript = args[:transcript] if args.key?(:transcript)
         | 
| @@ -1761,7 +1767,8 @@ module Google | |
| 1761 1767 | 
             
                  class GoogleCloudContactcenterinsightsV1IssueModelResult
         | 
| 1762 1768 | 
             
                    include Google::Apis::Core::Hashable
         | 
| 1763 1769 |  | 
| 1764 | 
            -
                    # Issue model that generates the result.
         | 
| 1770 | 
            +
                    # Issue model that generates the result. Format: projects/`project`/locations/`
         | 
| 1771 | 
            +
                    # location`/issueModels/`issue_model`
         | 
| 1765 1772 | 
             
                    # Corresponds to the JSON property `issueModel`
         | 
| 1766 1773 | 
             
                    # @return [String]
         | 
| 1767 1774 | 
             
                    attr_accessor :issue_model
         | 
| @@ -1899,6 +1906,32 @@ module Google | |
| 1899 1906 | 
             
                    end
         | 
| 1900 1907 | 
             
                  end
         | 
| 1901 1908 |  | 
| 1909 | 
            +
                  # The response of listing views.
         | 
| 1910 | 
            +
                  class GoogleCloudContactcenterinsightsV1ListViewsResponse
         | 
| 1911 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 1912 | 
            +
                  
         | 
| 1913 | 
            +
                    # A token, which can be sent as `page_token` to retrieve the next page. If this
         | 
| 1914 | 
            +
                    # field is omitted, there are no subsequent pages.
         | 
| 1915 | 
            +
                    # Corresponds to the JSON property `nextPageToken`
         | 
| 1916 | 
            +
                    # @return [String]
         | 
| 1917 | 
            +
                    attr_accessor :next_page_token
         | 
| 1918 | 
            +
                  
         | 
| 1919 | 
            +
                    # The views that match the request.
         | 
| 1920 | 
            +
                    # Corresponds to the JSON property `views`
         | 
| 1921 | 
            +
                    # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View>]
         | 
| 1922 | 
            +
                    attr_accessor :views
         | 
| 1923 | 
            +
                  
         | 
| 1924 | 
            +
                    def initialize(**args)
         | 
| 1925 | 
            +
                       update!(**args)
         | 
| 1926 | 
            +
                    end
         | 
| 1927 | 
            +
                  
         | 
| 1928 | 
            +
                    # Update properties of this object
         | 
| 1929 | 
            +
                    def update!(**args)
         | 
| 1930 | 
            +
                      @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
         | 
| 1931 | 
            +
                      @views = args[:views] if args.key?(:views)
         | 
| 1932 | 
            +
                    end
         | 
| 1933 | 
            +
                  end
         | 
| 1934 | 
            +
                  
         | 
| 1902 1935 | 
             
                  # The data for a matched phrase matcher. Represents information identifying a
         | 
| 1903 1936 | 
             
                  # phrase matcher for a given match.
         | 
| 1904 1937 | 
             
                  class GoogleCloudContactcenterinsightsV1PhraseMatchData
         | 
| @@ -2438,6 +2471,50 @@ module Google | |
| 2438 2471 | 
             
                    end
         | 
| 2439 2472 | 
             
                  end
         | 
| 2440 2473 |  | 
| 2474 | 
            +
                  # The View resource.
         | 
| 2475 | 
            +
                  class GoogleCloudContactcenterinsightsV1View
         | 
| 2476 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 2477 | 
            +
                  
         | 
| 2478 | 
            +
                    # Output only. The time at which this view was created.
         | 
| 2479 | 
            +
                    # Corresponds to the JSON property `createTime`
         | 
| 2480 | 
            +
                    # @return [String]
         | 
| 2481 | 
            +
                    attr_accessor :create_time
         | 
| 2482 | 
            +
                  
         | 
| 2483 | 
            +
                    # The human-readable display name of the view.
         | 
| 2484 | 
            +
                    # Corresponds to the JSON property `displayName`
         | 
| 2485 | 
            +
                    # @return [String]
         | 
| 2486 | 
            +
                    attr_accessor :display_name
         | 
| 2487 | 
            +
                  
         | 
| 2488 | 
            +
                    # Immutable. The resource name of the view. Format: projects/`project`/locations/
         | 
| 2489 | 
            +
                    # `location`/views/`view`
         | 
| 2490 | 
            +
                    # Corresponds to the JSON property `name`
         | 
| 2491 | 
            +
                    # @return [String]
         | 
| 2492 | 
            +
                    attr_accessor :name
         | 
| 2493 | 
            +
                  
         | 
| 2494 | 
            +
                    # Output only. The most recent time at which the view was updated.
         | 
| 2495 | 
            +
                    # Corresponds to the JSON property `updateTime`
         | 
| 2496 | 
            +
                    # @return [String]
         | 
| 2497 | 
            +
                    attr_accessor :update_time
         | 
| 2498 | 
            +
                  
         | 
| 2499 | 
            +
                    # String with specific view properties.
         | 
| 2500 | 
            +
                    # Corresponds to the JSON property `value`
         | 
| 2501 | 
            +
                    # @return [String]
         | 
| 2502 | 
            +
                    attr_accessor :value
         | 
| 2503 | 
            +
                  
         | 
| 2504 | 
            +
                    def initialize(**args)
         | 
| 2505 | 
            +
                       update!(**args)
         | 
| 2506 | 
            +
                    end
         | 
| 2507 | 
            +
                  
         | 
| 2508 | 
            +
                    # Update properties of this object
         | 
| 2509 | 
            +
                    def update!(**args)
         | 
| 2510 | 
            +
                      @create_time = args[:create_time] if args.key?(:create_time)
         | 
| 2511 | 
            +
                      @display_name = args[:display_name] if args.key?(:display_name)
         | 
| 2512 | 
            +
                      @name = args[:name] if args.key?(:name)
         | 
| 2513 | 
            +
                      @update_time = args[:update_time] if args.key?(:update_time)
         | 
| 2514 | 
            +
                      @value = args[:value] if args.key?(:value)
         | 
| 2515 | 
            +
                    end
         | 
| 2516 | 
            +
                  end
         | 
| 2517 | 
            +
                  
         | 
| 2441 2518 | 
             
                  # Metadata for a create analysis operation.
         | 
| 2442 2519 | 
             
                  class GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata
         | 
| 2443 2520 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -16,13 +16,13 @@ module Google | |
| 16 16 | 
             
              module Apis
         | 
| 17 17 | 
             
                module ContactcenterinsightsV1
         | 
| 18 18 | 
             
                  # Version of the google-apis-contactcenterinsights_v1 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.4.0"
         | 
| 23 23 |  | 
| 24 24 | 
             
                  # Revision of the discovery document this client was generated from
         | 
| 25 | 
            -
                  REVISION = " | 
| 25 | 
            +
                  REVISION = "20220103"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -358,6 +358,12 @@ module Google | |
| 358 358 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 359 359 | 
             
                  end
         | 
| 360 360 |  | 
| 361 | 
            +
                  class GoogleCloudContactcenterinsightsV1ListViewsResponse
         | 
| 362 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 363 | 
            +
                  
         | 
| 364 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 365 | 
            +
                  end
         | 
| 366 | 
            +
                  
         | 
| 361 367 | 
             
                  class GoogleCloudContactcenterinsightsV1PhraseMatchData
         | 
| 362 368 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 363 369 |  | 
| @@ -448,6 +454,12 @@ module Google | |
| 448 454 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 449 455 | 
             
                  end
         | 
| 450 456 |  | 
| 457 | 
            +
                  class GoogleCloudContactcenterinsightsV1View
         | 
| 458 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 459 | 
            +
                  
         | 
| 460 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 461 | 
            +
                  end
         | 
| 462 | 
            +
                  
         | 
| 451 463 | 
             
                  class GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata
         | 
| 452 464 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 453 465 |  | 
| @@ -738,6 +750,7 @@ module Google | |
| 738 750 |  | 
| 739 751 | 
             
                      property :medium, as: 'medium'
         | 
| 740 752 | 
             
                      property :name, as: 'name'
         | 
| 753 | 
            +
                      property :obfuscated_user_id, as: 'obfuscatedUserId'
         | 
| 741 754 | 
             
                      collection :runtime_annotations, as: 'runtimeAnnotations', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RuntimeAnnotation, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RuntimeAnnotation::Representation
         | 
| 742 755 |  | 
| 743 756 | 
             
                      property :start_time, as: 'startTime'
         | 
| @@ -1151,6 +1164,15 @@ module Google | |
| 1151 1164 | 
             
                    end
         | 
| 1152 1165 | 
             
                  end
         | 
| 1153 1166 |  | 
| 1167 | 
            +
                  class GoogleCloudContactcenterinsightsV1ListViewsResponse
         | 
| 1168 | 
            +
                    # @private
         | 
| 1169 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 1170 | 
            +
                      property :next_page_token, as: 'nextPageToken'
         | 
| 1171 | 
            +
                      collection :views, as: 'views', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View::Representation
         | 
| 1172 | 
            +
                  
         | 
| 1173 | 
            +
                    end
         | 
| 1174 | 
            +
                  end
         | 
| 1175 | 
            +
                  
         | 
| 1154 1176 | 
             
                  class GoogleCloudContactcenterinsightsV1PhraseMatchData
         | 
| 1155 1177 | 
             
                    # @private
         | 
| 1156 1178 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -1306,6 +1328,17 @@ module Google | |
| 1306 1328 | 
             
                    end
         | 
| 1307 1329 | 
             
                  end
         | 
| 1308 1330 |  | 
| 1331 | 
            +
                  class GoogleCloudContactcenterinsightsV1View
         | 
| 1332 | 
            +
                    # @private
         | 
| 1333 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 1334 | 
            +
                      property :create_time, as: 'createTime'
         | 
| 1335 | 
            +
                      property :display_name, as: 'displayName'
         | 
| 1336 | 
            +
                      property :name, as: 'name'
         | 
| 1337 | 
            +
                      property :update_time, as: 'updateTime'
         | 
| 1338 | 
            +
                      property :value, as: 'value'
         | 
| 1339 | 
            +
                    end
         | 
| 1340 | 
            +
                  end
         | 
| 1341 | 
            +
                  
         | 
| 1309 1342 | 
             
                  class GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata
         | 
| 1310 1343 | 
             
                    # @private
         | 
| 1311 1344 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -1158,6 +1158,178 @@ module Google | |
| 1158 1158 | 
             
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 1159 1159 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 1160 1160 | 
             
                    end
         | 
| 1161 | 
            +
                    
         | 
| 1162 | 
            +
                    # Creates a view.
         | 
| 1163 | 
            +
                    # @param [String] parent
         | 
| 1164 | 
            +
                    #   Required. The parent resource of the view. Required. The location to create a
         | 
| 1165 | 
            +
                    #   view for. Format: `projects//locations/` or `projects//locations/`
         | 
| 1166 | 
            +
                    # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View] google_cloud_contactcenterinsights_v1_view_object
         | 
| 1167 | 
            +
                    # @param [String] fields
         | 
| 1168 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 1169 | 
            +
                    # @param [String] quota_user
         | 
| 1170 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 1171 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 1172 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 1173 | 
            +
                    #   Request-specific options
         | 
| 1174 | 
            +
                    #
         | 
| 1175 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 1176 | 
            +
                    # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View] parsed result object
         | 
| 1177 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 1178 | 
            +
                    #
         | 
| 1179 | 
            +
                    # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View]
         | 
| 1180 | 
            +
                    #
         | 
| 1181 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 1182 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1183 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1184 | 
            +
                    def create_project_location_view(parent, google_cloud_contactcenterinsights_v1_view_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1185 | 
            +
                      command = make_simple_command(:post, 'v1/{+parent}/views', options)
         | 
| 1186 | 
            +
                      command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View::Representation
         | 
| 1187 | 
            +
                      command.request_object = google_cloud_contactcenterinsights_v1_view_object
         | 
| 1188 | 
            +
                      command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View::Representation
         | 
| 1189 | 
            +
                      command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View
         | 
| 1190 | 
            +
                      command.params['parent'] = parent unless parent.nil?
         | 
| 1191 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 1192 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 1193 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 1194 | 
            +
                    end
         | 
| 1195 | 
            +
                    
         | 
| 1196 | 
            +
                    # Deletes a view.
         | 
| 1197 | 
            +
                    # @param [String] name
         | 
| 1198 | 
            +
                    #   Required. The name of the view to delete.
         | 
| 1199 | 
            +
                    # @param [String] fields
         | 
| 1200 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 1201 | 
            +
                    # @param [String] quota_user
         | 
| 1202 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 1203 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 1204 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 1205 | 
            +
                    #   Request-specific options
         | 
| 1206 | 
            +
                    #
         | 
| 1207 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 1208 | 
            +
                    # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
         | 
| 1209 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 1210 | 
            +
                    #
         | 
| 1211 | 
            +
                    # @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
         | 
| 1212 | 
            +
                    #
         | 
| 1213 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 1214 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1215 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1216 | 
            +
                    def delete_project_location_view(name, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1217 | 
            +
                      command = make_simple_command(:delete, 'v1/{+name}', options)
         | 
| 1218 | 
            +
                      command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
         | 
| 1219 | 
            +
                      command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
         | 
| 1220 | 
            +
                      command.params['name'] = name unless name.nil?
         | 
| 1221 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 1222 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 1223 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 1224 | 
            +
                    end
         | 
| 1225 | 
            +
                    
         | 
| 1226 | 
            +
                    # Gets a view.
         | 
| 1227 | 
            +
                    # @param [String] name
         | 
| 1228 | 
            +
                    #   Required. The name of the view to get.
         | 
| 1229 | 
            +
                    # @param [String] fields
         | 
| 1230 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 1231 | 
            +
                    # @param [String] quota_user
         | 
| 1232 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 1233 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 1234 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 1235 | 
            +
                    #   Request-specific options
         | 
| 1236 | 
            +
                    #
         | 
| 1237 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 1238 | 
            +
                    # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View] parsed result object
         | 
| 1239 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 1240 | 
            +
                    #
         | 
| 1241 | 
            +
                    # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View]
         | 
| 1242 | 
            +
                    #
         | 
| 1243 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 1244 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1245 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1246 | 
            +
                    def get_project_location_view(name, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1247 | 
            +
                      command = make_simple_command(:get, 'v1/{+name}', options)
         | 
| 1248 | 
            +
                      command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View::Representation
         | 
| 1249 | 
            +
                      command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View
         | 
| 1250 | 
            +
                      command.params['name'] = name unless name.nil?
         | 
| 1251 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 1252 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 1253 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 1254 | 
            +
                    end
         | 
| 1255 | 
            +
                    
         | 
| 1256 | 
            +
                    # Lists views.
         | 
| 1257 | 
            +
                    # @param [String] parent
         | 
| 1258 | 
            +
                    #   Required. The parent resource of the views.
         | 
| 1259 | 
            +
                    # @param [Fixnum] page_size
         | 
| 1260 | 
            +
                    #   The maximum number of views to return in the response. If this value is zero,
         | 
| 1261 | 
            +
                    #   the service will select a default size. A call may return fewer objects than
         | 
| 1262 | 
            +
                    #   requested. A non-empty `next_page_token` in the response indicates that more
         | 
| 1263 | 
            +
                    #   data is available.
         | 
| 1264 | 
            +
                    # @param [String] page_token
         | 
| 1265 | 
            +
                    #   The value returned by the last `ListViewsResponse`; indicates that this is a
         | 
| 1266 | 
            +
                    #   continuation of a prior `ListViews` call and the system should return the next
         | 
| 1267 | 
            +
                    #   page of data.
         | 
| 1268 | 
            +
                    # @param [String] fields
         | 
| 1269 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 1270 | 
            +
                    # @param [String] quota_user
         | 
| 1271 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 1272 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 1273 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 1274 | 
            +
                    #   Request-specific options
         | 
| 1275 | 
            +
                    #
         | 
| 1276 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 1277 | 
            +
                    # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListViewsResponse] parsed result object
         | 
| 1278 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 1279 | 
            +
                    #
         | 
| 1280 | 
            +
                    # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListViewsResponse]
         | 
| 1281 | 
            +
                    #
         | 
| 1282 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 1283 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1284 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1285 | 
            +
                    def list_project_location_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1286 | 
            +
                      command = make_simple_command(:get, 'v1/{+parent}/views', options)
         | 
| 1287 | 
            +
                      command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListViewsResponse::Representation
         | 
| 1288 | 
            +
                      command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListViewsResponse
         | 
| 1289 | 
            +
                      command.params['parent'] = parent unless parent.nil?
         | 
| 1290 | 
            +
                      command.query['pageSize'] = page_size unless page_size.nil?
         | 
| 1291 | 
            +
                      command.query['pageToken'] = page_token unless page_token.nil?
         | 
| 1292 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 1293 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 1294 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 1295 | 
            +
                    end
         | 
| 1296 | 
            +
                    
         | 
| 1297 | 
            +
                    # Updates a view.
         | 
| 1298 | 
            +
                    # @param [String] name
         | 
| 1299 | 
            +
                    #   Immutable. The resource name of the view. Format: projects/`project`/locations/
         | 
| 1300 | 
            +
                    #   `location`/views/`view`
         | 
| 1301 | 
            +
                    # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View] google_cloud_contactcenterinsights_v1_view_object
         | 
| 1302 | 
            +
                    # @param [String] update_mask
         | 
| 1303 | 
            +
                    #   The list of fields to be updated.
         | 
| 1304 | 
            +
                    # @param [String] fields
         | 
| 1305 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 1306 | 
            +
                    # @param [String] quota_user
         | 
| 1307 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 1308 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 1309 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 1310 | 
            +
                    #   Request-specific options
         | 
| 1311 | 
            +
                    #
         | 
| 1312 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 1313 | 
            +
                    # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View] parsed result object
         | 
| 1314 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 1315 | 
            +
                    #
         | 
| 1316 | 
            +
                    # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View]
         | 
| 1317 | 
            +
                    #
         | 
| 1318 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 1319 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1320 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1321 | 
            +
                    def patch_project_location_view(name, google_cloud_contactcenterinsights_v1_view_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1322 | 
            +
                      command = make_simple_command(:patch, 'v1/{+name}', options)
         | 
| 1323 | 
            +
                      command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View::Representation
         | 
| 1324 | 
            +
                      command.request_object = google_cloud_contactcenterinsights_v1_view_object
         | 
| 1325 | 
            +
                      command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View::Representation
         | 
| 1326 | 
            +
                      command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1View
         | 
| 1327 | 
            +
                      command.params['name'] = name unless name.nil?
         | 
| 1328 | 
            +
                      command.query['updateMask'] = update_mask unless update_mask.nil?
         | 
| 1329 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 1330 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 1331 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 1332 | 
            +
                    end
         | 
| 1161 1333 |  | 
| 1162 1334 | 
             
                    protected
         | 
| 1163 1335 |  | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-apis-contactcenterinsights_v1
         | 
| 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:  | 
| 11 | 
            +
            date: 2022-01-10 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-contactcenterinsights_v1/CHANGELOG.md
         | 
| 61 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0. | 
| 61 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.9.0
         | 
| 62 62 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contactcenterinsights_v1
         | 
| 63 63 | 
             
            post_install_message: 
         | 
| 64 64 | 
             
            rdoc_options: []
         | 
| @@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 75 75 | 
             
                - !ruby/object:Gem::Version
         | 
| 76 76 | 
             
                  version: '0'
         | 
| 77 77 | 
             
            requirements: []
         | 
| 78 | 
            -
            rubygems_version: 3. | 
| 78 | 
            +
            rubygems_version: 3.3.4
         | 
| 79 79 | 
             
            signing_key: 
         | 
| 80 80 | 
             
            specification_version: 4
         | 
| 81 81 | 
             
            summary: Simple REST client for Contact Center AI Insights API V1
         |