Class: Google::Cloud::Dialogflow::V2::CreateGeneratorRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::CreateGeneratorRequest
- 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
-
#generator ⇒ ::Google::Cloud::Dialogflow::V2::Generator
Required.
-
#generator_id ⇒ ::String
Optional.
-
#parent ⇒ ::String
Required.
Instance Attribute Details
#generator ⇒ ::Google::Cloud::Dialogflow::V2::Generator
Returns Required. The generator to create.
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
- the uniqueness of the ID, otherwise the request will be rejected.
- 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>
.
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 |