google-apis-dialogflow_v2beta1 0.90.0 → 0.91.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df9a3f3b121472f60acc6fa2ade8bc07c4a59cd8bc9853cc1271ce9e7f7e0aae
4
- data.tar.gz: '086e9a10b1bdab98dd7a7b4a374ac0c9598f3f4ff70edd70f6758c4c1f751ac5'
3
+ metadata.gz: 15297ee9c449952a9c1e8f47e596709f5ec7bbdc3e611bf5ab1ebd1f038faa5d
4
+ data.tar.gz: b5a55fa9484d1a480225c60c494ec4396a0cc5c6d3a3cb52fffab69528211a17
5
5
  SHA512:
6
- metadata.gz: 5d8e723508d58016a5b4a19e5b02e535efcb056dc6e8ddb8ae4de208d9dd78c87f185eca74877415dc9e71215103a21a8fbf8d7558983e69423aaf6fb37bf363
7
- data.tar.gz: 81c12caefa0db6e0965557b660aa349e3421a55786970b2bb5d7ade3d9a4d47e637afc0c52f6cf47fb6b38c990b55e199cbfef5da6a624c3670e6cf1623d3ad3
6
+ metadata.gz: 93642f9f410bcfaaafe43c12d61b52966d2fe93167eafc7c3f646d8fb3ec9d85caeb436b5d497b7a647c0aaff4b732e62bb9e19def874a23129ef97f4ad48b09
7
+ data.tar.gz: ffdfae7c771c596d3111e95aa48e8528e7f9b8e50e285b297a800678b0a2665b5a3e5688999b8d48e230fb5588110208e89c186969e730bf4733406dde19854c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.91.0 (2024-07-25)
4
+
5
+ * Regenerated from discovery document revision 20240716
6
+
3
7
  ### v0.90.0 (2024-06-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20240617
@@ -836,6 +836,12 @@ module Google
836
836
  # @return [String]
837
837
  attr_accessor :target_page
838
838
 
839
+ # The target playbook to transition to. Format: `projects//locations//agents//
840
+ # playbooks/`.
841
+ # Corresponds to the JSON property `targetPlaybook`
842
+ # @return [String]
843
+ attr_accessor :target_playbook
844
+
839
845
  # A fulfillment can do one or more of the following actions at the same time: *
840
846
  # Generate rich message responses. * Set parameter values. * Call the webhook.
841
847
  # Fulfillments can be called at various stages in the Page or Form lifecycle.
@@ -857,6 +863,7 @@ module Google
857
863
  @name = args[:name] if args.key?(:name)
858
864
  @target_flow = args[:target_flow] if args.key?(:target_flow)
859
865
  @target_page = args[:target_page] if args.key?(:target_page)
866
+ @target_playbook = args[:target_playbook] if args.key?(:target_playbook)
860
867
  @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
861
868
  end
862
869
  end
@@ -4680,6 +4687,12 @@ module Google
4680
4687
  # @return [String]
4681
4688
  attr_accessor :target_page
4682
4689
 
4690
+ # The target playbook to transition to. Format: `projects//locations//agents//
4691
+ # playbooks/`.
4692
+ # Corresponds to the JSON property `targetPlaybook`
4693
+ # @return [String]
4694
+ attr_accessor :target_playbook
4695
+
4683
4696
  # A fulfillment can do one or more of the following actions at the same time: *
4684
4697
  # Generate rich message responses. * Set parameter values. * Call the webhook.
4685
4698
  # Fulfillments can be called at various stages in the Page or Form lifecycle.
@@ -4701,6 +4714,7 @@ module Google
4701
4714
  @name = args[:name] if args.key?(:name)
4702
4715
  @target_flow = args[:target_flow] if args.key?(:target_flow)
4703
4716
  @target_page = args[:target_page] if args.key?(:target_page)
4717
+ @target_playbook = args[:target_playbook] if args.key?(:target_playbook)
4704
4718
  @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
4705
4719
  end
4706
4720
  end
@@ -8323,6 +8337,37 @@ module Google
8323
8337
  end
8324
8338
  end
8325
8339
 
