Class: Google::Cloud::Dialogflow::V2::CreateGeneratorRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/generator.rb

Overview

Request message of CreateGenerator.

Instance Attribute Summary collapse

Instance Attribute Details

#generator::Google::Cloud::Dialogflow::V2::Generator

Returns Required. The generator to create.

Returns:



44
45
46
47
# File 'proto_docs/google/cloud/dialogflow/v2/generator.rb', line 44

class CreateGeneratorRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#generator_id::String

Returns Optional. The ID to use for the generator, which will become the final component of the generator's resource name.

The generator ID must be compliant with the regression formula [a-zA-Z][a-zA-Z0-9_-]* with the characters length in range of [3,64]. If the field is not provided, an Id will be auto-generated. If the field is provided, the caller is responsible for

  1. the uniqueness of the ID, otherwise the request will be rejected.
  2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.

Returns:

  • (::String)

    Optional. The ID to use for the generator, which will become the final component of the generator's resource name.

    The generator ID must be compliant with the regression formula [a-zA-Z][a-zA-Z0-9_-]* with the characters length in range of [3,64]. If the field is not provided, an Id will be auto-generated. If the field is provided, the caller is responsible for

    1. the uniqueness of the ID, otherwise the request will be rejected.
    2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.


44
45
46
47
# File 'proto_docs/google/cloud/dialogflow/v2/generator.rb', line 44

class CreateGeneratorRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Required. The project/location to create generator for. Format: projects/<Project ID>/locations/<Location ID>.

Returns:

  • (::String)

    Required. The project/location to create generator for. Format: projects/<Project ID>/locations/<Location ID>



44
45
46
47
# File 'proto_docs/google/cloud/dialogflow/v2/generator.rb', line 44

class CreateGeneratorRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end