Class: Google::Apis::TranslateV3::GcsOutputDestination
- Inherits:
-
Object
- Object
- Google::Apis::TranslateV3::GcsOutputDestination
- 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 output content.
Instance Attribute Summary collapse
-
#output_uri_prefix ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GcsOutputDestination
constructor
A new instance of GcsOutputDestination.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GcsOutputDestination
Returns a new instance of GcsOutputDestination.
670 671 672 |
# File 'lib/google/apis/translate_v3/classes.rb', line 670 def initialize(**args) update!(**args) end |
Instance Attribute Details
#output_uri_prefix ⇒ String
Required. Google Cloud Storage URI to output directory. For example, gs://
bucket/directory
. The requesting user must have write permission to the
bucket. The directory will be created if it doesn't exist.
Corresponds to the JSON property outputUriPrefix
668 669 670 |
# File 'lib/google/apis/translate_v3/classes.rb', line 668 def output_uri_prefix @output_uri_prefix end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
675 676 677 |
# File 'lib/google/apis/translate_v3/classes.rb', line 675 def update!(**args) @output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix) end |