Class: Google::Cloud::ContactCenterInsights::V1::BulkUploadFeedbackLabelsRequest

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 for bulk uploading feedback labels.

Defined Under Namespace

Classes: GcsSource

Instance Attribute Summary collapse

Instance Attribute Details

#gcs_source::Google::Cloud::ContactCenterInsights::V1::BulkUploadFeedbackLabelsRequest::GcsSource

Returns A cloud storage bucket source.



2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 2223

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

  # Google Cloud Storage Object details to get the feedback label file from.
  # @!attribute [rw] format
  #   @return [::Google::Cloud::ContactCenterInsights::V1::BulkUploadFeedbackLabelsRequest::GcsSource::Format]
  #     Required. File format which will be ingested.
  # @!attribute [rw] object_uri
  #   @return [::String]
  #     Required. The Google Cloud Storage URI of the file to import.
  #     Format: `gs://bucket_name/object_name`
  class GcsSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # All permissible file formats.
    module Format
      # Unspecified format.
      FORMAT_UNSPECIFIED = 0

      # CSV format.
      CSV = 1

      # JSON format.
      JSON = 2
    end
  end
end

#parent::String

Returns Required. The parent resource for new feedback labels.

Returns:

  • (::String)

    Required. The parent resource for new feedback labels.



2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 2223

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

  # Google Cloud Storage Object details to get the feedback label file from.
  # @!attribute [rw] format
  #   @return [::Google::Cloud::ContactCenterInsights::V1::BulkUploadFeedbackLabelsRequest::GcsSource::Format]
  #     Required. File format which will be ingested.
  # @!attribute [rw] object_uri
  #   @return [::String]
  #     Required. The Google Cloud Storage URI of the file to import.
  #     Format: `gs://bucket_name/object_name`
  class GcsSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # All permissible file formats.
    module Format
      # Unspecified format.
      FORMAT_UNSPECIFIED = 0

      # CSV format.
      CSV = 1

      # JSON format.
      JSON = 2
    end
  end
end

#validate_only::Boolean

Returns Optional. If set, upload will not happen and the labels will be validated. If not set, then default behavior will be to upload the labels after validation is complete.

Returns:

  • (::Boolean)

    Optional. If set, upload will not happen and the labels will be validated. If not set, then default behavior will be to upload the labels after validation is complete.



2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
# File 'proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb', line 2223

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

  # Google Cloud Storage Object details to get the feedback label file from.
  # @!attribute [rw] format
  #   @return [::Google::Cloud::ContactCenterInsights::V1::BulkUploadFeedbackLabelsRequest::GcsSource::Format]
  #     Required. File format which will be ingested.
  # @!attribute [rw] object_uri
  #   @return [::String]
  #     Required. The Google Cloud Storage URI of the file to import.
  #     Format: `gs://bucket_name/object_name`
  class GcsSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # All permissible file formats.
    module Format
      # Unspecified format.
      FORMAT_UNSPECIFIED = 0

      # CSV format.
      CSV = 1

      # JSON format.
      JSON = 2
    end
  end
end