Class: Google::Apis::TranslateV3::GcsInputSource
- Inherits:
-
Object
- Object
- Google::Apis::TranslateV3::GcsInputSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/translate_v3/classes.rb,
lib/google/apis/translate_v3/representations.rb,
lib/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) ⇒ GcsInputSource
constructor
A new instance of GcsInputSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GcsInputSource
Returns a new instance of GcsInputSource.
931 932 933 |
# File 'lib/google/apis/translate_v3/classes.rb', line 931 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
929 930 931 |
# File 'lib/google/apis/translate_v3/classes.rb', line 929 def input_uri @input_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
936 937 938 |
# File 'lib/google/apis/translate_v3/classes.rb', line 936 def update!(**args) @input_uri = args[:input_uri] if args.key?(:input_uri) end |