Class: Google::Apis::TranslateV3::GcsSource
- Inherits:
-
Object
- Object
- Google::Apis::TranslateV3::GcsSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/translate_v3/classes.rb,
generated/google/apis/translate_v3/representations.rb,
generated/google/apis/translate_v3/representations.rb
Overview
The Google Cloud Storage location for the input content.
Instance Attribute Summary collapse
-
#input_uri ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GcsSource
constructor
A new instance of GcsSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GcsSource
Returns a new instance of GcsSource.
259 260 261 |
# File 'generated/google/apis/translate_v3/classes.rb', line 259 def initialize(**args) update!(**args) end |
Instance Attribute Details
#input_uri ⇒ String
Required. Source data URI. For example, gs://my_bucket/my_object
.
Corresponds to the JSON property inputUri
257 258 259 |
# File 'generated/google/apis/translate_v3/classes.rb', line 257 def input_uri @input_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
264 265 266 |
# File 'generated/google/apis/translate_v3/classes.rb', line 264 def update!(**args) @input_uri = args[:input_uri] if args.key?(:input_uri) end |