Class: Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client::Configuration
- Inherits:
-
Object
- Object
- Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client::Configuration
- Extended by:
- Gapic::Config
- Defined in:
- lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb
Overview
Configuration class for the BigtableTableAdmin API.
This class represents the configuration for BigtableTableAdmin, 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
-
#channel_args ⇒ ::Hash
Extra parameters passed to the gRPC channel.
-
#credentials ⇒ ::Object
Credentials to send with calls.
-
#endpoint ⇒ ::String?
A custom service endpoint, as a hostname or hostname:port.
-
#interceptors ⇒ ::Array<::GRPC::ClientInterceptor>
An array of interceptors that are run before calls are executed.
-
#lib_name ⇒ ::String
The library name as recorded in instrumentation and logging.
-
#lib_version ⇒ ::String
The library version as recorded in instrumentation and logging.
-
#logger ⇒ ::Logger, ...
A custom logger to use for request/response debug logging, or the value
:default
(the default) to construct a default logger, ornil
to explicitly disable logging. -
#metadata ⇒ ::Hash{::Symbol=>::String}
Additional gRPC 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
-
#channel_pool ⇒ ::Gapic::ServiceStub::ChannelPool::Configuration
Configuration for the channel pool.
-
#rpcs ⇒ Rpcs
Configurations for individual RPCs.
Instance Attribute Details
#channel_args ⇒ ::Hash
Extra parameters passed to the gRPC channel. Note: this is ignored if a
GRPC::Core::Channel
object is provided as the credential.
3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 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 |
# File 'lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb', line 3920 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "bigtableadmin.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel 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(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, 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 config_attr :logger, :default, ::Logger, nil, :default # @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 for the channel pool # @return [::Gapic::ServiceStub::ChannelPool::Configuration] # def channel_pool @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new end ## # Configuration RPC class for the BigtableTableAdmin 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 gRPC 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_table` # @return [::Gapic::Config::Method] # attr_reader :create_table ## # RPC-specific configuration for `create_table_from_snapshot` # @return [::Gapic::Config::Method] # attr_reader :create_table_from_snapshot ## # RPC-specific configuration for `list_tables` # @return [::Gapic::Config::Method] # attr_reader :list_tables ## # RPC-specific configuration for `get_table` # @return [::Gapic::Config::Method] # attr_reader :get_table ## # RPC-specific configuration for `update_table` # @return [::Gapic::Config::Method] # attr_reader :update_table ## # RPC-specific configuration for `delete_table` # @return [::Gapic::Config::Method] # attr_reader :delete_table ## # RPC-specific configuration for `undelete_table` # @return [::Gapic::Config::Method] # attr_reader :undelete_table ## # RPC-specific configuration for `create_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :create_authorized_view ## # RPC-specific configuration for `list_authorized_views` # @return [::Gapic::Config::Method] # attr_reader :list_authorized_views ## # RPC-specific configuration for `get_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :get_authorized_view ## # RPC-specific configuration for `update_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :update_authorized_view ## # RPC-specific configuration for `delete_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :delete_authorized_view ## # RPC-specific configuration for `modify_column_families` # @return [::Gapic::Config::Method] # attr_reader :modify_column_families ## # RPC-specific configuration for `drop_row_range` # @return [::Gapic::Config::Method] # attr_reader :drop_row_range ## # RPC-specific configuration for `generate_consistency_token` # @return [::Gapic::Config::Method] # attr_reader :generate_consistency_token ## # RPC-specific configuration for `check_consistency` # @return [::Gapic::Config::Method] # attr_reader :check_consistency ## # RPC-specific configuration for `snapshot_table` # @return [::Gapic::Config::Method] # attr_reader :snapshot_table ## # RPC-specific configuration for `get_snapshot` # @return [::Gapic::Config::Method] # attr_reader :get_snapshot ## # RPC-specific configuration for `list_snapshots` # @return [::Gapic::Config::Method] # attr_reader :list_snapshots ## # RPC-specific configuration for `delete_snapshot` # @return [::Gapic::Config::Method] # attr_reader :delete_snapshot ## # RPC-specific configuration for `create_backup` # @return [::Gapic::Config::Method] # attr_reader :create_backup ## # RPC-specific configuration for `get_backup` # @return [::Gapic::Config::Method] # attr_reader :get_backup ## # RPC-specific configuration for `update_backup` # @return [::Gapic::Config::Method] # attr_reader :update_backup ## # RPC-specific configuration for `delete_backup` # @return [::Gapic::Config::Method] # attr_reader :delete_backup ## # RPC-specific configuration for `list_backups` # @return [::Gapic::Config::Method] # attr_reader :list_backups ## # RPC-specific configuration for `restore_table` # @return [::Gapic::Config::Method] # attr_reader :restore_table ## # RPC-specific configuration for `copy_backup` # @return [::Gapic::Config::Method] # attr_reader :copy_backup ## # RPC-specific configuration for `get_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :get_iam_policy ## # RPC-specific configuration for `set_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :set_iam_policy ## # RPC-specific configuration for `test_iam_permissions` # @return [::Gapic::Config::Method] # attr_reader :test_iam_permissions ## # RPC-specific configuration for `create_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :create_schema_bundle ## # RPC-specific configuration for `update_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :update_schema_bundle ## # RPC-specific configuration for `get_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :get_schema_bundle ## # RPC-specific configuration for `list_schema_bundles` # @return [::Gapic::Config::Method] # attr_reader :list_schema_bundles ## # RPC-specific configuration for `delete_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :delete_schema_bundle # @private def initialize parent_rpcs = nil create_table_config = parent_rpcs.create_table if parent_rpcs.respond_to? :create_table @create_table = ::Gapic::Config::Method.new create_table_config create_table_from_snapshot_config = parent_rpcs.create_table_from_snapshot if parent_rpcs.respond_to? :create_table_from_snapshot @create_table_from_snapshot = ::Gapic::Config::Method.new create_table_from_snapshot_config list_tables_config = parent_rpcs.list_tables if parent_rpcs.respond_to? :list_tables @list_tables = ::Gapic::Config::Method.new list_tables_config get_table_config = parent_rpcs.get_table if parent_rpcs.respond_to? :get_table @get_table = ::Gapic::Config::Method.new get_table_config update_table_config = parent_rpcs.update_table if parent_rpcs.respond_to? :update_table @update_table = ::Gapic::Config::Method.new update_table_config delete_table_config = parent_rpcs.delete_table if parent_rpcs.respond_to? :delete_table @delete_table = ::Gapic::Config::Method.new delete_table_config undelete_table_config = parent_rpcs.undelete_table if parent_rpcs.respond_to? :undelete_table @undelete_table = ::Gapic::Config::Method.new undelete_table_config = parent_rpcs. if parent_rpcs.respond_to? :create_authorized_view @create_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :list_authorized_views @list_authorized_views = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :get_authorized_view @get_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :update_authorized_view @update_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :delete_authorized_view @delete_authorized_view = ::Gapic::Config::Method.new modify_column_families_config = parent_rpcs.modify_column_families if parent_rpcs.respond_to? :modify_column_families @modify_column_families = ::Gapic::Config::Method.new modify_column_families_config drop_row_range_config = parent_rpcs.drop_row_range if parent_rpcs.respond_to? :drop_row_range @drop_row_range = ::Gapic::Config::Method.new drop_row_range_config generate_consistency_token_config = parent_rpcs.generate_consistency_token if parent_rpcs.respond_to? :generate_consistency_token @generate_consistency_token = ::Gapic::Config::Method.new generate_consistency_token_config check_consistency_config = parent_rpcs.check_consistency if parent_rpcs.respond_to? :check_consistency @check_consistency = ::Gapic::Config::Method.new check_consistency_config snapshot_table_config = parent_rpcs.snapshot_table if parent_rpcs.respond_to? :snapshot_table @snapshot_table = ::Gapic::Config::Method.new snapshot_table_config get_snapshot_config = parent_rpcs.get_snapshot if parent_rpcs.respond_to? :get_snapshot @get_snapshot = ::Gapic::Config::Method.new get_snapshot_config list_snapshots_config = parent_rpcs.list_snapshots if parent_rpcs.respond_to? :list_snapshots @list_snapshots = ::Gapic::Config::Method.new list_snapshots_config delete_snapshot_config = parent_rpcs.delete_snapshot if parent_rpcs.respond_to? :delete_snapshot @delete_snapshot = ::Gapic::Config::Method.new delete_snapshot_config create_backup_config = parent_rpcs.create_backup if parent_rpcs.respond_to? :create_backup @create_backup = ::Gapic::Config::Method.new create_backup_config get_backup_config = parent_rpcs.get_backup if parent_rpcs.respond_to? :get_backup @get_backup = ::Gapic::Config::Method.new get_backup_config update_backup_config = parent_rpcs.update_backup if parent_rpcs.respond_to? :update_backup @update_backup = ::Gapic::Config::Method.new update_backup_config delete_backup_config = parent_rpcs.delete_backup if parent_rpcs.respond_to? :delete_backup @delete_backup = ::Gapic::Config::Method.new delete_backup_config list_backups_config = parent_rpcs.list_backups if parent_rpcs.respond_to? :list_backups @list_backups = ::Gapic::Config::Method.new list_backups_config restore_table_config = parent_rpcs.restore_table if parent_rpcs.respond_to? :restore_table @restore_table = ::Gapic::Config::Method.new restore_table_config copy_backup_config = parent_rpcs.copy_backup if parent_rpcs.respond_to? :copy_backup @copy_backup = ::Gapic::Config::Method.new copy_backup_config get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config = parent_rpcs. if parent_rpcs.respond_to? :test_iam_permissions @test_iam_permissions = ::Gapic::Config::Method.new create_schema_bundle_config = parent_rpcs.create_schema_bundle if parent_rpcs.respond_to? :create_schema_bundle @create_schema_bundle = ::Gapic::Config::Method.new create_schema_bundle_config update_schema_bundle_config = parent_rpcs.update_schema_bundle if parent_rpcs.respond_to? :update_schema_bundle @update_schema_bundle = ::Gapic::Config::Method.new update_schema_bundle_config get_schema_bundle_config = parent_rpcs.get_schema_bundle if parent_rpcs.respond_to? :get_schema_bundle @get_schema_bundle = ::Gapic::Config::Method.new get_schema_bundle_config list_schema_bundles_config = parent_rpcs.list_schema_bundles if parent_rpcs.respond_to? :list_schema_bundles @list_schema_bundles = ::Gapic::Config::Method.new list_schema_bundles_config delete_schema_bundle_config = parent_rpcs.delete_schema_bundle if parent_rpcs.respond_to? :delete_schema_bundle @delete_schema_bundle = ::Gapic::Config::Method.new delete_schema_bundle_config yield self if block_given? end end end |
#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) - (
GRPC::Core::Channel
) a gRPC channel with included credentials - (
GRPC::Core::ChannelCredentials
) a gRPC credentails object - (
nil
) indicating no credentials
Warning: If you accept a credential configuration (JSON file or Hash) from an external source for authentication to Google Cloud, you must validate it before providing it to a Google API client library. Providing an unvalidated credential configuration to Google APIs can compromise the security of your systems and data. For more information, refer to Validate credential configurations from external sources.
3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 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 |
# File 'lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb', line 3920 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "bigtableadmin.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel 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(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, 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 config_attr :logger, :default, ::Logger, nil, :default # @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 for the channel pool # @return [::Gapic::ServiceStub::ChannelPool::Configuration] # def channel_pool @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new end ## # Configuration RPC class for the BigtableTableAdmin 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 gRPC 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_table` # @return [::Gapic::Config::Method] # attr_reader :create_table ## # RPC-specific configuration for `create_table_from_snapshot` # @return [::Gapic::Config::Method] # attr_reader :create_table_from_snapshot ## # RPC-specific configuration for `list_tables` # @return [::Gapic::Config::Method] # attr_reader :list_tables ## # RPC-specific configuration for `get_table` # @return [::Gapic::Config::Method] # attr_reader :get_table ## # RPC-specific configuration for `update_table` # @return [::Gapic::Config::Method] # attr_reader :update_table ## # RPC-specific configuration for `delete_table` # @return [::Gapic::Config::Method] # attr_reader :delete_table ## # RPC-specific configuration for `undelete_table` # @return [::Gapic::Config::Method] # attr_reader :undelete_table ## # RPC-specific configuration for `create_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :create_authorized_view ## # RPC-specific configuration for `list_authorized_views` # @return [::Gapic::Config::Method] # attr_reader :list_authorized_views ## # RPC-specific configuration for `get_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :get_authorized_view ## # RPC-specific configuration for `update_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :update_authorized_view ## # RPC-specific configuration for `delete_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :delete_authorized_view ## # RPC-specific configuration for `modify_column_families` # @return [::Gapic::Config::Method] # attr_reader :modify_column_families ## # RPC-specific configuration for `drop_row_range` # @return [::Gapic::Config::Method] # attr_reader :drop_row_range ## # RPC-specific configuration for `generate_consistency_token` # @return [::Gapic::Config::Method] # attr_reader :generate_consistency_token ## # RPC-specific configuration for `check_consistency` # @return [::Gapic::Config::Method] # attr_reader :check_consistency ## # RPC-specific configuration for `snapshot_table` # @return [::Gapic::Config::Method] # attr_reader :snapshot_table ## # RPC-specific configuration for `get_snapshot` # @return [::Gapic::Config::Method] # attr_reader :get_snapshot ## # RPC-specific configuration for `list_snapshots` # @return [::Gapic::Config::Method] # attr_reader :list_snapshots ## # RPC-specific configuration for `delete_snapshot` # @return [::Gapic::Config::Method] # attr_reader :delete_snapshot ## # RPC-specific configuration for `create_backup` # @return [::Gapic::Config::Method] # attr_reader :create_backup ## # RPC-specific configuration for `get_backup` # @return [::Gapic::Config::Method] # attr_reader :get_backup ## # RPC-specific configuration for `update_backup` # @return [::Gapic::Config::Method] # attr_reader :update_backup ## # RPC-specific configuration for `delete_backup` # @return [::Gapic::Config::Method] # attr_reader :delete_backup ## # RPC-specific configuration for `list_backups` # @return [::Gapic::Config::Method] # attr_reader :list_backups ## # RPC-specific configuration for `restore_table` # @return [::Gapic::Config::Method] # attr_reader :restore_table ## # RPC-specific configuration for `copy_backup` # @return [::Gapic::Config::Method] # attr_reader :copy_backup ## # RPC-specific configuration for `get_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :get_iam_policy ## # RPC-specific configuration for `set_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :set_iam_policy ## # RPC-specific configuration for `test_iam_permissions` # @return [::Gapic::Config::Method] # attr_reader :test_iam_permissions ## # RPC-specific configuration for `create_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :create_schema_bundle ## # RPC-specific configuration for `update_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :update_schema_bundle ## # RPC-specific configuration for `get_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :get_schema_bundle ## # RPC-specific configuration for `list_schema_bundles` # @return [::Gapic::Config::Method] # attr_reader :list_schema_bundles ## # RPC-specific configuration for `delete_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :delete_schema_bundle # @private def initialize parent_rpcs = nil create_table_config = parent_rpcs.create_table if parent_rpcs.respond_to? :create_table @create_table = ::Gapic::Config::Method.new create_table_config create_table_from_snapshot_config = parent_rpcs.create_table_from_snapshot if parent_rpcs.respond_to? :create_table_from_snapshot @create_table_from_snapshot = ::Gapic::Config::Method.new create_table_from_snapshot_config list_tables_config = parent_rpcs.list_tables if parent_rpcs.respond_to? :list_tables @list_tables = ::Gapic::Config::Method.new list_tables_config get_table_config = parent_rpcs.get_table if parent_rpcs.respond_to? :get_table @get_table = ::Gapic::Config::Method.new get_table_config update_table_config = parent_rpcs.update_table if parent_rpcs.respond_to? :update_table @update_table = ::Gapic::Config::Method.new update_table_config delete_table_config = parent_rpcs.delete_table if parent_rpcs.respond_to? :delete_table @delete_table = ::Gapic::Config::Method.new delete_table_config undelete_table_config = parent_rpcs.undelete_table if parent_rpcs.respond_to? :undelete_table @undelete_table = ::Gapic::Config::Method.new undelete_table_config = parent_rpcs. if parent_rpcs.respond_to? :create_authorized_view @create_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :list_authorized_views @list_authorized_views = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :get_authorized_view @get_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :update_authorized_view @update_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :delete_authorized_view @delete_authorized_view = ::Gapic::Config::Method.new modify_column_families_config = parent_rpcs.modify_column_families if parent_rpcs.respond_to? :modify_column_families @modify_column_families = ::Gapic::Config::Method.new modify_column_families_config drop_row_range_config = parent_rpcs.drop_row_range if parent_rpcs.respond_to? :drop_row_range @drop_row_range = ::Gapic::Config::Method.new drop_row_range_config generate_consistency_token_config = parent_rpcs.generate_consistency_token if parent_rpcs.respond_to? :generate_consistency_token @generate_consistency_token = ::Gapic::Config::Method.new generate_consistency_token_config check_consistency_config = parent_rpcs.check_consistency if parent_rpcs.respond_to? :check_consistency @check_consistency = ::Gapic::Config::Method.new check_consistency_config snapshot_table_config = parent_rpcs.snapshot_table if parent_rpcs.respond_to? :snapshot_table @snapshot_table = ::Gapic::Config::Method.new snapshot_table_config get_snapshot_config = parent_rpcs.get_snapshot if parent_rpcs.respond_to? :get_snapshot @get_snapshot = ::Gapic::Config::Method.new get_snapshot_config list_snapshots_config = parent_rpcs.list_snapshots if parent_rpcs.respond_to? :list_snapshots @list_snapshots = ::Gapic::Config::Method.new list_snapshots_config delete_snapshot_config = parent_rpcs.delete_snapshot if parent_rpcs.respond_to? :delete_snapshot @delete_snapshot = ::Gapic::Config::Method.new delete_snapshot_config create_backup_config = parent_rpcs.create_backup if parent_rpcs.respond_to? :create_backup @create_backup = ::Gapic::Config::Method.new create_backup_config get_backup_config = parent_rpcs.get_backup if parent_rpcs.respond_to? :get_backup @get_backup = ::Gapic::Config::Method.new get_backup_config update_backup_config = parent_rpcs.update_backup if parent_rpcs.respond_to? :update_backup @update_backup = ::Gapic::Config::Method.new update_backup_config delete_backup_config = parent_rpcs.delete_backup if parent_rpcs.respond_to? :delete_backup @delete_backup = ::Gapic::Config::Method.new delete_backup_config list_backups_config = parent_rpcs.list_backups if parent_rpcs.respond_to? :list_backups @list_backups = ::Gapic::Config::Method.new list_backups_config restore_table_config = parent_rpcs.restore_table if parent_rpcs.respond_to? :restore_table @restore_table = ::Gapic::Config::Method.new restore_table_config copy_backup_config = parent_rpcs.copy_backup if parent_rpcs.respond_to? :copy_backup @copy_backup = ::Gapic::Config::Method.new copy_backup_config get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config = parent_rpcs. if parent_rpcs.respond_to? :test_iam_permissions @test_iam_permissions = ::Gapic::Config::Method.new create_schema_bundle_config = parent_rpcs.create_schema_bundle if parent_rpcs.respond_to? :create_schema_bundle @create_schema_bundle = ::Gapic::Config::Method.new create_schema_bundle_config update_schema_bundle_config = parent_rpcs.update_schema_bundle if parent_rpcs.respond_to? :update_schema_bundle @update_schema_bundle = ::Gapic::Config::Method.new update_schema_bundle_config get_schema_bundle_config = parent_rpcs.get_schema_bundle if parent_rpcs.respond_to? :get_schema_bundle @get_schema_bundle = ::Gapic::Config::Method.new get_schema_bundle_config list_schema_bundles_config = parent_rpcs.list_schema_bundles if parent_rpcs.respond_to? :list_schema_bundles @list_schema_bundles = ::Gapic::Config::Method.new list_schema_bundles_config delete_schema_bundle_config = parent_rpcs.delete_schema_bundle if parent_rpcs.respond_to? :delete_schema_bundle @delete_schema_bundle = ::Gapic::Config::Method.new delete_schema_bundle_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.
3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 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 |
# File 'lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb', line 3920 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "bigtableadmin.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel 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(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, 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 config_attr :logger, :default, ::Logger, nil, :default # @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 for the channel pool # @return [::Gapic::ServiceStub::ChannelPool::Configuration] # def channel_pool @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new end ## # Configuration RPC class for the BigtableTableAdmin 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 gRPC 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_table` # @return [::Gapic::Config::Method] # attr_reader :create_table ## # RPC-specific configuration for `create_table_from_snapshot` # @return [::Gapic::Config::Method] # attr_reader :create_table_from_snapshot ## # RPC-specific configuration for `list_tables` # @return [::Gapic::Config::Method] # attr_reader :list_tables ## # RPC-specific configuration for `get_table` # @return [::Gapic::Config::Method] # attr_reader :get_table ## # RPC-specific configuration for `update_table` # @return [::Gapic::Config::Method] # attr_reader :update_table ## # RPC-specific configuration for `delete_table` # @return [::Gapic::Config::Method] # attr_reader :delete_table ## # RPC-specific configuration for `undelete_table` # @return [::Gapic::Config::Method] # attr_reader :undelete_table ## # RPC-specific configuration for `create_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :create_authorized_view ## # RPC-specific configuration for `list_authorized_views` # @return [::Gapic::Config::Method] # attr_reader :list_authorized_views ## # RPC-specific configuration for `get_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :get_authorized_view ## # RPC-specific configuration for `update_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :update_authorized_view ## # RPC-specific configuration for `delete_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :delete_authorized_view ## # RPC-specific configuration for `modify_column_families` # @return [::Gapic::Config::Method] # attr_reader :modify_column_families ## # RPC-specific configuration for `drop_row_range` # @return [::Gapic::Config::Method] # attr_reader :drop_row_range ## # RPC-specific configuration for `generate_consistency_token` # @return [::Gapic::Config::Method] # attr_reader :generate_consistency_token ## # RPC-specific configuration for `check_consistency` # @return [::Gapic::Config::Method] # attr_reader :check_consistency ## # RPC-specific configuration for `snapshot_table` # @return [::Gapic::Config::Method] # attr_reader :snapshot_table ## # RPC-specific configuration for `get_snapshot` # @return [::Gapic::Config::Method] # attr_reader :get_snapshot ## # RPC-specific configuration for `list_snapshots` # @return [::Gapic::Config::Method] # attr_reader :list_snapshots ## # RPC-specific configuration for `delete_snapshot` # @return [::Gapic::Config::Method] # attr_reader :delete_snapshot ## # RPC-specific configuration for `create_backup` # @return [::Gapic::Config::Method] # attr_reader :create_backup ## # RPC-specific configuration for `get_backup` # @return [::Gapic::Config::Method] # attr_reader :get_backup ## # RPC-specific configuration for `update_backup` # @return [::Gapic::Config::Method] # attr_reader :update_backup ## # RPC-specific configuration for `delete_backup` # @return [::Gapic::Config::Method] # attr_reader :delete_backup ## # RPC-specific configuration for `list_backups` # @return [::Gapic::Config::Method] # attr_reader :list_backups ## # RPC-specific configuration for `restore_table` # @return [::Gapic::Config::Method] # attr_reader :restore_table ## # RPC-specific configuration for `copy_backup` # @return [::Gapic::Config::Method] # attr_reader :copy_backup ## # RPC-specific configuration for `get_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :get_iam_policy ## # RPC-specific configuration for `set_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :set_iam_policy ## # RPC-specific configuration for `test_iam_permissions` # @return [::Gapic::Config::Method] # attr_reader :test_iam_permissions ## # RPC-specific configuration for `create_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :create_schema_bundle ## # RPC-specific configuration for `update_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :update_schema_bundle ## # RPC-specific configuration for `get_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :get_schema_bundle ## # RPC-specific configuration for `list_schema_bundles` # @return [::Gapic::Config::Method] # attr_reader :list_schema_bundles ## # RPC-specific configuration for `delete_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :delete_schema_bundle # @private def initialize parent_rpcs = nil create_table_config = parent_rpcs.create_table if parent_rpcs.respond_to? :create_table @create_table = ::Gapic::Config::Method.new create_table_config create_table_from_snapshot_config = parent_rpcs.create_table_from_snapshot if parent_rpcs.respond_to? :create_table_from_snapshot @create_table_from_snapshot = ::Gapic::Config::Method.new create_table_from_snapshot_config list_tables_config = parent_rpcs.list_tables if parent_rpcs.respond_to? :list_tables @list_tables = ::Gapic::Config::Method.new list_tables_config get_table_config = parent_rpcs.get_table if parent_rpcs.respond_to? :get_table @get_table = ::Gapic::Config::Method.new get_table_config update_table_config = parent_rpcs.update_table if parent_rpcs.respond_to? :update_table @update_table = ::Gapic::Config::Method.new update_table_config delete_table_config = parent_rpcs.delete_table if parent_rpcs.respond_to? :delete_table @delete_table = ::Gapic::Config::Method.new delete_table_config undelete_table_config = parent_rpcs.undelete_table if parent_rpcs.respond_to? :undelete_table @undelete_table = ::Gapic::Config::Method.new undelete_table_config = parent_rpcs. if parent_rpcs.respond_to? :create_authorized_view @create_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :list_authorized_views @list_authorized_views = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :get_authorized_view @get_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :update_authorized_view @update_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :delete_authorized_view @delete_authorized_view = ::Gapic::Config::Method.new modify_column_families_config = parent_rpcs.modify_column_families if parent_rpcs.respond_to? :modify_column_families @modify_column_families = ::Gapic::Config::Method.new modify_column_families_config drop_row_range_config = parent_rpcs.drop_row_range if parent_rpcs.respond_to? :drop_row_range @drop_row_range = ::Gapic::Config::Method.new drop_row_range_config generate_consistency_token_config = parent_rpcs.generate_consistency_token if parent_rpcs.respond_to? :generate_consistency_token @generate_consistency_token = ::Gapic::Config::Method.new generate_consistency_token_config check_consistency_config = parent_rpcs.check_consistency if parent_rpcs.respond_to? :check_consistency @check_consistency = ::Gapic::Config::Method.new check_consistency_config snapshot_table_config = parent_rpcs.snapshot_table if parent_rpcs.respond_to? :snapshot_table @snapshot_table = ::Gapic::Config::Method.new snapshot_table_config get_snapshot_config = parent_rpcs.get_snapshot if parent_rpcs.respond_to? :get_snapshot @get_snapshot = ::Gapic::Config::Method.new get_snapshot_config list_snapshots_config = parent_rpcs.list_snapshots if parent_rpcs.respond_to? :list_snapshots @list_snapshots = ::Gapic::Config::Method.new list_snapshots_config delete_snapshot_config = parent_rpcs.delete_snapshot if parent_rpcs.respond_to? :delete_snapshot @delete_snapshot = ::Gapic::Config::Method.new delete_snapshot_config create_backup_config = parent_rpcs.create_backup if parent_rpcs.respond_to? :create_backup @create_backup = ::Gapic::Config::Method.new create_backup_config get_backup_config = parent_rpcs.get_backup if parent_rpcs.respond_to? :get_backup @get_backup = ::Gapic::Config::Method.new get_backup_config update_backup_config = parent_rpcs.update_backup if parent_rpcs.respond_to? :update_backup @update_backup = ::Gapic::Config::Method.new update_backup_config delete_backup_config = parent_rpcs.delete_backup if parent_rpcs.respond_to? :delete_backup @delete_backup = ::Gapic::Config::Method.new delete_backup_config list_backups_config = parent_rpcs.list_backups if parent_rpcs.respond_to? :list_backups @list_backups = ::Gapic::Config::Method.new list_backups_config restore_table_config = parent_rpcs.restore_table if parent_rpcs.respond_to? :restore_table @restore_table = ::Gapic::Config::Method.new restore_table_config copy_backup_config = parent_rpcs.copy_backup if parent_rpcs.respond_to? :copy_backup @copy_backup = ::Gapic::Config::Method.new copy_backup_config get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config = parent_rpcs. if parent_rpcs.respond_to? :test_iam_permissions @test_iam_permissions = ::Gapic::Config::Method.new create_schema_bundle_config = parent_rpcs.create_schema_bundle if parent_rpcs.respond_to? :create_schema_bundle @create_schema_bundle = ::Gapic::Config::Method.new create_schema_bundle_config update_schema_bundle_config = parent_rpcs.update_schema_bundle if parent_rpcs.respond_to? :update_schema_bundle @update_schema_bundle = ::Gapic::Config::Method.new update_schema_bundle_config get_schema_bundle_config = parent_rpcs.get_schema_bundle if parent_rpcs.respond_to? :get_schema_bundle @get_schema_bundle = ::Gapic::Config::Method.new get_schema_bundle_config list_schema_bundles_config = parent_rpcs.list_schema_bundles if parent_rpcs.respond_to? :list_schema_bundles @list_schema_bundles = ::Gapic::Config::Method.new list_schema_bundles_config delete_schema_bundle_config = parent_rpcs.delete_schema_bundle if parent_rpcs.respond_to? :delete_schema_bundle @delete_schema_bundle = ::Gapic::Config::Method.new delete_schema_bundle_config yield self if block_given? end end end |
#interceptors ⇒ ::Array<::GRPC::ClientInterceptor>
An array of interceptors that are run before calls are executed.
3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 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 |
# File 'lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb', line 3920 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "bigtableadmin.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel 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(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, 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 config_attr :logger, :default, ::Logger, nil, :default # @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 for the channel pool # @return [::Gapic::ServiceStub::ChannelPool::Configuration] # def channel_pool @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new end ## # Configuration RPC class for the BigtableTableAdmin 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 gRPC 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_table` # @return [::Gapic::Config::Method] # attr_reader :create_table ## # RPC-specific configuration for `create_table_from_snapshot` # @return [::Gapic::Config::Method] # attr_reader :create_table_from_snapshot ## # RPC-specific configuration for `list_tables` # @return [::Gapic::Config::Method] # attr_reader :list_tables ## # RPC-specific configuration for `get_table` # @return [::Gapic::Config::Method] # attr_reader :get_table ## # RPC-specific configuration for `update_table` # @return [::Gapic::Config::Method] # attr_reader :update_table ## # RPC-specific configuration for `delete_table` # @return [::Gapic::Config::Method] # attr_reader :delete_table ## # RPC-specific configuration for `undelete_table` # @return [::Gapic::Config::Method] # attr_reader :undelete_table ## # RPC-specific configuration for `create_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :create_authorized_view ## # RPC-specific configuration for `list_authorized_views` # @return [::Gapic::Config::Method] # attr_reader :list_authorized_views ## # RPC-specific configuration for `get_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :get_authorized_view ## # RPC-specific configuration for `update_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :update_authorized_view ## # RPC-specific configuration for `delete_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :delete_authorized_view ## # RPC-specific configuration for `modify_column_families` # @return [::Gapic::Config::Method] # attr_reader :modify_column_families ## # RPC-specific configuration for `drop_row_range` # @return [::Gapic::Config::Method] # attr_reader :drop_row_range ## # RPC-specific configuration for `generate_consistency_token` # @return [::Gapic::Config::Method] # attr_reader :generate_consistency_token ## # RPC-specific configuration for `check_consistency` # @return [::Gapic::Config::Method] # attr_reader :check_consistency ## # RPC-specific configuration for `snapshot_table` # @return [::Gapic::Config::Method] # attr_reader :snapshot_table ## # RPC-specific configuration for `get_snapshot` # @return [::Gapic::Config::Method] # attr_reader :get_snapshot ## # RPC-specific configuration for `list_snapshots` # @return [::Gapic::Config::Method] # attr_reader :list_snapshots ## # RPC-specific configuration for `delete_snapshot` # @return [::Gapic::Config::Method] # attr_reader :delete_snapshot ## # RPC-specific configuration for `create_backup` # @return [::Gapic::Config::Method] # attr_reader :create_backup ## # RPC-specific configuration for `get_backup` # @return [::Gapic::Config::Method] # attr_reader :get_backup ## # RPC-specific configuration for `update_backup` # @return [::Gapic::Config::Method] # attr_reader :update_backup ## # RPC-specific configuration for `delete_backup` # @return [::Gapic::Config::Method] # attr_reader :delete_backup ## # RPC-specific configuration for `list_backups` # @return [::Gapic::Config::Method] # attr_reader :list_backups ## # RPC-specific configuration for `restore_table` # @return [::Gapic::Config::Method] # attr_reader :restore_table ## # RPC-specific configuration for `copy_backup` # @return [::Gapic::Config::Method] # attr_reader :copy_backup ## # RPC-specific configuration for `get_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :get_iam_policy ## # RPC-specific configuration for `set_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :set_iam_policy ## # RPC-specific configuration for `test_iam_permissions` # @return [::Gapic::Config::Method] # attr_reader :test_iam_permissions ## # RPC-specific configuration for `create_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :create_schema_bundle ## # RPC-specific configuration for `update_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :update_schema_bundle ## # RPC-specific configuration for `get_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :get_schema_bundle ## # RPC-specific configuration for `list_schema_bundles` # @return [::Gapic::Config::Method] # attr_reader :list_schema_bundles ## # RPC-specific configuration for `delete_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :delete_schema_bundle # @private def initialize parent_rpcs = nil create_table_config = parent_rpcs.create_table if parent_rpcs.respond_to? :create_table @create_table = ::Gapic::Config::Method.new create_table_config create_table_from_snapshot_config = parent_rpcs.create_table_from_snapshot if parent_rpcs.respond_to? :create_table_from_snapshot @create_table_from_snapshot = ::Gapic::Config::Method.new create_table_from_snapshot_config list_tables_config = parent_rpcs.list_tables if parent_rpcs.respond_to? :list_tables @list_tables = ::Gapic::Config::Method.new list_tables_config get_table_config = parent_rpcs.get_table if parent_rpcs.respond_to? :get_table @get_table = ::Gapic::Config::Method.new get_table_config update_table_config = parent_rpcs.update_table if parent_rpcs.respond_to? :update_table @update_table = ::Gapic::Config::Method.new update_table_config delete_table_config = parent_rpcs.delete_table if parent_rpcs.respond_to? :delete_table @delete_table = ::Gapic::Config::Method.new delete_table_config undelete_table_config = parent_rpcs.undelete_table if parent_rpcs.respond_to? :undelete_table @undelete_table = ::Gapic::Config::Method.new undelete_table_config = parent_rpcs. if parent_rpcs.respond_to? :create_authorized_view @create_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :list_authorized_views @list_authorized_views = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :get_authorized_view @get_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :update_authorized_view @update_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :delete_authorized_view @delete_authorized_view = ::Gapic::Config::Method.new modify_column_families_config = parent_rpcs.modify_column_families if parent_rpcs.respond_to? :modify_column_families @modify_column_families = ::Gapic::Config::Method.new modify_column_families_config drop_row_range_config = parent_rpcs.drop_row_range if parent_rpcs.respond_to? :drop_row_range @drop_row_range = ::Gapic::Config::Method.new drop_row_range_config generate_consistency_token_config = parent_rpcs.generate_consistency_token if parent_rpcs.respond_to? :generate_consistency_token @generate_consistency_token = ::Gapic::Config::Method.new generate_consistency_token_config check_consistency_config = parent_rpcs.check_consistency if parent_rpcs.respond_to? :check_consistency @check_consistency = ::Gapic::Config::Method.new check_consistency_config snapshot_table_config = parent_rpcs.snapshot_table if parent_rpcs.respond_to? :snapshot_table @snapshot_table = ::Gapic::Config::Method.new snapshot_table_config get_snapshot_config = parent_rpcs.get_snapshot if parent_rpcs.respond_to? :get_snapshot @get_snapshot = ::Gapic::Config::Method.new get_snapshot_config list_snapshots_config = parent_rpcs.list_snapshots if parent_rpcs.respond_to? :list_snapshots @list_snapshots = ::Gapic::Config::Method.new list_snapshots_config delete_snapshot_config = parent_rpcs.delete_snapshot if parent_rpcs.respond_to? :delete_snapshot @delete_snapshot = ::Gapic::Config::Method.new delete_snapshot_config create_backup_config = parent_rpcs.create_backup if parent_rpcs.respond_to? :create_backup @create_backup = ::Gapic::Config::Method.new create_backup_config get_backup_config = parent_rpcs.get_backup if parent_rpcs.respond_to? :get_backup @get_backup = ::Gapic::Config::Method.new get_backup_config update_backup_config = parent_rpcs.update_backup if parent_rpcs.respond_to? :update_backup @update_backup = ::Gapic::Config::Method.new update_backup_config delete_backup_config = parent_rpcs.delete_backup if parent_rpcs.respond_to? :delete_backup @delete_backup = ::Gapic::Config::Method.new delete_backup_config list_backups_config = parent_rpcs.list_backups if parent_rpcs.respond_to? :list_backups @list_backups = ::Gapic::Config::Method.new list_backups_config restore_table_config = parent_rpcs.restore_table if parent_rpcs.respond_to? :restore_table @restore_table = ::Gapic::Config::Method.new restore_table_config copy_backup_config = parent_rpcs.copy_backup if parent_rpcs.respond_to? :copy_backup @copy_backup = ::Gapic::Config::Method.new copy_backup_config get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config = parent_rpcs. if parent_rpcs.respond_to? :test_iam_permissions @test_iam_permissions = ::Gapic::Config::Method.new create_schema_bundle_config = parent_rpcs.create_schema_bundle if parent_rpcs.respond_to? :create_schema_bundle @create_schema_bundle = ::Gapic::Config::Method.new create_schema_bundle_config update_schema_bundle_config = parent_rpcs.update_schema_bundle if parent_rpcs.respond_to? :update_schema_bundle @update_schema_bundle = ::Gapic::Config::Method.new update_schema_bundle_config get_schema_bundle_config = parent_rpcs.get_schema_bundle if parent_rpcs.respond_to? :get_schema_bundle @get_schema_bundle = ::Gapic::Config::Method.new get_schema_bundle_config list_schema_bundles_config = parent_rpcs.list_schema_bundles if parent_rpcs.respond_to? :list_schema_bundles @list_schema_bundles = ::Gapic::Config::Method.new list_schema_bundles_config delete_schema_bundle_config = parent_rpcs.delete_schema_bundle if parent_rpcs.respond_to? :delete_schema_bundle @delete_schema_bundle = ::Gapic::Config::Method.new delete_schema_bundle_config yield self if block_given? end end end |
#lib_name ⇒ ::String
The library name as recorded in instrumentation and logging
3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 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 |
# File 'lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb', line 3920 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "bigtableadmin.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel 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(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, 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 config_attr :logger, :default, ::Logger, nil, :default # @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 for the channel pool # @return [::Gapic::ServiceStub::ChannelPool::Configuration] # def channel_pool @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new end ## # Configuration RPC class for the BigtableTableAdmin 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 gRPC 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_table` # @return [::Gapic::Config::Method] # attr_reader :create_table ## # RPC-specific configuration for `create_table_from_snapshot` # @return [::Gapic::Config::Method] # attr_reader :create_table_from_snapshot ## # RPC-specific configuration for `list_tables` # @return [::Gapic::Config::Method] # attr_reader :list_tables ## # RPC-specific configuration for `get_table` # @return [::Gapic::Config::Method] # attr_reader :get_table ## # RPC-specific configuration for `update_table` # @return [::Gapic::Config::Method] # attr_reader :update_table ## # RPC-specific configuration for `delete_table` # @return [::Gapic::Config::Method] # attr_reader :delete_table ## # RPC-specific configuration for `undelete_table` # @return [::Gapic::Config::Method] # attr_reader :undelete_table ## # RPC-specific configuration for `create_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :create_authorized_view ## # RPC-specific configuration for `list_authorized_views` # @return [::Gapic::Config::Method] # attr_reader :list_authorized_views ## # RPC-specific configuration for `get_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :get_authorized_view ## # RPC-specific configuration for `update_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :update_authorized_view ## # RPC-specific configuration for `delete_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :delete_authorized_view ## # RPC-specific configuration for `modify_column_families` # @return [::Gapic::Config::Method] # attr_reader :modify_column_families ## # RPC-specific configuration for `drop_row_range` # @return [::Gapic::Config::Method] # attr_reader :drop_row_range ## # RPC-specific configuration for `generate_consistency_token` # @return [::Gapic::Config::Method] # attr_reader :generate_consistency_token ## # RPC-specific configuration for `check_consistency` # @return [::Gapic::Config::Method] # attr_reader :check_consistency ## # RPC-specific configuration for `snapshot_table` # @return [::Gapic::Config::Method] # attr_reader :snapshot_table ## # RPC-specific configuration for `get_snapshot` # @return [::Gapic::Config::Method] # attr_reader :get_snapshot ## # RPC-specific configuration for `list_snapshots` # @return [::Gapic::Config::Method] # attr_reader :list_snapshots ## # RPC-specific configuration for `delete_snapshot` # @return [::Gapic::Config::Method] # attr_reader :delete_snapshot ## # RPC-specific configuration for `create_backup` # @return [::Gapic::Config::Method] # attr_reader :create_backup ## # RPC-specific configuration for `get_backup` # @return [::Gapic::Config::Method] # attr_reader :get_backup ## # RPC-specific configuration for `update_backup` # @return [::Gapic::Config::Method] # attr_reader :update_backup ## # RPC-specific configuration for `delete_backup` # @return [::Gapic::Config::Method] # attr_reader :delete_backup ## # RPC-specific configuration for `list_backups` # @return [::Gapic::Config::Method] # attr_reader :list_backups ## # RPC-specific configuration for `restore_table` # @return [::Gapic::Config::Method] # attr_reader :restore_table ## # RPC-specific configuration for `copy_backup` # @return [::Gapic::Config::Method] # attr_reader :copy_backup ## # RPC-specific configuration for `get_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :get_iam_policy ## # RPC-specific configuration for `set_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :set_iam_policy ## # RPC-specific configuration for `test_iam_permissions` # @return [::Gapic::Config::Method] # attr_reader :test_iam_permissions ## # RPC-specific configuration for `create_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :create_schema_bundle ## # RPC-specific configuration for `update_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :update_schema_bundle ## # RPC-specific configuration for `get_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :get_schema_bundle ## # RPC-specific configuration for `list_schema_bundles` # @return [::Gapic::Config::Method] # attr_reader :list_schema_bundles ## # RPC-specific configuration for `delete_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :delete_schema_bundle # @private def initialize parent_rpcs = nil create_table_config = parent_rpcs.create_table if parent_rpcs.respond_to? :create_table @create_table = ::Gapic::Config::Method.new create_table_config create_table_from_snapshot_config = parent_rpcs.create_table_from_snapshot if parent_rpcs.respond_to? :create_table_from_snapshot @create_table_from_snapshot = ::Gapic::Config::Method.new create_table_from_snapshot_config list_tables_config = parent_rpcs.list_tables if parent_rpcs.respond_to? :list_tables @list_tables = ::Gapic::Config::Method.new list_tables_config get_table_config = parent_rpcs.get_table if parent_rpcs.respond_to? :get_table @get_table = ::Gapic::Config::Method.new get_table_config update_table_config = parent_rpcs.update_table if parent_rpcs.respond_to? :update_table @update_table = ::Gapic::Config::Method.new update_table_config delete_table_config = parent_rpcs.delete_table if parent_rpcs.respond_to? :delete_table @delete_table = ::Gapic::Config::Method.new delete_table_config undelete_table_config = parent_rpcs.undelete_table if parent_rpcs.respond_to? :undelete_table @undelete_table = ::Gapic::Config::Method.new undelete_table_config = parent_rpcs. if parent_rpcs.respond_to? :create_authorized_view @create_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :list_authorized_views @list_authorized_views = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :get_authorized_view @get_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :update_authorized_view @update_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :delete_authorized_view @delete_authorized_view = ::Gapic::Config::Method.new modify_column_families_config = parent_rpcs.modify_column_families if parent_rpcs.respond_to? :modify_column_families @modify_column_families = ::Gapic::Config::Method.new modify_column_families_config drop_row_range_config = parent_rpcs.drop_row_range if parent_rpcs.respond_to? :drop_row_range @drop_row_range = ::Gapic::Config::Method.new drop_row_range_config generate_consistency_token_config = parent_rpcs.generate_consistency_token if parent_rpcs.respond_to? :generate_consistency_token @generate_consistency_token = ::Gapic::Config::Method.new generate_consistency_token_config check_consistency_config = parent_rpcs.check_consistency if parent_rpcs.respond_to? :check_consistency @check_consistency = ::Gapic::Config::Method.new check_consistency_config snapshot_table_config = parent_rpcs.snapshot_table if parent_rpcs.respond_to? :snapshot_table @snapshot_table = ::Gapic::Config::Method.new snapshot_table_config get_snapshot_config = parent_rpcs.get_snapshot if parent_rpcs.respond_to? :get_snapshot @get_snapshot = ::Gapic::Config::Method.new get_snapshot_config list_snapshots_config = parent_rpcs.list_snapshots if parent_rpcs.respond_to? :list_snapshots @list_snapshots = ::Gapic::Config::Method.new list_snapshots_config delete_snapshot_config = parent_rpcs.delete_snapshot if parent_rpcs.respond_to? :delete_snapshot @delete_snapshot = ::Gapic::Config::Method.new delete_snapshot_config create_backup_config = parent_rpcs.create_backup if parent_rpcs.respond_to? :create_backup @create_backup = ::Gapic::Config::Method.new create_backup_config get_backup_config = parent_rpcs.get_backup if parent_rpcs.respond_to? :get_backup @get_backup = ::Gapic::Config::Method.new get_backup_config update_backup_config = parent_rpcs.update_backup if parent_rpcs.respond_to? :update_backup @update_backup = ::Gapic::Config::Method.new update_backup_config delete_backup_config = parent_rpcs.delete_backup if parent_rpcs.respond_to? :delete_backup @delete_backup = ::Gapic::Config::Method.new delete_backup_config list_backups_config = parent_rpcs.list_backups if parent_rpcs.respond_to? :list_backups @list_backups = ::Gapic::Config::Method.new list_backups_config restore_table_config = parent_rpcs.restore_table if parent_rpcs.respond_to? :restore_table @restore_table = ::Gapic::Config::Method.new restore_table_config copy_backup_config = parent_rpcs.copy_backup if parent_rpcs.respond_to? :copy_backup @copy_backup = ::Gapic::Config::Method.new copy_backup_config get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config = parent_rpcs. if parent_rpcs.respond_to? :test_iam_permissions @test_iam_permissions = ::Gapic::Config::Method.new create_schema_bundle_config = parent_rpcs.create_schema_bundle if parent_rpcs.respond_to? :create_schema_bundle @create_schema_bundle = ::Gapic::Config::Method.new create_schema_bundle_config update_schema_bundle_config = parent_rpcs.update_schema_bundle if parent_rpcs.respond_to? :update_schema_bundle @update_schema_bundle = ::Gapic::Config::Method.new update_schema_bundle_config get_schema_bundle_config = parent_rpcs.get_schema_bundle if parent_rpcs.respond_to? :get_schema_bundle @get_schema_bundle = ::Gapic::Config::Method.new get_schema_bundle_config list_schema_bundles_config = parent_rpcs.list_schema_bundles if parent_rpcs.respond_to? :list_schema_bundles @list_schema_bundles = ::Gapic::Config::Method.new list_schema_bundles_config delete_schema_bundle_config = parent_rpcs.delete_schema_bundle if parent_rpcs.respond_to? :delete_schema_bundle @delete_schema_bundle = ::Gapic::Config::Method.new delete_schema_bundle_config yield self if block_given? end end end |
#lib_version ⇒ ::String
The library version as recorded in instrumentation and logging
3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 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 |
# File 'lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb', line 3920 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "bigtableadmin.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel 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(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, 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 config_attr :logger, :default, ::Logger, nil, :default # @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 for the channel pool # @return [::Gapic::ServiceStub::ChannelPool::Configuration] # def channel_pool @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new end ## # Configuration RPC class for the BigtableTableAdmin 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 gRPC 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_table` # @return [::Gapic::Config::Method] # attr_reader :create_table ## # RPC-specific configuration for `create_table_from_snapshot` # @return [::Gapic::Config::Method] # attr_reader :create_table_from_snapshot ## # RPC-specific configuration for `list_tables` # @return [::Gapic::Config::Method] # attr_reader :list_tables ## # RPC-specific configuration for `get_table` # @return [::Gapic::Config::Method] # attr_reader :get_table ## # RPC-specific configuration for `update_table` # @return [::Gapic::Config::Method] # attr_reader :update_table ## # RPC-specific configuration for `delete_table` # @return [::Gapic::Config::Method] # attr_reader :delete_table ## # RPC-specific configuration for `undelete_table` # @return [::Gapic::Config::Method] # attr_reader :undelete_table ## # RPC-specific configuration for `create_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :create_authorized_view ## # RPC-specific configuration for `list_authorized_views` # @return [::Gapic::Config::Method] # attr_reader :list_authorized_views ## # RPC-specific configuration for `get_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :get_authorized_view ## # RPC-specific configuration for `update_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :update_authorized_view ## # RPC-specific configuration for `delete_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :delete_authorized_view ## # RPC-specific configuration for `modify_column_families` # @return [::Gapic::Config::Method] # attr_reader :modify_column_families ## # RPC-specific configuration for `drop_row_range` # @return [::Gapic::Config::Method] # attr_reader :drop_row_range ## # RPC-specific configuration for `generate_consistency_token` # @return [::Gapic::Config::Method] # attr_reader :generate_consistency_token ## # RPC-specific configuration for `check_consistency` # @return [::Gapic::Config::Method] # attr_reader :check_consistency ## # RPC-specific configuration for `snapshot_table` # @return [::Gapic::Config::Method] # attr_reader :snapshot_table ## # RPC-specific configuration for `get_snapshot` # @return [::Gapic::Config::Method] # attr_reader :get_snapshot ## # RPC-specific configuration for `list_snapshots` # @return [::Gapic::Config::Method] # attr_reader :list_snapshots ## # RPC-specific configuration for `delete_snapshot` # @return [::Gapic::Config::Method] # attr_reader :delete_snapshot ## # RPC-specific configuration for `create_backup` # @return [::Gapic::Config::Method] # attr_reader :create_backup ## # RPC-specific configuration for `get_backup` # @return [::Gapic::Config::Method] # attr_reader :get_backup ## # RPC-specific configuration for `update_backup` # @return [::Gapic::Config::Method] # attr_reader :update_backup ## # RPC-specific configuration for `delete_backup` # @return [::Gapic::Config::Method] # attr_reader :delete_backup ## # RPC-specific configuration for `list_backups` # @return [::Gapic::Config::Method] # attr_reader :list_backups ## # RPC-specific configuration for `restore_table` # @return [::Gapic::Config::Method] # attr_reader :restore_table ## # RPC-specific configuration for `copy_backup` # @return [::Gapic::Config::Method] # attr_reader :copy_backup ## # RPC-specific configuration for `get_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :get_iam_policy ## # RPC-specific configuration for `set_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :set_iam_policy ## # RPC-specific configuration for `test_iam_permissions` # @return [::Gapic::Config::Method] # attr_reader :test_iam_permissions ## # RPC-specific configuration for `create_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :create_schema_bundle ## # RPC-specific configuration for `update_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :update_schema_bundle ## # RPC-specific configuration for `get_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :get_schema_bundle ## # RPC-specific configuration for `list_schema_bundles` # @return [::Gapic::Config::Method] # attr_reader :list_schema_bundles ## # RPC-specific configuration for `delete_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :delete_schema_bundle # @private def initialize parent_rpcs = nil create_table_config = parent_rpcs.create_table if parent_rpcs.respond_to? :create_table @create_table = ::Gapic::Config::Method.new create_table_config create_table_from_snapshot_config = parent_rpcs.create_table_from_snapshot if parent_rpcs.respond_to? :create_table_from_snapshot @create_table_from_snapshot = ::Gapic::Config::Method.new create_table_from_snapshot_config list_tables_config = parent_rpcs.list_tables if parent_rpcs.respond_to? :list_tables @list_tables = ::Gapic::Config::Method.new list_tables_config get_table_config = parent_rpcs.get_table if parent_rpcs.respond_to? :get_table @get_table = ::Gapic::Config::Method.new get_table_config update_table_config = parent_rpcs.update_table if parent_rpcs.respond_to? :update_table @update_table = ::Gapic::Config::Method.new update_table_config delete_table_config = parent_rpcs.delete_table if parent_rpcs.respond_to? :delete_table @delete_table = ::Gapic::Config::Method.new delete_table_config undelete_table_config = parent_rpcs.undelete_table if parent_rpcs.respond_to? :undelete_table @undelete_table = ::Gapic::Config::Method.new undelete_table_config = parent_rpcs. if parent_rpcs.respond_to? :create_authorized_view @create_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :list_authorized_views @list_authorized_views = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :get_authorized_view @get_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :update_authorized_view @update_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :delete_authorized_view @delete_authorized_view = ::Gapic::Config::Method.new modify_column_families_config = parent_rpcs.modify_column_families if parent_rpcs.respond_to? :modify_column_families @modify_column_families = ::Gapic::Config::Method.new modify_column_families_config drop_row_range_config = parent_rpcs.drop_row_range if parent_rpcs.respond_to? :drop_row_range @drop_row_range = ::Gapic::Config::Method.new drop_row_range_config generate_consistency_token_config = parent_rpcs.generate_consistency_token if parent_rpcs.respond_to? :generate_consistency_token @generate_consistency_token = ::Gapic::Config::Method.new generate_consistency_token_config check_consistency_config = parent_rpcs.check_consistency if parent_rpcs.respond_to? :check_consistency @check_consistency = ::Gapic::Config::Method.new check_consistency_config snapshot_table_config = parent_rpcs.snapshot_table if parent_rpcs.respond_to? :snapshot_table @snapshot_table = ::Gapic::Config::Method.new snapshot_table_config get_snapshot_config = parent_rpcs.get_snapshot if parent_rpcs.respond_to? :get_snapshot @get_snapshot = ::Gapic::Config::Method.new get_snapshot_config list_snapshots_config = parent_rpcs.list_snapshots if parent_rpcs.respond_to? :list_snapshots @list_snapshots = ::Gapic::Config::Method.new list_snapshots_config delete_snapshot_config = parent_rpcs.delete_snapshot if parent_rpcs.respond_to? :delete_snapshot @delete_snapshot = ::Gapic::Config::Method.new delete_snapshot_config create_backup_config = parent_rpcs.create_backup if parent_rpcs.respond_to? :create_backup @create_backup = ::Gapic::Config::Method.new create_backup_config get_backup_config = parent_rpcs.get_backup if parent_rpcs.respond_to? :get_backup @get_backup = ::Gapic::Config::Method.new get_backup_config update_backup_config = parent_rpcs.update_backup if parent_rpcs.respond_to? :update_backup @update_backup = ::Gapic::Config::Method.new update_backup_config delete_backup_config = parent_rpcs.delete_backup if parent_rpcs.respond_to? :delete_backup @delete_backup = ::Gapic::Config::Method.new delete_backup_config list_backups_config = parent_rpcs.list_backups if parent_rpcs.respond_to? :list_backups @list_backups = ::Gapic::Config::Method.new list_backups_config restore_table_config = parent_rpcs.restore_table if parent_rpcs.respond_to? :restore_table @restore_table = ::Gapic::Config::Method.new restore_table_config copy_backup_config = parent_rpcs.copy_backup if parent_rpcs.respond_to? :copy_backup @copy_backup = ::Gapic::Config::Method.new copy_backup_config get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config = parent_rpcs. if parent_rpcs.respond_to? :test_iam_permissions @test_iam_permissions = ::Gapic::Config::Method.new create_schema_bundle_config = parent_rpcs.create_schema_bundle if parent_rpcs.respond_to? :create_schema_bundle @create_schema_bundle = ::Gapic::Config::Method.new create_schema_bundle_config update_schema_bundle_config = parent_rpcs.update_schema_bundle if parent_rpcs.respond_to? :update_schema_bundle @update_schema_bundle = ::Gapic::Config::Method.new update_schema_bundle_config get_schema_bundle_config = parent_rpcs.get_schema_bundle if parent_rpcs.respond_to? :get_schema_bundle @get_schema_bundle = ::Gapic::Config::Method.new get_schema_bundle_config list_schema_bundles_config = parent_rpcs.list_schema_bundles if parent_rpcs.respond_to? :list_schema_bundles @list_schema_bundles = ::Gapic::Config::Method.new list_schema_bundles_config delete_schema_bundle_config = parent_rpcs.delete_schema_bundle if parent_rpcs.respond_to? :delete_schema_bundle @delete_schema_bundle = ::Gapic::Config::Method.new delete_schema_bundle_config yield self if block_given? end end end |
#logger ⇒ ::Logger, ...
A custom logger to use for request/response debug logging, or the value
:default
(the default) to construct a default logger, or nil
to
explicitly disable logging.
3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 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 |
# File 'lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb', line 3920 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "bigtableadmin.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel 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(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, 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 config_attr :logger, :default, ::Logger, nil, :default # @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 for the channel pool # @return [::Gapic::ServiceStub::ChannelPool::Configuration] # def channel_pool @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new end ## # Configuration RPC class for the BigtableTableAdmin 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 gRPC 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_table` # @return [::Gapic::Config::Method] # attr_reader :create_table ## # RPC-specific configuration for `create_table_from_snapshot` # @return [::Gapic::Config::Method] # attr_reader :create_table_from_snapshot ## # RPC-specific configuration for `list_tables` # @return [::Gapic::Config::Method] # attr_reader :list_tables ## # RPC-specific configuration for `get_table` # @return [::Gapic::Config::Method] # attr_reader :get_table ## # RPC-specific configuration for `update_table` # @return [::Gapic::Config::Method] # attr_reader :update_table ## # RPC-specific configuration for `delete_table` # @return [::Gapic::Config::Method] # attr_reader :delete_table ## # RPC-specific configuration for `undelete_table` # @return [::Gapic::Config::Method] # attr_reader :undelete_table ## # RPC-specific configuration for `create_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :create_authorized_view ## # RPC-specific configuration for `list_authorized_views` # @return [::Gapic::Config::Method] # attr_reader :list_authorized_views ## # RPC-specific configuration for `get_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :get_authorized_view ## # RPC-specific configuration for `update_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :update_authorized_view ## # RPC-specific configuration for `delete_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :delete_authorized_view ## # RPC-specific configuration for `modify_column_families` # @return [::Gapic::Config::Method] # attr_reader :modify_column_families ## # RPC-specific configuration for `drop_row_range` # @return [::Gapic::Config::Method] # attr_reader :drop_row_range ## # RPC-specific configuration for `generate_consistency_token` # @return [::Gapic::Config::Method] # attr_reader :generate_consistency_token ## # RPC-specific configuration for `check_consistency` # @return [::Gapic::Config::Method] # attr_reader :check_consistency ## # RPC-specific configuration for `snapshot_table` # @return [::Gapic::Config::Method] # attr_reader :snapshot_table ## # RPC-specific configuration for `get_snapshot` # @return [::Gapic::Config::Method] # attr_reader :get_snapshot ## # RPC-specific configuration for `list_snapshots` # @return [::Gapic::Config::Method] # attr_reader :list_snapshots ## # RPC-specific configuration for `delete_snapshot` # @return [::Gapic::Config::Method] # attr_reader :delete_snapshot ## # RPC-specific configuration for `create_backup` # @return [::Gapic::Config::Method] # attr_reader :create_backup ## # RPC-specific configuration for `get_backup` # @return [::Gapic::Config::Method] # attr_reader :get_backup ## # RPC-specific configuration for `update_backup` # @return [::Gapic::Config::Method] # attr_reader :update_backup ## # RPC-specific configuration for `delete_backup` # @return [::Gapic::Config::Method] # attr_reader :delete_backup ## # RPC-specific configuration for `list_backups` # @return [::Gapic::Config::Method] # attr_reader :list_backups ## # RPC-specific configuration for `restore_table` # @return [::Gapic::Config::Method] # attr_reader :restore_table ## # RPC-specific configuration for `copy_backup` # @return [::Gapic::Config::Method] # attr_reader :copy_backup ## # RPC-specific configuration for `get_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :get_iam_policy ## # RPC-specific configuration for `set_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :set_iam_policy ## # RPC-specific configuration for `test_iam_permissions` # @return [::Gapic::Config::Method] # attr_reader :test_iam_permissions ## # RPC-specific configuration for `create_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :create_schema_bundle ## # RPC-specific configuration for `update_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :update_schema_bundle ## # RPC-specific configuration for `get_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :get_schema_bundle ## # RPC-specific configuration for `list_schema_bundles` # @return [::Gapic::Config::Method] # attr_reader :list_schema_bundles ## # RPC-specific configuration for `delete_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :delete_schema_bundle # @private def initialize parent_rpcs = nil create_table_config = parent_rpcs.create_table if parent_rpcs.respond_to? :create_table @create_table = ::Gapic::Config::Method.new create_table_config create_table_from_snapshot_config = parent_rpcs.create_table_from_snapshot if parent_rpcs.respond_to? :create_table_from_snapshot @create_table_from_snapshot = ::Gapic::Config::Method.new create_table_from_snapshot_config list_tables_config = parent_rpcs.list_tables if parent_rpcs.respond_to? :list_tables @list_tables = ::Gapic::Config::Method.new list_tables_config get_table_config = parent_rpcs.get_table if parent_rpcs.respond_to? :get_table @get_table = ::Gapic::Config::Method.new get_table_config update_table_config = parent_rpcs.update_table if parent_rpcs.respond_to? :update_table @update_table = ::Gapic::Config::Method.new update_table_config delete_table_config = parent_rpcs.delete_table if parent_rpcs.respond_to? :delete_table @delete_table = ::Gapic::Config::Method.new delete_table_config undelete_table_config = parent_rpcs.undelete_table if parent_rpcs.respond_to? :undelete_table @undelete_table = ::Gapic::Config::Method.new undelete_table_config = parent_rpcs. if parent_rpcs.respond_to? :create_authorized_view @create_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :list_authorized_views @list_authorized_views = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :get_authorized_view @get_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :update_authorized_view @update_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :delete_authorized_view @delete_authorized_view = ::Gapic::Config::Method.new modify_column_families_config = parent_rpcs.modify_column_families if parent_rpcs.respond_to? :modify_column_families @modify_column_families = ::Gapic::Config::Method.new modify_column_families_config drop_row_range_config = parent_rpcs.drop_row_range if parent_rpcs.respond_to? :drop_row_range @drop_row_range = ::Gapic::Config::Method.new drop_row_range_config generate_consistency_token_config = parent_rpcs.generate_consistency_token if parent_rpcs.respond_to? :generate_consistency_token @generate_consistency_token = ::Gapic::Config::Method.new generate_consistency_token_config check_consistency_config = parent_rpcs.check_consistency if parent_rpcs.respond_to? :check_consistency @check_consistency = ::Gapic::Config::Method.new check_consistency_config snapshot_table_config = parent_rpcs.snapshot_table if parent_rpcs.respond_to? :snapshot_table @snapshot_table = ::Gapic::Config::Method.new snapshot_table_config get_snapshot_config = parent_rpcs.get_snapshot if parent_rpcs.respond_to? :get_snapshot @get_snapshot = ::Gapic::Config::Method.new get_snapshot_config list_snapshots_config = parent_rpcs.list_snapshots if parent_rpcs.respond_to? :list_snapshots @list_snapshots = ::Gapic::Config::Method.new list_snapshots_config delete_snapshot_config = parent_rpcs.delete_snapshot if parent_rpcs.respond_to? :delete_snapshot @delete_snapshot = ::Gapic::Config::Method.new delete_snapshot_config create_backup_config = parent_rpcs.create_backup if parent_rpcs.respond_to? :create_backup @create_backup = ::Gapic::Config::Method.new create_backup_config get_backup_config = parent_rpcs.get_backup if parent_rpcs.respond_to? :get_backup @get_backup = ::Gapic::Config::Method.new get_backup_config update_backup_config = parent_rpcs.update_backup if parent_rpcs.respond_to? :update_backup @update_backup = ::Gapic::Config::Method.new update_backup_config delete_backup_config = parent_rpcs.delete_backup if parent_rpcs.respond_to? :delete_backup @delete_backup = ::Gapic::Config::Method.new delete_backup_config list_backups_config = parent_rpcs.list_backups if parent_rpcs.respond_to? :list_backups @list_backups = ::Gapic::Config::Method.new list_backups_config restore_table_config = parent_rpcs.restore_table if parent_rpcs.respond_to? :restore_table @restore_table = ::Gapic::Config::Method.new restore_table_config copy_backup_config = parent_rpcs.copy_backup if parent_rpcs.respond_to? :copy_backup @copy_backup = ::Gapic::Config::Method.new copy_backup_config get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config = parent_rpcs. if parent_rpcs.respond_to? :test_iam_permissions @test_iam_permissions = ::Gapic::Config::Method.new create_schema_bundle_config = parent_rpcs.create_schema_bundle if parent_rpcs.respond_to? :create_schema_bundle @create_schema_bundle = ::Gapic::Config::Method.new create_schema_bundle_config update_schema_bundle_config = parent_rpcs.update_schema_bundle if parent_rpcs.respond_to? :update_schema_bundle @update_schema_bundle = ::Gapic::Config::Method.new update_schema_bundle_config get_schema_bundle_config = parent_rpcs.get_schema_bundle if parent_rpcs.respond_to? :get_schema_bundle @get_schema_bundle = ::Gapic::Config::Method.new get_schema_bundle_config list_schema_bundles_config = parent_rpcs.list_schema_bundles if parent_rpcs.respond_to? :list_schema_bundles @list_schema_bundles = ::Gapic::Config::Method.new list_schema_bundles_config delete_schema_bundle_config = parent_rpcs.delete_schema_bundle if parent_rpcs.respond_to? :delete_schema_bundle @delete_schema_bundle = ::Gapic::Config::Method.new delete_schema_bundle_config yield self if block_given? end end end |
#metadata ⇒ ::Hash{::Symbol=>::String}
Additional gRPC headers to be sent with the call.
3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 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 |
# File 'lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb', line 3920 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "bigtableadmin.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel 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(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, 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 config_attr :logger, :default, ::Logger, nil, :default # @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 for the channel pool # @return [::Gapic::ServiceStub::ChannelPool::Configuration] # def channel_pool @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new end ## # Configuration RPC class for the BigtableTableAdmin 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 gRPC 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_table` # @return [::Gapic::Config::Method] # attr_reader :create_table ## # RPC-specific configuration for `create_table_from_snapshot` # @return [::Gapic::Config::Method] # attr_reader :create_table_from_snapshot ## # RPC-specific configuration for `list_tables` # @return [::Gapic::Config::Method] # attr_reader :list_tables ## # RPC-specific configuration for `get_table` # @return [::Gapic::Config::Method] # attr_reader :get_table ## # RPC-specific configuration for `update_table` # @return [::Gapic::Config::Method] # attr_reader :update_table ## # RPC-specific configuration for `delete_table` # @return [::Gapic::Config::Method] # attr_reader :delete_table ## # RPC-specific configuration for `undelete_table` # @return [::Gapic::Config::Method] # attr_reader :undelete_table ## # RPC-specific configuration for `create_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :create_authorized_view ## # RPC-specific configuration for `list_authorized_views` # @return [::Gapic::Config::Method] # attr_reader :list_authorized_views ## # RPC-specific configuration for `get_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :get_authorized_view ## # RPC-specific configuration for `update_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :update_authorized_view ## # RPC-specific configuration for `delete_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :delete_authorized_view ## # RPC-specific configuration for `modify_column_families` # @return [::Gapic::Config::Method] # attr_reader :modify_column_families ## # RPC-specific configuration for `drop_row_range` # @return [::Gapic::Config::Method] # attr_reader :drop_row_range ## # RPC-specific configuration for `generate_consistency_token` # @return [::Gapic::Config::Method] # attr_reader :generate_consistency_token ## # RPC-specific configuration for `check_consistency` # @return [::Gapic::Config::Method] # attr_reader :check_consistency ## # RPC-specific configuration for `snapshot_table` # @return [::Gapic::Config::Method] # attr_reader :snapshot_table ## # RPC-specific configuration for `get_snapshot` # @return [::Gapic::Config::Method] # attr_reader :get_snapshot ## # RPC-specific configuration for `list_snapshots` # @return [::Gapic::Config::Method] # attr_reader :list_snapshots ## # RPC-specific configuration for `delete_snapshot` # @return [::Gapic::Config::Method] # attr_reader :delete_snapshot ## # RPC-specific configuration for `create_backup` # @return [::Gapic::Config::Method] # attr_reader :create_backup ## # RPC-specific configuration for `get_backup` # @return [::Gapic::Config::Method] # attr_reader :get_backup ## # RPC-specific configuration for `update_backup` # @return [::Gapic::Config::Method] # attr_reader :update_backup ## # RPC-specific configuration for `delete_backup` # @return [::Gapic::Config::Method] # attr_reader :delete_backup ## # RPC-specific configuration for `list_backups` # @return [::Gapic::Config::Method] # attr_reader :list_backups ## # RPC-specific configuration for `restore_table` # @return [::Gapic::Config::Method] # attr_reader :restore_table ## # RPC-specific configuration for `copy_backup` # @return [::Gapic::Config::Method] # attr_reader :copy_backup ## # RPC-specific configuration for `get_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :get_iam_policy ## # RPC-specific configuration for `set_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :set_iam_policy ## # RPC-specific configuration for `test_iam_permissions` # @return [::Gapic::Config::Method] # attr_reader :test_iam_permissions ## # RPC-specific configuration for `create_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :create_schema_bundle ## # RPC-specific configuration for `update_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :update_schema_bundle ## # RPC-specific configuration for `get_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :get_schema_bundle ## # RPC-specific configuration for `list_schema_bundles` # @return [::Gapic::Config::Method] # attr_reader :list_schema_bundles ## # RPC-specific configuration for `delete_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :delete_schema_bundle # @private def initialize parent_rpcs = nil create_table_config = parent_rpcs.create_table if parent_rpcs.respond_to? :create_table @create_table = ::Gapic::Config::Method.new create_table_config create_table_from_snapshot_config = parent_rpcs.create_table_from_snapshot if parent_rpcs.respond_to? :create_table_from_snapshot @create_table_from_snapshot = ::Gapic::Config::Method.new create_table_from_snapshot_config list_tables_config = parent_rpcs.list_tables if parent_rpcs.respond_to? :list_tables @list_tables = ::Gapic::Config::Method.new list_tables_config get_table_config = parent_rpcs.get_table if parent_rpcs.respond_to? :get_table @get_table = ::Gapic::Config::Method.new get_table_config update_table_config = parent_rpcs.update_table if parent_rpcs.respond_to? :update_table @update_table = ::Gapic::Config::Method.new update_table_config delete_table_config = parent_rpcs.delete_table if parent_rpcs.respond_to? :delete_table @delete_table = ::Gapic::Config::Method.new delete_table_config undelete_table_config = parent_rpcs.undelete_table if parent_rpcs.respond_to? :undelete_table @undelete_table = ::Gapic::Config::Method.new undelete_table_config = parent_rpcs. if parent_rpcs.respond_to? :create_authorized_view @create_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :list_authorized_views @list_authorized_views = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :get_authorized_view @get_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :update_authorized_view @update_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :delete_authorized_view @delete_authorized_view = ::Gapic::Config::Method.new modify_column_families_config = parent_rpcs.modify_column_families if parent_rpcs.respond_to? :modify_column_families @modify_column_families = ::Gapic::Config::Method.new modify_column_families_config drop_row_range_config = parent_rpcs.drop_row_range if parent_rpcs.respond_to? :drop_row_range @drop_row_range = ::Gapic::Config::Method.new drop_row_range_config generate_consistency_token_config = parent_rpcs.generate_consistency_token if parent_rpcs.respond_to? :generate_consistency_token @generate_consistency_token = ::Gapic::Config::Method.new generate_consistency_token_config check_consistency_config = parent_rpcs.check_consistency if parent_rpcs.respond_to? :check_consistency @check_consistency = ::Gapic::Config::Method.new check_consistency_config snapshot_table_config = parent_rpcs.snapshot_table if parent_rpcs.respond_to? :snapshot_table @snapshot_table = ::Gapic::Config::Method.new snapshot_table_config get_snapshot_config = parent_rpcs.get_snapshot if parent_rpcs.respond_to? :get_snapshot @get_snapshot = ::Gapic::Config::Method.new get_snapshot_config list_snapshots_config = parent_rpcs.list_snapshots if parent_rpcs.respond_to? :list_snapshots @list_snapshots = ::Gapic::Config::Method.new list_snapshots_config delete_snapshot_config = parent_rpcs.delete_snapshot if parent_rpcs.respond_to? :delete_snapshot @delete_snapshot = ::Gapic::Config::Method.new delete_snapshot_config create_backup_config = parent_rpcs.create_backup if parent_rpcs.respond_to? :create_backup @create_backup = ::Gapic::Config::Method.new create_backup_config get_backup_config = parent_rpcs.get_backup if parent_rpcs.respond_to? :get_backup @get_backup = ::Gapic::Config::Method.new get_backup_config update_backup_config = parent_rpcs.update_backup if parent_rpcs.respond_to? :update_backup @update_backup = ::Gapic::Config::Method.new update_backup_config delete_backup_config = parent_rpcs.delete_backup if parent_rpcs.respond_to? :delete_backup @delete_backup = ::Gapic::Config::Method.new delete_backup_config list_backups_config = parent_rpcs.list_backups if parent_rpcs.respond_to? :list_backups @list_backups = ::Gapic::Config::Method.new list_backups_config restore_table_config = parent_rpcs.restore_table if parent_rpcs.respond_to? :restore_table @restore_table = ::Gapic::Config::Method.new restore_table_config copy_backup_config = parent_rpcs.copy_backup if parent_rpcs.respond_to? :copy_backup @copy_backup = ::Gapic::Config::Method.new copy_backup_config get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config = parent_rpcs. if parent_rpcs.respond_to? :test_iam_permissions @test_iam_permissions = ::Gapic::Config::Method.new create_schema_bundle_config = parent_rpcs.create_schema_bundle if parent_rpcs.respond_to? :create_schema_bundle @create_schema_bundle = ::Gapic::Config::Method.new create_schema_bundle_config update_schema_bundle_config = parent_rpcs.update_schema_bundle if parent_rpcs.respond_to? :update_schema_bundle @update_schema_bundle = ::Gapic::Config::Method.new update_schema_bundle_config get_schema_bundle_config = parent_rpcs.get_schema_bundle if parent_rpcs.respond_to? :get_schema_bundle @get_schema_bundle = ::Gapic::Config::Method.new get_schema_bundle_config list_schema_bundles_config = parent_rpcs.list_schema_bundles if parent_rpcs.respond_to? :list_schema_bundles @list_schema_bundles = ::Gapic::Config::Method.new list_schema_bundles_config delete_schema_bundle_config = parent_rpcs.delete_schema_bundle if parent_rpcs.respond_to? :delete_schema_bundle @delete_schema_bundle = ::Gapic::Config::Method.new delete_schema_bundle_config yield self if block_given? end end end |
#quota_project ⇒ ::String
A separate project against which to charge quota.
3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 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 |
# File 'lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb', line 3920 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "bigtableadmin.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel 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(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, 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 config_attr :logger, :default, ::Logger, nil, :default # @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 for the channel pool # @return [::Gapic::ServiceStub::ChannelPool::Configuration] # def channel_pool @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new end ## # Configuration RPC class for the BigtableTableAdmin 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 gRPC 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_table` # @return [::Gapic::Config::Method] # attr_reader :create_table ## # RPC-specific configuration for `create_table_from_snapshot` # @return [::Gapic::Config::Method] # attr_reader :create_table_from_snapshot ## # RPC-specific configuration for `list_tables` # @return [::Gapic::Config::Method] # attr_reader :list_tables ## # RPC-specific configuration for `get_table` # @return [::Gapic::Config::Method] # attr_reader :get_table ## # RPC-specific configuration for `update_table` # @return [::Gapic::Config::Method] # attr_reader :update_table ## # RPC-specific configuration for `delete_table` # @return [::Gapic::Config::Method] # attr_reader :delete_table ## # RPC-specific configuration for `undelete_table` # @return [::Gapic::Config::Method] # attr_reader :undelete_table ## # RPC-specific configuration for `create_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :create_authorized_view ## # RPC-specific configuration for `list_authorized_views` # @return [::Gapic::Config::Method] # attr_reader :list_authorized_views ## # RPC-specific configuration for `get_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :get_authorized_view ## # RPC-specific configuration for `update_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :update_authorized_view ## # RPC-specific configuration for `delete_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :delete_authorized_view ## # RPC-specific configuration for `modify_column_families` # @return [::Gapic::Config::Method] # attr_reader :modify_column_families ## # RPC-specific configuration for `drop_row_range` # @return [::Gapic::Config::Method] # attr_reader :drop_row_range ## # RPC-specific configuration for `generate_consistency_token` # @return [::Gapic::Config::Method] # attr_reader :generate_consistency_token ## # RPC-specific configuration for `check_consistency` # @return [::Gapic::Config::Method] # attr_reader :check_consistency ## # RPC-specific configuration for `snapshot_table` # @return [::Gapic::Config::Method] # attr_reader :snapshot_table ## # RPC-specific configuration for `get_snapshot` # @return [::Gapic::Config::Method] # attr_reader :get_snapshot ## # RPC-specific configuration for `list_snapshots` # @return [::Gapic::Config::Method] # attr_reader :list_snapshots ## # RPC-specific configuration for `delete_snapshot` # @return [::Gapic::Config::Method] # attr_reader :delete_snapshot ## # RPC-specific configuration for `create_backup` # @return [::Gapic::Config::Method] # attr_reader :create_backup ## # RPC-specific configuration for `get_backup` # @return [::Gapic::Config::Method] # attr_reader :get_backup ## # RPC-specific configuration for `update_backup` # @return [::Gapic::Config::Method] # attr_reader :update_backup ## # RPC-specific configuration for `delete_backup` # @return [::Gapic::Config::Method] # attr_reader :delete_backup ## # RPC-specific configuration for `list_backups` # @return [::Gapic::Config::Method] # attr_reader :list_backups ## # RPC-specific configuration for `restore_table` # @return [::Gapic::Config::Method] # attr_reader :restore_table ## # RPC-specific configuration for `copy_backup` # @return [::Gapic::Config::Method] # attr_reader :copy_backup ## # RPC-specific configuration for `get_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :get_iam_policy ## # RPC-specific configuration for `set_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :set_iam_policy ## # RPC-specific configuration for `test_iam_permissions` # @return [::Gapic::Config::Method] # attr_reader :test_iam_permissions ## # RPC-specific configuration for `create_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :create_schema_bundle ## # RPC-specific configuration for `update_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :update_schema_bundle ## # RPC-specific configuration for `get_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :get_schema_bundle ## # RPC-specific configuration for `list_schema_bundles` # @return [::Gapic::Config::Method] # attr_reader :list_schema_bundles ## # RPC-specific configuration for `delete_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :delete_schema_bundle # @private def initialize parent_rpcs = nil create_table_config = parent_rpcs.create_table if parent_rpcs.respond_to? :create_table @create_table = ::Gapic::Config::Method.new create_table_config create_table_from_snapshot_config = parent_rpcs.create_table_from_snapshot if parent_rpcs.respond_to? :create_table_from_snapshot @create_table_from_snapshot = ::Gapic::Config::Method.new create_table_from_snapshot_config list_tables_config = parent_rpcs.list_tables if parent_rpcs.respond_to? :list_tables @list_tables = ::Gapic::Config::Method.new list_tables_config get_table_config = parent_rpcs.get_table if parent_rpcs.respond_to? :get_table @get_table = ::Gapic::Config::Method.new get_table_config update_table_config = parent_rpcs.update_table if parent_rpcs.respond_to? :update_table @update_table = ::Gapic::Config::Method.new update_table_config delete_table_config = parent_rpcs.delete_table if parent_rpcs.respond_to? :delete_table @delete_table = ::Gapic::Config::Method.new delete_table_config undelete_table_config = parent_rpcs.undelete_table if parent_rpcs.respond_to? :undelete_table @undelete_table = ::Gapic::Config::Method.new undelete_table_config = parent_rpcs. if parent_rpcs.respond_to? :create_authorized_view @create_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :list_authorized_views @list_authorized_views = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :get_authorized_view @get_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :update_authorized_view @update_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :delete_authorized_view @delete_authorized_view = ::Gapic::Config::Method.new modify_column_families_config = parent_rpcs.modify_column_families if parent_rpcs.respond_to? :modify_column_families @modify_column_families = ::Gapic::Config::Method.new modify_column_families_config drop_row_range_config = parent_rpcs.drop_row_range if parent_rpcs.respond_to? :drop_row_range @drop_row_range = ::Gapic::Config::Method.new drop_row_range_config generate_consistency_token_config = parent_rpcs.generate_consistency_token if parent_rpcs.respond_to? :generate_consistency_token @generate_consistency_token = ::Gapic::Config::Method.new generate_consistency_token_config check_consistency_config = parent_rpcs.check_consistency if parent_rpcs.respond_to? :check_consistency @check_consistency = ::Gapic::Config::Method.new check_consistency_config snapshot_table_config = parent_rpcs.snapshot_table if parent_rpcs.respond_to? :snapshot_table @snapshot_table = ::Gapic::Config::Method.new snapshot_table_config get_snapshot_config = parent_rpcs.get_snapshot if parent_rpcs.respond_to? :get_snapshot @get_snapshot = ::Gapic::Config::Method.new get_snapshot_config list_snapshots_config = parent_rpcs.list_snapshots if parent_rpcs.respond_to? :list_snapshots @list_snapshots = ::Gapic::Config::Method.new list_snapshots_config delete_snapshot_config = parent_rpcs.delete_snapshot if parent_rpcs.respond_to? :delete_snapshot @delete_snapshot = ::Gapic::Config::Method.new delete_snapshot_config create_backup_config = parent_rpcs.create_backup if parent_rpcs.respond_to? :create_backup @create_backup = ::Gapic::Config::Method.new create_backup_config get_backup_config = parent_rpcs.get_backup if parent_rpcs.respond_to? :get_backup @get_backup = ::Gapic::Config::Method.new get_backup_config update_backup_config = parent_rpcs.update_backup if parent_rpcs.respond_to? :update_backup @update_backup = ::Gapic::Config::Method.new update_backup_config delete_backup_config = parent_rpcs.delete_backup if parent_rpcs.respond_to? :delete_backup @delete_backup = ::Gapic::Config::Method.new delete_backup_config list_backups_config = parent_rpcs.list_backups if parent_rpcs.respond_to? :list_backups @list_backups = ::Gapic::Config::Method.new list_backups_config restore_table_config = parent_rpcs.restore_table if parent_rpcs.respond_to? :restore_table @restore_table = ::Gapic::Config::Method.new restore_table_config copy_backup_config = parent_rpcs.copy_backup if parent_rpcs.respond_to? :copy_backup @copy_backup = ::Gapic::Config::Method.new copy_backup_config get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config = parent_rpcs. if parent_rpcs.respond_to? :test_iam_permissions @test_iam_permissions = ::Gapic::Config::Method.new create_schema_bundle_config = parent_rpcs.create_schema_bundle if parent_rpcs.respond_to? :create_schema_bundle @create_schema_bundle = ::Gapic::Config::Method.new create_schema_bundle_config update_schema_bundle_config = parent_rpcs.update_schema_bundle if parent_rpcs.respond_to? :update_schema_bundle @update_schema_bundle = ::Gapic::Config::Method.new update_schema_bundle_config get_schema_bundle_config = parent_rpcs.get_schema_bundle if parent_rpcs.respond_to? :get_schema_bundle @get_schema_bundle = ::Gapic::Config::Method.new get_schema_bundle_config list_schema_bundles_config = parent_rpcs.list_schema_bundles if parent_rpcs.respond_to? :list_schema_bundles @list_schema_bundles = ::Gapic::Config::Method.new list_schema_bundles_config delete_schema_bundle_config = parent_rpcs.delete_schema_bundle if parent_rpcs.respond_to? :delete_schema_bundle @delete_schema_bundle = ::Gapic::Config::Method.new delete_schema_bundle_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.
3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 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 |
# File 'lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb', line 3920 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "bigtableadmin.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel 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(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, 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 config_attr :logger, :default, ::Logger, nil, :default # @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 for the channel pool # @return [::Gapic::ServiceStub::ChannelPool::Configuration] # def channel_pool @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new end ## # Configuration RPC class for the BigtableTableAdmin 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 gRPC 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_table` # @return [::Gapic::Config::Method] # attr_reader :create_table ## # RPC-specific configuration for `create_table_from_snapshot` # @return [::Gapic::Config::Method] # attr_reader :create_table_from_snapshot ## # RPC-specific configuration for `list_tables` # @return [::Gapic::Config::Method] # attr_reader :list_tables ## # RPC-specific configuration for `get_table` # @return [::Gapic::Config::Method] # attr_reader :get_table ## # RPC-specific configuration for `update_table` # @return [::Gapic::Config::Method] # attr_reader :update_table ## # RPC-specific configuration for `delete_table` # @return [::Gapic::Config::Method] # attr_reader :delete_table ## # RPC-specific configuration for `undelete_table` # @return [::Gapic::Config::Method] # attr_reader :undelete_table ## # RPC-specific configuration for `create_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :create_authorized_view ## # RPC-specific configuration for `list_authorized_views` # @return [::Gapic::Config::Method] # attr_reader :list_authorized_views ## # RPC-specific configuration for `get_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :get_authorized_view ## # RPC-specific configuration for `update_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :update_authorized_view ## # RPC-specific configuration for `delete_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :delete_authorized_view ## # RPC-specific configuration for `modify_column_families` # @return [::Gapic::Config::Method] # attr_reader :modify_column_families ## # RPC-specific configuration for `drop_row_range` # @return [::Gapic::Config::Method] # attr_reader :drop_row_range ## # RPC-specific configuration for `generate_consistency_token` # @return [::Gapic::Config::Method] # attr_reader :generate_consistency_token ## # RPC-specific configuration for `check_consistency` # @return [::Gapic::Config::Method] # attr_reader :check_consistency ## # RPC-specific configuration for `snapshot_table` # @return [::Gapic::Config::Method] # attr_reader :snapshot_table ## # RPC-specific configuration for `get_snapshot` # @return [::Gapic::Config::Method] # attr_reader :get_snapshot ## # RPC-specific configuration for `list_snapshots` # @return [::Gapic::Config::Method] # attr_reader :list_snapshots ## # RPC-specific configuration for `delete_snapshot` # @return [::Gapic::Config::Method] # attr_reader :delete_snapshot ## # RPC-specific configuration for `create_backup` # @return [::Gapic::Config::Method] # attr_reader :create_backup ## # RPC-specific configuration for `get_backup` # @return [::Gapic::Config::Method] # attr_reader :get_backup ## # RPC-specific configuration for `update_backup` # @return [::Gapic::Config::Method] # attr_reader :update_backup ## # RPC-specific configuration for `delete_backup` # @return [::Gapic::Config::Method] # attr_reader :delete_backup ## # RPC-specific configuration for `list_backups` # @return [::Gapic::Config::Method] # attr_reader :list_backups ## # RPC-specific configuration for `restore_table` # @return [::Gapic::Config::Method] # attr_reader :restore_table ## # RPC-specific configuration for `copy_backup` # @return [::Gapic::Config::Method] # attr_reader :copy_backup ## # RPC-specific configuration for `get_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :get_iam_policy ## # RPC-specific configuration for `set_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :set_iam_policy ## # RPC-specific configuration for `test_iam_permissions` # @return [::Gapic::Config::Method] # attr_reader :test_iam_permissions ## # RPC-specific configuration for `create_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :create_schema_bundle ## # RPC-specific configuration for `update_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :update_schema_bundle ## # RPC-specific configuration for `get_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :get_schema_bundle ## # RPC-specific configuration for `list_schema_bundles` # @return [::Gapic::Config::Method] # attr_reader :list_schema_bundles ## # RPC-specific configuration for `delete_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :delete_schema_bundle # @private def initialize parent_rpcs = nil create_table_config = parent_rpcs.create_table if parent_rpcs.respond_to? :create_table @create_table = ::Gapic::Config::Method.new create_table_config create_table_from_snapshot_config = parent_rpcs.create_table_from_snapshot if parent_rpcs.respond_to? :create_table_from_snapshot @create_table_from_snapshot = ::Gapic::Config::Method.new create_table_from_snapshot_config list_tables_config = parent_rpcs.list_tables if parent_rpcs.respond_to? :list_tables @list_tables = ::Gapic::Config::Method.new list_tables_config get_table_config = parent_rpcs.get_table if parent_rpcs.respond_to? :get_table @get_table = ::Gapic::Config::Method.new get_table_config update_table_config = parent_rpcs.update_table if parent_rpcs.respond_to? :update_table @update_table = ::Gapic::Config::Method.new update_table_config delete_table_config = parent_rpcs.delete_table if parent_rpcs.respond_to? :delete_table @delete_table = ::Gapic::Config::Method.new delete_table_config undelete_table_config = parent_rpcs.undelete_table if parent_rpcs.respond_to? :undelete_table @undelete_table = ::Gapic::Config::Method.new undelete_table_config = parent_rpcs. if parent_rpcs.respond_to? :create_authorized_view @create_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :list_authorized_views @list_authorized_views = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :get_authorized_view @get_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :update_authorized_view @update_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :delete_authorized_view @delete_authorized_view = ::Gapic::Config::Method.new modify_column_families_config = parent_rpcs.modify_column_families if parent_rpcs.respond_to? :modify_column_families @modify_column_families = ::Gapic::Config::Method.new modify_column_families_config drop_row_range_config = parent_rpcs.drop_row_range if parent_rpcs.respond_to? :drop_row_range @drop_row_range = ::Gapic::Config::Method.new drop_row_range_config generate_consistency_token_config = parent_rpcs.generate_consistency_token if parent_rpcs.respond_to? :generate_consistency_token @generate_consistency_token = ::Gapic::Config::Method.new generate_consistency_token_config check_consistency_config = parent_rpcs.check_consistency if parent_rpcs.respond_to? :check_consistency @check_consistency = ::Gapic::Config::Method.new check_consistency_config snapshot_table_config = parent_rpcs.snapshot_table if parent_rpcs.respond_to? :snapshot_table @snapshot_table = ::Gapic::Config::Method.new snapshot_table_config get_snapshot_config = parent_rpcs.get_snapshot if parent_rpcs.respond_to? :get_snapshot @get_snapshot = ::Gapic::Config::Method.new get_snapshot_config list_snapshots_config = parent_rpcs.list_snapshots if parent_rpcs.respond_to? :list_snapshots @list_snapshots = ::Gapic::Config::Method.new list_snapshots_config delete_snapshot_config = parent_rpcs.delete_snapshot if parent_rpcs.respond_to? :delete_snapshot @delete_snapshot = ::Gapic::Config::Method.new delete_snapshot_config create_backup_config = parent_rpcs.create_backup if parent_rpcs.respond_to? :create_backup @create_backup = ::Gapic::Config::Method.new create_backup_config get_backup_config = parent_rpcs.get_backup if parent_rpcs.respond_to? :get_backup @get_backup = ::Gapic::Config::Method.new get_backup_config update_backup_config = parent_rpcs.update_backup if parent_rpcs.respond_to? :update_backup @update_backup = ::Gapic::Config::Method.new update_backup_config delete_backup_config = parent_rpcs.delete_backup if parent_rpcs.respond_to? :delete_backup @delete_backup = ::Gapic::Config::Method.new delete_backup_config list_backups_config = parent_rpcs.list_backups if parent_rpcs.respond_to? :list_backups @list_backups = ::Gapic::Config::Method.new list_backups_config restore_table_config = parent_rpcs.restore_table if parent_rpcs.respond_to? :restore_table @restore_table = ::Gapic::Config::Method.new restore_table_config copy_backup_config = parent_rpcs.copy_backup if parent_rpcs.respond_to? :copy_backup @copy_backup = ::Gapic::Config::Method.new copy_backup_config get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config = parent_rpcs. if parent_rpcs.respond_to? :test_iam_permissions @test_iam_permissions = ::Gapic::Config::Method.new create_schema_bundle_config = parent_rpcs.create_schema_bundle if parent_rpcs.respond_to? :create_schema_bundle @create_schema_bundle = ::Gapic::Config::Method.new create_schema_bundle_config update_schema_bundle_config = parent_rpcs.update_schema_bundle if parent_rpcs.respond_to? :update_schema_bundle @update_schema_bundle = ::Gapic::Config::Method.new update_schema_bundle_config get_schema_bundle_config = parent_rpcs.get_schema_bundle if parent_rpcs.respond_to? :get_schema_bundle @get_schema_bundle = ::Gapic::Config::Method.new get_schema_bundle_config list_schema_bundles_config = parent_rpcs.list_schema_bundles if parent_rpcs.respond_to? :list_schema_bundles @list_schema_bundles = ::Gapic::Config::Method.new list_schema_bundles_config delete_schema_bundle_config = parent_rpcs.delete_schema_bundle if parent_rpcs.respond_to? :delete_schema_bundle @delete_schema_bundle = ::Gapic::Config::Method.new delete_schema_bundle_config yield self if block_given? end end end |
#scope ⇒ ::Array<::String>
The OAuth scopes
3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 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 |
# File 'lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb', line 3920 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "bigtableadmin.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel 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(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, 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 config_attr :logger, :default, ::Logger, nil, :default # @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 for the channel pool # @return [::Gapic::ServiceStub::ChannelPool::Configuration] # def channel_pool @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new end ## # Configuration RPC class for the BigtableTableAdmin 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 gRPC 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_table` # @return [::Gapic::Config::Method] # attr_reader :create_table ## # RPC-specific configuration for `create_table_from_snapshot` # @return [::Gapic::Config::Method] # attr_reader :create_table_from_snapshot ## # RPC-specific configuration for `list_tables` # @return [::Gapic::Config::Method] # attr_reader :list_tables ## # RPC-specific configuration for `get_table` # @return [::Gapic::Config::Method] # attr_reader :get_table ## # RPC-specific configuration for `update_table` # @return [::Gapic::Config::Method] # attr_reader :update_table ## # RPC-specific configuration for `delete_table` # @return [::Gapic::Config::Method] # attr_reader :delete_table ## # RPC-specific configuration for `undelete_table` # @return [::Gapic::Config::Method] # attr_reader :undelete_table ## # RPC-specific configuration for `create_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :create_authorized_view ## # RPC-specific configuration for `list_authorized_views` # @return [::Gapic::Config::Method] # attr_reader :list_authorized_views ## # RPC-specific configuration for `get_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :get_authorized_view ## # RPC-specific configuration for `update_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :update_authorized_view ## # RPC-specific configuration for `delete_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :delete_authorized_view ## # RPC-specific configuration for `modify_column_families` # @return [::Gapic::Config::Method] # attr_reader :modify_column_families ## # RPC-specific configuration for `drop_row_range` # @return [::Gapic::Config::Method] # attr_reader :drop_row_range ## # RPC-specific configuration for `generate_consistency_token` # @return [::Gapic::Config::Method] # attr_reader :generate_consistency_token ## # RPC-specific configuration for `check_consistency` # @return [::Gapic::Config::Method] # attr_reader :check_consistency ## # RPC-specific configuration for `snapshot_table` # @return [::Gapic::Config::Method] # attr_reader :snapshot_table ## # RPC-specific configuration for `get_snapshot` # @return [::Gapic::Config::Method] # attr_reader :get_snapshot ## # RPC-specific configuration for `list_snapshots` # @return [::Gapic::Config::Method] # attr_reader :list_snapshots ## # RPC-specific configuration for `delete_snapshot` # @return [::Gapic::Config::Method] # attr_reader :delete_snapshot ## # RPC-specific configuration for `create_backup` # @return [::Gapic::Config::Method] # attr_reader :create_backup ## # RPC-specific configuration for `get_backup` # @return [::Gapic::Config::Method] # attr_reader :get_backup ## # RPC-specific configuration for `update_backup` # @return [::Gapic::Config::Method] # attr_reader :update_backup ## # RPC-specific configuration for `delete_backup` # @return [::Gapic::Config::Method] # attr_reader :delete_backup ## # RPC-specific configuration for `list_backups` # @return [::Gapic::Config::Method] # attr_reader :list_backups ## # RPC-specific configuration for `restore_table` # @return [::Gapic::Config::Method] # attr_reader :restore_table ## # RPC-specific configuration for `copy_backup` # @return [::Gapic::Config::Method] # attr_reader :copy_backup ## # RPC-specific configuration for `get_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :get_iam_policy ## # RPC-specific configuration for `set_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :set_iam_policy ## # RPC-specific configuration for `test_iam_permissions` # @return [::Gapic::Config::Method] # attr_reader :test_iam_permissions ## # RPC-specific configuration for `create_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :create_schema_bundle ## # RPC-specific configuration for `update_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :update_schema_bundle ## # RPC-specific configuration for `get_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :get_schema_bundle ## # RPC-specific configuration for `list_schema_bundles` # @return [::Gapic::Config::Method] # attr_reader :list_schema_bundles ## # RPC-specific configuration for `delete_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :delete_schema_bundle # @private def initialize parent_rpcs = nil create_table_config = parent_rpcs.create_table if parent_rpcs.respond_to? :create_table @create_table = ::Gapic::Config::Method.new create_table_config create_table_from_snapshot_config = parent_rpcs.create_table_from_snapshot if parent_rpcs.respond_to? :create_table_from_snapshot @create_table_from_snapshot = ::Gapic::Config::Method.new create_table_from_snapshot_config list_tables_config = parent_rpcs.list_tables if parent_rpcs.respond_to? :list_tables @list_tables = ::Gapic::Config::Method.new list_tables_config get_table_config = parent_rpcs.get_table if parent_rpcs.respond_to? :get_table @get_table = ::Gapic::Config::Method.new get_table_config update_table_config = parent_rpcs.update_table if parent_rpcs.respond_to? :update_table @update_table = ::Gapic::Config::Method.new update_table_config delete_table_config = parent_rpcs.delete_table if parent_rpcs.respond_to? :delete_table @delete_table = ::Gapic::Config::Method.new delete_table_config undelete_table_config = parent_rpcs.undelete_table if parent_rpcs.respond_to? :undelete_table @undelete_table = ::Gapic::Config::Method.new undelete_table_config = parent_rpcs. if parent_rpcs.respond_to? :create_authorized_view @create_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :list_authorized_views @list_authorized_views = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :get_authorized_view @get_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :update_authorized_view @update_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :delete_authorized_view @delete_authorized_view = ::Gapic::Config::Method.new modify_column_families_config = parent_rpcs.modify_column_families if parent_rpcs.respond_to? :modify_column_families @modify_column_families = ::Gapic::Config::Method.new modify_column_families_config drop_row_range_config = parent_rpcs.drop_row_range if parent_rpcs.respond_to? :drop_row_range @drop_row_range = ::Gapic::Config::Method.new drop_row_range_config generate_consistency_token_config = parent_rpcs.generate_consistency_token if parent_rpcs.respond_to? :generate_consistency_token @generate_consistency_token = ::Gapic::Config::Method.new generate_consistency_token_config check_consistency_config = parent_rpcs.check_consistency if parent_rpcs.respond_to? :check_consistency @check_consistency = ::Gapic::Config::Method.new check_consistency_config snapshot_table_config = parent_rpcs.snapshot_table if parent_rpcs.respond_to? :snapshot_table @snapshot_table = ::Gapic::Config::Method.new snapshot_table_config get_snapshot_config = parent_rpcs.get_snapshot if parent_rpcs.respond_to? :get_snapshot @get_snapshot = ::Gapic::Config::Method.new get_snapshot_config list_snapshots_config = parent_rpcs.list_snapshots if parent_rpcs.respond_to? :list_snapshots @list_snapshots = ::Gapic::Config::Method.new list_snapshots_config delete_snapshot_config = parent_rpcs.delete_snapshot if parent_rpcs.respond_to? :delete_snapshot @delete_snapshot = ::Gapic::Config::Method.new delete_snapshot_config create_backup_config = parent_rpcs.create_backup if parent_rpcs.respond_to? :create_backup @create_backup = ::Gapic::Config::Method.new create_backup_config get_backup_config = parent_rpcs.get_backup if parent_rpcs.respond_to? :get_backup @get_backup = ::Gapic::Config::Method.new get_backup_config update_backup_config = parent_rpcs.update_backup if parent_rpcs.respond_to? :update_backup @update_backup = ::Gapic::Config::Method.new update_backup_config delete_backup_config = parent_rpcs.delete_backup if parent_rpcs.respond_to? :delete_backup @delete_backup = ::Gapic::Config::Method.new delete_backup_config list_backups_config = parent_rpcs.list_backups if parent_rpcs.respond_to? :list_backups @list_backups = ::Gapic::Config::Method.new list_backups_config restore_table_config = parent_rpcs.restore_table if parent_rpcs.respond_to? :restore_table @restore_table = ::Gapic::Config::Method.new restore_table_config copy_backup_config = parent_rpcs.copy_backup if parent_rpcs.respond_to? :copy_backup @copy_backup = ::Gapic::Config::Method.new copy_backup_config get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config = parent_rpcs. if parent_rpcs.respond_to? :test_iam_permissions @test_iam_permissions = ::Gapic::Config::Method.new create_schema_bundle_config = parent_rpcs.create_schema_bundle if parent_rpcs.respond_to? :create_schema_bundle @create_schema_bundle = ::Gapic::Config::Method.new create_schema_bundle_config update_schema_bundle_config = parent_rpcs.update_schema_bundle if parent_rpcs.respond_to? :update_schema_bundle @update_schema_bundle = ::Gapic::Config::Method.new update_schema_bundle_config get_schema_bundle_config = parent_rpcs.get_schema_bundle if parent_rpcs.respond_to? :get_schema_bundle @get_schema_bundle = ::Gapic::Config::Method.new get_schema_bundle_config list_schema_bundles_config = parent_rpcs.list_schema_bundles if parent_rpcs.respond_to? :list_schema_bundles @list_schema_bundles = ::Gapic::Config::Method.new list_schema_bundles_config delete_schema_bundle_config = parent_rpcs.delete_schema_bundle if parent_rpcs.respond_to? :delete_schema_bundle @delete_schema_bundle = ::Gapic::Config::Method.new delete_schema_bundle_config yield self if block_given? end end end |
#timeout ⇒ ::Numeric
The call timeout in seconds.
3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 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 |
# File 'lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb', line 3920 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "bigtableadmin.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel 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(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, 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 config_attr :logger, :default, ::Logger, nil, :default # @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 for the channel pool # @return [::Gapic::ServiceStub::ChannelPool::Configuration] # def channel_pool @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new end ## # Configuration RPC class for the BigtableTableAdmin 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 gRPC 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_table` # @return [::Gapic::Config::Method] # attr_reader :create_table ## # RPC-specific configuration for `create_table_from_snapshot` # @return [::Gapic::Config::Method] # attr_reader :create_table_from_snapshot ## # RPC-specific configuration for `list_tables` # @return [::Gapic::Config::Method] # attr_reader :list_tables ## # RPC-specific configuration for `get_table` # @return [::Gapic::Config::Method] # attr_reader :get_table ## # RPC-specific configuration for `update_table` # @return [::Gapic::Config::Method] # attr_reader :update_table ## # RPC-specific configuration for `delete_table` # @return [::Gapic::Config::Method] # attr_reader :delete_table ## # RPC-specific configuration for `undelete_table` # @return [::Gapic::Config::Method] # attr_reader :undelete_table ## # RPC-specific configuration for `create_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :create_authorized_view ## # RPC-specific configuration for `list_authorized_views` # @return [::Gapic::Config::Method] # attr_reader :list_authorized_views ## # RPC-specific configuration for `get_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :get_authorized_view ## # RPC-specific configuration for `update_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :update_authorized_view ## # RPC-specific configuration for `delete_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :delete_authorized_view ## # RPC-specific configuration for `modify_column_families` # @return [::Gapic::Config::Method] # attr_reader :modify_column_families ## # RPC-specific configuration for `drop_row_range` # @return [::Gapic::Config::Method] # attr_reader :drop_row_range ## # RPC-specific configuration for `generate_consistency_token` # @return [::Gapic::Config::Method] # attr_reader :generate_consistency_token ## # RPC-specific configuration for `check_consistency` # @return [::Gapic::Config::Method] # attr_reader :check_consistency ## # RPC-specific configuration for `snapshot_table` # @return [::Gapic::Config::Method] # attr_reader :snapshot_table ## # RPC-specific configuration for `get_snapshot` # @return [::Gapic::Config::Method] # attr_reader :get_snapshot ## # RPC-specific configuration for `list_snapshots` # @return [::Gapic::Config::Method] # attr_reader :list_snapshots ## # RPC-specific configuration for `delete_snapshot` # @return [::Gapic::Config::Method] # attr_reader :delete_snapshot ## # RPC-specific configuration for `create_backup` # @return [::Gapic::Config::Method] # attr_reader :create_backup ## # RPC-specific configuration for `get_backup` # @return [::Gapic::Config::Method] # attr_reader :get_backup ## # RPC-specific configuration for `update_backup` # @return [::Gapic::Config::Method] # attr_reader :update_backup ## # RPC-specific configuration for `delete_backup` # @return [::Gapic::Config::Method] # attr_reader :delete_backup ## # RPC-specific configuration for `list_backups` # @return [::Gapic::Config::Method] # attr_reader :list_backups ## # RPC-specific configuration for `restore_table` # @return [::Gapic::Config::Method] # attr_reader :restore_table ## # RPC-specific configuration for `copy_backup` # @return [::Gapic::Config::Method] # attr_reader :copy_backup ## # RPC-specific configuration for `get_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :get_iam_policy ## # RPC-specific configuration for `set_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :set_iam_policy ## # RPC-specific configuration for `test_iam_permissions` # @return [::Gapic::Config::Method] # attr_reader :test_iam_permissions ## # RPC-specific configuration for `create_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :create_schema_bundle ## # RPC-specific configuration for `update_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :update_schema_bundle ## # RPC-specific configuration for `get_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :get_schema_bundle ## # RPC-specific configuration for `list_schema_bundles` # @return [::Gapic::Config::Method] # attr_reader :list_schema_bundles ## # RPC-specific configuration for `delete_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :delete_schema_bundle # @private def initialize parent_rpcs = nil create_table_config = parent_rpcs.create_table if parent_rpcs.respond_to? :create_table @create_table = ::Gapic::Config::Method.new create_table_config create_table_from_snapshot_config = parent_rpcs.create_table_from_snapshot if parent_rpcs.respond_to? :create_table_from_snapshot @create_table_from_snapshot = ::Gapic::Config::Method.new create_table_from_snapshot_config list_tables_config = parent_rpcs.list_tables if parent_rpcs.respond_to? :list_tables @list_tables = ::Gapic::Config::Method.new list_tables_config get_table_config = parent_rpcs.get_table if parent_rpcs.respond_to? :get_table @get_table = ::Gapic::Config::Method.new get_table_config update_table_config = parent_rpcs.update_table if parent_rpcs.respond_to? :update_table @update_table = ::Gapic::Config::Method.new update_table_config delete_table_config = parent_rpcs.delete_table if parent_rpcs.respond_to? :delete_table @delete_table = ::Gapic::Config::Method.new delete_table_config undelete_table_config = parent_rpcs.undelete_table if parent_rpcs.respond_to? :undelete_table @undelete_table = ::Gapic::Config::Method.new undelete_table_config = parent_rpcs. if parent_rpcs.respond_to? :create_authorized_view @create_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :list_authorized_views @list_authorized_views = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :get_authorized_view @get_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :update_authorized_view @update_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :delete_authorized_view @delete_authorized_view = ::Gapic::Config::Method.new modify_column_families_config = parent_rpcs.modify_column_families if parent_rpcs.respond_to? :modify_column_families @modify_column_families = ::Gapic::Config::Method.new modify_column_families_config drop_row_range_config = parent_rpcs.drop_row_range if parent_rpcs.respond_to? :drop_row_range @drop_row_range = ::Gapic::Config::Method.new drop_row_range_config generate_consistency_token_config = parent_rpcs.generate_consistency_token if parent_rpcs.respond_to? :generate_consistency_token @generate_consistency_token = ::Gapic::Config::Method.new generate_consistency_token_config check_consistency_config = parent_rpcs.check_consistency if parent_rpcs.respond_to? :check_consistency @check_consistency = ::Gapic::Config::Method.new check_consistency_config snapshot_table_config = parent_rpcs.snapshot_table if parent_rpcs.respond_to? :snapshot_table @snapshot_table = ::Gapic::Config::Method.new snapshot_table_config get_snapshot_config = parent_rpcs.get_snapshot if parent_rpcs.respond_to? :get_snapshot @get_snapshot = ::Gapic::Config::Method.new get_snapshot_config list_snapshots_config = parent_rpcs.list_snapshots if parent_rpcs.respond_to? :list_snapshots @list_snapshots = ::Gapic::Config::Method.new list_snapshots_config delete_snapshot_config = parent_rpcs.delete_snapshot if parent_rpcs.respond_to? :delete_snapshot @delete_snapshot = ::Gapic::Config::Method.new delete_snapshot_config create_backup_config = parent_rpcs.create_backup if parent_rpcs.respond_to? :create_backup @create_backup = ::Gapic::Config::Method.new create_backup_config get_backup_config = parent_rpcs.get_backup if parent_rpcs.respond_to? :get_backup @get_backup = ::Gapic::Config::Method.new get_backup_config update_backup_config = parent_rpcs.update_backup if parent_rpcs.respond_to? :update_backup @update_backup = ::Gapic::Config::Method.new update_backup_config delete_backup_config = parent_rpcs.delete_backup if parent_rpcs.respond_to? :delete_backup @delete_backup = ::Gapic::Config::Method.new delete_backup_config list_backups_config = parent_rpcs.list_backups if parent_rpcs.respond_to? :list_backups @list_backups = ::Gapic::Config::Method.new list_backups_config restore_table_config = parent_rpcs.restore_table if parent_rpcs.respond_to? :restore_table @restore_table = ::Gapic::Config::Method.new restore_table_config copy_backup_config = parent_rpcs.copy_backup if parent_rpcs.respond_to? :copy_backup @copy_backup = ::Gapic::Config::Method.new copy_backup_config get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config = parent_rpcs. if parent_rpcs.respond_to? :test_iam_permissions @test_iam_permissions = ::Gapic::Config::Method.new create_schema_bundle_config = parent_rpcs.create_schema_bundle if parent_rpcs.respond_to? :create_schema_bundle @create_schema_bundle = ::Gapic::Config::Method.new create_schema_bundle_config update_schema_bundle_config = parent_rpcs.update_schema_bundle if parent_rpcs.respond_to? :update_schema_bundle @update_schema_bundle = ::Gapic::Config::Method.new update_schema_bundle_config get_schema_bundle_config = parent_rpcs.get_schema_bundle if parent_rpcs.respond_to? :get_schema_bundle @get_schema_bundle = ::Gapic::Config::Method.new get_schema_bundle_config list_schema_bundles_config = parent_rpcs.list_schema_bundles if parent_rpcs.respond_to? :list_schema_bundles @list_schema_bundles = ::Gapic::Config::Method.new list_schema_bundles_config delete_schema_bundle_config = parent_rpcs.delete_schema_bundle if parent_rpcs.respond_to? :delete_schema_bundle @delete_schema_bundle = ::Gapic::Config::Method.new delete_schema_bundle_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).
3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 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 |
# File 'lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb', line 3920 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "bigtableadmin.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel 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(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil) config_attr :interceptors, nil, ::Array, 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 config_attr :logger, :default, ::Logger, nil, :default # @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 for the channel pool # @return [::Gapic::ServiceStub::ChannelPool::Configuration] # def channel_pool @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new end ## # Configuration RPC class for the BigtableTableAdmin 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 gRPC 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_table` # @return [::Gapic::Config::Method] # attr_reader :create_table ## # RPC-specific configuration for `create_table_from_snapshot` # @return [::Gapic::Config::Method] # attr_reader :create_table_from_snapshot ## # RPC-specific configuration for `list_tables` # @return [::Gapic::Config::Method] # attr_reader :list_tables ## # RPC-specific configuration for `get_table` # @return [::Gapic::Config::Method] # attr_reader :get_table ## # RPC-specific configuration for `update_table` # @return [::Gapic::Config::Method] # attr_reader :update_table ## # RPC-specific configuration for `delete_table` # @return [::Gapic::Config::Method] # attr_reader :delete_table ## # RPC-specific configuration for `undelete_table` # @return [::Gapic::Config::Method] # attr_reader :undelete_table ## # RPC-specific configuration for `create_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :create_authorized_view ## # RPC-specific configuration for `list_authorized_views` # @return [::Gapic::Config::Method] # attr_reader :list_authorized_views ## # RPC-specific configuration for `get_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :get_authorized_view ## # RPC-specific configuration for `update_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :update_authorized_view ## # RPC-specific configuration for `delete_authorized_view` # @return [::Gapic::Config::Method] # attr_reader :delete_authorized_view ## # RPC-specific configuration for `modify_column_families` # @return [::Gapic::Config::Method] # attr_reader :modify_column_families ## # RPC-specific configuration for `drop_row_range` # @return [::Gapic::Config::Method] # attr_reader :drop_row_range ## # RPC-specific configuration for `generate_consistency_token` # @return [::Gapic::Config::Method] # attr_reader :generate_consistency_token ## # RPC-specific configuration for `check_consistency` # @return [::Gapic::Config::Method] # attr_reader :check_consistency ## # RPC-specific configuration for `snapshot_table` # @return [::Gapic::Config::Method] # attr_reader :snapshot_table ## # RPC-specific configuration for `get_snapshot` # @return [::Gapic::Config::Method] # attr_reader :get_snapshot ## # RPC-specific configuration for `list_snapshots` # @return [::Gapic::Config::Method] # attr_reader :list_snapshots ## # RPC-specific configuration for `delete_snapshot` # @return [::Gapic::Config::Method] # attr_reader :delete_snapshot ## # RPC-specific configuration for `create_backup` # @return [::Gapic::Config::Method] # attr_reader :create_backup ## # RPC-specific configuration for `get_backup` # @return [::Gapic::Config::Method] # attr_reader :get_backup ## # RPC-specific configuration for `update_backup` # @return [::Gapic::Config::Method] # attr_reader :update_backup ## # RPC-specific configuration for `delete_backup` # @return [::Gapic::Config::Method] # attr_reader :delete_backup ## # RPC-specific configuration for `list_backups` # @return [::Gapic::Config::Method] # attr_reader :list_backups ## # RPC-specific configuration for `restore_table` # @return [::Gapic::Config::Method] # attr_reader :restore_table ## # RPC-specific configuration for `copy_backup` # @return [::Gapic::Config::Method] # attr_reader :copy_backup ## # RPC-specific configuration for `get_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :get_iam_policy ## # RPC-specific configuration for `set_iam_policy` # @return [::Gapic::Config::Method] # attr_reader :set_iam_policy ## # RPC-specific configuration for `test_iam_permissions` # @return [::Gapic::Config::Method] # attr_reader :test_iam_permissions ## # RPC-specific configuration for `create_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :create_schema_bundle ## # RPC-specific configuration for `update_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :update_schema_bundle ## # RPC-specific configuration for `get_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :get_schema_bundle ## # RPC-specific configuration for `list_schema_bundles` # @return [::Gapic::Config::Method] # attr_reader :list_schema_bundles ## # RPC-specific configuration for `delete_schema_bundle` # @return [::Gapic::Config::Method] # attr_reader :delete_schema_bundle # @private def initialize parent_rpcs = nil create_table_config = parent_rpcs.create_table if parent_rpcs.respond_to? :create_table @create_table = ::Gapic::Config::Method.new create_table_config create_table_from_snapshot_config = parent_rpcs.create_table_from_snapshot if parent_rpcs.respond_to? :create_table_from_snapshot @create_table_from_snapshot = ::Gapic::Config::Method.new create_table_from_snapshot_config list_tables_config = parent_rpcs.list_tables if parent_rpcs.respond_to? :list_tables @list_tables = ::Gapic::Config::Method.new list_tables_config get_table_config = parent_rpcs.get_table if parent_rpcs.respond_to? :get_table @get_table = ::Gapic::Config::Method.new get_table_config update_table_config = parent_rpcs.update_table if parent_rpcs.respond_to? :update_table @update_table = ::Gapic::Config::Method.new update_table_config delete_table_config = parent_rpcs.delete_table if parent_rpcs.respond_to? :delete_table @delete_table = ::Gapic::Config::Method.new delete_table_config undelete_table_config = parent_rpcs.undelete_table if parent_rpcs.respond_to? :undelete_table @undelete_table = ::Gapic::Config::Method.new undelete_table_config = parent_rpcs. if parent_rpcs.respond_to? :create_authorized_view @create_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :list_authorized_views @list_authorized_views = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :get_authorized_view @get_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :update_authorized_view @update_authorized_view = ::Gapic::Config::Method.new = parent_rpcs. if parent_rpcs.respond_to? :delete_authorized_view @delete_authorized_view = ::Gapic::Config::Method.new modify_column_families_config = parent_rpcs.modify_column_families if parent_rpcs.respond_to? :modify_column_families @modify_column_families = ::Gapic::Config::Method.new modify_column_families_config drop_row_range_config = parent_rpcs.drop_row_range if parent_rpcs.respond_to? :drop_row_range @drop_row_range = ::Gapic::Config::Method.new drop_row_range_config generate_consistency_token_config = parent_rpcs.generate_consistency_token if parent_rpcs.respond_to? :generate_consistency_token @generate_consistency_token = ::Gapic::Config::Method.new generate_consistency_token_config check_consistency_config = parent_rpcs.check_consistency if parent_rpcs.respond_to? :check_consistency @check_consistency = ::Gapic::Config::Method.new check_consistency_config snapshot_table_config = parent_rpcs.snapshot_table if parent_rpcs.respond_to? :snapshot_table @snapshot_table = ::Gapic::Config::Method.new snapshot_table_config get_snapshot_config = parent_rpcs.get_snapshot if parent_rpcs.respond_to? :get_snapshot @get_snapshot = ::Gapic::Config::Method.new get_snapshot_config list_snapshots_config = parent_rpcs.list_snapshots if parent_rpcs.respond_to? :list_snapshots @list_snapshots = ::Gapic::Config::Method.new list_snapshots_config delete_snapshot_config = parent_rpcs.delete_snapshot if parent_rpcs.respond_to? :delete_snapshot @delete_snapshot = ::Gapic::Config::Method.new delete_snapshot_config create_backup_config = parent_rpcs.create_backup if parent_rpcs.respond_to? :create_backup @create_backup = ::Gapic::Config::Method.new create_backup_config get_backup_config = parent_rpcs.get_backup if parent_rpcs.respond_to? :get_backup @get_backup = ::Gapic::Config::Method.new get_backup_config update_backup_config = parent_rpcs.update_backup if parent_rpcs.respond_to? :update_backup @update_backup = ::Gapic::Config::Method.new update_backup_config delete_backup_config = parent_rpcs.delete_backup if parent_rpcs.respond_to? :delete_backup @delete_backup = ::Gapic::Config::Method.new delete_backup_config list_backups_config = parent_rpcs.list_backups if parent_rpcs.respond_to? :list_backups @list_backups = ::Gapic::Config::Method.new list_backups_config restore_table_config = parent_rpcs.restore_table if parent_rpcs.respond_to? :restore_table @restore_table = ::Gapic::Config::Method.new restore_table_config copy_backup_config = parent_rpcs.copy_backup if parent_rpcs.respond_to? :copy_backup @copy_backup = ::Gapic::Config::Method.new copy_backup_config get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config = parent_rpcs. if parent_rpcs.respond_to? :test_iam_permissions @test_iam_permissions = ::Gapic::Config::Method.new create_schema_bundle_config = parent_rpcs.create_schema_bundle if parent_rpcs.respond_to? :create_schema_bundle @create_schema_bundle = ::Gapic::Config::Method.new create_schema_bundle_config update_schema_bundle_config = parent_rpcs.update_schema_bundle if parent_rpcs.respond_to? :update_schema_bundle @update_schema_bundle = ::Gapic::Config::Method.new update_schema_bundle_config get_schema_bundle_config = parent_rpcs.get_schema_bundle if parent_rpcs.respond_to? :get_schema_bundle @get_schema_bundle = ::Gapic::Config::Method.new get_schema_bundle_config list_schema_bundles_config = parent_rpcs.list_schema_bundles if parent_rpcs.respond_to? :list_schema_bundles @list_schema_bundles = ::Gapic::Config::Method.new list_schema_bundles_config delete_schema_bundle_config = parent_rpcs.delete_schema_bundle if parent_rpcs.respond_to? :delete_schema_bundle @delete_schema_bundle = ::Gapic::Config::Method.new delete_schema_bundle_config yield self if block_given? end end end |
Instance Method Details
#channel_pool ⇒ ::Gapic::ServiceStub::ChannelPool::Configuration
Configuration for the channel pool
3968 3969 3970 |
# File 'lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb', line 3968 def channel_pool @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new end |
#rpcs ⇒ Rpcs
Configurations for individual RPCs
3956 3957 3958 3959 3960 3961 3962 |
# File 'lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb', line 3956 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 |