8340
+ # A customer-managed encryption key specification that can be applied to all
8341
+ # created resources (e.g. Conversation).
8342
+ class GoogleCloudDialogflowV2EncryptionSpec
8343
+ include Google::Apis::Core::Hashable
8344
+
8345
+ # Required. The name of customer-managed encryption key that is used to secure a
8346
+ # resource and its sub-resources. If empty, the resource is secured by the
8347
+ # default Google encryption key. Only the key in the same location as this
8348
+ # resource is allowed to be used for encryption. Format: `projects/`project`/
8349
+ # locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
8350
+ # Corresponds to the JSON property `kmsKey`
8351
+ # @return [String]
8352
+ attr_accessor :kms_key
8353
+
8354
+ # Immutable. The resource name of the encryption key specification resource.
8355
+ # Format: projects/`project`/locations/`location`/encryptionSpec
8356
+ # Corresponds to the JSON property `name`
8357
+ # @return [String]
8358
+ attr_accessor :name
8359
+
8360
+ def initialize(**args)
8361
+ update!(**args)
8362
+ end
8363
+
8364
+ # Update properties of this object
8365
+ def update!(**args)
8366
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
8367
+ @name = args[:name] if args.key?(:name)
8368
+ end
8369
+ end
8370
+
8326
8371
  # Each intent parameter has a type, called the entity type, which dictates
8327
8372
  # exactly how data from an end-user expression is extracted. Dialogflow provides
8328
8373
  # predefined system entities that can match many common types of data. For
@@ -8697,6 +8742,45 @@ module Google
8697
8742
  end
8698
8743
  end
8699
8744
 
8745
+ # Metadata for initializing a location-level encryption specification.
8746
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
8747
+ include Google::Apis::Core::Hashable
8748
+
8749
+ # The request to initialize a location-level encryption specification.
8750
+ # Corresponds to the JSON property `request`
8751
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest]
8752
+ attr_accessor :request
8753
+
8754
+ def initialize(**args)
8755
+ update!(**args)
8756
+ end
8757
+
8758
+ # Update properties of this object
8759
+ def update!(**args)
8760
+ @request = args[:request] if args.key?(:request)
8761
+ end
8762
+ end
8763
+
8764
+ # The request to initialize a location-level encryption specification.
8765
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
8766
+ include Google::Apis::Core::Hashable
8767
+
8768
+ # A customer-managed encryption key specification that can be applied to all
8769
+ # created resources (e.g. Conversation).
8770
+ # Corresponds to the JSON property `encryptionSpec`
8771
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EncryptionSpec]
8772
+ attr_accessor :encryption_spec
8773
+
8774
+ def initialize(**args)
8775
+ update!(**args)
8776
+ end
8777
+
8778
+ # Update properties of this object
8779
+ def update!(**args)
8780
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
8781
+ end
8782
+ end
8783
+
8700
8784
  # InputDataset used to create model or do evaluation. NextID:5
8701
8785
  class GoogleCloudDialogflowV2InputDataset
8702
8786
  include Google::Apis::Core::Hashable
@@ -11678,7 +11762,7 @@ module Google
11678
11762
  include Google::Apis::Core::Hashable
11679
11763
 
11680
11764
  # Required. The natural language speech audio to be processed. A single request
11681
- # can contain up to 1 minute of speech audio data. The transcribed text cannot
11765
+ # can contain up to 2 minutes of speech audio data. The transcribed text cannot
11682
11766
  # contain more than 256 bytes for virtual agent interactions.
11683
11767
  # Corresponds to the JSON property `audio`
11684
11768
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -12980,6 +13064,37 @@ module Google
12980
13064
  end
12981
13065
  end
12982
13066
 
13067
+ # A customer-managed encryption key specification that can be applied to all
13068
+ # created resources (e.g. Conversation).
13069
+ class GoogleCloudDialogflowV2beta1EncryptionSpec
13070
+ include Google::Apis::Core::Hashable
13071
+
13072
+ # Required. The name of customer-managed encryption key that is used to secure a
13073
+ # resource and its sub-resources. If empty, the resource is secured by the
13074
+ # default Google encryption key. Only the key in the same location as this
13075
+ # resource is allowed to be used for encryption. Format: `projects/`project`/
13076
+ # locations/`location`/keyRings/`keyRing`/cryptoKeys/`key``
13077
+ # Corresponds to the JSON property `kmsKey`
13078
+ # @return [String]
13079
+ attr_accessor :kms_key
13080
+
13081
+ # Immutable. The resource name of the encryption key specification resource.
13082
+ # Format: projects/`project`/locations/`location`/encryptionSpec
13083
+ # Corresponds to the JSON property `name`
13084
+ # @return [String]
13085
+ attr_accessor :name
13086
+
13087
+ def initialize(**args)
13088
+ update!(**args)
13089
+ end
13090
+
13091
+ # Update properties of this object
13092
+ def update!(**args)
13093
+ @kms_key = args[:kms_key] if args.key?(:kms_key)
13094
+ @name = args[:name] if args.key?(:name)
13095
+ end
13096
+ end
13097
+
12983
13098
  # Each intent parameter has a type, called the entity type, which dictates
