Class: Google::Apis::TranslateV3beta1::GcsSource

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/translate_v3beta1/classes.rb,
generated/google/apis/translate_v3beta1/representations.rb,
generated/google/apis/translate_v3beta1/representations.rb

Overview

The Google Cloud Storage location for the input content.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GcsSource

Returns a new instance of GcsSource.



249
250
251
# File 'generated/google/apis/translate_v3beta1/classes.rb', line 249

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#input_uriString

Required. Source data URI. For example, gs://my_bucket/my_object. Corresponds to the JSON property inputUri

Returns:

  • (String)


247
248
249
# File 'generated/google/apis/translate_v3beta1/classes.rb', line 247

def input_uri
  @input_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



254
255
256
# File 'generated/google/apis/translate_v3beta1/classes.rb', line 254

def update!(**args)
  @input_uri = args[:input_uri] if args.key?(:input_uri)
end