Class: Google::Cloud::VisionAI::V1::IngestAssetRequest

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

Overview

Request message for IngestAsset API.

Defined Under Namespace

Classes: Config, TimeIndexedData

Instance Attribute Summary collapse

Instance Attribute Details

#config::Google::Cloud::VisionAI::V1::IngestAssetRequest::Config

Returns Provides information for the data and the asset resource name that the data belongs to. The first IngestAssetRequest message must only contain a Config message.

Note: The following fields are mutually exclusive: config, time_indexed_data. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::VisionAI::V1::IngestAssetRequest::Config)

    Provides information for the data and the asset resource name that the data belongs to. The first IngestAssetRequest message must only contain a Config message.

    Note: The following fields are mutually exclusive: config, time_indexed_data. If a field in that set is populated, all other fields in the set will automatically be cleared.



2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2525

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

  # Configuration for the data.
  # @!attribute [rw] video_type
  #   @return [::Google::Cloud::VisionAI::V1::IngestAssetRequest::Config::VideoType]
  #     Type information for video data.
  # @!attribute [rw] asset
  #   @return [::String]
  #     Required. The resource name of the asset that the ingested data belongs
  #     to.
  class Config
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Type information for video data.
    # @!attribute [rw] container_format
    #   @return [::Google::Cloud::VisionAI::V1::IngestAssetRequest::Config::VideoType::ContainerFormat]
    #     Container format of the video data.
    class VideoType
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Container format of the video.
      module ContainerFormat
        # The default type, not supposed to be used.
        CONTAINER_FORMAT_UNSPECIFIED = 0

        # Mp4 container format.
        CONTAINER_FORMAT_MP4 = 1
      end
    end
  end

  # Contains the data and the corresponding time range this data is for.
  # @!attribute [rw] data
  #   @return [::String]
  #     Data to be ingested.
  # @!attribute [rw] temporal_partition
  #   @return [::Google::Cloud::VisionAI::V1::Partition::TemporalPartition]
  #     Time range of the data.
  class TimeIndexedData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#time_indexed_data::Google::Cloud::VisionAI::V1::IngestAssetRequest::TimeIndexedData

Returns Data to be ingested.

Note: The following fields are mutually exclusive: time_indexed_data, config. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2525

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

  # Configuration for the data.
  # @!attribute [rw] video_type
  #   @return [::Google::Cloud::VisionAI::V1::IngestAssetRequest::Config::VideoType]
  #     Type information for video data.
  # @!attribute [rw] asset
  #   @return [::String]
  #     Required. The resource name of the asset that the ingested data belongs
  #     to.
  class Config
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Type information for video data.
    # @!attribute [rw] container_format
    #   @return [::Google::Cloud::VisionAI::V1::IngestAssetRequest::Config::VideoType::ContainerFormat]
    #     Container format of the video data.
    class VideoType
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Container format of the video.
      module ContainerFormat
        # The default type, not supposed to be used.
        CONTAINER_FORMAT_UNSPECIFIED = 0

        # Mp4 container format.
        CONTAINER_FORMAT_MP4 = 1
      end
    end
  end

  # Contains the data and the corresponding time range this data is for.
  # @!attribute [rw] data
  #   @return [::String]
  #     Data to be ingested.
  # @!attribute [rw] temporal_partition
  #   @return [::Google::Cloud::VisionAI::V1::Partition::TemporalPartition]
  #     Time range of the data.
  class TimeIndexedData
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end