12984
13099
  # exactly how data from an end-user expression is extracted. Dialogflow provides
12985
13100
  # predefined system entities that can match many common types of data. For
@@ -14716,6 +14831,45 @@ module Google
14716
14831
  end
14717
14832
  end
14718
14833
 
14834
+ # Metadata for initializing a location-level encryption specification.
14835
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
14836
+ include Google::Apis::Core::Hashable
14837
+
14838
+ # The request to initialize a location-level encryption specification.
14839
+ # Corresponds to the JSON property `request`
14840
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest]
14841
+ attr_accessor :request
14842
+
14843
+ def initialize(**args)
14844
+ update!(**args)
14845
+ end
14846
+
14847
+ # Update properties of this object
14848
+ def update!(**args)
14849
+ @request = args[:request] if args.key?(:request)
14850
+ end
14851
+ end
14852
+
14853
+ # The request to initialize a location-level encryption specification.
14854
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
14855
+ include Google::Apis::Core::Hashable
14856
+
14857
+ # A customer-managed encryption key specification that can be applied to all
14858
+ # created resources (e.g. Conversation).
14859
+ # Corresponds to the JSON property `encryptionSpec`
14860
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec]
14861
+ attr_accessor :encryption_spec
14862
+
14863
+ def initialize(**args)
14864
+ update!(**args)
14865
+ end
14866
+
14867
+ # Update properties of this object
14868
+ def update!(**args)
14869
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
14870
+ end
14871
+ end
14872
+
14719
14873
  # Instructs the speech recognizer on how to process the audio content.
14720
14874
  class GoogleCloudDialogflowV2beta1InputAudioConfig
14721
14875
  include Google::Apis::Core::Hashable
@@ -17438,6 +17592,11 @@ module Google
17438
17592
  # @return [String]
17439
17593
  attr_accessor :participant_role
17440
17594
 
17595
+ # Optional. Automated agent responses.
17596
+ # Corresponds to the JSON property `responseMessages`
17597
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage>]
17598
+ attr_accessor :response_messages
17599
+
17441
17600
  # Optional. The time when the message was sent.
17442
17601
  # Corresponds to the JSON property `sendTime`
17443
17602
  # @return [String]
@@ -17468,6 +17627,7 @@ module Google
17468
17627
  @name = args[:name] if args.key?(:name)
17469
17628
  @participant = args[:participant] if args.key?(:participant)
17470
17629
  @participant_role = args[:participant_role] if args.key?(:participant_role)
17630
+ @response_messages = args[:response_messages] if args.key?(:response_messages)
17471
17631
  @send_time = args[:send_time] if args.key?(:send_time)
17472
17632
  @sentiment_analysis = args[:sentiment_analysis] if args.key?(:sentiment_analysis)
17473
17633
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2beta1
18
18
  # Version of the google-apis-dialogflow_v2beta1 gem
19
- GEM_VERSION = "0.90.0"
19
+ GEM_VERSION = "0.91.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240617"
25
+ REVISION = "20240716"
26
26
  end
27
27
  end
28
28
  end
@@ -1414,6 +1414,12 @@ module Google
1414
1414
  include Google::Apis::Core::JsonObjectSupport
1415
1415
  end
1416
1416
 
1417
+ class GoogleCloudDialogflowV2EncryptionSpec
1418
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1419
+
1420
+ include Google::Apis::Core::JsonObjectSupport
1421
+ end
1422
+
1417
1423
  class GoogleCloudDialogflowV2EntityType
1418
1424
  class Representation < Google::Apis::Core::JsonRepresentation; end
1419
1425
 
@@ -1480,6 +1486,18 @@ module Google
1480
1486
  include Google::Apis::Core::JsonObjectSupport
1481
1487
  end
1482
1488
 
1489
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
1490
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1491
+
1492
+ include Google::Apis::Core::JsonObjectSupport
1493
+ end
1494
+
1495
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
1496
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1497
+
1498
+ include Google::Apis::Core::JsonObjectSupport
1499
+ end
1500
+
1483
1501
  class GoogleCloudDialogflowV2InputDataset
