Reference documentation and code samples for the Cloud AutoML V1beta1 API class Google::Cloud::AutoML::V1beta1::Image.
A representation of an image. Only images up to 30MB in size are supported.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#image_bytes
def image_bytes() -> ::String
-
(::String) — Image content represented as a stream of bytes.
Note: As with all
bytes
fields, protobuffers use a pure binary representation, whereas JSON representations use base64.Note: The following fields are mutually exclusive:
image_bytes
,input_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#image_bytes=
def image_bytes=(value) -> ::String
-
value (::String) — Image content represented as a stream of bytes.
Note: As with all
bytes
fields, protobuffers use a pure binary representation, whereas JSON representations use base64.Note: The following fields are mutually exclusive:
image_bytes
,input_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Image content represented as a stream of bytes.
Note: As with all
bytes
fields, protobuffers use a pure binary representation, whereas JSON representations use base64.Note: The following fields are mutually exclusive:
image_bytes
,input_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#input_config
def input_config() -> ::Google::Cloud::AutoML::V1beta1::InputConfig
-
(::Google::Cloud::AutoML::V1beta1::InputConfig) — An input config specifying the content of the image.
Note: The following fields are mutually exclusive:
input_config
,image_bytes
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#input_config=
def input_config=(value) -> ::Google::Cloud::AutoML::V1beta1::InputConfig
-
value (::Google::Cloud::AutoML::V1beta1::InputConfig) — An input config specifying the content of the image.
Note: The following fields are mutually exclusive:
input_config
,image_bytes
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AutoML::V1beta1::InputConfig) — An input config specifying the content of the image.
Note: The following fields are mutually exclusive:
input_config
,image_bytes
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#thumbnail_uri
def thumbnail_uri() -> ::String
- (::String) — Output only. HTTP URI to the thumbnail image.
#thumbnail_uri=
def thumbnail_uri=(value) -> ::String
- value (::String) — Output only. HTTP URI to the thumbnail image.
- (::String) — Output only. HTTP URI to the thumbnail image.