Skip to content

Commit

Permalink
feat: Automated regeneration of dialogflow v3beta1 client (googleapis…
Browse files Browse the repository at this point in the history
…#16570)

Auto-created at 2023-10-29 10:50:50 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Oct 29, 2023
1 parent 3377a45 commit f2e92dd
Show file tree
Hide file tree
Showing 5 changed files with 241 additions and 3 deletions.
14 changes: 14 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179200,6 +179200,9 @@
"/dialogflow:v3beta1/GoogleCloudDialogflowV2DeployConversationModelOperationMetadata": google_cloud_dialogflow_v2_deploy_conversation_model_operation_metadata
"/dialogflow:v3beta1/GoogleCloudDialogflowV2DeployConversationModelOperationMetadata/conversationModel": conversation_model
"/dialogflow:v3beta1/GoogleCloudDialogflowV2DeployConversationModelOperationMetadata/createTime": create_time
"/dialogflow:v3beta1/GoogleCloudDialogflowV2EncryptionSpec": google_cloud_dialogflow_v2_encryption_spec
"/dialogflow:v3beta1/GoogleCloudDialogflowV2EncryptionSpec/kmsKey": kms_key
"/dialogflow:v3beta1/GoogleCloudDialogflowV2EncryptionSpec/name": name
"/dialogflow:v3beta1/GoogleCloudDialogflowV2EntityType": google_cloud_dialogflow_v2_entity_type
"/dialogflow:v3beta1/GoogleCloudDialogflowV2EntityType/autoExpansionMode": auto_expansion_mode
"/dialogflow:v3beta1/GoogleCloudDialogflowV2EntityType/displayName": display_name
Expand Down Expand Up @@ -179248,6 +179251,10 @@
"/dialogflow:v3beta1/GoogleCloudDialogflowV2ImportDocumentsResponse": google_cloud_dialogflow_v2_import_documents_response
"/dialogflow:v3beta1/GoogleCloudDialogflowV2ImportDocumentsResponse/warnings": warnings
"/dialogflow:v3beta1/GoogleCloudDialogflowV2ImportDocumentsResponse/warnings/warning": warning
"/dialogflow:v3beta1/GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata": google_cloud_dialogflow_v2_initialize_encryption_spec_metadata
"/dialogflow:v3beta1/GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata/request": request
"/dialogflow:v3beta1/GoogleCloudDialogflowV2InitializeEncryptionSpecRequest": google_cloud_dialogflow_v2_initialize_encryption_spec_request
"/dialogflow:v3beta1/GoogleCloudDialogflowV2InitializeEncryptionSpecRequest/encryptionSpec": encryption_spec
"/dialogflow:v3beta1/GoogleCloudDialogflowV2InputDataset": google_cloud_dialogflow_v2_input_dataset
"/dialogflow:v3beta1/GoogleCloudDialogflowV2InputDataset/dataset": dataset
"/dialogflow:v3beta1/GoogleCloudDialogflowV2Intent": google_cloud_dialogflow_v2_intent
Expand Down Expand Up @@ -179589,6 +179596,9 @@
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1DialogflowAssistAnswer/answerRecord": answer_record
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1DialogflowAssistAnswer/intentSuggestion": intent_suggestion
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1DialogflowAssistAnswer/queryResult": query_result
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1EncryptionSpec": google_cloud_dialogflow_v2beta1_encryption_spec
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1EncryptionSpec/kmsKey": kms_key
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1EncryptionSpec/name": name
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1EntityType": google_cloud_dialogflow_v2beta1_entity_type
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1EntityType/autoExpansionMode": auto_expansion_mode
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1EntityType/displayName": display_name
Expand Down Expand Up @@ -179629,6 +179639,10 @@
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1ImportDocumentsResponse": google_cloud_dialogflow_v2beta1_import_documents_response
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1ImportDocumentsResponse/warnings": warnings
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1ImportDocumentsResponse/warnings/warning": warning
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata": google_cloud_dialogflow_v2beta1_initialize_encryption_spec_metadata
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata/request": request
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest": google_cloud_dialogflow_v2beta1_initialize_encryption_spec_request
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest/encryptionSpec": encryption_spec
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1Intent": google_cloud_dialogflow_v2beta1_intent
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1Intent/action": action
"/dialogflow:v3beta1/GoogleCloudDialogflowV2beta1Intent/defaultResponsePlatforms": default_response_platforms
Expand Down
4 changes: 2 additions & 2 deletions generated/google-apis-dialogflow_v3beta1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Release history for google-apis-dialogflow_v3beta1

### v0.70.0 (2023-10-22)
### v0.70.0 (2023-10-29)

* Regenerated from discovery document revision 20231011
* Regenerated from discovery document revision 20231019

### v0.69.0 (2023-09-24)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11642,6 +11642,37 @@ def update!(**args)
end
end

# A customer-managed encryption key specification that can be applied to all
# created resources (e.g. Conversation).
class GoogleCloudDialogflowV2EncryptionSpec
include Google::Apis::Core::Hashable

# Required. The name of customer-managed encryption key that is used to secure a
# resource and its sub-resources. If empty, the resource is secured by the
# default Google encryption key. Only the key in the same location as this
# resource is allowed to be used for encryption. Format: `projects/`project`/
# locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
# Corresponds to the JSON property `kmsKey`
# @return [String]
attr_accessor :kms_key

# Immutable. The resource name of the encryption key specification resource.
# Format: projects/`project`/locations/`location`/encryptionSpec
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

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

# Update properties of this object
def update!(**args)
@kms_key = args[:kms_key] if args.key?(:kms_key)
@name = args[:name] if args.key?(:name)
end
end

# Each intent parameter has a type, called the entity type, which dictates
# exactly how data from an end-user expression is extracted. Dialogflow provides
# predefined system entities that can match many common types of data. For
Expand Down Expand Up @@ -12016,6 +12047,45 @@ def update!(**args)
end
end

# Metadata for initializing a location-level encryption specification.
class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
include Google::Apis::Core::Hashable

# The request to initialize a location-level encryption specification.
# Corresponds to the JSON property `request`
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest]
attr_accessor :request

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

