Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GcsDestination

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

Overview

Google Cloud Storage location for the output.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2GcsDestination

Returns a new instance of GoogleCloudDialogflowV2GcsDestination.



10636
10637
10638
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10636

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

Instance Attribute Details

#uriString

The Google Cloud Storage URIs for the output. A URI is of the form: gs:// bucket/object-prefix-or-name Whether a prefix or name is used depends on the use case. The requesting user must have "write-permission" to the bucket. Corresponds to the JSON property uri

Returns:

  • (String)


10634
10635
10636
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10634

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10641
10642
10643
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10641

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