Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Document

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2Document

Returns a new instance of GoogleCloudDialogflowV2Document.



9298
9299
9300
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9298

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

Instance Attribute Details

#content_uriString

Corresponds to the JSON property contentUri

Returns:

  • (String)


9249
9250
9251
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9249

def content_uri
  @content_uri
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


9254
9255
9256
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9254

def display_name
  @display_name
end

#enable_auto_reloadBoolean Also known as: enable_auto_reload?

Corresponds to the JSON property enableAutoReload

Returns:

  • (Boolean)


9259
9260
9261
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9259

def enable_auto_reload
  @enable_auto_reload
end

#knowledge_typesArray<String>

Corresponds to the JSON property knowledgeTypes

Returns:

  • (Array<String>)


9265
9266
9267
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9265

def knowledge_types
  @knowledge_types
end

#latest_reload_statusGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2DocumentReloadStatus

Corresponds to the JSON property latestReloadStatus



9270
9271
9272
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9270

def latest_reload_status
  @latest_reload_status
end

#metadataHash<String,String>

Corresponds to the JSON property metadata

Returns:

  • (Hash<String,String>)


9275
9276
9277
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9275

def 
  @metadata
end

#mime_typeString

Corresponds to the JSON property mimeType

Returns:

  • (String)


9280
9281
9282
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9280

def mime_type
  @mime_type
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


9285
9286
9287
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9285

def name
  @name
end

#raw_contentString

Corresponds to the JSON property rawContent NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


9291
9292
9293
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9291

def raw_content
  @raw_content
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


9296
9297
9298
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9296

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9303

def update!(**args)
  @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