google-cloud-dialogflow-cx-v3 1.9.0 → 1.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +20 -3
  3. data/lib/google/cloud/dialogflow/cx/v3/agents/operations.rb +32 -4
  4. data/lib/google/cloud/dialogflow/cx/v3/agents/rest/operations.rb +12 -1
  5. data/lib/google/cloud/dialogflow/cx/v3/changelogs/client.rb +20 -3
  6. data/lib/google/cloud/dialogflow/cx/v3/deployments/client.rb +20 -3
  7. data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +20 -3
  8. data/lib/google/cloud/dialogflow/cx/v3/entity_types/operations.rb +32 -4
  9. data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/operations.rb +12 -1
  10. data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +20 -3
  11. data/lib/google/cloud/dialogflow/cx/v3/environments/operations.rb +32 -4
  12. data/lib/google/cloud/dialogflow/cx/v3/environments/rest/operations.rb +12 -1
  13. data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +20 -3
  14. data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +20 -3
  15. data/lib/google/cloud/dialogflow/cx/v3/flows/operations.rb +32 -4
  16. data/lib/google/cloud/dialogflow/cx/v3/flows/rest/operations.rb +12 -1
  17. data/lib/google/cloud/dialogflow/cx/v3/generators/client.rb +20 -3
  18. data/lib/google/cloud/dialogflow/cx/v3/intents/client.rb +20 -3
  19. data/lib/google/cloud/dialogflow/cx/v3/intents/operations.rb +32 -4
  20. data/lib/google/cloud/dialogflow/cx/v3/intents/rest/operations.rb +12 -1
  21. data/lib/google/cloud/dialogflow/cx/v3/pages/client.rb +20 -3
  22. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +20 -3
  23. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +20 -3
  24. data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +20 -3
  25. data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +20 -3
  26. data/lib/google/cloud/dialogflow/cx/v3/test_cases/operations.rb +32 -4
  27. data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/operations.rb +12 -1
  28. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +20 -3
  29. data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
  30. data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +20 -3
  31. data/lib/google/cloud/dialogflow/cx/v3/versions/operations.rb +32 -4
  32. data/lib/google/cloud/dialogflow/cx/v3/versions/rest/operations.rb +12 -1
  33. data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +20 -3
  34. data/proto_docs/google/longrunning/operations.rb +18 -0
  35. metadata +1 -1
@@ -126,7 +126,7 @@ module Google
126
126
  # @param options [::Gapic::CallOptions, ::Hash]
127
127
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
128
128
  #
129
- # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
129
+ # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
130
130
  # Pass arguments to `list_operations` via keyword arguments. Note that at
131
131
  # least one keyword argument is required. To specify no parameters, or to keep all
132
132
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -139,6 +139,17 @@ module Google
139
139
  # The standard list page size.
140
140
  # @param page_token [::String]
141
141
  # The standard list page token.
142
+ # @param return_partial_success [::Boolean]
143
+ # When set to `true`, operations that are reachable are returned as normal,
144
+ # and those that are unreachable are returned in the
145
+ # [ListOperationsResponse.unreachable] field.
146
+ #
147
+ # This can only be `true` when reading across collections e.g. when `parent`
148
+ # is set to `"projects/example/locations/-"`.
149
+ #
150
+ # This field is not by default supported and will result in an
151
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
152
+ # service or product specific documentation.
142
153
  # @yield [result, operation] Access the result along with the TransportOperation object
143
154
  # @yieldparam result [::Gapic::Operation]
144
155
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -698,8 +698,6 @@ module Google
698
698
  # @return [::String,nil]
699
699
  # @!attribute [rw] credentials
700
700
  # Credentials to send with calls. You may provide any of the following types:
701
- # * (`String`) The path to a service account key file in JSON format
702
- # * (`Hash`) A service account key as a Hash
703
701
  # * (`Google::Auth::Credentials`) A googleauth credentials object
704
702
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
705
703
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -708,7 +706,26 @@ module Google
708
706
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
709
707
  # * (`nil`) indicating no credentials
710
708
  #
711
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
709
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
710
+ # is deprecated. Providing an unvalidated credential configuration to
711
+ # Google APIs can compromise the security of your systems and data.
712
+ #
713
+ # @example
714
+ #
715
+ # # The recommended way to provide credentials is to use the `make_creds` method
716
+ # # on the appropriate credentials class for your environment.
717
+ #
718
+ # require "googleauth"
719
+ #
720
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
721
+ # json_key_io: ::File.open("/path/to/keyfile.json")
722
+ # )
723
+ #
724
+ # client = ::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client.new do |config|
725
+ # config.credentials = credentials
726
+ # end
727
+ #
728
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
712
729
  # external source for authentication to Google Cloud, you must validate it before
713
730
  # providing it to a Google API client library. Providing an unvalidated credential
714
731
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -83,6 +83,18 @@ module Google
83
83
  # @!attribute [rw] page_token
84
84
  # @return [::String]
85
85
  # The standard list page token.
86
+ # @!attribute [rw] return_partial_success
87
+ # @return [::Boolean]
88
+ # When set to `true`, operations that are reachable are returned as normal,
89
+ # and those that are unreachable are returned in the
90
+ # [ListOperationsResponse.unreachable] field.
91
+ #
92
+ # This can only be `true` when reading across collections e.g. when `parent`
93
+ # is set to `"projects/example/locations/-"`.
94
+ #
95
+ # This field is not by default supported and will result in an
96
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
97
+ # service or product specific documentation.
86
98
  class ListOperationsRequest
87
99
  include ::Google::Protobuf::MessageExts
88
100
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -96,6 +108,12 @@ module Google
96
108
  # @!attribute [rw] next_page_token
97
109
  # @return [::String]
98
110
  # The standard List next-page token.
111
+ # @!attribute [rw] unreachable
112
+ # @return [::Array<::String>]
113
+ # Unordered list. Unreachable resources. Populated when the request sets
114
+ # `ListOperationsRequest.return_partial_success` and reads across
115
+ # collections e.g. when attempting to list all resources across all supported
116
+ # locations.
99
117
  class ListOperationsResponse
100
118
  include ::Google::Protobuf::MessageExts
101
119
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dialogflow-cx-v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC