Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Document
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Instance Attribute Summary collapse
-
#content ⇒ String
Corresponds to the JSON property
content. -
#content_uri ⇒ String
Corresponds to the JSON property
contentUri. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#enable_auto_reload ⇒ Boolean
(also: #enable_auto_reload?)
Corresponds to the JSON property
enableAutoReload. -
#knowledge_types ⇒ Array<String>
Corresponds to the JSON property
knowledgeTypes. -
#latest_reload_status ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DocumentReloadStatus
Corresponds to the JSON property
latestReloadStatus. -
#metadata ⇒ Hash<String,String>
Corresponds to the JSON property
metadata. -
#mime_type ⇒ String
Corresponds to the JSON property
mimeType. -
#name ⇒ String
Corresponds to the JSON property
name. -
#raw_content ⇒ String
Corresponds to the JSON property
rawContentNOTE: Values are automatically base64 encoded/decoded in the client library. -
#state ⇒ String
Corresponds to the JSON property
state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Document
constructor
A new instance of GoogleCloudDialogflowV2beta1Document.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Document
Returns a new instance of GoogleCloudDialogflowV2beta1Document.
13068 13069 13070 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13068 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
Corresponds to the JSON property content
13014 13015 13016 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13014 def content @content end |
#content_uri ⇒ String
Corresponds to the JSON property contentUri
13019 13020 13021 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13019 def content_uri @content_uri end |
#display_name ⇒ String
Corresponds to the JSON property displayName
13024 13025 13026 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13024 def display_name @display_name end |
#enable_auto_reload ⇒ Boolean Also known as: enable_auto_reload?
Corresponds to the JSON property enableAutoReload
13029 13030 13031 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13029 def enable_auto_reload @enable_auto_reload end |
#knowledge_types ⇒ Array<String>
Corresponds to the JSON property knowledgeTypes
13035 13036 13037 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13035 def knowledge_types @knowledge_types end |
#latest_reload_status ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DocumentReloadStatus
Corresponds to the JSON property latestReloadStatus
13040 13041 13042 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13040 def latest_reload_status @latest_reload_status end |
#metadata ⇒ Hash<String,String>
Corresponds to the JSON property metadata
13045 13046 13047 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13045 def @metadata end |
#mime_type ⇒ String
Corresponds to the JSON property mimeType
13050 13051 13052 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13050 def mime_type @mime_type end |
#name ⇒ String
Corresponds to the JSON property name
13055 13056 13057 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13055 def name @name end |
#raw_content ⇒ String
Corresponds to the JSON property rawContent
NOTE: Values are automatically base64 encoded/decoded in the client library.
13061 13062 13063 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13061 def raw_content @raw_content end |
#state ⇒ String
Corresponds to the JSON property state
13066 13067 13068 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13066 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13073 def update!(**args) @content = args[:content] if args.key?(:content) @content_uri = args[:content_uri] if args.key?(:content_uri) @display_name = args[:display_name] if args.key?(:display_name) @enable_auto_reload = args[:enable_auto_reload] if args.key?(:enable_auto_reload) @knowledge_types = args[:knowledge_types] if args.key?(:knowledge_types) @latest_reload_status = args[:latest_reload_status] if args.key?(:latest_reload_status) @metadata = args[:metadata] if args.key?(:metadata) @mime_type = args[:mime_type] if args.key?(:mime_type) @name = args[:name] if args.key?(:name) @raw_content = args[:raw_content] if args.key?(:raw_content) @state = args[:state] if args.key?(:state) end |