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.

Returns:



2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2481

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.



2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2481

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