# Update properties of this object
def update!(**args)
@request = args[:request] if args.key?(:request)
end
end

# The request to initialize a location-level encryption specification.
class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
include Google::Apis::Core::Hashable

# A customer-managed encryption key specification that can be applied to all
# created resources (e.g. Conversation).
# Corresponds to the JSON property `encryptionSpec`
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2EncryptionSpec]
attr_accessor :encryption_spec

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

# Update properties of this object
def update!(**args)
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
end
end

# InputDataset used to create model or do evaluation. NextID:5
class GoogleCloudDialogflowV2InputDataset
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -14418,6 +14488,37 @@ def update!(**args)
end
end

# A customer-managed encryption key specification that can be applied to all
# created resources (e.g. Conversation).
class GoogleCloudDialogflowV2beta1EncryptionSpec
include Google::Apis::Core::Hashable

# Required. The name of customer-managed encryption key that is used to secure a
# resource and its sub-resources. If empty, the resource is secured by the
# default Google encryption key. Only the key in the same location as this
# resource is allowed to be used for encryption. Format: `projects/`project`/
# locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
# Corresponds to the JSON property `kmsKey`
# @return [String]
attr_accessor :kms_key

# Immutable. The resource name of the encryption key specification resource.
# Format: projects/`project`/locations/`location`/encryptionSpec
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

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

# Update properties of this object
def update!(**args)
@kms_key = args[:kms_key] if args.key?(:kms_key)
@name = args[:name] if args.key?(:name)
end
end

# Each intent parameter has a type, called the entity type, which dictates
# exactly how data from an end-user expression is extracted. Dialogflow provides
# predefined system entities that can match many common types of data. For
Expand Down Expand Up @@ -14736,6 +14837,45 @@ def update!(**args)
end
end

# Metadata for initializing a location-level encryption specification.
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
include Google::Apis::Core::Hashable

# The request to initialize a location-level encryption specification.
# Corresponds to the JSON property `request`
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest]
attr_accessor :request

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

# Update properties of this object
def update!(**args)
@request = args[:request] if args.key?(:request)
end
end

# The request to initialize a location-level encryption specification.
class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
include Google::Apis::Core::Hashable

# A customer-managed encryption key specification that can be applied to all
# created resources (e.g. Conversation).
# Corresponds to the JSON property `encryptionSpec`
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1EncryptionSpec]
attr_accessor :encryption_spec

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

# Update properties of this object
def update!(**args)
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
end
end

# An intent categorizes an end-user's intention for one conversation turn. For
# each agent, you define many intents, where your combined intents can handle a
# complete conversation. When an end-user writes or says something, referred to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module DialogflowV3beta1
GENERATOR_VERSION = "0.12.0"

# Revision of the discovery document this client was generated from
REVISION = "20231011"
REVISION = "20231019"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -1930,6 +1930,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class GoogleCloudDialogflowV2EncryptionSpec
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class GoogleCloudDialogflowV2EntityType
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -1996,6 +2002,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class GoogleCloudDialogflowV2InputDataset
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -2356,6 +2374,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class GoogleCloudDialogflowV2beta1EncryptionSpec
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class GoogleCloudDialogflowV2beta1EntityType
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -2410,6 +2434,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class GoogleCloudDialogflowV2beta1Intent
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -6072,6 +6108,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class GoogleCloudDialogflowV2EncryptionSpec
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kms_key, as: 'kmsKey'
property :name, as: 'name'
end
end

class GoogleCloudDialogflowV2EntityType
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -6173,6 +6217,22 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :request, as: 'request', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest::Representation

end
end

class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2EncryptionSpec, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2EncryptionSpec::Representation

end
end

class GoogleCloudDialogflowV2InputDataset
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -6823,6 +6883,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class GoogleCloudDialogflowV2beta1EncryptionSpec
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kms_key, as: 'kmsKey'
property :name, as: 'name'
end
end

class GoogleCloudDialogflowV2beta1EntityType
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -6906,6 +6974,22 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :request, as: 'request', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest::Representation

end
end

class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1EncryptionSpec, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1EncryptionSpec::Representation

end
end

class GoogleCloudDialogflowV2beta1Intent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down

0 comments on commit f2e92dd

Please sign in to comment.