1484
1502
  class Representation < Google::Apis::Core::JsonRepresentation; end
1485
1503
 
@@ -2110,6 +2128,12 @@ module Google
2110
2128
  include Google::Apis::Core::JsonObjectSupport
2111
2129
  end
2112
2130
 
2131
+ class GoogleCloudDialogflowV2beta1EncryptionSpec
2132
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2133
+
2134
+ include Google::Apis::Core::JsonObjectSupport
2135
+ end
2136
+
2113
2137
  class GoogleCloudDialogflowV2beta1EntityType
2114
2138
  class Representation < Google::Apis::Core::JsonRepresentation; end
2115
2139
 
@@ -2404,6 +2428,18 @@ module Google
2404
2428
  include Google::Apis::Core::JsonObjectSupport
2405
2429
  end
2406
2430
 
2431
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
2432
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2433
+
2434
+ include Google::Apis::Core::JsonObjectSupport
2435
+ end
2436
+
2437
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
2438
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2439
+
2440
+ include Google::Apis::Core::JsonObjectSupport
2441
+ end
2442
+
2407
2443
  class GoogleCloudDialogflowV2beta1InputAudioConfig
2408
2444
  class Representation < Google::Apis::Core::JsonRepresentation; end
2409
2445
 
@@ -3612,6 +3648,7 @@ module Google
3612
3648
  property :name, as: 'name'
3613
3649
  property :target_flow, as: 'targetFlow'
3614
3650
  property :target_page, as: 'targetPage'
3651
+ property :target_playbook, as: 'targetPlaybook'
3615
3652
  property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Fulfillment::Representation
3616
3653
 
3617
3654
  end
@@ -4666,6 +4703,7 @@ module Google
4666
4703
  property :name, as: 'name'
4667
4704
  property :target_flow, as: 'targetFlow'
4668
4705
  property :target_page, as: 'targetPage'
4706
+ property :target_playbook, as: 'targetPlaybook'
4669
4707
  property :trigger_fulfillment, as: 'triggerFulfillment', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation
4670
4708
 
4671
4709
  end
@@ -5654,6 +5692,14 @@ module Google
5654
5692
  end
5655
5693
  end
5656
5694
 
5695
+ class GoogleCloudDialogflowV2EncryptionSpec
5696
+ # @private
5697
+ class Representation < Google::Apis::Core::JsonRepresentation
5698
+ property :kms_key, as: 'kmsKey'
5699
+ property :name, as: 'name'
5700
+ end
5701
+ end
5702
+
5657
5703
  class GoogleCloudDialogflowV2EntityType
5658
5704
  # @private
5659
5705
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5755,6 +5801,22 @@ module Google
5755
5801
  end
5756
5802
  end
5757
5803
 
5804
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata
5805
+ # @private
5806
+ class Representation < Google::Apis::Core::JsonRepresentation
5807
+ property :request, as: 'request', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2InitializeEncryptionSpecRequest::Representation
5808
+
5809
+ end
5810
+ end
5811
+
5812
+ class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest
5813
+ # @private
5814
+ class Representation < Google::Apis::Core::JsonRepresentation
5815
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EncryptionSpec, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EncryptionSpec::Representation
5816
+
5817
+ end
5818
+ end
5819
+
5758
5820
  class GoogleCloudDialogflowV2InputDataset
5759
5821
  # @private
5760
5822
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6905,6 +6967,14 @@ module Google
6905
6967
  end
6906
6968
  end
6907
6969
 
6970
+ class GoogleCloudDialogflowV2beta1EncryptionSpec
6971
+ # @private
6972
+ class Representation < Google::Apis::Core::JsonRepresentation
6973
+ property :kms_key, as: 'kmsKey'
6974
+ property :name, as: 'name'
6975
+ end
6976
+ end
6977
+
6908
6978
  class GoogleCloudDialogflowV2beta1EntityType
6909
6979
  # @private
6910
6980
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7383,6 +7453,22 @@ module Google
7383
7453
  end
7384
7454
  end
7385
7455
 
7456
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata
7457
+ # @private
7458
+ class Representation < Google::Apis::Core::JsonRepresentation
7459
+ property :request, as: 'request', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest::Representation
7460
+
7461
+ end
7462
+ end
7463
+
7464
+ class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest
7465
+ # @private
7466
+ class Representation < Google::Apis::Core::JsonRepresentation
7467
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec::Representation
7468
+
7469
+ end
7470
+ end
7471
+
7386
7472
  class GoogleCloudDialogflowV2beta1InputAudioConfig
