Class: Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentResponse::Candidate::GroundingMetadata::ImageMetadata

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

Overview

Metadata about an image from the web search.

Defined Under Namespace

Classes: Image, WebsiteInfo

Instance Attribute Summary collapse

Instance Attribute Details

#image::Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentResponse::Candidate::GroundingMetadata::ImageMetadata::Image

Returns Metadata about the full size image.



436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
# File 'proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb', line 436

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

  # Metadata about the website that the image is from.
  # @!attribute [rw] uri
  #   @return [::String]
  #     The url of the website.
  # @!attribute [rw] title
  #   @return [::String]
  #     The title of the website.
  class WebsiteInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Metadata about the image.
  # @!attribute [rw] uri
  #   @return [::String]
  #     The url of the image.
  # @!attribute [rw] width
  #   @return [::Integer]
  #     The width of the image in pixels.
  # @!attribute [rw] height
  #   @return [::Integer]
  #     The height of the image in pixels.
  class Image
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#source::Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentResponse::Candidate::GroundingMetadata::ImageMetadata::WebsiteInfo

Returns The details about the website that the image is from.



436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
# File 'proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb', line 436

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

  # Metadata about the website that the image is from.
  # @!attribute [rw] uri
  #   @return [::String]
  #     The url of the website.
  # @!attribute [rw] title
  #   @return [::String]
  #     The title of the website.
  class WebsiteInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Metadata about the image.
  # @!attribute [rw] uri
  #   @return [::String]
  #     The url of the image.
  # @!attribute [rw] width
  #   @return [::Integer]
  #     The width of the image in pixels.
  # @!attribute [rw] height
  #   @return [::Integer]
  #     The height of the image in pixels.
  class Image
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#thumbnail::Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentResponse::Candidate::GroundingMetadata::ImageMetadata::Image

Returns Metadata about the thumbnail.



436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
# File 'proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb', line 436

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

  # Metadata about the website that the image is from.
  # @!attribute [rw] uri
  #   @return [::String]
  #     The url of the website.
  # @!attribute [rw] title
  #   @return [::String]
  #     The title of the website.
  class WebsiteInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Metadata about the image.
  # @!attribute [rw] uri
  #   @return [::String]
  #     The url of the image.
  # @!attribute [rw] width
  #   @return [::Integer]
  #     The width of the image in pixels.
  # @!attribute [rw] height
  #   @return [::Integer]
  #     The height of the image in pixels.
  class Image
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end