Class: Google::Cloud::ContactCenterInsights::V1::ExportInsightsDataRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb

Overview

The request to export insights.

Defined Under Namespace

Modules: WriteDisposition Classes: BigQueryDestination

Instance Attribute Summary collapse

Instance Attribute Details

#big_query_destination::Google::Cloud::ContactCenterInsights::V1::ExportInsightsDataRequest::BigQueryDestination

Returns Specified if sink is a BigQuery table.



681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 681

class ExportInsightsDataRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A BigQuery Table Reference.
  # @!attribute [rw] project_id
  #   @return [::String]
  #     A project ID or number. If specified, then export will attempt to
  #     write data to this project instead of the resource project. Otherwise,
  #     the resource project will be used.
  # @!attribute [rw] dataset
  #   @return [::String]
  #     Required. The name of the BigQuery dataset that the snapshot result
  #     should be exported to. If this dataset does not exist, the export call
  #     returns an INVALID_ARGUMENT error.
  # @!attribute [rw] table
  #   @return [::String]
  #     The BigQuery table name to which the insights data should be written.
  #     If this table does not exist, the export call returns an INVALID_ARGUMENT
  #     error.
  class BigQueryDestination
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies the action that occurs if the destination table already exists.
  module WriteDisposition
    # Write disposition is not specified. Defaults to WRITE_TRUNCATE.
    WRITE_DISPOSITION_UNSPECIFIED = 0

    # If the table already exists, BigQuery will overwrite the table data and
    # use the schema from the load.
    WRITE_TRUNCATE = 1

    # If the table already exists, BigQuery will append data to the table.
    WRITE_APPEND = 2
  end
end

#filter::String

Returns A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.

Returns:

  • (::String)

    A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.



681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 681

class ExportInsightsDataRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A BigQuery Table Reference.
  # @!attribute [rw] project_id
  #   @return [::String]
  #     A project ID or number. If specified, then export will attempt to
  #     write data to this project instead of the resource project. Otherwise,
  #     the resource project will be used.
  # @!attribute [rw] dataset
  #   @return [::String]
  #     Required. The name of the BigQuery dataset that the snapshot result
  #     should be exported to. If this dataset does not exist, the export call
  #     returns an INVALID_ARGUMENT error.
  # @!attribute [rw] table
  #   @return [::String]
  #     The BigQuery table name to which the insights data should be written.
  #     If this table does not exist, the export call returns an INVALID_ARGUMENT
  #     error.
  class BigQueryDestination
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies the action that occurs if the destination table already exists.
  module WriteDisposition
    # Write disposition is not specified. Defaults to WRITE_TRUNCATE.
    WRITE_DISPOSITION_UNSPECIFIED = 0

    # If the table already exists, BigQuery will overwrite the table data and
    # use the schema from the load.
    WRITE_TRUNCATE = 1

    # If the table already exists, BigQuery will append data to the table.
    WRITE_APPEND = 2
  end
end

#kms_key::String

Returns A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}.

Returns:

  • (::String)

    A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}



681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 681

class ExportInsightsDataRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A BigQuery Table Reference.
  # @!attribute [rw] project_id
  #   @return [::String]
  #     A project ID or number. If specified, then export will attempt to
  #     write data to this project instead of the resource project. Otherwise,
  #     the resource project will be used.
  # @!attribute [rw] dataset
  #   @return [::String]
  #     Required. The name of the BigQuery dataset that the snapshot result
  #     should be exported to. If this dataset does not exist, the export call
  #     returns an INVALID_ARGUMENT error.
  # @!attribute [rw] table
  #   @return [::String]
  #     The BigQuery table name to which the insights data should be written.
  #     If this table does not exist, the export call returns an INVALID_ARGUMENT
  #     error.
  class BigQueryDestination
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies the action that occurs if the destination table already exists.
  module WriteDisposition
    # Write disposition is not specified. Defaults to WRITE_TRUNCATE.
    WRITE_DISPOSITION_UNSPECIFIED = 0

    # If the table already exists, BigQuery will overwrite the table data and
    # use the schema from the load.
    WRITE_TRUNCATE = 1

    # If the table already exists, BigQuery will append data to the table.
    WRITE_APPEND = 2
  end
end

#parent::String

Returns Required. The parent resource to export data from.

Returns:

  • (::String)

    Required. The parent resource to export data from.



681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 681

class ExportInsightsDataRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A BigQuery Table Reference.
  # @!attribute [rw] project_id
  #   @return [::String]
  #     A project ID or number. If specified, then export will attempt to
  #     write data to this project instead of the resource project. Otherwise,
  #     the resource project will be used.
  # @!attribute [rw] dataset
  #   @return [::String]
  #     Required. The name of the BigQuery dataset that the snapshot result
  #     should be exported to. If this dataset does not exist, the export call
  #     returns an INVALID_ARGUMENT error.
  # @!attribute [rw] table
  #   @return [::String]
  #     The BigQuery table name to which the insights data should be written.
  #     If this table does not exist, the export call returns an INVALID_ARGUMENT
  #     error.
  class BigQueryDestination
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies the action that occurs if the destination table already exists.
  module WriteDisposition
    # Write disposition is not specified. Defaults to WRITE_TRUNCATE.
    WRITE_DISPOSITION_UNSPECIFIED = 0

    # If the table already exists, BigQuery will overwrite the table data and
    # use the schema from the load.
    WRITE_TRUNCATE = 1

    # If the table already exists, BigQuery will append data to the table.
    WRITE_APPEND = 2
  end
end

#write_disposition::Google::Cloud::ContactCenterInsights::V1::ExportInsightsDataRequest::WriteDisposition

Returns Options for what to do if the destination table already exists.

Returns:



681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 681

class ExportInsightsDataRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A BigQuery Table Reference.
  # @!attribute [rw] project_id
  #   @return [::String]
  #     A project ID or number. If specified, then export will attempt to
  #     write data to this project instead of the resource project. Otherwise,
  #     the resource project will be used.
  # @!attribute [rw] dataset
  #   @return [::String]
  #     Required. The name of the BigQuery dataset that the snapshot result
  #     should be exported to. If this dataset does not exist, the export call
  #     returns an INVALID_ARGUMENT error.
  # @!attribute [rw] table
  #   @return [::String]
  #     The BigQuery table name to which the insights data should be written.
  #     If this table does not exist, the export call returns an INVALID_ARGUMENT
  #     error.
  class BigQueryDestination
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Specifies the action that occurs if the destination table already exists.
  module WriteDisposition
    # Write disposition is not specified. Defaults to WRITE_TRUNCATE.
    WRITE_DISPOSITION_UNSPECIFIED = 0

    # If the table already exists, BigQuery will overwrite the table data and
    # use the schema from the load.
    WRITE_TRUNCATE = 1

    # If the table already exists, BigQuery will append data to the table.
    WRITE_APPEND = 2
  end
end