7387
7473
  # @private
7388
7474
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8171,6 +8257,8 @@ module Google
8171
8257
  property :name, as: 'name'
8172
8258
  property :participant, as: 'participant'
8173
8259
  property :participant_role, as: 'participantRole'
8260
+ collection :response_messages, as: 'responseMessages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage::Representation
8261
+
8174
8262
  property :send_time, as: 'sendTime'
8175
8263
  property :sentiment_analysis, as: 'sentimentAnalysis', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SentimentAnalysisResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SentimentAnalysisResult::Representation
8176
8264
 
@@ -4847,6 +4847,36 @@ module Google
4847
4847
  execute_or_queue_command(command, &block)
4848
4848
  end
4849
4849
 
4850
+ # Gets location-level encryption key specification.
4851
+ # @param [String] name
4852
+ # Required. The name of the encryption spec resource to get.
4853
+ # @param [String] fields
4854
+ # Selector specifying which fields to include in a partial response.
4855
+ # @param [String] quota_user
4856
+ # Available to use for quota purposes for server-side applications. Can be any
4857
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4858
+ # @param [Google::Apis::RequestOptions] options
4859
+ # Request-specific options
4860
+ #
4861
+ # @yield [result, err] Result & error if block supplied
4862
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec] parsed result object
4863
+ # @yieldparam err [StandardError] error object if request failed
4864
+ #
4865
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec]
4866
+ #
4867
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4868
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4869
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4870
+ def get_project_location_encryption_spec(name, fields: nil, quota_user: nil, options: nil, &block)
4871
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
4872
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec::Representation
4873
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EncryptionSpec
4874
+ command.params['name'] = name unless name.nil?
4875
+ command.query['fields'] = fields unless fields.nil?
4876
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4877
+ execute_or_queue_command(command, &block)
4878
+ end
4879
+
4850
4880
  # Lists information about the supported locations for this service.
4851
4881
  # @param [String] name
4852
4882
  # The resource that owns the locations collection, if applicable.
@@ -8417,6 +8447,44 @@ module Google
8417
8447
  execute_or_queue_command(command, &block)
8418
8448
  end
8419
8449
 
8450
+ # Initializes a location-level encryption key specification. An error will be
8451
+ # thrown if the location has resources already created before the initialization.
8452
+ # Once the encryption specification is initialized at a location, it is
8453
+ # immutable and all newly created resources under the location will be encrypted
8454
+ # with the existing specification.
8455
+ # @param [String] name
8456
+ # Immutable. The resource name of the encryption key specification resource.
8457
+ # Format: projects/`project`/locations/`location`/encryptionSpec
8458
+ # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest] google_cloud_dialogflow_v2beta1_initialize_encryption_spec_request_object
8459
+ # @param [String] fields
8460
+ # Selector specifying which fields to include in a partial response.
8461
+ # @param [String] quota_user
8462
+ # Available to use for quota purposes for server-side applications. Can be any
8463
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8464
+ # @param [Google::Apis::RequestOptions] options
8465
+ # Request-specific options
8466
+ #
8467
+ # @yield [result, err] Result & error if block supplied
8468
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
8469
+ # @yieldparam err [StandardError] error object if request failed
8470
+ #
8471
+ # @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
8472
+ #
8473
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8474
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8475
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8476
+ def initialize_project_location_encryption_spec(name, google_cloud_dialogflow_v2beta1_initialize_encryption_spec_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
8477
+ command = make_simple_command(:post, 'v2beta1/{+name}:initialize', options)
8478
+ command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest::Representation
8479
+ command.request_object = google_cloud_dialogflow_v2beta1_initialize_encryption_spec_request_object
8480
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
8481
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
8482
+ command.params['name'] = name unless name.nil?
8483
+ command.query['fields'] = fields unless fields.nil?
8484
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8485
+ execute_or_queue_command(command, &block)
8486
+ end
8487
+
8420
8488
  # Creates a generator.
8421
8489
  # @param [String] parent
8422
8490
  # Required. The project/location to create generator for. Format: `projects//
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.90.0
4
+ version: 0.91.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-27 00:00:00.000000000 Z
11
+ date: 2024-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.90.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.91.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
63
63
  post_install_message:
64
64
  rdoc_options: []