Class: Google::Apis::TranslateV3::GcsOutputDestination

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_prefixString

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

Returns:

  • (String)


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