Class: Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client::Configuration
- Inherits:
-
Object
- Object
- Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Rest::Client::Configuration
- Extended by:
- Gapic::Config
- Defined in:
- lib/google/cloud/contact_center_insights/v1/contact_center_insights/rest/client.rb
Overview
Configuration class for the ContactCenterInsights REST API.
This class represents the configuration for ContactCenterInsights REST, providing control over timeouts, retry behavior, logging, transport parameters, and other low-level controls. Certain parameters can also be applied individually to specific RPCs. See Rpcs for a list of RPCs that can be configured independently.
Configuration can be applied globally to all clients, or to a single client on construction.
Defined Under Namespace
Classes: Rpcs
Instance Attribute Summary collapse
-
#credentials ⇒ ::Object
Credentials to send with calls.
-
#endpoint ⇒ ::String?
A custom service endpoint, as a hostname or hostname:port.
-
#lib_name ⇒ ::String
The library name as recorded in instrumentation and logging.
-
#lib_version ⇒ ::String
The library version as recorded in instrumentation and logging.
-
#metadata ⇒ ::Hash{::Symbol=>::String}
Additional headers to be sent with the call.
-
#quota_project ⇒ ::String
A separate project against which to charge quota.
-
#retry_policy ⇒ ::Hash
The retry policy.
-
#scope ⇒ ::Array<::String>
The OAuth scopes.
-
#timeout ⇒ ::Numeric
The call timeout in seconds.
-
#universe_domain ⇒ ::String?
The universe domain within which to make requests.
Instance Method Summary collapse
-
#rpcs ⇒ Rpcs
Configurations for individual RPCs.
Instance Attribute Details
#credentials ⇒ ::Object
Credentials to send with calls. You may provide any of the following types:
- (
String
) The path to a service account key file in JSON format - (
Hash
) A service account key as a Hash - (
Google::Auth::Credentials
) A googleauth credentials object (see the googleauth docs) - (
Signet::OAuth2::Client
) A signet oauth2 client object (see the signet docs) - (
nil
) indicating no credentials
3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 |
# File 'lib/google/cloud/contact_center_insights/v1/contact_center_insights/rest/client.rb', line 3979 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "contactcenterinsights.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil config_attr :universe_domain, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the ContactCenterInsights API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `create_conversation` # @return [::Gapic::Config::Method] # attr_reader :create_conversation ## # RPC-specific configuration for `upload_conversation` # @return [::Gapic::Config::Method] # attr_reader :upload_conversation ## # RPC-specific configuration for `update_conversation` # @return [::Gapic::Config::Method] # attr_reader :update_conversation ## # RPC-specific configuration for `get_conversation` # @return [::Gapic::Config::Method] # attr_reader :get_conversation ## # RPC-specific configuration for `list_conversations` # @return [::Gapic::Config::Method] # attr_reader :list_conversations ## # RPC-specific configuration for `delete_conversation` # @return [::Gapic::Config::Method] # attr_reader :delete_conversation ## # RPC-specific configuration for `create_analysis` # @return [::Gapic::Config::Method] # attr_reader :create_analysis ## # RPC-specific configuration for `get_analysis` # @return [::Gapic::Config::Method] # attr_reader :get_analysis ## # RPC-specific configuration for `list_analyses` # @return [::Gapic::Config::Method] # attr_reader :list_analyses ## # RPC-specific configuration for `delete_analysis` # @return [::Gapic::Config::Method] # attr_reader :delete_analysis ## # RPC-specific configuration for `bulk_analyze_conversations` # @return [::Gapic::Config::Method] # attr_reader :bulk_analyze_conversations ## # RPC-specific configuration for `bulk_delete_conversations` # @return [::Gapic::Config::Method] # attr_reader :bulk_delete_conversations ## # RPC-specific configuration for `ingest_conversations` # @return [::Gapic::Config::Method] # attr_reader :ingest_conversations ## # RPC-specific configuration for `export_insights_data` # @return [::Gapic::Config::Method] # attr_reader :export_insights_data ## # RPC-specific configuration for `create_issue_model` # @return [::Gapic::Config::Method] # attr_reader :create_issue_model ## # RPC-specific configuration for `update_issue_model` # @return [::Gapic::Config::Method] # attr_reader :update_issue_model ## # RPC-specific configuration for `get_issue_model` # @return [::Gapic::Config::Method] # attr_reader :get_issue_model ## # RPC-specific configuration for `list_issue_models` # @return [::Gapic::Config::Method] # attr_reader :list_issue_models ## # RPC-specific configuration for `delete_issue_model` # @return [::Gapic::Config::Method] # attr_reader :delete_issue_model ## # RPC-specific configuration for `deploy_issue_model` # @return [::Gapic::Config::Method] # attr_reader :deploy_issue_model ## # RPC-specific configuration for `undeploy_issue_model` # @return [::Gapic::Config::Method] # attr_reader :undeploy_issue_model ## # RPC-specific configuration for `export_issue_model` # @return [::Gapic::Config::Method] # attr_reader :export_issue_model ## # RPC-specific configuration for `import_issue_model` # @return [::Gapic::Config::Method] # attr_reader :import_issue_model ## # RPC-specific configuration for `get_issue` # @return [::Gapic::Config::Method] # attr_reader :get_issue ## # RPC-specific configuration for `list_issues` # @return [::Gapic::Config::Method] # attr_reader :list_issues ## # RPC-specific configuration for `update_issue` # @return [::Gapic::Config::Method] # attr_reader :update_issue ## # RPC-specific configuration for `delete_issue` # @return [::Gapic::Config::Method] # attr_reader :delete_issue ## # RPC-specific configuration for `calculate_issue_model_stats` # @return [::Gapic::Config::Method] # attr_reader :calculate_issue_model_stats ## # RPC-specific configuration for `create_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :create_phrase_matcher ## # RPC-specific configuration for `get_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :get_phrase_matcher ## # RPC-specific configuration for `list_phrase_matchers` # @return [::Gapic::Config::Method] # attr_reader :list_phrase_matchers ## # RPC-specific configuration for `delete_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :delete_phrase_matcher ## # RPC-specific configuration for `update_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :update_phrase_matcher ## # RPC-specific configuration for `calculate_stats` # @return [::Gapic::Config::Method] # attr_reader :calculate_stats ## # RPC-specific configuration for `get_settings` # @return [::Gapic::Config::Method] # attr_reader :get_settings ## # RPC-specific configuration for `update_settings` # @return [::Gapic::Config::Method] # attr_reader :update_settings ## # RPC-specific configuration for `get_encryption_spec` # @return [::Gapic::Config::Method] # attr_reader :get_encryption_spec ## # RPC-specific configuration for `initialize_encryption_spec` # @return [::Gapic::Config::Method] # attr_reader :initialize_encryption_spec ## # RPC-specific configuration for `create_view` # @return [::Gapic::Config::Method] # attr_reader :create_view ## # RPC-specific configuration for `get_view` # @return [::Gapic::Config::Method] # attr_reader :get_view ## # RPC-specific configuration for `list_views` # @return [::Gapic::Config::Method] # attr_reader :list_views ## # RPC-specific configuration for `update_view` # @return [::Gapic::Config::Method] # attr_reader :update_view ## # RPC-specific configuration for `delete_view` # @return [::Gapic::Config::Method] # attr_reader :delete_view # @private def initialize parent_rpcs = nil create_conversation_config = parent_rpcs.create_conversation if parent_rpcs.respond_to? :create_conversation @create_conversation = ::Gapic::Config::Method.new create_conversation_config upload_conversation_config = parent_rpcs.upload_conversation if parent_rpcs.respond_to? :upload_conversation @upload_conversation = ::Gapic::Config::Method.new upload_conversation_config update_conversation_config = parent_rpcs.update_conversation if parent_rpcs.respond_to? :update_conversation @update_conversation = ::Gapic::Config::Method.new update_conversation_config get_conversation_config = parent_rpcs.get_conversation if parent_rpcs.respond_to? :get_conversation @get_conversation = ::Gapic::Config::Method.new get_conversation_config list_conversations_config = parent_rpcs.list_conversations if parent_rpcs.respond_to? :list_conversations @list_conversations = ::Gapic::Config::Method.new list_conversations_config delete_conversation_config = parent_rpcs.delete_conversation if parent_rpcs.respond_to? :delete_conversation @delete_conversation = ::Gapic::Config::Method.new delete_conversation_config create_analysis_config = parent_rpcs.create_analysis if parent_rpcs.respond_to? :create_analysis @create_analysis = ::Gapic::Config::Method.new create_analysis_config get_analysis_config = parent_rpcs.get_analysis if parent_rpcs.respond_to? :get_analysis @get_analysis = ::Gapic::Config::Method.new get_analysis_config list_analyses_config = parent_rpcs.list_analyses if parent_rpcs.respond_to? :list_analyses @list_analyses = ::Gapic::Config::Method.new list_analyses_config delete_analysis_config = parent_rpcs.delete_analysis if parent_rpcs.respond_to? :delete_analysis @delete_analysis = ::Gapic::Config::Method.new delete_analysis_config bulk_analyze_conversations_config = parent_rpcs.bulk_analyze_conversations if parent_rpcs.respond_to? :bulk_analyze_conversations @bulk_analyze_conversations = ::Gapic::Config::Method.new bulk_analyze_conversations_config bulk_delete_conversations_config = parent_rpcs.bulk_delete_conversations if parent_rpcs.respond_to? :bulk_delete_conversations @bulk_delete_conversations = ::Gapic::Config::Method.new bulk_delete_conversations_config ingest_conversations_config = parent_rpcs.ingest_conversations if parent_rpcs.respond_to? :ingest_conversations @ingest_conversations = ::Gapic::Config::Method.new ingest_conversations_config export_insights_data_config = parent_rpcs.export_insights_data if parent_rpcs.respond_to? :export_insights_data @export_insights_data = ::Gapic::Config::Method.new export_insights_data_config create_issue_model_config = parent_rpcs.create_issue_model if parent_rpcs.respond_to? :create_issue_model @create_issue_model = ::Gapic::Config::Method.new create_issue_model_config update_issue_model_config = parent_rpcs.update_issue_model if parent_rpcs.respond_to? :update_issue_model @update_issue_model = ::Gapic::Config::Method.new update_issue_model_config get_issue_model_config = parent_rpcs.get_issue_model if parent_rpcs.respond_to? :get_issue_model @get_issue_model = ::Gapic::Config::Method.new get_issue_model_config list_issue_models_config = parent_rpcs.list_issue_models if parent_rpcs.respond_to? :list_issue_models @list_issue_models = ::Gapic::Config::Method.new list_issue_models_config delete_issue_model_config = parent_rpcs.delete_issue_model if parent_rpcs.respond_to? :delete_issue_model @delete_issue_model = ::Gapic::Config::Method.new delete_issue_model_config deploy_issue_model_config = parent_rpcs.deploy_issue_model if parent_rpcs.respond_to? :deploy_issue_model @deploy_issue_model = ::Gapic::Config::Method.new deploy_issue_model_config undeploy_issue_model_config = parent_rpcs.undeploy_issue_model if parent_rpcs.respond_to? :undeploy_issue_model @undeploy_issue_model = ::Gapic::Config::Method.new undeploy_issue_model_config export_issue_model_config = parent_rpcs.export_issue_model if parent_rpcs.respond_to? :export_issue_model @export_issue_model = ::Gapic::Config::Method.new export_issue_model_config import_issue_model_config = parent_rpcs.import_issue_model if parent_rpcs.respond_to? :import_issue_model @import_issue_model = ::Gapic::Config::Method.new import_issue_model_config get_issue_config = parent_rpcs.get_issue if parent_rpcs.respond_to? :get_issue @get_issue = ::Gapic::Config::Method.new get_issue_config list_issues_config = parent_rpcs.list_issues if parent_rpcs.respond_to? :list_issues @list_issues = ::Gapic::Config::Method.new list_issues_config update_issue_config = parent_rpcs.update_issue if parent_rpcs.respond_to? :update_issue @update_issue = ::Gapic::Config::Method.new update_issue_config delete_issue_config = parent_rpcs.delete_issue if parent_rpcs.respond_to? :delete_issue @delete_issue = ::Gapic::Config::Method.new delete_issue_config calculate_issue_model_stats_config = parent_rpcs.calculate_issue_model_stats if parent_rpcs.respond_to? :calculate_issue_model_stats @calculate_issue_model_stats = ::Gapic::Config::Method.new calculate_issue_model_stats_config create_phrase_matcher_config = parent_rpcs.create_phrase_matcher if parent_rpcs.respond_to? :create_phrase_matcher @create_phrase_matcher = ::Gapic::Config::Method.new create_phrase_matcher_config get_phrase_matcher_config = parent_rpcs.get_phrase_matcher if parent_rpcs.respond_to? :get_phrase_matcher @get_phrase_matcher = ::Gapic::Config::Method.new get_phrase_matcher_config list_phrase_matchers_config = parent_rpcs.list_phrase_matchers if parent_rpcs.respond_to? :list_phrase_matchers @list_phrase_matchers = ::Gapic::Config::Method.new list_phrase_matchers_config delete_phrase_matcher_config = parent_rpcs.delete_phrase_matcher if parent_rpcs.respond_to? :delete_phrase_matcher @delete_phrase_matcher = ::Gapic::Config::Method.new delete_phrase_matcher_config update_phrase_matcher_config = parent_rpcs.update_phrase_matcher if parent_rpcs.respond_to? :update_phrase_matcher @update_phrase_matcher = ::Gapic::Config::Method.new update_phrase_matcher_config calculate_stats_config = parent_rpcs.calculate_stats if parent_rpcs.respond_to? :calculate_stats @calculate_stats = ::Gapic::Config::Method.new calculate_stats_config get_settings_config = parent_rpcs.get_settings if parent_rpcs.respond_to? :get_settings @get_settings = ::Gapic::Config::Method.new get_settings_config update_settings_config = parent_rpcs.update_settings if parent_rpcs.respond_to? :update_settings @update_settings = ::Gapic::Config::Method.new update_settings_config get_encryption_spec_config = parent_rpcs.get_encryption_spec if parent_rpcs.respond_to? :get_encryption_spec @get_encryption_spec = ::Gapic::Config::Method.new get_encryption_spec_config initialize_encryption_spec_config = parent_rpcs.initialize_encryption_spec if parent_rpcs.respond_to? :initialize_encryption_spec @initialize_encryption_spec = ::Gapic::Config::Method.new initialize_encryption_spec_config create_view_config = parent_rpcs.create_view if parent_rpcs.respond_to? :create_view @create_view = ::Gapic::Config::Method.new create_view_config get_view_config = parent_rpcs.get_view if parent_rpcs.respond_to? :get_view @get_view = ::Gapic::Config::Method.new get_view_config list_views_config = parent_rpcs.list_views if parent_rpcs.respond_to? :list_views @list_views = ::Gapic::Config::Method.new list_views_config update_view_config = parent_rpcs.update_view if parent_rpcs.respond_to? :update_view @update_view = ::Gapic::Config::Method.new update_view_config delete_view_config = parent_rpcs.delete_view if parent_rpcs.respond_to? :delete_view @delete_view = ::Gapic::Config::Method.new delete_view_config yield self if block_given? end end end |
#endpoint ⇒ ::String?
A custom service endpoint, as a hostname or hostname:port. The default is nil, indicating to use the default endpoint in the current universe domain.
3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 |
# File 'lib/google/cloud/contact_center_insights/v1/contact_center_insights/rest/client.rb', line 3979 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "contactcenterinsights.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil config_attr :universe_domain, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the ContactCenterInsights API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `create_conversation` # @return [::Gapic::Config::Method] # attr_reader :create_conversation ## # RPC-specific configuration for `upload_conversation` # @return [::Gapic::Config::Method] # attr_reader :upload_conversation ## # RPC-specific configuration for `update_conversation` # @return [::Gapic::Config::Method] # attr_reader :update_conversation ## # RPC-specific configuration for `get_conversation` # @return [::Gapic::Config::Method] # attr_reader :get_conversation ## # RPC-specific configuration for `list_conversations` # @return [::Gapic::Config::Method] # attr_reader :list_conversations ## # RPC-specific configuration for `delete_conversation` # @return [::Gapic::Config::Method] # attr_reader :delete_conversation ## # RPC-specific configuration for `create_analysis` # @return [::Gapic::Config::Method] # attr_reader :create_analysis ## # RPC-specific configuration for `get_analysis` # @return [::Gapic::Config::Method] # attr_reader :get_analysis ## # RPC-specific configuration for `list_analyses` # @return [::Gapic::Config::Method] # attr_reader :list_analyses ## # RPC-specific configuration for `delete_analysis` # @return [::Gapic::Config::Method] # attr_reader :delete_analysis ## # RPC-specific configuration for `bulk_analyze_conversations` # @return [::Gapic::Config::Method] # attr_reader :bulk_analyze_conversations ## # RPC-specific configuration for `bulk_delete_conversations` # @return [::Gapic::Config::Method] # attr_reader :bulk_delete_conversations ## # RPC-specific configuration for `ingest_conversations` # @return [::Gapic::Config::Method] # attr_reader :ingest_conversations ## # RPC-specific configuration for `export_insights_data` # @return [::Gapic::Config::Method] # attr_reader :export_insights_data ## # RPC-specific configuration for `create_issue_model` # @return [::Gapic::Config::Method] # attr_reader :create_issue_model ## # RPC-specific configuration for `update_issue_model` # @return [::Gapic::Config::Method] # attr_reader :update_issue_model ## # RPC-specific configuration for `get_issue_model` # @return [::Gapic::Config::Method] # attr_reader :get_issue_model ## # RPC-specific configuration for `list_issue_models` # @return [::Gapic::Config::Method] # attr_reader :list_issue_models ## # RPC-specific configuration for `delete_issue_model` # @return [::Gapic::Config::Method] # attr_reader :delete_issue_model ## # RPC-specific configuration for `deploy_issue_model` # @return [::Gapic::Config::Method] # attr_reader :deploy_issue_model ## # RPC-specific configuration for `undeploy_issue_model` # @return [::Gapic::Config::Method] # attr_reader :undeploy_issue_model ## # RPC-specific configuration for `export_issue_model` # @return [::Gapic::Config::Method] # attr_reader :export_issue_model ## # RPC-specific configuration for `import_issue_model` # @return [::Gapic::Config::Method] # attr_reader :import_issue_model ## # RPC-specific configuration for `get_issue` # @return [::Gapic::Config::Method] # attr_reader :get_issue ## # RPC-specific configuration for `list_issues` # @return [::Gapic::Config::Method] # attr_reader :list_issues ## # RPC-specific configuration for `update_issue` # @return [::Gapic::Config::Method] # attr_reader :update_issue ## # RPC-specific configuration for `delete_issue` # @return [::Gapic::Config::Method] # attr_reader :delete_issue ## # RPC-specific configuration for `calculate_issue_model_stats` # @return [::Gapic::Config::Method] # attr_reader :calculate_issue_model_stats ## # RPC-specific configuration for `create_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :create_phrase_matcher ## # RPC-specific configuration for `get_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :get_phrase_matcher ## # RPC-specific configuration for `list_phrase_matchers` # @return [::Gapic::Config::Method] # attr_reader :list_phrase_matchers ## # RPC-specific configuration for `delete_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :delete_phrase_matcher ## # RPC-specific configuration for `update_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :update_phrase_matcher ## # RPC-specific configuration for `calculate_stats` # @return [::Gapic::Config::Method] # attr_reader :calculate_stats ## # RPC-specific configuration for `get_settings` # @return [::Gapic::Config::Method] # attr_reader :get_settings ## # RPC-specific configuration for `update_settings` # @return [::Gapic::Config::Method] # attr_reader :update_settings ## # RPC-specific configuration for `get_encryption_spec` # @return [::Gapic::Config::Method] # attr_reader :get_encryption_spec ## # RPC-specific configuration for `initialize_encryption_spec` # @return [::Gapic::Config::Method] # attr_reader :initialize_encryption_spec ## # RPC-specific configuration for `create_view` # @return [::Gapic::Config::Method] # attr_reader :create_view ## # RPC-specific configuration for `get_view` # @return [::Gapic::Config::Method] # attr_reader :get_view ## # RPC-specific configuration for `list_views` # @return [::Gapic::Config::Method] # attr_reader :list_views ## # RPC-specific configuration for `update_view` # @return [::Gapic::Config::Method] # attr_reader :update_view ## # RPC-specific configuration for `delete_view` # @return [::Gapic::Config::Method] # attr_reader :delete_view # @private def initialize parent_rpcs = nil create_conversation_config = parent_rpcs.create_conversation if parent_rpcs.respond_to? :create_conversation @create_conversation = ::Gapic::Config::Method.new create_conversation_config upload_conversation_config = parent_rpcs.upload_conversation if parent_rpcs.respond_to? :upload_conversation @upload_conversation = ::Gapic::Config::Method.new upload_conversation_config update_conversation_config = parent_rpcs.update_conversation if parent_rpcs.respond_to? :update_conversation @update_conversation = ::Gapic::Config::Method.new update_conversation_config get_conversation_config = parent_rpcs.get_conversation if parent_rpcs.respond_to? :get_conversation @get_conversation = ::Gapic::Config::Method.new get_conversation_config list_conversations_config = parent_rpcs.list_conversations if parent_rpcs.respond_to? :list_conversations @list_conversations = ::Gapic::Config::Method.new list_conversations_config delete_conversation_config = parent_rpcs.delete_conversation if parent_rpcs.respond_to? :delete_conversation @delete_conversation = ::Gapic::Config::Method.new delete_conversation_config create_analysis_config = parent_rpcs.create_analysis if parent_rpcs.respond_to? :create_analysis @create_analysis = ::Gapic::Config::Method.new create_analysis_config get_analysis_config = parent_rpcs.get_analysis if parent_rpcs.respond_to? :get_analysis @get_analysis = ::Gapic::Config::Method.new get_analysis_config list_analyses_config = parent_rpcs.list_analyses if parent_rpcs.respond_to? :list_analyses @list_analyses = ::Gapic::Config::Method.new list_analyses_config delete_analysis_config = parent_rpcs.delete_analysis if parent_rpcs.respond_to? :delete_analysis @delete_analysis = ::Gapic::Config::Method.new delete_analysis_config bulk_analyze_conversations_config = parent_rpcs.bulk_analyze_conversations if parent_rpcs.respond_to? :bulk_analyze_conversations @bulk_analyze_conversations = ::Gapic::Config::Method.new bulk_analyze_conversations_config bulk_delete_conversations_config = parent_rpcs.bulk_delete_conversations if parent_rpcs.respond_to? :bulk_delete_conversations @bulk_delete_conversations = ::Gapic::Config::Method.new bulk_delete_conversations_config ingest_conversations_config = parent_rpcs.ingest_conversations if parent_rpcs.respond_to? :ingest_conversations @ingest_conversations = ::Gapic::Config::Method.new ingest_conversations_config export_insights_data_config = parent_rpcs.export_insights_data if parent_rpcs.respond_to? :export_insights_data @export_insights_data = ::Gapic::Config::Method.new export_insights_data_config create_issue_model_config = parent_rpcs.create_issue_model if parent_rpcs.respond_to? :create_issue_model @create_issue_model = ::Gapic::Config::Method.new create_issue_model_config update_issue_model_config = parent_rpcs.update_issue_model if parent_rpcs.respond_to? :update_issue_model @update_issue_model = ::Gapic::Config::Method.new update_issue_model_config get_issue_model_config = parent_rpcs.get_issue_model if parent_rpcs.respond_to? :get_issue_model @get_issue_model = ::Gapic::Config::Method.new get_issue_model_config list_issue_models_config = parent_rpcs.list_issue_models if parent_rpcs.respond_to? :list_issue_models @list_issue_models = ::Gapic::Config::Method.new list_issue_models_config delete_issue_model_config = parent_rpcs.delete_issue_model if parent_rpcs.respond_to? :delete_issue_model @delete_issue_model = ::Gapic::Config::Method.new delete_issue_model_config deploy_issue_model_config = parent_rpcs.deploy_issue_model if parent_rpcs.respond_to? :deploy_issue_model @deploy_issue_model = ::Gapic::Config::Method.new deploy_issue_model_config undeploy_issue_model_config = parent_rpcs.undeploy_issue_model if parent_rpcs.respond_to? :undeploy_issue_model @undeploy_issue_model = ::Gapic::Config::Method.new undeploy_issue_model_config export_issue_model_config = parent_rpcs.export_issue_model if parent_rpcs.respond_to? :export_issue_model @export_issue_model = ::Gapic::Config::Method.new export_issue_model_config import_issue_model_config = parent_rpcs.import_issue_model if parent_rpcs.respond_to? :import_issue_model @import_issue_model = ::Gapic::Config::Method.new import_issue_model_config get_issue_config = parent_rpcs.get_issue if parent_rpcs.respond_to? :get_issue @get_issue = ::Gapic::Config::Method.new get_issue_config list_issues_config = parent_rpcs.list_issues if parent_rpcs.respond_to? :list_issues @list_issues = ::Gapic::Config::Method.new list_issues_config update_issue_config = parent_rpcs.update_issue if parent_rpcs.respond_to? :update_issue @update_issue = ::Gapic::Config::Method.new update_issue_config delete_issue_config = parent_rpcs.delete_issue if parent_rpcs.respond_to? :delete_issue @delete_issue = ::Gapic::Config::Method.new delete_issue_config calculate_issue_model_stats_config = parent_rpcs.calculate_issue_model_stats if parent_rpcs.respond_to? :calculate_issue_model_stats @calculate_issue_model_stats = ::Gapic::Config::Method.new calculate_issue_model_stats_config create_phrase_matcher_config = parent_rpcs.create_phrase_matcher if parent_rpcs.respond_to? :create_phrase_matcher @create_phrase_matcher = ::Gapic::Config::Method.new create_phrase_matcher_config get_phrase_matcher_config = parent_rpcs.get_phrase_matcher if parent_rpcs.respond_to? :get_phrase_matcher @get_phrase_matcher = ::Gapic::Config::Method.new get_phrase_matcher_config list_phrase_matchers_config = parent_rpcs.list_phrase_matchers if parent_rpcs.respond_to? :list_phrase_matchers @list_phrase_matchers = ::Gapic::Config::Method.new list_phrase_matchers_config delete_phrase_matcher_config = parent_rpcs.delete_phrase_matcher if parent_rpcs.respond_to? :delete_phrase_matcher @delete_phrase_matcher = ::Gapic::Config::Method.new delete_phrase_matcher_config update_phrase_matcher_config = parent_rpcs.update_phrase_matcher if parent_rpcs.respond_to? :update_phrase_matcher @update_phrase_matcher = ::Gapic::Config::Method.new update_phrase_matcher_config calculate_stats_config = parent_rpcs.calculate_stats if parent_rpcs.respond_to? :calculate_stats @calculate_stats = ::Gapic::Config::Method.new calculate_stats_config get_settings_config = parent_rpcs.get_settings if parent_rpcs.respond_to? :get_settings @get_settings = ::Gapic::Config::Method.new get_settings_config update_settings_config = parent_rpcs.update_settings if parent_rpcs.respond_to? :update_settings @update_settings = ::Gapic::Config::Method.new update_settings_config get_encryption_spec_config = parent_rpcs.get_encryption_spec if parent_rpcs.respond_to? :get_encryption_spec @get_encryption_spec = ::Gapic::Config::Method.new get_encryption_spec_config initialize_encryption_spec_config = parent_rpcs.initialize_encryption_spec if parent_rpcs.respond_to? :initialize_encryption_spec @initialize_encryption_spec = ::Gapic::Config::Method.new initialize_encryption_spec_config create_view_config = parent_rpcs.create_view if parent_rpcs.respond_to? :create_view @create_view = ::Gapic::Config::Method.new create_view_config get_view_config = parent_rpcs.get_view if parent_rpcs.respond_to? :get_view @get_view = ::Gapic::Config::Method.new get_view_config list_views_config = parent_rpcs.list_views if parent_rpcs.respond_to? :list_views @list_views = ::Gapic::Config::Method.new list_views_config update_view_config = parent_rpcs.update_view if parent_rpcs.respond_to? :update_view @update_view = ::Gapic::Config::Method.new update_view_config delete_view_config = parent_rpcs.delete_view if parent_rpcs.respond_to? :delete_view @delete_view = ::Gapic::Config::Method.new delete_view_config yield self if block_given? end end end |
#lib_name ⇒ ::String
The library name as recorded in instrumentation and logging
3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 |
# File 'lib/google/cloud/contact_center_insights/v1/contact_center_insights/rest/client.rb', line 3979 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "contactcenterinsights.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil config_attr :universe_domain, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the ContactCenterInsights API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `create_conversation` # @return [::Gapic::Config::Method] # attr_reader :create_conversation ## # RPC-specific configuration for `upload_conversation` # @return [::Gapic::Config::Method] # attr_reader :upload_conversation ## # RPC-specific configuration for `update_conversation` # @return [::Gapic::Config::Method] # attr_reader :update_conversation ## # RPC-specific configuration for `get_conversation` # @return [::Gapic::Config::Method] # attr_reader :get_conversation ## # RPC-specific configuration for `list_conversations` # @return [::Gapic::Config::Method] # attr_reader :list_conversations ## # RPC-specific configuration for `delete_conversation` # @return [::Gapic::Config::Method] # attr_reader :delete_conversation ## # RPC-specific configuration for `create_analysis` # @return [::Gapic::Config::Method] # attr_reader :create_analysis ## # RPC-specific configuration for `get_analysis` # @return [::Gapic::Config::Method] # attr_reader :get_analysis ## # RPC-specific configuration for `list_analyses` # @return [::Gapic::Config::Method] # attr_reader :list_analyses ## # RPC-specific configuration for `delete_analysis` # @return [::Gapic::Config::Method] # attr_reader :delete_analysis ## # RPC-specific configuration for `bulk_analyze_conversations` # @return [::Gapic::Config::Method] # attr_reader :bulk_analyze_conversations ## # RPC-specific configuration for `bulk_delete_conversations` # @return [::Gapic::Config::Method] # attr_reader :bulk_delete_conversations ## # RPC-specific configuration for `ingest_conversations` # @return [::Gapic::Config::Method] # attr_reader :ingest_conversations ## # RPC-specific configuration for `export_insights_data` # @return [::Gapic::Config::Method] # attr_reader :export_insights_data ## # RPC-specific configuration for `create_issue_model` # @return [::Gapic::Config::Method] # attr_reader :create_issue_model ## # RPC-specific configuration for `update_issue_model` # @return [::Gapic::Config::Method] # attr_reader :update_issue_model ## # RPC-specific configuration for `get_issue_model` # @return [::Gapic::Config::Method] # attr_reader :get_issue_model ## # RPC-specific configuration for `list_issue_models` # @return [::Gapic::Config::Method] # attr_reader :list_issue_models ## # RPC-specific configuration for `delete_issue_model` # @return [::Gapic::Config::Method] # attr_reader :delete_issue_model ## # RPC-specific configuration for `deploy_issue_model` # @return [::Gapic::Config::Method] # attr_reader :deploy_issue_model ## # RPC-specific configuration for `undeploy_issue_model` # @return [::Gapic::Config::Method] # attr_reader :undeploy_issue_model ## # RPC-specific configuration for `export_issue_model` # @return [::Gapic::Config::Method] # attr_reader :export_issue_model ## # RPC-specific configuration for `import_issue_model` # @return [::Gapic::Config::Method] # attr_reader :import_issue_model ## # RPC-specific configuration for `get_issue` # @return [::Gapic::Config::Method] # attr_reader :get_issue ## # RPC-specific configuration for `list_issues` # @return [::Gapic::Config::Method] # attr_reader :list_issues ## # RPC-specific configuration for `update_issue` # @return [::Gapic::Config::Method] # attr_reader :update_issue ## # RPC-specific configuration for `delete_issue` # @return [::Gapic::Config::Method] # attr_reader :delete_issue ## # RPC-specific configuration for `calculate_issue_model_stats` # @return [::Gapic::Config::Method] # attr_reader :calculate_issue_model_stats ## # RPC-specific configuration for `create_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :create_phrase_matcher ## # RPC-specific configuration for `get_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :get_phrase_matcher ## # RPC-specific configuration for `list_phrase_matchers` # @return [::Gapic::Config::Method] # attr_reader :list_phrase_matchers ## # RPC-specific configuration for `delete_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :delete_phrase_matcher ## # RPC-specific configuration for `update_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :update_phrase_matcher ## # RPC-specific configuration for `calculate_stats` # @return [::Gapic::Config::Method] # attr_reader :calculate_stats ## # RPC-specific configuration for `get_settings` # @return [::Gapic::Config::Method] # attr_reader :get_settings ## # RPC-specific configuration for `update_settings` # @return [::Gapic::Config::Method] # attr_reader :update_settings ## # RPC-specific configuration for `get_encryption_spec` # @return [::Gapic::Config::Method] # attr_reader :get_encryption_spec ## # RPC-specific configuration for `initialize_encryption_spec` # @return [::Gapic::Config::Method] # attr_reader :initialize_encryption_spec ## # RPC-specific configuration for `create_view` # @return [::Gapic::Config::Method] # attr_reader :create_view ## # RPC-specific configuration for `get_view` # @return [::Gapic::Config::Method] # attr_reader :get_view ## # RPC-specific configuration for `list_views` # @return [::Gapic::Config::Method] # attr_reader :list_views ## # RPC-specific configuration for `update_view` # @return [::Gapic::Config::Method] # attr_reader :update_view ## # RPC-specific configuration for `delete_view` # @return [::Gapic::Config::Method] # attr_reader :delete_view # @private def initialize parent_rpcs = nil create_conversation_config = parent_rpcs.create_conversation if parent_rpcs.respond_to? :create_conversation @create_conversation = ::Gapic::Config::Method.new create_conversation_config upload_conversation_config = parent_rpcs.upload_conversation if parent_rpcs.respond_to? :upload_conversation @upload_conversation = ::Gapic::Config::Method.new upload_conversation_config update_conversation_config = parent_rpcs.update_conversation if parent_rpcs.respond_to? :update_conversation @update_conversation = ::Gapic::Config::Method.new update_conversation_config get_conversation_config = parent_rpcs.get_conversation if parent_rpcs.respond_to? :get_conversation @get_conversation = ::Gapic::Config::Method.new get_conversation_config list_conversations_config = parent_rpcs.list_conversations if parent_rpcs.respond_to? :list_conversations @list_conversations = ::Gapic::Config::Method.new list_conversations_config delete_conversation_config = parent_rpcs.delete_conversation if parent_rpcs.respond_to? :delete_conversation @delete_conversation = ::Gapic::Config::Method.new delete_conversation_config create_analysis_config = parent_rpcs.create_analysis if parent_rpcs.respond_to? :create_analysis @create_analysis = ::Gapic::Config::Method.new create_analysis_config get_analysis_config = parent_rpcs.get_analysis if parent_rpcs.respond_to? :get_analysis @get_analysis = ::Gapic::Config::Method.new get_analysis_config list_analyses_config = parent_rpcs.list_analyses if parent_rpcs.respond_to? :list_analyses @list_analyses = ::Gapic::Config::Method.new list_analyses_config delete_analysis_config = parent_rpcs.delete_analysis if parent_rpcs.respond_to? :delete_analysis @delete_analysis = ::Gapic::Config::Method.new delete_analysis_config bulk_analyze_conversations_config = parent_rpcs.bulk_analyze_conversations if parent_rpcs.respond_to? :bulk_analyze_conversations @bulk_analyze_conversations = ::Gapic::Config::Method.new bulk_analyze_conversations_config bulk_delete_conversations_config = parent_rpcs.bulk_delete_conversations if parent_rpcs.respond_to? :bulk_delete_conversations @bulk_delete_conversations = ::Gapic::Config::Method.new bulk_delete_conversations_config ingest_conversations_config = parent_rpcs.ingest_conversations if parent_rpcs.respond_to? :ingest_conversations @ingest_conversations = ::Gapic::Config::Method.new ingest_conversations_config export_insights_data_config = parent_rpcs.export_insights_data if parent_rpcs.respond_to? :export_insights_data @export_insights_data = ::Gapic::Config::Method.new export_insights_data_config create_issue_model_config = parent_rpcs.create_issue_model if parent_rpcs.respond_to? :create_issue_model @create_issue_model = ::Gapic::Config::Method.new create_issue_model_config update_issue_model_config = parent_rpcs.update_issue_model if parent_rpcs.respond_to? :update_issue_model @update_issue_model = ::Gapic::Config::Method.new update_issue_model_config get_issue_model_config = parent_rpcs.get_issue_model if parent_rpcs.respond_to? :get_issue_model @get_issue_model = ::Gapic::Config::Method.new get_issue_model_config list_issue_models_config = parent_rpcs.list_issue_models if parent_rpcs.respond_to? :list_issue_models @list_issue_models = ::Gapic::Config::Method.new list_issue_models_config delete_issue_model_config = parent_rpcs.delete_issue_model if parent_rpcs.respond_to? :delete_issue_model @delete_issue_model = ::Gapic::Config::Method.new delete_issue_model_config deploy_issue_model_config = parent_rpcs.deploy_issue_model if parent_rpcs.respond_to? :deploy_issue_model @deploy_issue_model = ::Gapic::Config::Method.new deploy_issue_model_config undeploy_issue_model_config = parent_rpcs.undeploy_issue_model if parent_rpcs.respond_to? :undeploy_issue_model @undeploy_issue_model = ::Gapic::Config::Method.new undeploy_issue_model_config export_issue_model_config = parent_rpcs.export_issue_model if parent_rpcs.respond_to? :export_issue_model @export_issue_model = ::Gapic::Config::Method.new export_issue_model_config import_issue_model_config = parent_rpcs.import_issue_model if parent_rpcs.respond_to? :import_issue_model @import_issue_model = ::Gapic::Config::Method.new import_issue_model_config get_issue_config = parent_rpcs.get_issue if parent_rpcs.respond_to? :get_issue @get_issue = ::Gapic::Config::Method.new get_issue_config list_issues_config = parent_rpcs.list_issues if parent_rpcs.respond_to? :list_issues @list_issues = ::Gapic::Config::Method.new list_issues_config update_issue_config = parent_rpcs.update_issue if parent_rpcs.respond_to? :update_issue @update_issue = ::Gapic::Config::Method.new update_issue_config delete_issue_config = parent_rpcs.delete_issue if parent_rpcs.respond_to? :delete_issue @delete_issue = ::Gapic::Config::Method.new delete_issue_config calculate_issue_model_stats_config = parent_rpcs.calculate_issue_model_stats if parent_rpcs.respond_to? :calculate_issue_model_stats @calculate_issue_model_stats = ::Gapic::Config::Method.new calculate_issue_model_stats_config create_phrase_matcher_config = parent_rpcs.create_phrase_matcher if parent_rpcs.respond_to? :create_phrase_matcher @create_phrase_matcher = ::Gapic::Config::Method.new create_phrase_matcher_config get_phrase_matcher_config = parent_rpcs.get_phrase_matcher if parent_rpcs.respond_to? :get_phrase_matcher @get_phrase_matcher = ::Gapic::Config::Method.new get_phrase_matcher_config list_phrase_matchers_config = parent_rpcs.list_phrase_matchers if parent_rpcs.respond_to? :list_phrase_matchers @list_phrase_matchers = ::Gapic::Config::Method.new list_phrase_matchers_config delete_phrase_matcher_config = parent_rpcs.delete_phrase_matcher if parent_rpcs.respond_to? :delete_phrase_matcher @delete_phrase_matcher = ::Gapic::Config::Method.new delete_phrase_matcher_config update_phrase_matcher_config = parent_rpcs.update_phrase_matcher if parent_rpcs.respond_to? :update_phrase_matcher @update_phrase_matcher = ::Gapic::Config::Method.new update_phrase_matcher_config calculate_stats_config = parent_rpcs.calculate_stats if parent_rpcs.respond_to? :calculate_stats @calculate_stats = ::Gapic::Config::Method.new calculate_stats_config get_settings_config = parent_rpcs.get_settings if parent_rpcs.respond_to? :get_settings @get_settings = ::Gapic::Config::Method.new get_settings_config update_settings_config = parent_rpcs.update_settings if parent_rpcs.respond_to? :update_settings @update_settings = ::Gapic::Config::Method.new update_settings_config get_encryption_spec_config = parent_rpcs.get_encryption_spec if parent_rpcs.respond_to? :get_encryption_spec @get_encryption_spec = ::Gapic::Config::Method.new get_encryption_spec_config initialize_encryption_spec_config = parent_rpcs.initialize_encryption_spec if parent_rpcs.respond_to? :initialize_encryption_spec @initialize_encryption_spec = ::Gapic::Config::Method.new initialize_encryption_spec_config create_view_config = parent_rpcs.create_view if parent_rpcs.respond_to? :create_view @create_view = ::Gapic::Config::Method.new create_view_config get_view_config = parent_rpcs.get_view if parent_rpcs.respond_to? :get_view @get_view = ::Gapic::Config::Method.new get_view_config list_views_config = parent_rpcs.list_views if parent_rpcs.respond_to? :list_views @list_views = ::Gapic::Config::Method.new list_views_config update_view_config = parent_rpcs.update_view if parent_rpcs.respond_to? :update_view @update_view = ::Gapic::Config::Method.new update_view_config delete_view_config = parent_rpcs.delete_view if parent_rpcs.respond_to? :delete_view @delete_view = ::Gapic::Config::Method.new delete_view_config yield self if block_given? end end end |
#lib_version ⇒ ::String
The library version as recorded in instrumentation and logging
3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 |
# File 'lib/google/cloud/contact_center_insights/v1/contact_center_insights/rest/client.rb', line 3979 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "contactcenterinsights.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil config_attr :universe_domain, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the ContactCenterInsights API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `create_conversation` # @return [::Gapic::Config::Method] # attr_reader :create_conversation ## # RPC-specific configuration for `upload_conversation` # @return [::Gapic::Config::Method] # attr_reader :upload_conversation ## # RPC-specific configuration for `update_conversation` # @return [::Gapic::Config::Method] # attr_reader :update_conversation ## # RPC-specific configuration for `get_conversation` # @return [::Gapic::Config::Method] # attr_reader :get_conversation ## # RPC-specific configuration for `list_conversations` # @return [::Gapic::Config::Method] # attr_reader :list_conversations ## # RPC-specific configuration for `delete_conversation` # @return [::Gapic::Config::Method] # attr_reader :delete_conversation ## # RPC-specific configuration for `create_analysis` # @return [::Gapic::Config::Method] # attr_reader :create_analysis ## # RPC-specific configuration for `get_analysis` # @return [::Gapic::Config::Method] # attr_reader :get_analysis ## # RPC-specific configuration for `list_analyses` # @return [::Gapic::Config::Method] # attr_reader :list_analyses ## # RPC-specific configuration for `delete_analysis` # @return [::Gapic::Config::Method] # attr_reader :delete_analysis ## # RPC-specific configuration for `bulk_analyze_conversations` # @return [::Gapic::Config::Method] # attr_reader :bulk_analyze_conversations ## # RPC-specific configuration for `bulk_delete_conversations` # @return [::Gapic::Config::Method] # attr_reader :bulk_delete_conversations ## # RPC-specific configuration for `ingest_conversations` # @return [::Gapic::Config::Method] # attr_reader :ingest_conversations ## # RPC-specific configuration for `export_insights_data` # @return [::Gapic::Config::Method] # attr_reader :export_insights_data ## # RPC-specific configuration for `create_issue_model` # @return [::Gapic::Config::Method] # attr_reader :create_issue_model ## # RPC-specific configuration for `update_issue_model` # @return [::Gapic::Config::Method] # attr_reader :update_issue_model ## # RPC-specific configuration for `get_issue_model` # @return [::Gapic::Config::Method] # attr_reader :get_issue_model ## # RPC-specific configuration for `list_issue_models` # @return [::Gapic::Config::Method] # attr_reader :list_issue_models ## # RPC-specific configuration for `delete_issue_model` # @return [::Gapic::Config::Method] # attr_reader :delete_issue_model ## # RPC-specific configuration for `deploy_issue_model` # @return [::Gapic::Config::Method] # attr_reader :deploy_issue_model ## # RPC-specific configuration for `undeploy_issue_model` # @return [::Gapic::Config::Method] # attr_reader :undeploy_issue_model ## # RPC-specific configuration for `export_issue_model` # @return [::Gapic::Config::Method] # attr_reader :export_issue_model ## # RPC-specific configuration for `import_issue_model` # @return [::Gapic::Config::Method] # attr_reader :import_issue_model ## # RPC-specific configuration for `get_issue` # @return [::Gapic::Config::Method] # attr_reader :get_issue ## # RPC-specific configuration for `list_issues` # @return [::Gapic::Config::Method] # attr_reader :list_issues ## # RPC-specific configuration for `update_issue` # @return [::Gapic::Config::Method] # attr_reader :update_issue ## # RPC-specific configuration for `delete_issue` # @return [::Gapic::Config::Method] # attr_reader :delete_issue ## # RPC-specific configuration for `calculate_issue_model_stats` # @return [::Gapic::Config::Method] # attr_reader :calculate_issue_model_stats ## # RPC-specific configuration for `create_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :create_phrase_matcher ## # RPC-specific configuration for `get_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :get_phrase_matcher ## # RPC-specific configuration for `list_phrase_matchers` # @return [::Gapic::Config::Method] # attr_reader :list_phrase_matchers ## # RPC-specific configuration for `delete_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :delete_phrase_matcher ## # RPC-specific configuration for `update_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :update_phrase_matcher ## # RPC-specific configuration for `calculate_stats` # @return [::Gapic::Config::Method] # attr_reader :calculate_stats ## # RPC-specific configuration for `get_settings` # @return [::Gapic::Config::Method] # attr_reader :get_settings ## # RPC-specific configuration for `update_settings` # @return [::Gapic::Config::Method] # attr_reader :update_settings ## # RPC-specific configuration for `get_encryption_spec` # @return [::Gapic::Config::Method] # attr_reader :get_encryption_spec ## # RPC-specific configuration for `initialize_encryption_spec` # @return [::Gapic::Config::Method] # attr_reader :initialize_encryption_spec ## # RPC-specific configuration for `create_view` # @return [::Gapic::Config::Method] # attr_reader :create_view ## # RPC-specific configuration for `get_view` # @return [::Gapic::Config::Method] # attr_reader :get_view ## # RPC-specific configuration for `list_views` # @return [::Gapic::Config::Method] # attr_reader :list_views ## # RPC-specific configuration for `update_view` # @return [::Gapic::Config::Method] # attr_reader :update_view ## # RPC-specific configuration for `delete_view` # @return [::Gapic::Config::Method] # attr_reader :delete_view # @private def initialize parent_rpcs = nil create_conversation_config = parent_rpcs.create_conversation if parent_rpcs.respond_to? :create_conversation @create_conversation = ::Gapic::Config::Method.new create_conversation_config upload_conversation_config = parent_rpcs.upload_conversation if parent_rpcs.respond_to? :upload_conversation @upload_conversation = ::Gapic::Config::Method.new upload_conversation_config update_conversation_config = parent_rpcs.update_conversation if parent_rpcs.respond_to? :update_conversation @update_conversation = ::Gapic::Config::Method.new update_conversation_config get_conversation_config = parent_rpcs.get_conversation if parent_rpcs.respond_to? :get_conversation @get_conversation = ::Gapic::Config::Method.new get_conversation_config list_conversations_config = parent_rpcs.list_conversations if parent_rpcs.respond_to? :list_conversations @list_conversations = ::Gapic::Config::Method.new list_conversations_config delete_conversation_config = parent_rpcs.delete_conversation if parent_rpcs.respond_to? :delete_conversation @delete_conversation = ::Gapic::Config::Method.new delete_conversation_config create_analysis_config = parent_rpcs.create_analysis if parent_rpcs.respond_to? :create_analysis @create_analysis = ::Gapic::Config::Method.new create_analysis_config get_analysis_config = parent_rpcs.get_analysis if parent_rpcs.respond_to? :get_analysis @get_analysis = ::Gapic::Config::Method.new get_analysis_config list_analyses_config = parent_rpcs.list_analyses if parent_rpcs.respond_to? :list_analyses @list_analyses = ::Gapic::Config::Method.new list_analyses_config delete_analysis_config = parent_rpcs.delete_analysis if parent_rpcs.respond_to? :delete_analysis @delete_analysis = ::Gapic::Config::Method.new delete_analysis_config bulk_analyze_conversations_config = parent_rpcs.bulk_analyze_conversations if parent_rpcs.respond_to? :bulk_analyze_conversations @bulk_analyze_conversations = ::Gapic::Config::Method.new bulk_analyze_conversations_config bulk_delete_conversations_config = parent_rpcs.bulk_delete_conversations if parent_rpcs.respond_to? :bulk_delete_conversations @bulk_delete_conversations = ::Gapic::Config::Method.new bulk_delete_conversations_config ingest_conversations_config = parent_rpcs.ingest_conversations if parent_rpcs.respond_to? :ingest_conversations @ingest_conversations = ::Gapic::Config::Method.new ingest_conversations_config export_insights_data_config = parent_rpcs.export_insights_data if parent_rpcs.respond_to? :export_insights_data @export_insights_data = ::Gapic::Config::Method.new export_insights_data_config create_issue_model_config = parent_rpcs.create_issue_model if parent_rpcs.respond_to? :create_issue_model @create_issue_model = ::Gapic::Config::Method.new create_issue_model_config update_issue_model_config = parent_rpcs.update_issue_model if parent_rpcs.respond_to? :update_issue_model @update_issue_model = ::Gapic::Config::Method.new update_issue_model_config get_issue_model_config = parent_rpcs.get_issue_model if parent_rpcs.respond_to? :get_issue_model @get_issue_model = ::Gapic::Config::Method.new get_issue_model_config list_issue_models_config = parent_rpcs.list_issue_models if parent_rpcs.respond_to? :list_issue_models @list_issue_models = ::Gapic::Config::Method.new list_issue_models_config delete_issue_model_config = parent_rpcs.delete_issue_model if parent_rpcs.respond_to? :delete_issue_model @delete_issue_model = ::Gapic::Config::Method.new delete_issue_model_config deploy_issue_model_config = parent_rpcs.deploy_issue_model if parent_rpcs.respond_to? :deploy_issue_model @deploy_issue_model = ::Gapic::Config::Method.new deploy_issue_model_config undeploy_issue_model_config = parent_rpcs.undeploy_issue_model if parent_rpcs.respond_to? :undeploy_issue_model @undeploy_issue_model = ::Gapic::Config::Method.new undeploy_issue_model_config export_issue_model_config = parent_rpcs.export_issue_model if parent_rpcs.respond_to? :export_issue_model @export_issue_model = ::Gapic::Config::Method.new export_issue_model_config import_issue_model_config = parent_rpcs.import_issue_model if parent_rpcs.respond_to? :import_issue_model @import_issue_model = ::Gapic::Config::Method.new import_issue_model_config get_issue_config = parent_rpcs.get_issue if parent_rpcs.respond_to? :get_issue @get_issue = ::Gapic::Config::Method.new get_issue_config list_issues_config = parent_rpcs.list_issues if parent_rpcs.respond_to? :list_issues @list_issues = ::Gapic::Config::Method.new list_issues_config update_issue_config = parent_rpcs.update_issue if parent_rpcs.respond_to? :update_issue @update_issue = ::Gapic::Config::Method.new update_issue_config delete_issue_config = parent_rpcs.delete_issue if parent_rpcs.respond_to? :delete_issue @delete_issue = ::Gapic::Config::Method.new delete_issue_config calculate_issue_model_stats_config = parent_rpcs.calculate_issue_model_stats if parent_rpcs.respond_to? :calculate_issue_model_stats @calculate_issue_model_stats = ::Gapic::Config::Method.new calculate_issue_model_stats_config create_phrase_matcher_config = parent_rpcs.create_phrase_matcher if parent_rpcs.respond_to? :create_phrase_matcher @create_phrase_matcher = ::Gapic::Config::Method.new create_phrase_matcher_config get_phrase_matcher_config = parent_rpcs.get_phrase_matcher if parent_rpcs.respond_to? :get_phrase_matcher @get_phrase_matcher = ::Gapic::Config::Method.new get_phrase_matcher_config list_phrase_matchers_config = parent_rpcs.list_phrase_matchers if parent_rpcs.respond_to? :list_phrase_matchers @list_phrase_matchers = ::Gapic::Config::Method.new list_phrase_matchers_config delete_phrase_matcher_config = parent_rpcs.delete_phrase_matcher if parent_rpcs.respond_to? :delete_phrase_matcher @delete_phrase_matcher = ::Gapic::Config::Method.new delete_phrase_matcher_config update_phrase_matcher_config = parent_rpcs.update_phrase_matcher if parent_rpcs.respond_to? :update_phrase_matcher @update_phrase_matcher = ::Gapic::Config::Method.new update_phrase_matcher_config calculate_stats_config = parent_rpcs.calculate_stats if parent_rpcs.respond_to? :calculate_stats @calculate_stats = ::Gapic::Config::Method.new calculate_stats_config get_settings_config = parent_rpcs.get_settings if parent_rpcs.respond_to? :get_settings @get_settings = ::Gapic::Config::Method.new get_settings_config update_settings_config = parent_rpcs.update_settings if parent_rpcs.respond_to? :update_settings @update_settings = ::Gapic::Config::Method.new update_settings_config get_encryption_spec_config = parent_rpcs.get_encryption_spec if parent_rpcs.respond_to? :get_encryption_spec @get_encryption_spec = ::Gapic::Config::Method.new get_encryption_spec_config initialize_encryption_spec_config = parent_rpcs.initialize_encryption_spec if parent_rpcs.respond_to? :initialize_encryption_spec @initialize_encryption_spec = ::Gapic::Config::Method.new initialize_encryption_spec_config create_view_config = parent_rpcs.create_view if parent_rpcs.respond_to? :create_view @create_view = ::Gapic::Config::Method.new create_view_config get_view_config = parent_rpcs.get_view if parent_rpcs.respond_to? :get_view @get_view = ::Gapic::Config::Method.new get_view_config list_views_config = parent_rpcs.list_views if parent_rpcs.respond_to? :list_views @list_views = ::Gapic::Config::Method.new list_views_config update_view_config = parent_rpcs.update_view if parent_rpcs.respond_to? :update_view @update_view = ::Gapic::Config::Method.new update_view_config delete_view_config = parent_rpcs.delete_view if parent_rpcs.respond_to? :delete_view @delete_view = ::Gapic::Config::Method.new delete_view_config yield self if block_given? end end end |
#metadata ⇒ ::Hash{::Symbol=>::String}
Additional headers to be sent with the call.
3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 |
# File 'lib/google/cloud/contact_center_insights/v1/contact_center_insights/rest/client.rb', line 3979 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "contactcenterinsights.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil config_attr :universe_domain, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the ContactCenterInsights API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `create_conversation` # @return [::Gapic::Config::Method] # attr_reader :create_conversation ## # RPC-specific configuration for `upload_conversation` # @return [::Gapic::Config::Method] # attr_reader :upload_conversation ## # RPC-specific configuration for `update_conversation` # @return [::Gapic::Config::Method] # attr_reader :update_conversation ## # RPC-specific configuration for `get_conversation` # @return [::Gapic::Config::Method] # attr_reader :get_conversation ## # RPC-specific configuration for `list_conversations` # @return [::Gapic::Config::Method] # attr_reader :list_conversations ## # RPC-specific configuration for `delete_conversation` # @return [::Gapic::Config::Method] # attr_reader :delete_conversation ## # RPC-specific configuration for `create_analysis` # @return [::Gapic::Config::Method] # attr_reader :create_analysis ## # RPC-specific configuration for `get_analysis` # @return [::Gapic::Config::Method] # attr_reader :get_analysis ## # RPC-specific configuration for `list_analyses` # @return [::Gapic::Config::Method] # attr_reader :list_analyses ## # RPC-specific configuration for `delete_analysis` # @return [::Gapic::Config::Method] # attr_reader :delete_analysis ## # RPC-specific configuration for `bulk_analyze_conversations` # @return [::Gapic::Config::Method] # attr_reader :bulk_analyze_conversations ## # RPC-specific configuration for `bulk_delete_conversations` # @return [::Gapic::Config::Method] # attr_reader :bulk_delete_conversations ## # RPC-specific configuration for `ingest_conversations` # @return [::Gapic::Config::Method] # attr_reader :ingest_conversations ## # RPC-specific configuration for `export_insights_data` # @return [::Gapic::Config::Method] # attr_reader :export_insights_data ## # RPC-specific configuration for `create_issue_model` # @return [::Gapic::Config::Method] # attr_reader :create_issue_model ## # RPC-specific configuration for `update_issue_model` # @return [::Gapic::Config::Method] # attr_reader :update_issue_model ## # RPC-specific configuration for `get_issue_model` # @return [::Gapic::Config::Method] # attr_reader :get_issue_model ## # RPC-specific configuration for `list_issue_models` # @return [::Gapic::Config::Method] # attr_reader :list_issue_models ## # RPC-specific configuration for `delete_issue_model` # @return [::Gapic::Config::Method] # attr_reader :delete_issue_model ## # RPC-specific configuration for `deploy_issue_model` # @return [::Gapic::Config::Method] # attr_reader :deploy_issue_model ## # RPC-specific configuration for `undeploy_issue_model` # @return [::Gapic::Config::Method] # attr_reader :undeploy_issue_model ## # RPC-specific configuration for `export_issue_model` # @return [::Gapic::Config::Method] # attr_reader :export_issue_model ## # RPC-specific configuration for `import_issue_model` # @return [::Gapic::Config::Method] # attr_reader :import_issue_model ## # RPC-specific configuration for `get_issue` # @return [::Gapic::Config::Method] # attr_reader :get_issue ## # RPC-specific configuration for `list_issues` # @return [::Gapic::Config::Method] # attr_reader :list_issues ## # RPC-specific configuration for `update_issue` # @return [::Gapic::Config::Method] # attr_reader :update_issue ## # RPC-specific configuration for `delete_issue` # @return [::Gapic::Config::Method] # attr_reader :delete_issue ## # RPC-specific configuration for `calculate_issue_model_stats` # @return [::Gapic::Config::Method] # attr_reader :calculate_issue_model_stats ## # RPC-specific configuration for `create_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :create_phrase_matcher ## # RPC-specific configuration for `get_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :get_phrase_matcher ## # RPC-specific configuration for `list_phrase_matchers` # @return [::Gapic::Config::Method] # attr_reader :list_phrase_matchers ## # RPC-specific configuration for `delete_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :delete_phrase_matcher ## # RPC-specific configuration for `update_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :update_phrase_matcher ## # RPC-specific configuration for `calculate_stats` # @return [::Gapic::Config::Method] # attr_reader :calculate_stats ## # RPC-specific configuration for `get_settings` # @return [::Gapic::Config::Method] # attr_reader :get_settings ## # RPC-specific configuration for `update_settings` # @return [::Gapic::Config::Method] # attr_reader :update_settings ## # RPC-specific configuration for `get_encryption_spec` # @return [::Gapic::Config::Method] # attr_reader :get_encryption_spec ## # RPC-specific configuration for `initialize_encryption_spec` # @return [::Gapic::Config::Method] # attr_reader :initialize_encryption_spec ## # RPC-specific configuration for `create_view` # @return [::Gapic::Config::Method] # attr_reader :create_view ## # RPC-specific configuration for `get_view` # @return [::Gapic::Config::Method] # attr_reader :get_view ## # RPC-specific configuration for `list_views` # @return [::Gapic::Config::Method] # attr_reader :list_views ## # RPC-specific configuration for `update_view` # @return [::Gapic::Config::Method] # attr_reader :update_view ## # RPC-specific configuration for `delete_view` # @return [::Gapic::Config::Method] # attr_reader :delete_view # @private def initialize parent_rpcs = nil create_conversation_config = parent_rpcs.create_conversation if parent_rpcs.respond_to? :create_conversation @create_conversation = ::Gapic::Config::Method.new create_conversation_config upload_conversation_config = parent_rpcs.upload_conversation if parent_rpcs.respond_to? :upload_conversation @upload_conversation = ::Gapic::Config::Method.new upload_conversation_config update_conversation_config = parent_rpcs.update_conversation if parent_rpcs.respond_to? :update_conversation @update_conversation = ::Gapic::Config::Method.new update_conversation_config get_conversation_config = parent_rpcs.get_conversation if parent_rpcs.respond_to? :get_conversation @get_conversation = ::Gapic::Config::Method.new get_conversation_config list_conversations_config = parent_rpcs.list_conversations if parent_rpcs.respond_to? :list_conversations @list_conversations = ::Gapic::Config::Method.new list_conversations_config delete_conversation_config = parent_rpcs.delete_conversation if parent_rpcs.respond_to? :delete_conversation @delete_conversation = ::Gapic::Config::Method.new delete_conversation_config create_analysis_config = parent_rpcs.create_analysis if parent_rpcs.respond_to? :create_analysis @create_analysis = ::Gapic::Config::Method.new create_analysis_config get_analysis_config = parent_rpcs.get_analysis if parent_rpcs.respond_to? :get_analysis @get_analysis = ::Gapic::Config::Method.new get_analysis_config list_analyses_config = parent_rpcs.list_analyses if parent_rpcs.respond_to? :list_analyses @list_analyses = ::Gapic::Config::Method.new list_analyses_config delete_analysis_config = parent_rpcs.delete_analysis if parent_rpcs.respond_to? :delete_analysis @delete_analysis = ::Gapic::Config::Method.new delete_analysis_config bulk_analyze_conversations_config = parent_rpcs.bulk_analyze_conversations if parent_rpcs.respond_to? :bulk_analyze_conversations @bulk_analyze_conversations = ::Gapic::Config::Method.new bulk_analyze_conversations_config bulk_delete_conversations_config = parent_rpcs.bulk_delete_conversations if parent_rpcs.respond_to? :bulk_delete_conversations @bulk_delete_conversations = ::Gapic::Config::Method.new bulk_delete_conversations_config ingest_conversations_config = parent_rpcs.ingest_conversations if parent_rpcs.respond_to? :ingest_conversations @ingest_conversations = ::Gapic::Config::Method.new ingest_conversations_config export_insights_data_config = parent_rpcs.export_insights_data if parent_rpcs.respond_to? :export_insights_data @export_insights_data = ::Gapic::Config::Method.new export_insights_data_config create_issue_model_config = parent_rpcs.create_issue_model if parent_rpcs.respond_to? :create_issue_model @create_issue_model = ::Gapic::Config::Method.new create_issue_model_config update_issue_model_config = parent_rpcs.update_issue_model if parent_rpcs.respond_to? :update_issue_model @update_issue_model = ::Gapic::Config::Method.new update_issue_model_config get_issue_model_config = parent_rpcs.get_issue_model if parent_rpcs.respond_to? :get_issue_model @get_issue_model = ::Gapic::Config::Method.new get_issue_model_config list_issue_models_config = parent_rpcs.list_issue_models if parent_rpcs.respond_to? :list_issue_models @list_issue_models = ::Gapic::Config::Method.new list_issue_models_config delete_issue_model_config = parent_rpcs.delete_issue_model if parent_rpcs.respond_to? :delete_issue_model @delete_issue_model = ::Gapic::Config::Method.new delete_issue_model_config deploy_issue_model_config = parent_rpcs.deploy_issue_model if parent_rpcs.respond_to? :deploy_issue_model @deploy_issue_model = ::Gapic::Config::Method.new deploy_issue_model_config undeploy_issue_model_config = parent_rpcs.undeploy_issue_model if parent_rpcs.respond_to? :undeploy_issue_model @undeploy_issue_model = ::Gapic::Config::Method.new undeploy_issue_model_config export_issue_model_config = parent_rpcs.export_issue_model if parent_rpcs.respond_to? :export_issue_model @export_issue_model = ::Gapic::Config::Method.new export_issue_model_config import_issue_model_config = parent_rpcs.import_issue_model if parent_rpcs.respond_to? :import_issue_model @import_issue_model = ::Gapic::Config::Method.new import_issue_model_config get_issue_config = parent_rpcs.get_issue if parent_rpcs.respond_to? :get_issue @get_issue = ::Gapic::Config::Method.new get_issue_config list_issues_config = parent_rpcs.list_issues if parent_rpcs.respond_to? :list_issues @list_issues = ::Gapic::Config::Method.new list_issues_config update_issue_config = parent_rpcs.update_issue if parent_rpcs.respond_to? :update_issue @update_issue = ::Gapic::Config::Method.new update_issue_config delete_issue_config = parent_rpcs.delete_issue if parent_rpcs.respond_to? :delete_issue @delete_issue = ::Gapic::Config::Method.new delete_issue_config calculate_issue_model_stats_config = parent_rpcs.calculate_issue_model_stats if parent_rpcs.respond_to? :calculate_issue_model_stats @calculate_issue_model_stats = ::Gapic::Config::Method.new calculate_issue_model_stats_config create_phrase_matcher_config = parent_rpcs.create_phrase_matcher if parent_rpcs.respond_to? :create_phrase_matcher @create_phrase_matcher = ::Gapic::Config::Method.new create_phrase_matcher_config get_phrase_matcher_config = parent_rpcs.get_phrase_matcher if parent_rpcs.respond_to? :get_phrase_matcher @get_phrase_matcher = ::Gapic::Config::Method.new get_phrase_matcher_config list_phrase_matchers_config = parent_rpcs.list_phrase_matchers if parent_rpcs.respond_to? :list_phrase_matchers @list_phrase_matchers = ::Gapic::Config::Method.new list_phrase_matchers_config delete_phrase_matcher_config = parent_rpcs.delete_phrase_matcher if parent_rpcs.respond_to? :delete_phrase_matcher @delete_phrase_matcher = ::Gapic::Config::Method.new delete_phrase_matcher_config update_phrase_matcher_config = parent_rpcs.update_phrase_matcher if parent_rpcs.respond_to? :update_phrase_matcher @update_phrase_matcher = ::Gapic::Config::Method.new update_phrase_matcher_config calculate_stats_config = parent_rpcs.calculate_stats if parent_rpcs.respond_to? :calculate_stats @calculate_stats = ::Gapic::Config::Method.new calculate_stats_config get_settings_config = parent_rpcs.get_settings if parent_rpcs.respond_to? :get_settings @get_settings = ::Gapic::Config::Method.new get_settings_config update_settings_config = parent_rpcs.update_settings if parent_rpcs.respond_to? :update_settings @update_settings = ::Gapic::Config::Method.new update_settings_config get_encryption_spec_config = parent_rpcs.get_encryption_spec if parent_rpcs.respond_to? :get_encryption_spec @get_encryption_spec = ::Gapic::Config::Method.new get_encryption_spec_config initialize_encryption_spec_config = parent_rpcs.initialize_encryption_spec if parent_rpcs.respond_to? :initialize_encryption_spec @initialize_encryption_spec = ::Gapic::Config::Method.new initialize_encryption_spec_config create_view_config = parent_rpcs.create_view if parent_rpcs.respond_to? :create_view @create_view = ::Gapic::Config::Method.new create_view_config get_view_config = parent_rpcs.get_view if parent_rpcs.respond_to? :get_view @get_view = ::Gapic::Config::Method.new get_view_config list_views_config = parent_rpcs.list_views if parent_rpcs.respond_to? :list_views @list_views = ::Gapic::Config::Method.new list_views_config update_view_config = parent_rpcs.update_view if parent_rpcs.respond_to? :update_view @update_view = ::Gapic::Config::Method.new update_view_config delete_view_config = parent_rpcs.delete_view if parent_rpcs.respond_to? :delete_view @delete_view = ::Gapic::Config::Method.new delete_view_config yield self if block_given? end end end |
#quota_project ⇒ ::String
A separate project against which to charge quota.
3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 |
# File 'lib/google/cloud/contact_center_insights/v1/contact_center_insights/rest/client.rb', line 3979 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "contactcenterinsights.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil config_attr :universe_domain, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the ContactCenterInsights API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `create_conversation` # @return [::Gapic::Config::Method] # attr_reader :create_conversation ## # RPC-specific configuration for `upload_conversation` # @return [::Gapic::Config::Method] # attr_reader :upload_conversation ## # RPC-specific configuration for `update_conversation` # @return [::Gapic::Config::Method] # attr_reader :update_conversation ## # RPC-specific configuration for `get_conversation` # @return [::Gapic::Config::Method] # attr_reader :get_conversation ## # RPC-specific configuration for `list_conversations` # @return [::Gapic::Config::Method] # attr_reader :list_conversations ## # RPC-specific configuration for `delete_conversation` # @return [::Gapic::Config::Method] # attr_reader :delete_conversation ## # RPC-specific configuration for `create_analysis` # @return [::Gapic::Config::Method] # attr_reader :create_analysis ## # RPC-specific configuration for `get_analysis` # @return [::Gapic::Config::Method] # attr_reader :get_analysis ## # RPC-specific configuration for `list_analyses` # @return [::Gapic::Config::Method] # attr_reader :list_analyses ## # RPC-specific configuration for `delete_analysis` # @return [::Gapic::Config::Method] # attr_reader :delete_analysis ## # RPC-specific configuration for `bulk_analyze_conversations` # @return [::Gapic::Config::Method] # attr_reader :bulk_analyze_conversations ## # RPC-specific configuration for `bulk_delete_conversations` # @return [::Gapic::Config::Method] # attr_reader :bulk_delete_conversations ## # RPC-specific configuration for `ingest_conversations` # @return [::Gapic::Config::Method] # attr_reader :ingest_conversations ## # RPC-specific configuration for `export_insights_data` # @return [::Gapic::Config::Method] # attr_reader :export_insights_data ## # RPC-specific configuration for `create_issue_model` # @return [::Gapic::Config::Method] # attr_reader :create_issue_model ## # RPC-specific configuration for `update_issue_model` # @return [::Gapic::Config::Method] # attr_reader :update_issue_model ## # RPC-specific configuration for `get_issue_model` # @return [::Gapic::Config::Method] # attr_reader :get_issue_model ## # RPC-specific configuration for `list_issue_models` # @return [::Gapic::Config::Method] # attr_reader :list_issue_models ## # RPC-specific configuration for `delete_issue_model` # @return [::Gapic::Config::Method] # attr_reader :delete_issue_model ## # RPC-specific configuration for `deploy_issue_model` # @return [::Gapic::Config::Method] # attr_reader :deploy_issue_model ## # RPC-specific configuration for `undeploy_issue_model` # @return [::Gapic::Config::Method] # attr_reader :undeploy_issue_model ## # RPC-specific configuration for `export_issue_model` # @return [::Gapic::Config::Method] # attr_reader :export_issue_model ## # RPC-specific configuration for `import_issue_model` # @return [::Gapic::Config::Method] # attr_reader :import_issue_model ## # RPC-specific configuration for `get_issue` # @return [::Gapic::Config::Method] # attr_reader :get_issue ## # RPC-specific configuration for `list_issues` # @return [::Gapic::Config::Method] # attr_reader :list_issues ## # RPC-specific configuration for `update_issue` # @return [::Gapic::Config::Method] # attr_reader :update_issue ## # RPC-specific configuration for `delete_issue` # @return [::Gapic::Config::Method] # attr_reader :delete_issue ## # RPC-specific configuration for `calculate_issue_model_stats` # @return [::Gapic::Config::Method] # attr_reader :calculate_issue_model_stats ## # RPC-specific configuration for `create_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :create_phrase_matcher ## # RPC-specific configuration for `get_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :get_phrase_matcher ## # RPC-specific configuration for `list_phrase_matchers` # @return [::Gapic::Config::Method] # attr_reader :list_phrase_matchers ## # RPC-specific configuration for `delete_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :delete_phrase_matcher ## # RPC-specific configuration for `update_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :update_phrase_matcher ## # RPC-specific configuration for `calculate_stats` # @return [::Gapic::Config::Method] # attr_reader :calculate_stats ## # RPC-specific configuration for `get_settings` # @return [::Gapic::Config::Method] # attr_reader :get_settings ## # RPC-specific configuration for `update_settings` # @return [::Gapic::Config::Method] # attr_reader :update_settings ## # RPC-specific configuration for `get_encryption_spec` # @return [::Gapic::Config::Method] # attr_reader :get_encryption_spec ## # RPC-specific configuration for `initialize_encryption_spec` # @return [::Gapic::Config::Method] # attr_reader :initialize_encryption_spec ## # RPC-specific configuration for `create_view` # @return [::Gapic::Config::Method] # attr_reader :create_view ## # RPC-specific configuration for `get_view` # @return [::Gapic::Config::Method] # attr_reader :get_view ## # RPC-specific configuration for `list_views` # @return [::Gapic::Config::Method] # attr_reader :list_views ## # RPC-specific configuration for `update_view` # @return [::Gapic::Config::Method] # attr_reader :update_view ## # RPC-specific configuration for `delete_view` # @return [::Gapic::Config::Method] # attr_reader :delete_view # @private def initialize parent_rpcs = nil create_conversation_config = parent_rpcs.create_conversation if parent_rpcs.respond_to? :create_conversation @create_conversation = ::Gapic::Config::Method.new create_conversation_config upload_conversation_config = parent_rpcs.upload_conversation if parent_rpcs.respond_to? :upload_conversation @upload_conversation = ::Gapic::Config::Method.new upload_conversation_config update_conversation_config = parent_rpcs.update_conversation if parent_rpcs.respond_to? :update_conversation @update_conversation = ::Gapic::Config::Method.new update_conversation_config get_conversation_config = parent_rpcs.get_conversation if parent_rpcs.respond_to? :get_conversation @get_conversation = ::Gapic::Config::Method.new get_conversation_config list_conversations_config = parent_rpcs.list_conversations if parent_rpcs.respond_to? :list_conversations @list_conversations = ::Gapic::Config::Method.new list_conversations_config delete_conversation_config = parent_rpcs.delete_conversation if parent_rpcs.respond_to? :delete_conversation @delete_conversation = ::Gapic::Config::Method.new delete_conversation_config create_analysis_config = parent_rpcs.create_analysis if parent_rpcs.respond_to? :create_analysis @create_analysis = ::Gapic::Config::Method.new create_analysis_config get_analysis_config = parent_rpcs.get_analysis if parent_rpcs.respond_to? :get_analysis @get_analysis = ::Gapic::Config::Method.new get_analysis_config list_analyses_config = parent_rpcs.list_analyses if parent_rpcs.respond_to? :list_analyses @list_analyses = ::Gapic::Config::Method.new list_analyses_config delete_analysis_config = parent_rpcs.delete_analysis if parent_rpcs.respond_to? :delete_analysis @delete_analysis = ::Gapic::Config::Method.new delete_analysis_config bulk_analyze_conversations_config = parent_rpcs.bulk_analyze_conversations if parent_rpcs.respond_to? :bulk_analyze_conversations @bulk_analyze_conversations = ::Gapic::Config::Method.new bulk_analyze_conversations_config bulk_delete_conversations_config = parent_rpcs.bulk_delete_conversations if parent_rpcs.respond_to? :bulk_delete_conversations @bulk_delete_conversations = ::Gapic::Config::Method.new bulk_delete_conversations_config ingest_conversations_config = parent_rpcs.ingest_conversations if parent_rpcs.respond_to? :ingest_conversations @ingest_conversations = ::Gapic::Config::Method.new ingest_conversations_config export_insights_data_config = parent_rpcs.export_insights_data if parent_rpcs.respond_to? :export_insights_data @export_insights_data = ::Gapic::Config::Method.new export_insights_data_config create_issue_model_config = parent_rpcs.create_issue_model if parent_rpcs.respond_to? :create_issue_model @create_issue_model = ::Gapic::Config::Method.new create_issue_model_config update_issue_model_config = parent_rpcs.update_issue_model if parent_rpcs.respond_to? :update_issue_model @update_issue_model = ::Gapic::Config::Method.new update_issue_model_config get_issue_model_config = parent_rpcs.get_issue_model if parent_rpcs.respond_to? :get_issue_model @get_issue_model = ::Gapic::Config::Method.new get_issue_model_config list_issue_models_config = parent_rpcs.list_issue_models if parent_rpcs.respond_to? :list_issue_models @list_issue_models = ::Gapic::Config::Method.new list_issue_models_config delete_issue_model_config = parent_rpcs.delete_issue_model if parent_rpcs.respond_to? :delete_issue_model @delete_issue_model = ::Gapic::Config::Method.new delete_issue_model_config deploy_issue_model_config = parent_rpcs.deploy_issue_model if parent_rpcs.respond_to? :deploy_issue_model @deploy_issue_model = ::Gapic::Config::Method.new deploy_issue_model_config undeploy_issue_model_config = parent_rpcs.undeploy_issue_model if parent_rpcs.respond_to? :undeploy_issue_model @undeploy_issue_model = ::Gapic::Config::Method.new undeploy_issue_model_config export_issue_model_config = parent_rpcs.export_issue_model if parent_rpcs.respond_to? :export_issue_model @export_issue_model = ::Gapic::Config::Method.new export_issue_model_config import_issue_model_config = parent_rpcs.import_issue_model if parent_rpcs.respond_to? :import_issue_model @import_issue_model = ::Gapic::Config::Method.new import_issue_model_config get_issue_config = parent_rpcs.get_issue if parent_rpcs.respond_to? :get_issue @get_issue = ::Gapic::Config::Method.new get_issue_config list_issues_config = parent_rpcs.list_issues if parent_rpcs.respond_to? :list_issues @list_issues = ::Gapic::Config::Method.new list_issues_config update_issue_config = parent_rpcs.update_issue if parent_rpcs.respond_to? :update_issue @update_issue = ::Gapic::Config::Method.new update_issue_config delete_issue_config = parent_rpcs.delete_issue if parent_rpcs.respond_to? :delete_issue @delete_issue = ::Gapic::Config::Method.new delete_issue_config calculate_issue_model_stats_config = parent_rpcs.calculate_issue_model_stats if parent_rpcs.respond_to? :calculate_issue_model_stats @calculate_issue_model_stats = ::Gapic::Config::Method.new calculate_issue_model_stats_config create_phrase_matcher_config = parent_rpcs.create_phrase_matcher if parent_rpcs.respond_to? :create_phrase_matcher @create_phrase_matcher = ::Gapic::Config::Method.new create_phrase_matcher_config get_phrase_matcher_config = parent_rpcs.get_phrase_matcher if parent_rpcs.respond_to? :get_phrase_matcher @get_phrase_matcher = ::Gapic::Config::Method.new get_phrase_matcher_config list_phrase_matchers_config = parent_rpcs.list_phrase_matchers if parent_rpcs.respond_to? :list_phrase_matchers @list_phrase_matchers = ::Gapic::Config::Method.new list_phrase_matchers_config delete_phrase_matcher_config = parent_rpcs.delete_phrase_matcher if parent_rpcs.respond_to? :delete_phrase_matcher @delete_phrase_matcher = ::Gapic::Config::Method.new delete_phrase_matcher_config update_phrase_matcher_config = parent_rpcs.update_phrase_matcher if parent_rpcs.respond_to? :update_phrase_matcher @update_phrase_matcher = ::Gapic::Config::Method.new update_phrase_matcher_config calculate_stats_config = parent_rpcs.calculate_stats if parent_rpcs.respond_to? :calculate_stats @calculate_stats = ::Gapic::Config::Method.new calculate_stats_config get_settings_config = parent_rpcs.get_settings if parent_rpcs.respond_to? :get_settings @get_settings = ::Gapic::Config::Method.new get_settings_config update_settings_config = parent_rpcs.update_settings if parent_rpcs.respond_to? :update_settings @update_settings = ::Gapic::Config::Method.new update_settings_config get_encryption_spec_config = parent_rpcs.get_encryption_spec if parent_rpcs.respond_to? :get_encryption_spec @get_encryption_spec = ::Gapic::Config::Method.new get_encryption_spec_config initialize_encryption_spec_config = parent_rpcs.initialize_encryption_spec if parent_rpcs.respond_to? :initialize_encryption_spec @initialize_encryption_spec = ::Gapic::Config::Method.new initialize_encryption_spec_config create_view_config = parent_rpcs.create_view if parent_rpcs.respond_to? :create_view @create_view = ::Gapic::Config::Method.new create_view_config get_view_config = parent_rpcs.get_view if parent_rpcs.respond_to? :get_view @get_view = ::Gapic::Config::Method.new get_view_config list_views_config = parent_rpcs.list_views if parent_rpcs.respond_to? :list_views @list_views = ::Gapic::Config::Method.new list_views_config update_view_config = parent_rpcs.update_view if parent_rpcs.respond_to? :update_view @update_view = ::Gapic::Config::Method.new update_view_config delete_view_config = parent_rpcs.delete_view if parent_rpcs.respond_to? :delete_view @delete_view = ::Gapic::Config::Method.new delete_view_config yield self if block_given? end end end |
#retry_policy ⇒ ::Hash
The retry policy. The value is a hash with the following keys:
-
:initial_delay
(type:Numeric
) - The initial delay in seconds. -
:max_delay
(type:Numeric
) - The max delay in seconds. -
:multiplier
(type:Numeric
) - The incremental backoff multiplier. -
:retry_codes
(type:Array<String>
) - The error codes that should trigger a retry.
3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 |
# File 'lib/google/cloud/contact_center_insights/v1/contact_center_insights/rest/client.rb', line 3979 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "contactcenterinsights.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil config_attr :universe_domain, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the ContactCenterInsights API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `create_conversation` # @return [::Gapic::Config::Method] # attr_reader :create_conversation ## # RPC-specific configuration for `upload_conversation` # @return [::Gapic::Config::Method] # attr_reader :upload_conversation ## # RPC-specific configuration for `update_conversation` # @return [::Gapic::Config::Method] # attr_reader :update_conversation ## # RPC-specific configuration for `get_conversation` # @return [::Gapic::Config::Method] # attr_reader :get_conversation ## # RPC-specific configuration for `list_conversations` # @return [::Gapic::Config::Method] # attr_reader :list_conversations ## # RPC-specific configuration for `delete_conversation` # @return [::Gapic::Config::Method] # attr_reader :delete_conversation ## # RPC-specific configuration for `create_analysis` # @return [::Gapic::Config::Method] # attr_reader :create_analysis ## # RPC-specific configuration for `get_analysis` # @return [::Gapic::Config::Method] # attr_reader :get_analysis ## # RPC-specific configuration for `list_analyses` # @return [::Gapic::Config::Method] # attr_reader :list_analyses ## # RPC-specific configuration for `delete_analysis` # @return [::Gapic::Config::Method] # attr_reader :delete_analysis ## # RPC-specific configuration for `bulk_analyze_conversations` # @return [::Gapic::Config::Method] # attr_reader :bulk_analyze_conversations ## # RPC-specific configuration for `bulk_delete_conversations` # @return [::Gapic::Config::Method] # attr_reader :bulk_delete_conversations ## # RPC-specific configuration for `ingest_conversations` # @return [::Gapic::Config::Method] # attr_reader :ingest_conversations ## # RPC-specific configuration for `export_insights_data` # @return [::Gapic::Config::Method] # attr_reader :export_insights_data ## # RPC-specific configuration for `create_issue_model` # @return [::Gapic::Config::Method] # attr_reader :create_issue_model ## # RPC-specific configuration for `update_issue_model` # @return [::Gapic::Config::Method] # attr_reader :update_issue_model ## # RPC-specific configuration for `get_issue_model` # @return [::Gapic::Config::Method] # attr_reader :get_issue_model ## # RPC-specific configuration for `list_issue_models` # @return [::Gapic::Config::Method] # attr_reader :list_issue_models ## # RPC-specific configuration for `delete_issue_model` # @return [::Gapic::Config::Method] # attr_reader :delete_issue_model ## # RPC-specific configuration for `deploy_issue_model` # @return [::Gapic::Config::Method] # attr_reader :deploy_issue_model ## # RPC-specific configuration for `undeploy_issue_model` # @return [::Gapic::Config::Method] # attr_reader :undeploy_issue_model ## # RPC-specific configuration for `export_issue_model` # @return [::Gapic::Config::Method] # attr_reader :export_issue_model ## # RPC-specific configuration for `import_issue_model` # @return [::Gapic::Config::Method] # attr_reader :import_issue_model ## # RPC-specific configuration for `get_issue` # @return [::Gapic::Config::Method] # attr_reader :get_issue ## # RPC-specific configuration for `list_issues` # @return [::Gapic::Config::Method] # attr_reader :list_issues ## # RPC-specific configuration for `update_issue` # @return [::Gapic::Config::Method] # attr_reader :update_issue ## # RPC-specific configuration for `delete_issue` # @return [::Gapic::Config::Method] # attr_reader :delete_issue ## # RPC-specific configuration for `calculate_issue_model_stats` # @return [::Gapic::Config::Method] # attr_reader :calculate_issue_model_stats ## # RPC-specific configuration for `create_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :create_phrase_matcher ## # RPC-specific configuration for `get_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :get_phrase_matcher ## # RPC-specific configuration for `list_phrase_matchers` # @return [::Gapic::Config::Method] # attr_reader :list_phrase_matchers ## # RPC-specific configuration for `delete_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :delete_phrase_matcher ## # RPC-specific configuration for `update_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :update_phrase_matcher ## # RPC-specific configuration for `calculate_stats` # @return [::Gapic::Config::Method] # attr_reader :calculate_stats ## # RPC-specific configuration for `get_settings` # @return [::Gapic::Config::Method] # attr_reader :get_settings ## # RPC-specific configuration for `update_settings` # @return [::Gapic::Config::Method] # attr_reader :update_settings ## # RPC-specific configuration for `get_encryption_spec` # @return [::Gapic::Config::Method] # attr_reader :get_encryption_spec ## # RPC-specific configuration for `initialize_encryption_spec` # @return [::Gapic::Config::Method] # attr_reader :initialize_encryption_spec ## # RPC-specific configuration for `create_view` # @return [::Gapic::Config::Method] # attr_reader :create_view ## # RPC-specific configuration for `get_view` # @return [::Gapic::Config::Method] # attr_reader :get_view ## # RPC-specific configuration for `list_views` # @return [::Gapic::Config::Method] # attr_reader :list_views ## # RPC-specific configuration for `update_view` # @return [::Gapic::Config::Method] # attr_reader :update_view ## # RPC-specific configuration for `delete_view` # @return [::Gapic::Config::Method] # attr_reader :delete_view # @private def initialize parent_rpcs = nil create_conversation_config = parent_rpcs.create_conversation if parent_rpcs.respond_to? :create_conversation @create_conversation = ::Gapic::Config::Method.new create_conversation_config upload_conversation_config = parent_rpcs.upload_conversation if parent_rpcs.respond_to? :upload_conversation @upload_conversation = ::Gapic::Config::Method.new upload_conversation_config update_conversation_config = parent_rpcs.update_conversation if parent_rpcs.respond_to? :update_conversation @update_conversation = ::Gapic::Config::Method.new update_conversation_config get_conversation_config = parent_rpcs.get_conversation if parent_rpcs.respond_to? :get_conversation @get_conversation = ::Gapic::Config::Method.new get_conversation_config list_conversations_config = parent_rpcs.list_conversations if parent_rpcs.respond_to? :list_conversations @list_conversations = ::Gapic::Config::Method.new list_conversations_config delete_conversation_config = parent_rpcs.delete_conversation if parent_rpcs.respond_to? :delete_conversation @delete_conversation = ::Gapic::Config::Method.new delete_conversation_config create_analysis_config = parent_rpcs.create_analysis if parent_rpcs.respond_to? :create_analysis @create_analysis = ::Gapic::Config::Method.new create_analysis_config get_analysis_config = parent_rpcs.get_analysis if parent_rpcs.respond_to? :get_analysis @get_analysis = ::Gapic::Config::Method.new get_analysis_config list_analyses_config = parent_rpcs.list_analyses if parent_rpcs.respond_to? :list_analyses @list_analyses = ::Gapic::Config::Method.new list_analyses_config delete_analysis_config = parent_rpcs.delete_analysis if parent_rpcs.respond_to? :delete_analysis @delete_analysis = ::Gapic::Config::Method.new delete_analysis_config bulk_analyze_conversations_config = parent_rpcs.bulk_analyze_conversations if parent_rpcs.respond_to? :bulk_analyze_conversations @bulk_analyze_conversations = ::Gapic::Config::Method.new bulk_analyze_conversations_config bulk_delete_conversations_config = parent_rpcs.bulk_delete_conversations if parent_rpcs.respond_to? :bulk_delete_conversations @bulk_delete_conversations = ::Gapic::Config::Method.new bulk_delete_conversations_config ingest_conversations_config = parent_rpcs.ingest_conversations if parent_rpcs.respond_to? :ingest_conversations @ingest_conversations = ::Gapic::Config::Method.new ingest_conversations_config export_insights_data_config = parent_rpcs.export_insights_data if parent_rpcs.respond_to? :export_insights_data @export_insights_data = ::Gapic::Config::Method.new export_insights_data_config create_issue_model_config = parent_rpcs.create_issue_model if parent_rpcs.respond_to? :create_issue_model @create_issue_model = ::Gapic::Config::Method.new create_issue_model_config update_issue_model_config = parent_rpcs.update_issue_model if parent_rpcs.respond_to? :update_issue_model @update_issue_model = ::Gapic::Config::Method.new update_issue_model_config get_issue_model_config = parent_rpcs.get_issue_model if parent_rpcs.respond_to? :get_issue_model @get_issue_model = ::Gapic::Config::Method.new get_issue_model_config list_issue_models_config = parent_rpcs.list_issue_models if parent_rpcs.respond_to? :list_issue_models @list_issue_models = ::Gapic::Config::Method.new list_issue_models_config delete_issue_model_config = parent_rpcs.delete_issue_model if parent_rpcs.respond_to? :delete_issue_model @delete_issue_model = ::Gapic::Config::Method.new delete_issue_model_config deploy_issue_model_config = parent_rpcs.deploy_issue_model if parent_rpcs.respond_to? :deploy_issue_model @deploy_issue_model = ::Gapic::Config::Method.new deploy_issue_model_config undeploy_issue_model_config = parent_rpcs.undeploy_issue_model if parent_rpcs.respond_to? :undeploy_issue_model @undeploy_issue_model = ::Gapic::Config::Method.new undeploy_issue_model_config export_issue_model_config = parent_rpcs.export_issue_model if parent_rpcs.respond_to? :export_issue_model @export_issue_model = ::Gapic::Config::Method.new export_issue_model_config import_issue_model_config = parent_rpcs.import_issue_model if parent_rpcs.respond_to? :import_issue_model @import_issue_model = ::Gapic::Config::Method.new import_issue_model_config get_issue_config = parent_rpcs.get_issue if parent_rpcs.respond_to? :get_issue @get_issue = ::Gapic::Config::Method.new get_issue_config list_issues_config = parent_rpcs.list_issues if parent_rpcs.respond_to? :list_issues @list_issues = ::Gapic::Config::Method.new list_issues_config update_issue_config = parent_rpcs.update_issue if parent_rpcs.respond_to? :update_issue @update_issue = ::Gapic::Config::Method.new update_issue_config delete_issue_config = parent_rpcs.delete_issue if parent_rpcs.respond_to? :delete_issue @delete_issue = ::Gapic::Config::Method.new delete_issue_config calculate_issue_model_stats_config = parent_rpcs.calculate_issue_model_stats if parent_rpcs.respond_to? :calculate_issue_model_stats @calculate_issue_model_stats = ::Gapic::Config::Method.new calculate_issue_model_stats_config create_phrase_matcher_config = parent_rpcs.create_phrase_matcher if parent_rpcs.respond_to? :create_phrase_matcher @create_phrase_matcher = ::Gapic::Config::Method.new create_phrase_matcher_config get_phrase_matcher_config = parent_rpcs.get_phrase_matcher if parent_rpcs.respond_to? :get_phrase_matcher @get_phrase_matcher = ::Gapic::Config::Method.new get_phrase_matcher_config list_phrase_matchers_config = parent_rpcs.list_phrase_matchers if parent_rpcs.respond_to? :list_phrase_matchers @list_phrase_matchers = ::Gapic::Config::Method.new list_phrase_matchers_config delete_phrase_matcher_config = parent_rpcs.delete_phrase_matcher if parent_rpcs.respond_to? :delete_phrase_matcher @delete_phrase_matcher = ::Gapic::Config::Method.new delete_phrase_matcher_config update_phrase_matcher_config = parent_rpcs.update_phrase_matcher if parent_rpcs.respond_to? :update_phrase_matcher @update_phrase_matcher = ::Gapic::Config::Method.new update_phrase_matcher_config calculate_stats_config = parent_rpcs.calculate_stats if parent_rpcs.respond_to? :calculate_stats @calculate_stats = ::Gapic::Config::Method.new calculate_stats_config get_settings_config = parent_rpcs.get_settings if parent_rpcs.respond_to? :get_settings @get_settings = ::Gapic::Config::Method.new get_settings_config update_settings_config = parent_rpcs.update_settings if parent_rpcs.respond_to? :update_settings @update_settings = ::Gapic::Config::Method.new update_settings_config get_encryption_spec_config = parent_rpcs.get_encryption_spec if parent_rpcs.respond_to? :get_encryption_spec @get_encryption_spec = ::Gapic::Config::Method.new get_encryption_spec_config initialize_encryption_spec_config = parent_rpcs.initialize_encryption_spec if parent_rpcs.respond_to? :initialize_encryption_spec @initialize_encryption_spec = ::Gapic::Config::Method.new initialize_encryption_spec_config create_view_config = parent_rpcs.create_view if parent_rpcs.respond_to? :create_view @create_view = ::Gapic::Config::Method.new create_view_config get_view_config = parent_rpcs.get_view if parent_rpcs.respond_to? :get_view @get_view = ::Gapic::Config::Method.new get_view_config list_views_config = parent_rpcs.list_views if parent_rpcs.respond_to? :list_views @list_views = ::Gapic::Config::Method.new list_views_config update_view_config = parent_rpcs.update_view if parent_rpcs.respond_to? :update_view @update_view = ::Gapic::Config::Method.new update_view_config delete_view_config = parent_rpcs.delete_view if parent_rpcs.respond_to? :delete_view @delete_view = ::Gapic::Config::Method.new delete_view_config yield self if block_given? end end end |
#scope ⇒ ::Array<::String>
The OAuth scopes
3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 |
# File 'lib/google/cloud/contact_center_insights/v1/contact_center_insights/rest/client.rb', line 3979 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "contactcenterinsights.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil config_attr :universe_domain, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the ContactCenterInsights API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `create_conversation` # @return [::Gapic::Config::Method] # attr_reader :create_conversation ## # RPC-specific configuration for `upload_conversation` # @return [::Gapic::Config::Method] # attr_reader :upload_conversation ## # RPC-specific configuration for `update_conversation` # @return [::Gapic::Config::Method] # attr_reader :update_conversation ## # RPC-specific configuration for `get_conversation` # @return [::Gapic::Config::Method] # attr_reader :get_conversation ## # RPC-specific configuration for `list_conversations` # @return [::Gapic::Config::Method] # attr_reader :list_conversations ## # RPC-specific configuration for `delete_conversation` # @return [::Gapic::Config::Method] # attr_reader :delete_conversation ## # RPC-specific configuration for `create_analysis` # @return [::Gapic::Config::Method] # attr_reader :create_analysis ## # RPC-specific configuration for `get_analysis` # @return [::Gapic::Config::Method] # attr_reader :get_analysis ## # RPC-specific configuration for `list_analyses` # @return [::Gapic::Config::Method] # attr_reader :list_analyses ## # RPC-specific configuration for `delete_analysis` # @return [::Gapic::Config::Method] # attr_reader :delete_analysis ## # RPC-specific configuration for `bulk_analyze_conversations` # @return [::Gapic::Config::Method] # attr_reader :bulk_analyze_conversations ## # RPC-specific configuration for `bulk_delete_conversations` # @return [::Gapic::Config::Method] # attr_reader :bulk_delete_conversations ## # RPC-specific configuration for `ingest_conversations` # @return [::Gapic::Config::Method] # attr_reader :ingest_conversations ## # RPC-specific configuration for `export_insights_data` # @return [::Gapic::Config::Method] # attr_reader :export_insights_data ## # RPC-specific configuration for `create_issue_model` # @return [::Gapic::Config::Method] # attr_reader :create_issue_model ## # RPC-specific configuration for `update_issue_model` # @return [::Gapic::Config::Method] # attr_reader :update_issue_model ## # RPC-specific configuration for `get_issue_model` # @return [::Gapic::Config::Method] # attr_reader :get_issue_model ## # RPC-specific configuration for `list_issue_models` # @return [::Gapic::Config::Method] # attr_reader :list_issue_models ## # RPC-specific configuration for `delete_issue_model` # @return [::Gapic::Config::Method] # attr_reader :delete_issue_model ## # RPC-specific configuration for `deploy_issue_model` # @return [::Gapic::Config::Method] # attr_reader :deploy_issue_model ## # RPC-specific configuration for `undeploy_issue_model` # @return [::Gapic::Config::Method] # attr_reader :undeploy_issue_model ## # RPC-specific configuration for `export_issue_model` # @return [::Gapic::Config::Method] # attr_reader :export_issue_model ## # RPC-specific configuration for `import_issue_model` # @return [::Gapic::Config::Method] # attr_reader :import_issue_model ## # RPC-specific configuration for `get_issue` # @return [::Gapic::Config::Method] # attr_reader :get_issue ## # RPC-specific configuration for `list_issues` # @return [::Gapic::Config::Method] # attr_reader :list_issues ## # RPC-specific configuration for `update_issue` # @return [::Gapic::Config::Method] # attr_reader :update_issue ## # RPC-specific configuration for `delete_issue` # @return [::Gapic::Config::Method] # attr_reader :delete_issue ## # RPC-specific configuration for `calculate_issue_model_stats` # @return [::Gapic::Config::Method] # attr_reader :calculate_issue_model_stats ## # RPC-specific configuration for `create_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :create_phrase_matcher ## # RPC-specific configuration for `get_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :get_phrase_matcher ## # RPC-specific configuration for `list_phrase_matchers` # @return [::Gapic::Config::Method] # attr_reader :list_phrase_matchers ## # RPC-specific configuration for `delete_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :delete_phrase_matcher ## # RPC-specific configuration for `update_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :update_phrase_matcher ## # RPC-specific configuration for `calculate_stats` # @return [::Gapic::Config::Method] # attr_reader :calculate_stats ## # RPC-specific configuration for `get_settings` # @return [::Gapic::Config::Method] # attr_reader :get_settings ## # RPC-specific configuration for `update_settings` # @return [::Gapic::Config::Method] # attr_reader :update_settings ## # RPC-specific configuration for `get_encryption_spec` # @return [::Gapic::Config::Method] # attr_reader :get_encryption_spec ## # RPC-specific configuration for `initialize_encryption_spec` # @return [::Gapic::Config::Method] # attr_reader :initialize_encryption_spec ## # RPC-specific configuration for `create_view` # @return [::Gapic::Config::Method] # attr_reader :create_view ## # RPC-specific configuration for `get_view` # @return [::Gapic::Config::Method] # attr_reader :get_view ## # RPC-specific configuration for `list_views` # @return [::Gapic::Config::Method] # attr_reader :list_views ## # RPC-specific configuration for `update_view` # @return [::Gapic::Config::Method] # attr_reader :update_view ## # RPC-specific configuration for `delete_view` # @return [::Gapic::Config::Method] # attr_reader :delete_view # @private def initialize parent_rpcs = nil create_conversation_config = parent_rpcs.create_conversation if parent_rpcs.respond_to? :create_conversation @create_conversation = ::Gapic::Config::Method.new create_conversation_config upload_conversation_config = parent_rpcs.upload_conversation if parent_rpcs.respond_to? :upload_conversation @upload_conversation = ::Gapic::Config::Method.new upload_conversation_config update_conversation_config = parent_rpcs.update_conversation if parent_rpcs.respond_to? :update_conversation @update_conversation = ::Gapic::Config::Method.new update_conversation_config get_conversation_config = parent_rpcs.get_conversation if parent_rpcs.respond_to? :get_conversation @get_conversation = ::Gapic::Config::Method.new get_conversation_config list_conversations_config = parent_rpcs.list_conversations if parent_rpcs.respond_to? :list_conversations @list_conversations = ::Gapic::Config::Method.new list_conversations_config delete_conversation_config = parent_rpcs.delete_conversation if parent_rpcs.respond_to? :delete_conversation @delete_conversation = ::Gapic::Config::Method.new delete_conversation_config create_analysis_config = parent_rpcs.create_analysis if parent_rpcs.respond_to? :create_analysis @create_analysis = ::Gapic::Config::Method.new create_analysis_config get_analysis_config = parent_rpcs.get_analysis if parent_rpcs.respond_to? :get_analysis @get_analysis = ::Gapic::Config::Method.new get_analysis_config list_analyses_config = parent_rpcs.list_analyses if parent_rpcs.respond_to? :list_analyses @list_analyses = ::Gapic::Config::Method.new list_analyses_config delete_analysis_config = parent_rpcs.delete_analysis if parent_rpcs.respond_to? :delete_analysis @delete_analysis = ::Gapic::Config::Method.new delete_analysis_config bulk_analyze_conversations_config = parent_rpcs.bulk_analyze_conversations if parent_rpcs.respond_to? :bulk_analyze_conversations @bulk_analyze_conversations = ::Gapic::Config::Method.new bulk_analyze_conversations_config bulk_delete_conversations_config = parent_rpcs.bulk_delete_conversations if parent_rpcs.respond_to? :bulk_delete_conversations @bulk_delete_conversations = ::Gapic::Config::Method.new bulk_delete_conversations_config ingest_conversations_config = parent_rpcs.ingest_conversations if parent_rpcs.respond_to? :ingest_conversations @ingest_conversations = ::Gapic::Config::Method.new ingest_conversations_config export_insights_data_config = parent_rpcs.export_insights_data if parent_rpcs.respond_to? :export_insights_data @export_insights_data = ::Gapic::Config::Method.new export_insights_data_config create_issue_model_config = parent_rpcs.create_issue_model if parent_rpcs.respond_to? :create_issue_model @create_issue_model = ::Gapic::Config::Method.new create_issue_model_config update_issue_model_config = parent_rpcs.update_issue_model if parent_rpcs.respond_to? :update_issue_model @update_issue_model = ::Gapic::Config::Method.new update_issue_model_config get_issue_model_config = parent_rpcs.get_issue_model if parent_rpcs.respond_to? :get_issue_model @get_issue_model = ::Gapic::Config::Method.new get_issue_model_config list_issue_models_config = parent_rpcs.list_issue_models if parent_rpcs.respond_to? :list_issue_models @list_issue_models = ::Gapic::Config::Method.new list_issue_models_config delete_issue_model_config = parent_rpcs.delete_issue_model if parent_rpcs.respond_to? :delete_issue_model @delete_issue_model = ::Gapic::Config::Method.new delete_issue_model_config deploy_issue_model_config = parent_rpcs.deploy_issue_model if parent_rpcs.respond_to? :deploy_issue_model @deploy_issue_model = ::Gapic::Config::Method.new deploy_issue_model_config undeploy_issue_model_config = parent_rpcs.undeploy_issue_model if parent_rpcs.respond_to? :undeploy_issue_model @undeploy_issue_model = ::Gapic::Config::Method.new undeploy_issue_model_config export_issue_model_config = parent_rpcs.export_issue_model if parent_rpcs.respond_to? :export_issue_model @export_issue_model = ::Gapic::Config::Method.new export_issue_model_config import_issue_model_config = parent_rpcs.import_issue_model if parent_rpcs.respond_to? :import_issue_model @import_issue_model = ::Gapic::Config::Method.new import_issue_model_config get_issue_config = parent_rpcs.get_issue if parent_rpcs.respond_to? :get_issue @get_issue = ::Gapic::Config::Method.new get_issue_config list_issues_config = parent_rpcs.list_issues if parent_rpcs.respond_to? :list_issues @list_issues = ::Gapic::Config::Method.new list_issues_config update_issue_config = parent_rpcs.update_issue if parent_rpcs.respond_to? :update_issue @update_issue = ::Gapic::Config::Method.new update_issue_config delete_issue_config = parent_rpcs.delete_issue if parent_rpcs.respond_to? :delete_issue @delete_issue = ::Gapic::Config::Method.new delete_issue_config calculate_issue_model_stats_config = parent_rpcs.calculate_issue_model_stats if parent_rpcs.respond_to? :calculate_issue_model_stats @calculate_issue_model_stats = ::Gapic::Config::Method.new calculate_issue_model_stats_config create_phrase_matcher_config = parent_rpcs.create_phrase_matcher if parent_rpcs.respond_to? :create_phrase_matcher @create_phrase_matcher = ::Gapic::Config::Method.new create_phrase_matcher_config get_phrase_matcher_config = parent_rpcs.get_phrase_matcher if parent_rpcs.respond_to? :get_phrase_matcher @get_phrase_matcher = ::Gapic::Config::Method.new get_phrase_matcher_config list_phrase_matchers_config = parent_rpcs.list_phrase_matchers if parent_rpcs.respond_to? :list_phrase_matchers @list_phrase_matchers = ::Gapic::Config::Method.new list_phrase_matchers_config delete_phrase_matcher_config = parent_rpcs.delete_phrase_matcher if parent_rpcs.respond_to? :delete_phrase_matcher @delete_phrase_matcher = ::Gapic::Config::Method.new delete_phrase_matcher_config update_phrase_matcher_config = parent_rpcs.update_phrase_matcher if parent_rpcs.respond_to? :update_phrase_matcher @update_phrase_matcher = ::Gapic::Config::Method.new update_phrase_matcher_config calculate_stats_config = parent_rpcs.calculate_stats if parent_rpcs.respond_to? :calculate_stats @calculate_stats = ::Gapic::Config::Method.new calculate_stats_config get_settings_config = parent_rpcs.get_settings if parent_rpcs.respond_to? :get_settings @get_settings = ::Gapic::Config::Method.new get_settings_config update_settings_config = parent_rpcs.update_settings if parent_rpcs.respond_to? :update_settings @update_settings = ::Gapic::Config::Method.new update_settings_config get_encryption_spec_config = parent_rpcs.get_encryption_spec if parent_rpcs.respond_to? :get_encryption_spec @get_encryption_spec = ::Gapic::Config::Method.new get_encryption_spec_config initialize_encryption_spec_config = parent_rpcs.initialize_encryption_spec if parent_rpcs.respond_to? :initialize_encryption_spec @initialize_encryption_spec = ::Gapic::Config::Method.new initialize_encryption_spec_config create_view_config = parent_rpcs.create_view if parent_rpcs.respond_to? :create_view @create_view = ::Gapic::Config::Method.new create_view_config get_view_config = parent_rpcs.get_view if parent_rpcs.respond_to? :get_view @get_view = ::Gapic::Config::Method.new get_view_config list_views_config = parent_rpcs.list_views if parent_rpcs.respond_to? :list_views @list_views = ::Gapic::Config::Method.new list_views_config update_view_config = parent_rpcs.update_view if parent_rpcs.respond_to? :update_view @update_view = ::Gapic::Config::Method.new update_view_config delete_view_config = parent_rpcs.delete_view if parent_rpcs.respond_to? :delete_view @delete_view = ::Gapic::Config::Method.new delete_view_config yield self if block_given? end end end |
#timeout ⇒ ::Numeric
The call timeout in seconds.
3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 |
# File 'lib/google/cloud/contact_center_insights/v1/contact_center_insights/rest/client.rb', line 3979 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "contactcenterinsights.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil config_attr :universe_domain, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the ContactCenterInsights API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `create_conversation` # @return [::Gapic::Config::Method] # attr_reader :create_conversation ## # RPC-specific configuration for `upload_conversation` # @return [::Gapic::Config::Method] # attr_reader :upload_conversation ## # RPC-specific configuration for `update_conversation` # @return [::Gapic::Config::Method] # attr_reader :update_conversation ## # RPC-specific configuration for `get_conversation` # @return [::Gapic::Config::Method] # attr_reader :get_conversation ## # RPC-specific configuration for `list_conversations` # @return [::Gapic::Config::Method] # attr_reader :list_conversations ## # RPC-specific configuration for `delete_conversation` # @return [::Gapic::Config::Method] # attr_reader :delete_conversation ## # RPC-specific configuration for `create_analysis` # @return [::Gapic::Config::Method] # attr_reader :create_analysis ## # RPC-specific configuration for `get_analysis` # @return [::Gapic::Config::Method] # attr_reader :get_analysis ## # RPC-specific configuration for `list_analyses` # @return [::Gapic::Config::Method] # attr_reader :list_analyses ## # RPC-specific configuration for `delete_analysis` # @return [::Gapic::Config::Method] # attr_reader :delete_analysis ## # RPC-specific configuration for `bulk_analyze_conversations` # @return [::Gapic::Config::Method] # attr_reader :bulk_analyze_conversations ## # RPC-specific configuration for `bulk_delete_conversations` # @return [::Gapic::Config::Method] # attr_reader :bulk_delete_conversations ## # RPC-specific configuration for `ingest_conversations` # @return [::Gapic::Config::Method] # attr_reader :ingest_conversations ## # RPC-specific configuration for `export_insights_data` # @return [::Gapic::Config::Method] # attr_reader :export_insights_data ## # RPC-specific configuration for `create_issue_model` # @return [::Gapic::Config::Method] # attr_reader :create_issue_model ## # RPC-specific configuration for `update_issue_model` # @return [::Gapic::Config::Method] # attr_reader :update_issue_model ## # RPC-specific configuration for `get_issue_model` # @return [::Gapic::Config::Method] # attr_reader :get_issue_model ## # RPC-specific configuration for `list_issue_models` # @return [::Gapic::Config::Method] # attr_reader :list_issue_models ## # RPC-specific configuration for `delete_issue_model` # @return [::Gapic::Config::Method] # attr_reader :delete_issue_model ## # RPC-specific configuration for `deploy_issue_model` # @return [::Gapic::Config::Method] # attr_reader :deploy_issue_model ## # RPC-specific configuration for `undeploy_issue_model` # @return [::Gapic::Config::Method] # attr_reader :undeploy_issue_model ## # RPC-specific configuration for `export_issue_model` # @return [::Gapic::Config::Method] # attr_reader :export_issue_model ## # RPC-specific configuration for `import_issue_model` # @return [::Gapic::Config::Method] # attr_reader :import_issue_model ## # RPC-specific configuration for `get_issue` # @return [::Gapic::Config::Method] # attr_reader :get_issue ## # RPC-specific configuration for `list_issues` # @return [::Gapic::Config::Method] # attr_reader :list_issues ## # RPC-specific configuration for `update_issue` # @return [::Gapic::Config::Method] # attr_reader :update_issue ## # RPC-specific configuration for `delete_issue` # @return [::Gapic::Config::Method] # attr_reader :delete_issue ## # RPC-specific configuration for `calculate_issue_model_stats` # @return [::Gapic::Config::Method] # attr_reader :calculate_issue_model_stats ## # RPC-specific configuration for `create_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :create_phrase_matcher ## # RPC-specific configuration for `get_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :get_phrase_matcher ## # RPC-specific configuration for `list_phrase_matchers` # @return [::Gapic::Config::Method] # attr_reader :list_phrase_matchers ## # RPC-specific configuration for `delete_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :delete_phrase_matcher ## # RPC-specific configuration for `update_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :update_phrase_matcher ## # RPC-specific configuration for `calculate_stats` # @return [::Gapic::Config::Method] # attr_reader :calculate_stats ## # RPC-specific configuration for `get_settings` # @return [::Gapic::Config::Method] # attr_reader :get_settings ## # RPC-specific configuration for `update_settings` # @return [::Gapic::Config::Method] # attr_reader :update_settings ## # RPC-specific configuration for `get_encryption_spec` # @return [::Gapic::Config::Method] # attr_reader :get_encryption_spec ## # RPC-specific configuration for `initialize_encryption_spec` # @return [::Gapic::Config::Method] # attr_reader :initialize_encryption_spec ## # RPC-specific configuration for `create_view` # @return [::Gapic::Config::Method] # attr_reader :create_view ## # RPC-specific configuration for `get_view` # @return [::Gapic::Config::Method] # attr_reader :get_view ## # RPC-specific configuration for `list_views` # @return [::Gapic::Config::Method] # attr_reader :list_views ## # RPC-specific configuration for `update_view` # @return [::Gapic::Config::Method] # attr_reader :update_view ## # RPC-specific configuration for `delete_view` # @return [::Gapic::Config::Method] # attr_reader :delete_view # @private def initialize parent_rpcs = nil create_conversation_config = parent_rpcs.create_conversation if parent_rpcs.respond_to? :create_conversation @create_conversation = ::Gapic::Config::Method.new create_conversation_config upload_conversation_config = parent_rpcs.upload_conversation if parent_rpcs.respond_to? :upload_conversation @upload_conversation = ::Gapic::Config::Method.new upload_conversation_config update_conversation_config = parent_rpcs.update_conversation if parent_rpcs.respond_to? :update_conversation @update_conversation = ::Gapic::Config::Method.new update_conversation_config get_conversation_config = parent_rpcs.get_conversation if parent_rpcs.respond_to? :get_conversation @get_conversation = ::Gapic::Config::Method.new get_conversation_config list_conversations_config = parent_rpcs.list_conversations if parent_rpcs.respond_to? :list_conversations @list_conversations = ::Gapic::Config::Method.new list_conversations_config delete_conversation_config = parent_rpcs.delete_conversation if parent_rpcs.respond_to? :delete_conversation @delete_conversation = ::Gapic::Config::Method.new delete_conversation_config create_analysis_config = parent_rpcs.create_analysis if parent_rpcs.respond_to? :create_analysis @create_analysis = ::Gapic::Config::Method.new create_analysis_config get_analysis_config = parent_rpcs.get_analysis if parent_rpcs.respond_to? :get_analysis @get_analysis = ::Gapic::Config::Method.new get_analysis_config list_analyses_config = parent_rpcs.list_analyses if parent_rpcs.respond_to? :list_analyses @list_analyses = ::Gapic::Config::Method.new list_analyses_config delete_analysis_config = parent_rpcs.delete_analysis if parent_rpcs.respond_to? :delete_analysis @delete_analysis = ::Gapic::Config::Method.new delete_analysis_config bulk_analyze_conversations_config = parent_rpcs.bulk_analyze_conversations if parent_rpcs.respond_to? :bulk_analyze_conversations @bulk_analyze_conversations = ::Gapic::Config::Method.new bulk_analyze_conversations_config bulk_delete_conversations_config = parent_rpcs.bulk_delete_conversations if parent_rpcs.respond_to? :bulk_delete_conversations @bulk_delete_conversations = ::Gapic::Config::Method.new bulk_delete_conversations_config ingest_conversations_config = parent_rpcs.ingest_conversations if parent_rpcs.respond_to? :ingest_conversations @ingest_conversations = ::Gapic::Config::Method.new ingest_conversations_config export_insights_data_config = parent_rpcs.export_insights_data if parent_rpcs.respond_to? :export_insights_data @export_insights_data = ::Gapic::Config::Method.new export_insights_data_config create_issue_model_config = parent_rpcs.create_issue_model if parent_rpcs.respond_to? :create_issue_model @create_issue_model = ::Gapic::Config::Method.new create_issue_model_config update_issue_model_config = parent_rpcs.update_issue_model if parent_rpcs.respond_to? :update_issue_model @update_issue_model = ::Gapic::Config::Method.new update_issue_model_config get_issue_model_config = parent_rpcs.get_issue_model if parent_rpcs.respond_to? :get_issue_model @get_issue_model = ::Gapic::Config::Method.new get_issue_model_config list_issue_models_config = parent_rpcs.list_issue_models if parent_rpcs.respond_to? :list_issue_models @list_issue_models = ::Gapic::Config::Method.new list_issue_models_config delete_issue_model_config = parent_rpcs.delete_issue_model if parent_rpcs.respond_to? :delete_issue_model @delete_issue_model = ::Gapic::Config::Method.new delete_issue_model_config deploy_issue_model_config = parent_rpcs.deploy_issue_model if parent_rpcs.respond_to? :deploy_issue_model @deploy_issue_model = ::Gapic::Config::Method.new deploy_issue_model_config undeploy_issue_model_config = parent_rpcs.undeploy_issue_model if parent_rpcs.respond_to? :undeploy_issue_model @undeploy_issue_model = ::Gapic::Config::Method.new undeploy_issue_model_config export_issue_model_config = parent_rpcs.export_issue_model if parent_rpcs.respond_to? :export_issue_model @export_issue_model = ::Gapic::Config::Method.new export_issue_model_config import_issue_model_config = parent_rpcs.import_issue_model if parent_rpcs.respond_to? :import_issue_model @import_issue_model = ::Gapic::Config::Method.new import_issue_model_config get_issue_config = parent_rpcs.get_issue if parent_rpcs.respond_to? :get_issue @get_issue = ::Gapic::Config::Method.new get_issue_config list_issues_config = parent_rpcs.list_issues if parent_rpcs.respond_to? :list_issues @list_issues = ::Gapic::Config::Method.new list_issues_config update_issue_config = parent_rpcs.update_issue if parent_rpcs.respond_to? :update_issue @update_issue = ::Gapic::Config::Method.new update_issue_config delete_issue_config = parent_rpcs.delete_issue if parent_rpcs.respond_to? :delete_issue @delete_issue = ::Gapic::Config::Method.new delete_issue_config calculate_issue_model_stats_config = parent_rpcs.calculate_issue_model_stats if parent_rpcs.respond_to? :calculate_issue_model_stats @calculate_issue_model_stats = ::Gapic::Config::Method.new calculate_issue_model_stats_config create_phrase_matcher_config = parent_rpcs.create_phrase_matcher if parent_rpcs.respond_to? :create_phrase_matcher @create_phrase_matcher = ::Gapic::Config::Method.new create_phrase_matcher_config get_phrase_matcher_config = parent_rpcs.get_phrase_matcher if parent_rpcs.respond_to? :get_phrase_matcher @get_phrase_matcher = ::Gapic::Config::Method.new get_phrase_matcher_config list_phrase_matchers_config = parent_rpcs.list_phrase_matchers if parent_rpcs.respond_to? :list_phrase_matchers @list_phrase_matchers = ::Gapic::Config::Method.new list_phrase_matchers_config delete_phrase_matcher_config = parent_rpcs.delete_phrase_matcher if parent_rpcs.respond_to? :delete_phrase_matcher @delete_phrase_matcher = ::Gapic::Config::Method.new delete_phrase_matcher_config update_phrase_matcher_config = parent_rpcs.update_phrase_matcher if parent_rpcs.respond_to? :update_phrase_matcher @update_phrase_matcher = ::Gapic::Config::Method.new update_phrase_matcher_config calculate_stats_config = parent_rpcs.calculate_stats if parent_rpcs.respond_to? :calculate_stats @calculate_stats = ::Gapic::Config::Method.new calculate_stats_config get_settings_config = parent_rpcs.get_settings if parent_rpcs.respond_to? :get_settings @get_settings = ::Gapic::Config::Method.new get_settings_config update_settings_config = parent_rpcs.update_settings if parent_rpcs.respond_to? :update_settings @update_settings = ::Gapic::Config::Method.new update_settings_config get_encryption_spec_config = parent_rpcs.get_encryption_spec if parent_rpcs.respond_to? :get_encryption_spec @get_encryption_spec = ::Gapic::Config::Method.new get_encryption_spec_config initialize_encryption_spec_config = parent_rpcs.initialize_encryption_spec if parent_rpcs.respond_to? :initialize_encryption_spec @initialize_encryption_spec = ::Gapic::Config::Method.new initialize_encryption_spec_config create_view_config = parent_rpcs.create_view if parent_rpcs.respond_to? :create_view @create_view = ::Gapic::Config::Method.new create_view_config get_view_config = parent_rpcs.get_view if parent_rpcs.respond_to? :get_view @get_view = ::Gapic::Config::Method.new get_view_config list_views_config = parent_rpcs.list_views if parent_rpcs.respond_to? :list_views @list_views = ::Gapic::Config::Method.new list_views_config update_view_config = parent_rpcs.update_view if parent_rpcs.respond_to? :update_view @update_view = ::Gapic::Config::Method.new update_view_config delete_view_config = parent_rpcs.delete_view if parent_rpcs.respond_to? :delete_view @delete_view = ::Gapic::Config::Method.new delete_view_config yield self if block_given? end end end |
#universe_domain ⇒ ::String?
The universe domain within which to make requests. This determines the default endpoint URL. The default value of nil uses the environment universe (usually the default "googleapis.com" universe).
3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 |
# File 'lib/google/cloud/contact_center_insights/v1/contact_center_insights/rest/client.rb', line 3979 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "contactcenterinsights.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil config_attr :universe_domain, nil, ::String, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the ContactCenterInsights API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `create_conversation` # @return [::Gapic::Config::Method] # attr_reader :create_conversation ## # RPC-specific configuration for `upload_conversation` # @return [::Gapic::Config::Method] # attr_reader :upload_conversation ## # RPC-specific configuration for `update_conversation` # @return [::Gapic::Config::Method] # attr_reader :update_conversation ## # RPC-specific configuration for `get_conversation` # @return [::Gapic::Config::Method] # attr_reader :get_conversation ## # RPC-specific configuration for `list_conversations` # @return [::Gapic::Config::Method] # attr_reader :list_conversations ## # RPC-specific configuration for `delete_conversation` # @return [::Gapic::Config::Method] # attr_reader :delete_conversation ## # RPC-specific configuration for `create_analysis` # @return [::Gapic::Config::Method] # attr_reader :create_analysis ## # RPC-specific configuration for `get_analysis` # @return [::Gapic::Config::Method] # attr_reader :get_analysis ## # RPC-specific configuration for `list_analyses` # @return [::Gapic::Config::Method] # attr_reader :list_analyses ## # RPC-specific configuration for `delete_analysis` # @return [::Gapic::Config::Method] # attr_reader :delete_analysis ## # RPC-specific configuration for `bulk_analyze_conversations` # @return [::Gapic::Config::Method] # attr_reader :bulk_analyze_conversations ## # RPC-specific configuration for `bulk_delete_conversations` # @return [::Gapic::Config::Method] # attr_reader :bulk_delete_conversations ## # RPC-specific configuration for `ingest_conversations` # @return [::Gapic::Config::Method] # attr_reader :ingest_conversations ## # RPC-specific configuration for `export_insights_data` # @return [::Gapic::Config::Method] # attr_reader :export_insights_data ## # RPC-specific configuration for `create_issue_model` # @return [::Gapic::Config::Method] # attr_reader :create_issue_model ## # RPC-specific configuration for `update_issue_model` # @return [::Gapic::Config::Method] # attr_reader :update_issue_model ## # RPC-specific configuration for `get_issue_model` # @return [::Gapic::Config::Method] # attr_reader :get_issue_model ## # RPC-specific configuration for `list_issue_models` # @return [::Gapic::Config::Method] # attr_reader :list_issue_models ## # RPC-specific configuration for `delete_issue_model` # @return [::Gapic::Config::Method] # attr_reader :delete_issue_model ## # RPC-specific configuration for `deploy_issue_model` # @return [::Gapic::Config::Method] # attr_reader :deploy_issue_model ## # RPC-specific configuration for `undeploy_issue_model` # @return [::Gapic::Config::Method] # attr_reader :undeploy_issue_model ## # RPC-specific configuration for `export_issue_model` # @return [::Gapic::Config::Method] # attr_reader :export_issue_model ## # RPC-specific configuration for `import_issue_model` # @return [::Gapic::Config::Method] # attr_reader :import_issue_model ## # RPC-specific configuration for `get_issue` # @return [::Gapic::Config::Method] # attr_reader :get_issue ## # RPC-specific configuration for `list_issues` # @return [::Gapic::Config::Method] # attr_reader :list_issues ## # RPC-specific configuration for `update_issue` # @return [::Gapic::Config::Method] # attr_reader :update_issue ## # RPC-specific configuration for `delete_issue` # @return [::Gapic::Config::Method] # attr_reader :delete_issue ## # RPC-specific configuration for `calculate_issue_model_stats` # @return [::Gapic::Config::Method] # attr_reader :calculate_issue_model_stats ## # RPC-specific configuration for `create_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :create_phrase_matcher ## # RPC-specific configuration for `get_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :get_phrase_matcher ## # RPC-specific configuration for `list_phrase_matchers` # @return [::Gapic::Config::Method] # attr_reader :list_phrase_matchers ## # RPC-specific configuration for `delete_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :delete_phrase_matcher ## # RPC-specific configuration for `update_phrase_matcher` # @return [::Gapic::Config::Method] # attr_reader :update_phrase_matcher ## # RPC-specific configuration for `calculate_stats` # @return [::Gapic::Config::Method] # attr_reader :calculate_stats ## # RPC-specific configuration for `get_settings` # @return [::Gapic::Config::Method] # attr_reader :get_settings ## # RPC-specific configuration for `update_settings` # @return [::Gapic::Config::Method] # attr_reader :update_settings ## # RPC-specific configuration for `get_encryption_spec` # @return [::Gapic::Config::Method] # attr_reader :get_encryption_spec ## # RPC-specific configuration for `initialize_encryption_spec` # @return [::Gapic::Config::Method] # attr_reader :initialize_encryption_spec ## # RPC-specific configuration for `create_view` # @return [::Gapic::Config::Method] # attr_reader :create_view ## # RPC-specific configuration for `get_view` # @return [::Gapic::Config::Method] # attr_reader :get_view ## # RPC-specific configuration for `list_views` # @return [::Gapic::Config::Method] # attr_reader :list_views ## # RPC-specific configuration for `update_view` # @return [::Gapic::Config::Method] # attr_reader :update_view ## # RPC-specific configuration for `delete_view` # @return [::Gapic::Config::Method] # attr_reader :delete_view # @private def initialize parent_rpcs = nil create_conversation_config = parent_rpcs.create_conversation if parent_rpcs.respond_to? :create_conversation @create_conversation = ::Gapic::Config::Method.new create_conversation_config upload_conversation_config = parent_rpcs.upload_conversation if parent_rpcs.respond_to? :upload_conversation @upload_conversation = ::Gapic::Config::Method.new upload_conversation_config update_conversation_config = parent_rpcs.update_conversation if parent_rpcs.respond_to? :update_conversation @update_conversation = ::Gapic::Config::Method.new update_conversation_config get_conversation_config = parent_rpcs.get_conversation if parent_rpcs.respond_to? :get_conversation @get_conversation = ::Gapic::Config::Method.new get_conversation_config list_conversations_config = parent_rpcs.list_conversations if parent_rpcs.respond_to? :list_conversations @list_conversations = ::Gapic::Config::Method.new list_conversations_config delete_conversation_config = parent_rpcs.delete_conversation if parent_rpcs.respond_to? :delete_conversation @delete_conversation = ::Gapic::Config::Method.new delete_conversation_config create_analysis_config = parent_rpcs.create_analysis if parent_rpcs.respond_to? :create_analysis @create_analysis = ::Gapic::Config::Method.new create_analysis_config get_analysis_config = parent_rpcs.get_analysis if parent_rpcs.respond_to? :get_analysis @get_analysis = ::Gapic::Config::Method.new get_analysis_config list_analyses_config = parent_rpcs.list_analyses if parent_rpcs.respond_to? :list_analyses @list_analyses = ::Gapic::Config::Method.new list_analyses_config delete_analysis_config = parent_rpcs.delete_analysis if parent_rpcs.respond_to? :delete_analysis @delete_analysis = ::Gapic::Config::Method.new delete_analysis_config bulk_analyze_conversations_config = parent_rpcs.bulk_analyze_conversations if parent_rpcs.respond_to? :bulk_analyze_conversations @bulk_analyze_conversations = ::Gapic::Config::Method.new bulk_analyze_conversations_config bulk_delete_conversations_config = parent_rpcs.bulk_delete_conversations if parent_rpcs.respond_to? :bulk_delete_conversations @bulk_delete_conversations = ::Gapic::Config::Method.new bulk_delete_conversations_config ingest_conversations_config = parent_rpcs.ingest_conversations if parent_rpcs.respond_to? :ingest_conversations @ingest_conversations = ::Gapic::Config::Method.new ingest_conversations_config export_insights_data_config = parent_rpcs.export_insights_data if parent_rpcs.respond_to? :export_insights_data @export_insights_data = ::Gapic::Config::Method.new export_insights_data_config create_issue_model_config = parent_rpcs.create_issue_model if parent_rpcs.respond_to? :create_issue_model @create_issue_model = ::Gapic::Config::Method.new create_issue_model_config update_issue_model_config = parent_rpcs.update_issue_model if parent_rpcs.respond_to? :update_issue_model @update_issue_model = ::Gapic::Config::Method.new update_issue_model_config get_issue_model_config = parent_rpcs.get_issue_model if parent_rpcs.respond_to? :get_issue_model @get_issue_model = ::Gapic::Config::Method.new get_issue_model_config list_issue_models_config = parent_rpcs.list_issue_models if parent_rpcs.respond_to? :list_issue_models @list_issue_models = ::Gapic::Config::Method.new list_issue_models_config delete_issue_model_config = parent_rpcs.delete_issue_model if parent_rpcs.respond_to? :delete_issue_model @delete_issue_model = ::Gapic::Config::Method.new delete_issue_model_config deploy_issue_model_config = parent_rpcs.deploy_issue_model if parent_rpcs.respond_to? :deploy_issue_model @deploy_issue_model = ::Gapic::Config::Method.new deploy_issue_model_config undeploy_issue_model_config = parent_rpcs.undeploy_issue_model if parent_rpcs.respond_to? :undeploy_issue_model @undeploy_issue_model = ::Gapic::Config::Method.new undeploy_issue_model_config export_issue_model_config = parent_rpcs.export_issue_model if parent_rpcs.respond_to? :export_issue_model @export_issue_model = ::Gapic::Config::Method.new export_issue_model_config import_issue_model_config = parent_rpcs.import_issue_model if parent_rpcs.respond_to? :import_issue_model @import_issue_model = ::Gapic::Config::Method.new import_issue_model_config get_issue_config = parent_rpcs.get_issue if parent_rpcs.respond_to? :get_issue @get_issue = ::Gapic::Config::Method.new get_issue_config list_issues_config = parent_rpcs.list_issues if parent_rpcs.respond_to? :list_issues @list_issues = ::Gapic::Config::Method.new list_issues_config update_issue_config = parent_rpcs.update_issue if parent_rpcs.respond_to? :update_issue @update_issue = ::Gapic::Config::Method.new update_issue_config delete_issue_config = parent_rpcs.delete_issue if parent_rpcs.respond_to? :delete_issue @delete_issue = ::Gapic::Config::Method.new delete_issue_config calculate_issue_model_stats_config = parent_rpcs.calculate_issue_model_stats if parent_rpcs.respond_to? :calculate_issue_model_stats @calculate_issue_model_stats = ::Gapic::Config::Method.new calculate_issue_model_stats_config create_phrase_matcher_config = parent_rpcs.create_phrase_matcher if parent_rpcs.respond_to? :create_phrase_matcher @create_phrase_matcher = ::Gapic::Config::Method.new create_phrase_matcher_config get_phrase_matcher_config = parent_rpcs.get_phrase_matcher if parent_rpcs.respond_to? :get_phrase_matcher @get_phrase_matcher = ::Gapic::Config::Method.new get_phrase_matcher_config list_phrase_matchers_config = parent_rpcs.list_phrase_matchers if parent_rpcs.respond_to? :list_phrase_matchers @list_phrase_matchers = ::Gapic::Config::Method.new list_phrase_matchers_config delete_phrase_matcher_config = parent_rpcs.delete_phrase_matcher if parent_rpcs.respond_to? :delete_phrase_matcher @delete_phrase_matcher = ::Gapic::Config::Method.new delete_phrase_matcher_config update_phrase_matcher_config = parent_rpcs.update_phrase_matcher if parent_rpcs.respond_to? :update_phrase_matcher @update_phrase_matcher = ::Gapic::Config::Method.new update_phrase_matcher_config calculate_stats_config = parent_rpcs.calculate_stats if parent_rpcs.respond_to? :calculate_stats @calculate_stats = ::Gapic::Config::Method.new calculate_stats_config get_settings_config = parent_rpcs.get_settings if parent_rpcs.respond_to? :get_settings @get_settings = ::Gapic::Config::Method.new get_settings_config update_settings_config = parent_rpcs.update_settings if parent_rpcs.respond_to? :update_settings @update_settings = ::Gapic::Config::Method.new update_settings_config get_encryption_spec_config = parent_rpcs.get_encryption_spec if parent_rpcs.respond_to? :get_encryption_spec @get_encryption_spec = ::Gapic::Config::Method.new get_encryption_spec_config initialize_encryption_spec_config = parent_rpcs.initialize_encryption_spec if parent_rpcs.respond_to? :initialize_encryption_spec @initialize_encryption_spec = ::Gapic::Config::Method.new initialize_encryption_spec_config create_view_config = parent_rpcs.create_view if parent_rpcs.respond_to? :create_view @create_view = ::Gapic::Config::Method.new create_view_config get_view_config = parent_rpcs.get_view if parent_rpcs.respond_to? :get_view @get_view = ::Gapic::Config::Method.new get_view_config list_views_config = parent_rpcs.list_views if parent_rpcs.respond_to? :list_views @list_views = ::Gapic::Config::Method.new list_views_config update_view_config = parent_rpcs.update_view if parent_rpcs.respond_to? :update_view @update_view = ::Gapic::Config::Method.new update_view_config delete_view_config = parent_rpcs.delete_view if parent_rpcs.respond_to? :delete_view @delete_view = ::Gapic::Config::Method.new delete_view_config yield self if block_given? end end end |
Instance Method Details
#rpcs ⇒ Rpcs
Configurations for individual RPCs
4011 4012 4013 4014 4015 4016 4017 |
# File 'lib/google/cloud/contact_center_insights/v1/contact_center_insights/rest/client.rb', line 4011 def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end |