Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GcsSource

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

Overview

Google Cloud Storage location for single input.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1GcsSource

Returns a new instance of GoogleCloudDialogflowV2beta1GcsSource.



3249
3250
3251
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 3249

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

Instance Attribute Details

#uriString

Required. The Google Cloud Storage URIs for the inputs. A URI is of the form: gs://bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case. Corresponds to the JSON property uri

Returns:

  • (String)


3247
3248
3249
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 3247

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3254
3255
3256
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 3254

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