Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentResponse::Candidate::GroundingMetadata::ImageMetadata::Image (v2.1.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentResponse::Candidate::GroundingMetadata::ImageMetadata::Image.

Metadata about the image.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#height

def height() -> ::Integer
Returns
  • (::Integer) — The height of the image in pixels.

#height=

def height=(value) -> ::Integer
Parameter
  • value (::Integer) — The height of the image in pixels.
Returns
  • (::Integer) — The height of the image in pixels.

#uri

def uri() -> ::String
Returns
  • (::String) — The url of the image.

#uri=

def uri=(value) -> ::String
Parameter
  • value (::String) — The url of the image.
Returns
  • (::String) — The url of the image.

#width

def width() -> ::Integer
Returns
  • (::Integer) — The width of the image in pixels.

#width=

def width=(value) -> ::Integer
Parameter
  • value (::Integer) — The width of the image in pixels.
Returns
  • (::Integer) — The width of the image in pixels.