Class: Google::Cloud::AIPlatform::V1::JobService::Client::Configuration
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::JobService::Client::Configuration
- Extended by:
- Gapic::Config
- Defined in:
- lib/google/cloud/ai_platform/v1/job_service/client.rb
Overview
Configuration class for the JobService API.
This class represents the configuration for JobService, 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.
-
#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.
3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 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 |
# File 'lib/google/cloud/ai_platform/v1/job_service/client.rb', line 3776 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "aiplatform.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC 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 # @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 JobService 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_custom_job` # @return [::Gapic::Config::Method] # attr_reader :create_custom_job ## # RPC-specific configuration for `get_custom_job` # @return [::Gapic::Config::Method] # attr_reader :get_custom_job ## # RPC-specific configuration for `list_custom_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_custom_jobs ## # RPC-specific configuration for `delete_custom_job` # @return [::Gapic::Config::Method] # attr_reader :delete_custom_job ## # RPC-specific configuration for `cancel_custom_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_custom_job ## # RPC-specific configuration for `create_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :create_data_labeling_job ## # RPC-specific configuration for `get_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :get_data_labeling_job ## # RPC-specific configuration for `list_data_labeling_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_data_labeling_jobs ## # RPC-specific configuration for `delete_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :delete_data_labeling_job ## # RPC-specific configuration for `cancel_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_data_labeling_job ## # RPC-specific configuration for `create_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :create_hyperparameter_tuning_job ## # RPC-specific configuration for `get_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :get_hyperparameter_tuning_job ## # RPC-specific configuration for `list_hyperparameter_tuning_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_hyperparameter_tuning_jobs ## # RPC-specific configuration for `delete_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :delete_hyperparameter_tuning_job ## # RPC-specific configuration for `cancel_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_hyperparameter_tuning_job ## # RPC-specific configuration for `create_nas_job` # @return [::Gapic::Config::Method] # attr_reader :create_nas_job ## # RPC-specific configuration for `get_nas_job` # @return [::Gapic::Config::Method] # attr_reader :get_nas_job ## # RPC-specific configuration for `list_nas_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_nas_jobs ## # RPC-specific configuration for `delete_nas_job` # @return [::Gapic::Config::Method] # attr_reader :delete_nas_job ## # RPC-specific configuration for `cancel_nas_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_nas_job ## # RPC-specific configuration for `get_nas_trial_detail` # @return [::Gapic::Config::Method] # attr_reader :get_nas_trial_detail ## # RPC-specific configuration for `list_nas_trial_details` # @return [::Gapic::Config::Method] # attr_reader :list_nas_trial_details ## # RPC-specific configuration for `create_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :create_batch_prediction_job ## # RPC-specific configuration for `get_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :get_batch_prediction_job ## # RPC-specific configuration for `list_batch_prediction_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_batch_prediction_jobs ## # RPC-specific configuration for `delete_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :delete_batch_prediction_job ## # RPC-specific configuration for `cancel_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_batch_prediction_job ## # RPC-specific configuration for `create_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :create_model_deployment_monitoring_job ## # RPC-specific configuration for `search_model_deployment_monitoring_stats_anomalies` # @return [::Gapic::Config::Method] # attr_reader :search_model_deployment_monitoring_stats_anomalies ## # RPC-specific configuration for `get_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :get_model_deployment_monitoring_job ## # RPC-specific configuration for `list_model_deployment_monitoring_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_model_deployment_monitoring_jobs ## # RPC-specific configuration for `update_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :update_model_deployment_monitoring_job ## # RPC-specific configuration for `delete_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :delete_model_deployment_monitoring_job ## # RPC-specific configuration for `pause_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :pause_model_deployment_monitoring_job ## # RPC-specific configuration for `resume_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :resume_model_deployment_monitoring_job # @private def initialize parent_rpcs = nil create_custom_job_config = parent_rpcs.create_custom_job if parent_rpcs.respond_to? :create_custom_job @create_custom_job = ::Gapic::Config::Method.new create_custom_job_config get_custom_job_config = parent_rpcs.get_custom_job if parent_rpcs.respond_to? :get_custom_job @get_custom_job = ::Gapic::Config::Method.new get_custom_job_config list_custom_jobs_config = parent_rpcs.list_custom_jobs if parent_rpcs.respond_to? :list_custom_jobs @list_custom_jobs = ::Gapic::Config::Method.new list_custom_jobs_config delete_custom_job_config = parent_rpcs.delete_custom_job if parent_rpcs.respond_to? :delete_custom_job @delete_custom_job = ::Gapic::Config::Method.new delete_custom_job_config cancel_custom_job_config = parent_rpcs.cancel_custom_job if parent_rpcs.respond_to? :cancel_custom_job @cancel_custom_job = ::Gapic::Config::Method.new cancel_custom_job_config create_data_labeling_job_config = parent_rpcs.create_data_labeling_job if parent_rpcs.respond_to? :create_data_labeling_job @create_data_labeling_job = ::Gapic::Config::Method.new create_data_labeling_job_config get_data_labeling_job_config = parent_rpcs.get_data_labeling_job if parent_rpcs.respond_to? :get_data_labeling_job @get_data_labeling_job = ::Gapic::Config::Method.new get_data_labeling_job_config list_data_labeling_jobs_config = parent_rpcs.list_data_labeling_jobs if parent_rpcs.respond_to? :list_data_labeling_jobs @list_data_labeling_jobs = ::Gapic::Config::Method.new list_data_labeling_jobs_config delete_data_labeling_job_config = parent_rpcs.delete_data_labeling_job if parent_rpcs.respond_to? :delete_data_labeling_job @delete_data_labeling_job = ::Gapic::Config::Method.new delete_data_labeling_job_config cancel_data_labeling_job_config = parent_rpcs.cancel_data_labeling_job if parent_rpcs.respond_to? :cancel_data_labeling_job @cancel_data_labeling_job = ::Gapic::Config::Method.new cancel_data_labeling_job_config create_hyperparameter_tuning_job_config = parent_rpcs.create_hyperparameter_tuning_job if parent_rpcs.respond_to? :create_hyperparameter_tuning_job @create_hyperparameter_tuning_job = ::Gapic::Config::Method.new create_hyperparameter_tuning_job_config get_hyperparameter_tuning_job_config = parent_rpcs.get_hyperparameter_tuning_job if parent_rpcs.respond_to? :get_hyperparameter_tuning_job @get_hyperparameter_tuning_job = ::Gapic::Config::Method.new get_hyperparameter_tuning_job_config list_hyperparameter_tuning_jobs_config = parent_rpcs.list_hyperparameter_tuning_jobs if parent_rpcs.respond_to? :list_hyperparameter_tuning_jobs @list_hyperparameter_tuning_jobs = ::Gapic::Config::Method.new list_hyperparameter_tuning_jobs_config delete_hyperparameter_tuning_job_config = parent_rpcs.delete_hyperparameter_tuning_job if parent_rpcs.respond_to? :delete_hyperparameter_tuning_job @delete_hyperparameter_tuning_job = ::Gapic::Config::Method.new delete_hyperparameter_tuning_job_config cancel_hyperparameter_tuning_job_config = parent_rpcs.cancel_hyperparameter_tuning_job if parent_rpcs.respond_to? :cancel_hyperparameter_tuning_job @cancel_hyperparameter_tuning_job = ::Gapic::Config::Method.new cancel_hyperparameter_tuning_job_config create_nas_job_config = parent_rpcs.create_nas_job if parent_rpcs.respond_to? :create_nas_job @create_nas_job = ::Gapic::Config::Method.new create_nas_job_config get_nas_job_config = parent_rpcs.get_nas_job if parent_rpcs.respond_to? :get_nas_job @get_nas_job = ::Gapic::Config::Method.new get_nas_job_config list_nas_jobs_config = parent_rpcs.list_nas_jobs if parent_rpcs.respond_to? :list_nas_jobs @list_nas_jobs = ::Gapic::Config::Method.new list_nas_jobs_config delete_nas_job_config = parent_rpcs.delete_nas_job if parent_rpcs.respond_to? :delete_nas_job @delete_nas_job = ::Gapic::Config::Method.new delete_nas_job_config cancel_nas_job_config = parent_rpcs.cancel_nas_job if parent_rpcs.respond_to? :cancel_nas_job @cancel_nas_job = ::Gapic::Config::Method.new cancel_nas_job_config get_nas_trial_detail_config = parent_rpcs.get_nas_trial_detail if parent_rpcs.respond_to? :get_nas_trial_detail @get_nas_trial_detail = ::Gapic::Config::Method.new get_nas_trial_detail_config list_nas_trial_details_config = parent_rpcs.list_nas_trial_details if parent_rpcs.respond_to? :list_nas_trial_details @list_nas_trial_details = ::Gapic::Config::Method.new list_nas_trial_details_config create_batch_prediction_job_config = parent_rpcs.create_batch_prediction_job if parent_rpcs.respond_to? :create_batch_prediction_job @create_batch_prediction_job = ::Gapic::Config::Method.new create_batch_prediction_job_config get_batch_prediction_job_config = parent_rpcs.get_batch_prediction_job if parent_rpcs.respond_to? :get_batch_prediction_job @get_batch_prediction_job = ::Gapic::Config::Method.new get_batch_prediction_job_config list_batch_prediction_jobs_config = parent_rpcs.list_batch_prediction_jobs if parent_rpcs.respond_to? :list_batch_prediction_jobs @list_batch_prediction_jobs = ::Gapic::Config::Method.new list_batch_prediction_jobs_config delete_batch_prediction_job_config = parent_rpcs.delete_batch_prediction_job if parent_rpcs.respond_to? :delete_batch_prediction_job @delete_batch_prediction_job = ::Gapic::Config::Method.new delete_batch_prediction_job_config cancel_batch_prediction_job_config = parent_rpcs.cancel_batch_prediction_job if parent_rpcs.respond_to? :cancel_batch_prediction_job @cancel_batch_prediction_job = ::Gapic::Config::Method.new cancel_batch_prediction_job_config create_model_deployment_monitoring_job_config = parent_rpcs.create_model_deployment_monitoring_job if parent_rpcs.respond_to? :create_model_deployment_monitoring_job @create_model_deployment_monitoring_job = ::Gapic::Config::Method.new create_model_deployment_monitoring_job_config search_model_deployment_monitoring_stats_anomalies_config = parent_rpcs.search_model_deployment_monitoring_stats_anomalies if parent_rpcs.respond_to? :search_model_deployment_monitoring_stats_anomalies @search_model_deployment_monitoring_stats_anomalies = ::Gapic::Config::Method.new search_model_deployment_monitoring_stats_anomalies_config get_model_deployment_monitoring_job_config = parent_rpcs.get_model_deployment_monitoring_job if parent_rpcs.respond_to? :get_model_deployment_monitoring_job @get_model_deployment_monitoring_job = ::Gapic::Config::Method.new get_model_deployment_monitoring_job_config list_model_deployment_monitoring_jobs_config = parent_rpcs.list_model_deployment_monitoring_jobs if parent_rpcs.respond_to? :list_model_deployment_monitoring_jobs @list_model_deployment_monitoring_jobs = ::Gapic::Config::Method.new list_model_deployment_monitoring_jobs_config update_model_deployment_monitoring_job_config = parent_rpcs.update_model_deployment_monitoring_job if parent_rpcs.respond_to? :update_model_deployment_monitoring_job @update_model_deployment_monitoring_job = ::Gapic::Config::Method.new update_model_deployment_monitoring_job_config delete_model_deployment_monitoring_job_config = parent_rpcs.delete_model_deployment_monitoring_job if parent_rpcs.respond_to? :delete_model_deployment_monitoring_job @delete_model_deployment_monitoring_job = ::Gapic::Config::Method.new delete_model_deployment_monitoring_job_config pause_model_deployment_monitoring_job_config = parent_rpcs.pause_model_deployment_monitoring_job if parent_rpcs.respond_to? :pause_model_deployment_monitoring_job @pause_model_deployment_monitoring_job = ::Gapic::Config::Method.new pause_model_deployment_monitoring_job_config resume_model_deployment_monitoring_job_config = parent_rpcs.resume_model_deployment_monitoring_job if parent_rpcs.respond_to? :resume_model_deployment_monitoring_job @resume_model_deployment_monitoring_job = ::Gapic::Config::Method.new resume_model_deployment_monitoring_job_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
3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 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 |
# File 'lib/google/cloud/ai_platform/v1/job_service/client.rb', line 3776 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "aiplatform.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC 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 # @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 JobService 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_custom_job` # @return [::Gapic::Config::Method] # attr_reader :create_custom_job ## # RPC-specific configuration for `get_custom_job` # @return [::Gapic::Config::Method] # attr_reader :get_custom_job ## # RPC-specific configuration for `list_custom_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_custom_jobs ## # RPC-specific configuration for `delete_custom_job` # @return [::Gapic::Config::Method] # attr_reader :delete_custom_job ## # RPC-specific configuration for `cancel_custom_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_custom_job ## # RPC-specific configuration for `create_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :create_data_labeling_job ## # RPC-specific configuration for `get_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :get_data_labeling_job ## # RPC-specific configuration for `list_data_labeling_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_data_labeling_jobs ## # RPC-specific configuration for `delete_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :delete_data_labeling_job ## # RPC-specific configuration for `cancel_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_data_labeling_job ## # RPC-specific configuration for `create_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :create_hyperparameter_tuning_job ## # RPC-specific configuration for `get_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :get_hyperparameter_tuning_job ## # RPC-specific configuration for `list_hyperparameter_tuning_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_hyperparameter_tuning_jobs ## # RPC-specific configuration for `delete_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :delete_hyperparameter_tuning_job ## # RPC-specific configuration for `cancel_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_hyperparameter_tuning_job ## # RPC-specific configuration for `create_nas_job` # @return [::Gapic::Config::Method] # attr_reader :create_nas_job ## # RPC-specific configuration for `get_nas_job` # @return [::Gapic::Config::Method] # attr_reader :get_nas_job ## # RPC-specific configuration for `list_nas_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_nas_jobs ## # RPC-specific configuration for `delete_nas_job` # @return [::Gapic::Config::Method] # attr_reader :delete_nas_job ## # RPC-specific configuration for `cancel_nas_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_nas_job ## # RPC-specific configuration for `get_nas_trial_detail` # @return [::Gapic::Config::Method] # attr_reader :get_nas_trial_detail ## # RPC-specific configuration for `list_nas_trial_details` # @return [::Gapic::Config::Method] # attr_reader :list_nas_trial_details ## # RPC-specific configuration for `create_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :create_batch_prediction_job ## # RPC-specific configuration for `get_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :get_batch_prediction_job ## # RPC-specific configuration for `list_batch_prediction_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_batch_prediction_jobs ## # RPC-specific configuration for `delete_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :delete_batch_prediction_job ## # RPC-specific configuration for `cancel_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_batch_prediction_job ## # RPC-specific configuration for `create_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :create_model_deployment_monitoring_job ## # RPC-specific configuration for `search_model_deployment_monitoring_stats_anomalies` # @return [::Gapic::Config::Method] # attr_reader :search_model_deployment_monitoring_stats_anomalies ## # RPC-specific configuration for `get_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :get_model_deployment_monitoring_job ## # RPC-specific configuration for `list_model_deployment_monitoring_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_model_deployment_monitoring_jobs ## # RPC-specific configuration for `update_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :update_model_deployment_monitoring_job ## # RPC-specific configuration for `delete_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :delete_model_deployment_monitoring_job ## # RPC-specific configuration for `pause_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :pause_model_deployment_monitoring_job ## # RPC-specific configuration for `resume_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :resume_model_deployment_monitoring_job # @private def initialize parent_rpcs = nil create_custom_job_config = parent_rpcs.create_custom_job if parent_rpcs.respond_to? :create_custom_job @create_custom_job = ::Gapic::Config::Method.new create_custom_job_config get_custom_job_config = parent_rpcs.get_custom_job if parent_rpcs.respond_to? :get_custom_job @get_custom_job = ::Gapic::Config::Method.new get_custom_job_config list_custom_jobs_config = parent_rpcs.list_custom_jobs if parent_rpcs.respond_to? :list_custom_jobs @list_custom_jobs = ::Gapic::Config::Method.new list_custom_jobs_config delete_custom_job_config = parent_rpcs.delete_custom_job if parent_rpcs.respond_to? :delete_custom_job @delete_custom_job = ::Gapic::Config::Method.new delete_custom_job_config cancel_custom_job_config = parent_rpcs.cancel_custom_job if parent_rpcs.respond_to? :cancel_custom_job @cancel_custom_job = ::Gapic::Config::Method.new cancel_custom_job_config create_data_labeling_job_config = parent_rpcs.create_data_labeling_job if parent_rpcs.respond_to? :create_data_labeling_job @create_data_labeling_job = ::Gapic::Config::Method.new create_data_labeling_job_config get_data_labeling_job_config = parent_rpcs.get_data_labeling_job if parent_rpcs.respond_to? :get_data_labeling_job @get_data_labeling_job = ::Gapic::Config::Method.new get_data_labeling_job_config list_data_labeling_jobs_config = parent_rpcs.list_data_labeling_jobs if parent_rpcs.respond_to? :list_data_labeling_jobs @list_data_labeling_jobs = ::Gapic::Config::Method.new list_data_labeling_jobs_config delete_data_labeling_job_config = parent_rpcs.delete_data_labeling_job if parent_rpcs.respond_to? :delete_data_labeling_job @delete_data_labeling_job = ::Gapic::Config::Method.new delete_data_labeling_job_config cancel_data_labeling_job_config = parent_rpcs.cancel_data_labeling_job if parent_rpcs.respond_to? :cancel_data_labeling_job @cancel_data_labeling_job = ::Gapic::Config::Method.new cancel_data_labeling_job_config create_hyperparameter_tuning_job_config = parent_rpcs.create_hyperparameter_tuning_job if parent_rpcs.respond_to? :create_hyperparameter_tuning_job @create_hyperparameter_tuning_job = ::Gapic::Config::Method.new create_hyperparameter_tuning_job_config get_hyperparameter_tuning_job_config = parent_rpcs.get_hyperparameter_tuning_job if parent_rpcs.respond_to? :get_hyperparameter_tuning_job @get_hyperparameter_tuning_job = ::Gapic::Config::Method.new get_hyperparameter_tuning_job_config list_hyperparameter_tuning_jobs_config = parent_rpcs.list_hyperparameter_tuning_jobs if parent_rpcs.respond_to? :list_hyperparameter_tuning_jobs @list_hyperparameter_tuning_jobs = ::Gapic::Config::Method.new list_hyperparameter_tuning_jobs_config delete_hyperparameter_tuning_job_config = parent_rpcs.delete_hyperparameter_tuning_job if parent_rpcs.respond_to? :delete_hyperparameter_tuning_job @delete_hyperparameter_tuning_job = ::Gapic::Config::Method.new delete_hyperparameter_tuning_job_config cancel_hyperparameter_tuning_job_config = parent_rpcs.cancel_hyperparameter_tuning_job if parent_rpcs.respond_to? :cancel_hyperparameter_tuning_job @cancel_hyperparameter_tuning_job = ::Gapic::Config::Method.new cancel_hyperparameter_tuning_job_config create_nas_job_config = parent_rpcs.create_nas_job if parent_rpcs.respond_to? :create_nas_job @create_nas_job = ::Gapic::Config::Method.new create_nas_job_config get_nas_job_config = parent_rpcs.get_nas_job if parent_rpcs.respond_to? :get_nas_job @get_nas_job = ::Gapic::Config::Method.new get_nas_job_config list_nas_jobs_config = parent_rpcs.list_nas_jobs if parent_rpcs.respond_to? :list_nas_jobs @list_nas_jobs = ::Gapic::Config::Method.new list_nas_jobs_config delete_nas_job_config = parent_rpcs.delete_nas_job if parent_rpcs.respond_to? :delete_nas_job @delete_nas_job = ::Gapic::Config::Method.new delete_nas_job_config cancel_nas_job_config = parent_rpcs.cancel_nas_job if parent_rpcs.respond_to? :cancel_nas_job @cancel_nas_job = ::Gapic::Config::Method.new cancel_nas_job_config get_nas_trial_detail_config = parent_rpcs.get_nas_trial_detail if parent_rpcs.respond_to? :get_nas_trial_detail @get_nas_trial_detail = ::Gapic::Config::Method.new get_nas_trial_detail_config list_nas_trial_details_config = parent_rpcs.list_nas_trial_details if parent_rpcs.respond_to? :list_nas_trial_details @list_nas_trial_details = ::Gapic::Config::Method.new list_nas_trial_details_config create_batch_prediction_job_config = parent_rpcs.create_batch_prediction_job if parent_rpcs.respond_to? :create_batch_prediction_job @create_batch_prediction_job = ::Gapic::Config::Method.new create_batch_prediction_job_config get_batch_prediction_job_config = parent_rpcs.get_batch_prediction_job if parent_rpcs.respond_to? :get_batch_prediction_job @get_batch_prediction_job = ::Gapic::Config::Method.new get_batch_prediction_job_config list_batch_prediction_jobs_config = parent_rpcs.list_batch_prediction_jobs if parent_rpcs.respond_to? :list_batch_prediction_jobs @list_batch_prediction_jobs = ::Gapic::Config::Method.new list_batch_prediction_jobs_config delete_batch_prediction_job_config = parent_rpcs.delete_batch_prediction_job if parent_rpcs.respond_to? :delete_batch_prediction_job @delete_batch_prediction_job = ::Gapic::Config::Method.new delete_batch_prediction_job_config cancel_batch_prediction_job_config = parent_rpcs.cancel_batch_prediction_job if parent_rpcs.respond_to? :cancel_batch_prediction_job @cancel_batch_prediction_job = ::Gapic::Config::Method.new cancel_batch_prediction_job_config create_model_deployment_monitoring_job_config = parent_rpcs.create_model_deployment_monitoring_job if parent_rpcs.respond_to? :create_model_deployment_monitoring_job @create_model_deployment_monitoring_job = ::Gapic::Config::Method.new create_model_deployment_monitoring_job_config search_model_deployment_monitoring_stats_anomalies_config = parent_rpcs.search_model_deployment_monitoring_stats_anomalies if parent_rpcs.respond_to? :search_model_deployment_monitoring_stats_anomalies @search_model_deployment_monitoring_stats_anomalies = ::Gapic::Config::Method.new search_model_deployment_monitoring_stats_anomalies_config get_model_deployment_monitoring_job_config = parent_rpcs.get_model_deployment_monitoring_job if parent_rpcs.respond_to? :get_model_deployment_monitoring_job @get_model_deployment_monitoring_job = ::Gapic::Config::Method.new get_model_deployment_monitoring_job_config list_model_deployment_monitoring_jobs_config = parent_rpcs.list_model_deployment_monitoring_jobs if parent_rpcs.respond_to? :list_model_deployment_monitoring_jobs @list_model_deployment_monitoring_jobs = ::Gapic::Config::Method.new list_model_deployment_monitoring_jobs_config update_model_deployment_monitoring_job_config = parent_rpcs.update_model_deployment_monitoring_job if parent_rpcs.respond_to? :update_model_deployment_monitoring_job @update_model_deployment_monitoring_job = ::Gapic::Config::Method.new update_model_deployment_monitoring_job_config delete_model_deployment_monitoring_job_config = parent_rpcs.delete_model_deployment_monitoring_job if parent_rpcs.respond_to? :delete_model_deployment_monitoring_job @delete_model_deployment_monitoring_job = ::Gapic::Config::Method.new delete_model_deployment_monitoring_job_config pause_model_deployment_monitoring_job_config = parent_rpcs.pause_model_deployment_monitoring_job if parent_rpcs.respond_to? :pause_model_deployment_monitoring_job @pause_model_deployment_monitoring_job = ::Gapic::Config::Method.new pause_model_deployment_monitoring_job_config resume_model_deployment_monitoring_job_config = parent_rpcs.resume_model_deployment_monitoring_job if parent_rpcs.respond_to? :resume_model_deployment_monitoring_job @resume_model_deployment_monitoring_job = ::Gapic::Config::Method.new resume_model_deployment_monitoring_job_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.
3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 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 |
# File 'lib/google/cloud/ai_platform/v1/job_service/client.rb', line 3776 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "aiplatform.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC 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 # @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 JobService 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_custom_job` # @return [::Gapic::Config::Method] # attr_reader :create_custom_job ## # RPC-specific configuration for `get_custom_job` # @return [::Gapic::Config::Method] # attr_reader :get_custom_job ## # RPC-specific configuration for `list_custom_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_custom_jobs ## # RPC-specific configuration for `delete_custom_job` # @return [::Gapic::Config::Method] # attr_reader :delete_custom_job ## # RPC-specific configuration for `cancel_custom_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_custom_job ## # RPC-specific configuration for `create_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :create_data_labeling_job ## # RPC-specific configuration for `get_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :get_data_labeling_job ## # RPC-specific configuration for `list_data_labeling_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_data_labeling_jobs ## # RPC-specific configuration for `delete_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :delete_data_labeling_job ## # RPC-specific configuration for `cancel_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_data_labeling_job ## # RPC-specific configuration for `create_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :create_hyperparameter_tuning_job ## # RPC-specific configuration for `get_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :get_hyperparameter_tuning_job ## # RPC-specific configuration for `list_hyperparameter_tuning_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_hyperparameter_tuning_jobs ## # RPC-specific configuration for `delete_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :delete_hyperparameter_tuning_job ## # RPC-specific configuration for `cancel_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_hyperparameter_tuning_job ## # RPC-specific configuration for `create_nas_job` # @return [::Gapic::Config::Method] # attr_reader :create_nas_job ## # RPC-specific configuration for `get_nas_job` # @return [::Gapic::Config::Method] # attr_reader :get_nas_job ## # RPC-specific configuration for `list_nas_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_nas_jobs ## # RPC-specific configuration for `delete_nas_job` # @return [::Gapic::Config::Method] # attr_reader :delete_nas_job ## # RPC-specific configuration for `cancel_nas_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_nas_job ## # RPC-specific configuration for `get_nas_trial_detail` # @return [::Gapic::Config::Method] # attr_reader :get_nas_trial_detail ## # RPC-specific configuration for `list_nas_trial_details` # @return [::Gapic::Config::Method] # attr_reader :list_nas_trial_details ## # RPC-specific configuration for `create_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :create_batch_prediction_job ## # RPC-specific configuration for `get_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :get_batch_prediction_job ## # RPC-specific configuration for `list_batch_prediction_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_batch_prediction_jobs ## # RPC-specific configuration for `delete_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :delete_batch_prediction_job ## # RPC-specific configuration for `cancel_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_batch_prediction_job ## # RPC-specific configuration for `create_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :create_model_deployment_monitoring_job ## # RPC-specific configuration for `search_model_deployment_monitoring_stats_anomalies` # @return [::Gapic::Config::Method] # attr_reader :search_model_deployment_monitoring_stats_anomalies ## # RPC-specific configuration for `get_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :get_model_deployment_monitoring_job ## # RPC-specific configuration for `list_model_deployment_monitoring_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_model_deployment_monitoring_jobs ## # RPC-specific configuration for `update_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :update_model_deployment_monitoring_job ## # RPC-specific configuration for `delete_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :delete_model_deployment_monitoring_job ## # RPC-specific configuration for `pause_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :pause_model_deployment_monitoring_job ## # RPC-specific configuration for `resume_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :resume_model_deployment_monitoring_job # @private def initialize parent_rpcs = nil create_custom_job_config = parent_rpcs.create_custom_job if parent_rpcs.respond_to? :create_custom_job @create_custom_job = ::Gapic::Config::Method.new create_custom_job_config get_custom_job_config = parent_rpcs.get_custom_job if parent_rpcs.respond_to? :get_custom_job @get_custom_job = ::Gapic::Config::Method.new get_custom_job_config list_custom_jobs_config = parent_rpcs.list_custom_jobs if parent_rpcs.respond_to? :list_custom_jobs @list_custom_jobs = ::Gapic::Config::Method.new list_custom_jobs_config delete_custom_job_config = parent_rpcs.delete_custom_job if parent_rpcs.respond_to? :delete_custom_job @delete_custom_job = ::Gapic::Config::Method.new delete_custom_job_config cancel_custom_job_config = parent_rpcs.cancel_custom_job if parent_rpcs.respond_to? :cancel_custom_job @cancel_custom_job = ::Gapic::Config::Method.new cancel_custom_job_config create_data_labeling_job_config = parent_rpcs.create_data_labeling_job if parent_rpcs.respond_to? :create_data_labeling_job @create_data_labeling_job = ::Gapic::Config::Method.new create_data_labeling_job_config get_data_labeling_job_config = parent_rpcs.get_data_labeling_job if parent_rpcs.respond_to? :get_data_labeling_job @get_data_labeling_job = ::Gapic::Config::Method.new get_data_labeling_job_config list_data_labeling_jobs_config = parent_rpcs.list_data_labeling_jobs if parent_rpcs.respond_to? :list_data_labeling_jobs @list_data_labeling_jobs = ::Gapic::Config::Method.new list_data_labeling_jobs_config delete_data_labeling_job_config = parent_rpcs.delete_data_labeling_job if parent_rpcs.respond_to? :delete_data_labeling_job @delete_data_labeling_job = ::Gapic::Config::Method.new delete_data_labeling_job_config cancel_data_labeling_job_config = parent_rpcs.cancel_data_labeling_job if parent_rpcs.respond_to? :cancel_data_labeling_job @cancel_data_labeling_job = ::Gapic::Config::Method.new cancel_data_labeling_job_config create_hyperparameter_tuning_job_config = parent_rpcs.create_hyperparameter_tuning_job if parent_rpcs.respond_to? :create_hyperparameter_tuning_job @create_hyperparameter_tuning_job = ::Gapic::Config::Method.new create_hyperparameter_tuning_job_config get_hyperparameter_tuning_job_config = parent_rpcs.get_hyperparameter_tuning_job if parent_rpcs.respond_to? :get_hyperparameter_tuning_job @get_hyperparameter_tuning_job = ::Gapic::Config::Method.new get_hyperparameter_tuning_job_config list_hyperparameter_tuning_jobs_config = parent_rpcs.list_hyperparameter_tuning_jobs if parent_rpcs.respond_to? :list_hyperparameter_tuning_jobs @list_hyperparameter_tuning_jobs = ::Gapic::Config::Method.new list_hyperparameter_tuning_jobs_config delete_hyperparameter_tuning_job_config = parent_rpcs.delete_hyperparameter_tuning_job if parent_rpcs.respond_to? :delete_hyperparameter_tuning_job @delete_hyperparameter_tuning_job = ::Gapic::Config::Method.new delete_hyperparameter_tuning_job_config cancel_hyperparameter_tuning_job_config = parent_rpcs.cancel_hyperparameter_tuning_job if parent_rpcs.respond_to? :cancel_hyperparameter_tuning_job @cancel_hyperparameter_tuning_job = ::Gapic::Config::Method.new cancel_hyperparameter_tuning_job_config create_nas_job_config = parent_rpcs.create_nas_job if parent_rpcs.respond_to? :create_nas_job @create_nas_job = ::Gapic::Config::Method.new create_nas_job_config get_nas_job_config = parent_rpcs.get_nas_job if parent_rpcs.respond_to? :get_nas_job @get_nas_job = ::Gapic::Config::Method.new get_nas_job_config list_nas_jobs_config = parent_rpcs.list_nas_jobs if parent_rpcs.respond_to? :list_nas_jobs @list_nas_jobs = ::Gapic::Config::Method.new list_nas_jobs_config delete_nas_job_config = parent_rpcs.delete_nas_job if parent_rpcs.respond_to? :delete_nas_job @delete_nas_job = ::Gapic::Config::Method.new delete_nas_job_config cancel_nas_job_config = parent_rpcs.cancel_nas_job if parent_rpcs.respond_to? :cancel_nas_job @cancel_nas_job = ::Gapic::Config::Method.new cancel_nas_job_config get_nas_trial_detail_config = parent_rpcs.get_nas_trial_detail if parent_rpcs.respond_to? :get_nas_trial_detail @get_nas_trial_detail = ::Gapic::Config::Method.new get_nas_trial_detail_config list_nas_trial_details_config = parent_rpcs.list_nas_trial_details if parent_rpcs.respond_to? :list_nas_trial_details @list_nas_trial_details = ::Gapic::Config::Method.new list_nas_trial_details_config create_batch_prediction_job_config = parent_rpcs.create_batch_prediction_job if parent_rpcs.respond_to? :create_batch_prediction_job @create_batch_prediction_job = ::Gapic::Config::Method.new create_batch_prediction_job_config get_batch_prediction_job_config = parent_rpcs.get_batch_prediction_job if parent_rpcs.respond_to? :get_batch_prediction_job @get_batch_prediction_job = ::Gapic::Config::Method.new get_batch_prediction_job_config list_batch_prediction_jobs_config = parent_rpcs.list_batch_prediction_jobs if parent_rpcs.respond_to? :list_batch_prediction_jobs @list_batch_prediction_jobs = ::Gapic::Config::Method.new list_batch_prediction_jobs_config delete_batch_prediction_job_config = parent_rpcs.delete_batch_prediction_job if parent_rpcs.respond_to? :delete_batch_prediction_job @delete_batch_prediction_job = ::Gapic::Config::Method.new delete_batch_prediction_job_config cancel_batch_prediction_job_config = parent_rpcs.cancel_batch_prediction_job if parent_rpcs.respond_to? :cancel_batch_prediction_job @cancel_batch_prediction_job = ::Gapic::Config::Method.new cancel_batch_prediction_job_config create_model_deployment_monitoring_job_config = parent_rpcs.create_model_deployment_monitoring_job if parent_rpcs.respond_to? :create_model_deployment_monitoring_job @create_model_deployment_monitoring_job = ::Gapic::Config::Method.new create_model_deployment_monitoring_job_config search_model_deployment_monitoring_stats_anomalies_config = parent_rpcs.search_model_deployment_monitoring_stats_anomalies if parent_rpcs.respond_to? :search_model_deployment_monitoring_stats_anomalies @search_model_deployment_monitoring_stats_anomalies = ::Gapic::Config::Method.new search_model_deployment_monitoring_stats_anomalies_config get_model_deployment_monitoring_job_config = parent_rpcs.get_model_deployment_monitoring_job if parent_rpcs.respond_to? :get_model_deployment_monitoring_job @get_model_deployment_monitoring_job = ::Gapic::Config::Method.new get_model_deployment_monitoring_job_config list_model_deployment_monitoring_jobs_config = parent_rpcs.list_model_deployment_monitoring_jobs if parent_rpcs.respond_to? :list_model_deployment_monitoring_jobs @list_model_deployment_monitoring_jobs = ::Gapic::Config::Method.new list_model_deployment_monitoring_jobs_config update_model_deployment_monitoring_job_config = parent_rpcs.update_model_deployment_monitoring_job if parent_rpcs.respond_to? :update_model_deployment_monitoring_job @update_model_deployment_monitoring_job = ::Gapic::Config::Method.new update_model_deployment_monitoring_job_config delete_model_deployment_monitoring_job_config = parent_rpcs.delete_model_deployment_monitoring_job if parent_rpcs.respond_to? :delete_model_deployment_monitoring_job @delete_model_deployment_monitoring_job = ::Gapic::Config::Method.new delete_model_deployment_monitoring_job_config pause_model_deployment_monitoring_job_config = parent_rpcs.pause_model_deployment_monitoring_job if parent_rpcs.respond_to? :pause_model_deployment_monitoring_job @pause_model_deployment_monitoring_job = ::Gapic::Config::Method.new pause_model_deployment_monitoring_job_config resume_model_deployment_monitoring_job_config = parent_rpcs.resume_model_deployment_monitoring_job if parent_rpcs.respond_to? :resume_model_deployment_monitoring_job @resume_model_deployment_monitoring_job = ::Gapic::Config::Method.new resume_model_deployment_monitoring_job_config yield self if block_given? end end end |
#interceptors ⇒ ::Array<::GRPC::ClientInterceptor>
An array of interceptors that are run before calls are executed.
3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 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 |
# File 'lib/google/cloud/ai_platform/v1/job_service/client.rb', line 3776 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "aiplatform.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC 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 # @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 JobService 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_custom_job` # @return [::Gapic::Config::Method] # attr_reader :create_custom_job ## # RPC-specific configuration for `get_custom_job` # @return [::Gapic::Config::Method] # attr_reader :get_custom_job ## # RPC-specific configuration for `list_custom_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_custom_jobs ## # RPC-specific configuration for `delete_custom_job` # @return [::Gapic::Config::Method] # attr_reader :delete_custom_job ## # RPC-specific configuration for `cancel_custom_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_custom_job ## # RPC-specific configuration for `create_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :create_data_labeling_job ## # RPC-specific configuration for `get_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :get_data_labeling_job ## # RPC-specific configuration for `list_data_labeling_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_data_labeling_jobs ## # RPC-specific configuration for `delete_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :delete_data_labeling_job ## # RPC-specific configuration for `cancel_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_data_labeling_job ## # RPC-specific configuration for `create_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :create_hyperparameter_tuning_job ## # RPC-specific configuration for `get_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :get_hyperparameter_tuning_job ## # RPC-specific configuration for `list_hyperparameter_tuning_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_hyperparameter_tuning_jobs ## # RPC-specific configuration for `delete_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :delete_hyperparameter_tuning_job ## # RPC-specific configuration for `cancel_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_hyperparameter_tuning_job ## # RPC-specific configuration for `create_nas_job` # @return [::Gapic::Config::Method] # attr_reader :create_nas_job ## # RPC-specific configuration for `get_nas_job` # @return [::Gapic::Config::Method] # attr_reader :get_nas_job ## # RPC-specific configuration for `list_nas_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_nas_jobs ## # RPC-specific configuration for `delete_nas_job` # @return [::Gapic::Config::Method] # attr_reader :delete_nas_job ## # RPC-specific configuration for `cancel_nas_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_nas_job ## # RPC-specific configuration for `get_nas_trial_detail` # @return [::Gapic::Config::Method] # attr_reader :get_nas_trial_detail ## # RPC-specific configuration for `list_nas_trial_details` # @return [::Gapic::Config::Method] # attr_reader :list_nas_trial_details ## # RPC-specific configuration for `create_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :create_batch_prediction_job ## # RPC-specific configuration for `get_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :get_batch_prediction_job ## # RPC-specific configuration for `list_batch_prediction_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_batch_prediction_jobs ## # RPC-specific configuration for `delete_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :delete_batch_prediction_job ## # RPC-specific configuration for `cancel_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_batch_prediction_job ## # RPC-specific configuration for `create_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :create_model_deployment_monitoring_job ## # RPC-specific configuration for `search_model_deployment_monitoring_stats_anomalies` # @return [::Gapic::Config::Method] # attr_reader :search_model_deployment_monitoring_stats_anomalies ## # RPC-specific configuration for `get_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :get_model_deployment_monitoring_job ## # RPC-specific configuration for `list_model_deployment_monitoring_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_model_deployment_monitoring_jobs ## # RPC-specific configuration for `update_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :update_model_deployment_monitoring_job ## # RPC-specific configuration for `delete_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :delete_model_deployment_monitoring_job ## # RPC-specific configuration for `pause_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :pause_model_deployment_monitoring_job ## # RPC-specific configuration for `resume_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :resume_model_deployment_monitoring_job # @private def initialize parent_rpcs = nil create_custom_job_config = parent_rpcs.create_custom_job if parent_rpcs.respond_to? :create_custom_job @create_custom_job = ::Gapic::Config::Method.new create_custom_job_config get_custom_job_config = parent_rpcs.get_custom_job if parent_rpcs.respond_to? :get_custom_job @get_custom_job = ::Gapic::Config::Method.new get_custom_job_config list_custom_jobs_config = parent_rpcs.list_custom_jobs if parent_rpcs.respond_to? :list_custom_jobs @list_custom_jobs = ::Gapic::Config::Method.new list_custom_jobs_config delete_custom_job_config = parent_rpcs.delete_custom_job if parent_rpcs.respond_to? :delete_custom_job @delete_custom_job = ::Gapic::Config::Method.new delete_custom_job_config cancel_custom_job_config = parent_rpcs.cancel_custom_job if parent_rpcs.respond_to? :cancel_custom_job @cancel_custom_job = ::Gapic::Config::Method.new cancel_custom_job_config create_data_labeling_job_config = parent_rpcs.create_data_labeling_job if parent_rpcs.respond_to? :create_data_labeling_job @create_data_labeling_job = ::Gapic::Config::Method.new create_data_labeling_job_config get_data_labeling_job_config = parent_rpcs.get_data_labeling_job if parent_rpcs.respond_to? :get_data_labeling_job @get_data_labeling_job = ::Gapic::Config::Method.new get_data_labeling_job_config list_data_labeling_jobs_config = parent_rpcs.list_data_labeling_jobs if parent_rpcs.respond_to? :list_data_labeling_jobs @list_data_labeling_jobs = ::Gapic::Config::Method.new list_data_labeling_jobs_config delete_data_labeling_job_config = parent_rpcs.delete_data_labeling_job if parent_rpcs.respond_to? :delete_data_labeling_job @delete_data_labeling_job = ::Gapic::Config::Method.new delete_data_labeling_job_config cancel_data_labeling_job_config = parent_rpcs.cancel_data_labeling_job if parent_rpcs.respond_to? :cancel_data_labeling_job @cancel_data_labeling_job = ::Gapic::Config::Method.new cancel_data_labeling_job_config create_hyperparameter_tuning_job_config = parent_rpcs.create_hyperparameter_tuning_job if parent_rpcs.respond_to? :create_hyperparameter_tuning_job @create_hyperparameter_tuning_job = ::Gapic::Config::Method.new create_hyperparameter_tuning_job_config get_hyperparameter_tuning_job_config = parent_rpcs.get_hyperparameter_tuning_job if parent_rpcs.respond_to? :get_hyperparameter_tuning_job @get_hyperparameter_tuning_job = ::Gapic::Config::Method.new get_hyperparameter_tuning_job_config list_hyperparameter_tuning_jobs_config = parent_rpcs.list_hyperparameter_tuning_jobs if parent_rpcs.respond_to? :list_hyperparameter_tuning_jobs @list_hyperparameter_tuning_jobs = ::Gapic::Config::Method.new list_hyperparameter_tuning_jobs_config delete_hyperparameter_tuning_job_config = parent_rpcs.delete_hyperparameter_tuning_job if parent_rpcs.respond_to? :delete_hyperparameter_tuning_job @delete_hyperparameter_tuning_job = ::Gapic::Config::Method.new delete_hyperparameter_tuning_job_config cancel_hyperparameter_tuning_job_config = parent_rpcs.cancel_hyperparameter_tuning_job if parent_rpcs.respond_to? :cancel_hyperparameter_tuning_job @cancel_hyperparameter_tuning_job = ::Gapic::Config::Method.new cancel_hyperparameter_tuning_job_config create_nas_job_config = parent_rpcs.create_nas_job if parent_rpcs.respond_to? :create_nas_job @create_nas_job = ::Gapic::Config::Method.new create_nas_job_config get_nas_job_config = parent_rpcs.get_nas_job if parent_rpcs.respond_to? :get_nas_job @get_nas_job = ::Gapic::Config::Method.new get_nas_job_config list_nas_jobs_config = parent_rpcs.list_nas_jobs if parent_rpcs.respond_to? :list_nas_jobs @list_nas_jobs = ::Gapic::Config::Method.new list_nas_jobs_config delete_nas_job_config = parent_rpcs.delete_nas_job if parent_rpcs.respond_to? :delete_nas_job @delete_nas_job = ::Gapic::Config::Method.new delete_nas_job_config cancel_nas_job_config = parent_rpcs.cancel_nas_job if parent_rpcs.respond_to? :cancel_nas_job @cancel_nas_job = ::Gapic::Config::Method.new cancel_nas_job_config get_nas_trial_detail_config = parent_rpcs.get_nas_trial_detail if parent_rpcs.respond_to? :get_nas_trial_detail @get_nas_trial_detail = ::Gapic::Config::Method.new get_nas_trial_detail_config list_nas_trial_details_config = parent_rpcs.list_nas_trial_details if parent_rpcs.respond_to? :list_nas_trial_details @list_nas_trial_details = ::Gapic::Config::Method.new list_nas_trial_details_config create_batch_prediction_job_config = parent_rpcs.create_batch_prediction_job if parent_rpcs.respond_to? :create_batch_prediction_job @create_batch_prediction_job = ::Gapic::Config::Method.new create_batch_prediction_job_config get_batch_prediction_job_config = parent_rpcs.get_batch_prediction_job if parent_rpcs.respond_to? :get_batch_prediction_job @get_batch_prediction_job = ::Gapic::Config::Method.new get_batch_prediction_job_config list_batch_prediction_jobs_config = parent_rpcs.list_batch_prediction_jobs if parent_rpcs.respond_to? :list_batch_prediction_jobs @list_batch_prediction_jobs = ::Gapic::Config::Method.new list_batch_prediction_jobs_config delete_batch_prediction_job_config = parent_rpcs.delete_batch_prediction_job if parent_rpcs.respond_to? :delete_batch_prediction_job @delete_batch_prediction_job = ::Gapic::Config::Method.new delete_batch_prediction_job_config cancel_batch_prediction_job_config = parent_rpcs.cancel_batch_prediction_job if parent_rpcs.respond_to? :cancel_batch_prediction_job @cancel_batch_prediction_job = ::Gapic::Config::Method.new cancel_batch_prediction_job_config create_model_deployment_monitoring_job_config = parent_rpcs.create_model_deployment_monitoring_job if parent_rpcs.respond_to? :create_model_deployment_monitoring_job @create_model_deployment_monitoring_job = ::Gapic::Config::Method.new create_model_deployment_monitoring_job_config search_model_deployment_monitoring_stats_anomalies_config = parent_rpcs.search_model_deployment_monitoring_stats_anomalies if parent_rpcs.respond_to? :search_model_deployment_monitoring_stats_anomalies @search_model_deployment_monitoring_stats_anomalies = ::Gapic::Config::Method.new search_model_deployment_monitoring_stats_anomalies_config get_model_deployment_monitoring_job_config = parent_rpcs.get_model_deployment_monitoring_job if parent_rpcs.respond_to? :get_model_deployment_monitoring_job @get_model_deployment_monitoring_job = ::Gapic::Config::Method.new get_model_deployment_monitoring_job_config list_model_deployment_monitoring_jobs_config = parent_rpcs.list_model_deployment_monitoring_jobs if parent_rpcs.respond_to? :list_model_deployment_monitoring_jobs @list_model_deployment_monitoring_jobs = ::Gapic::Config::Method.new list_model_deployment_monitoring_jobs_config update_model_deployment_monitoring_job_config = parent_rpcs.update_model_deployment_monitoring_job if parent_rpcs.respond_to? :update_model_deployment_monitoring_job @update_model_deployment_monitoring_job = ::Gapic::Config::Method.new update_model_deployment_monitoring_job_config delete_model_deployment_monitoring_job_config = parent_rpcs.delete_model_deployment_monitoring_job if parent_rpcs.respond_to? :delete_model_deployment_monitoring_job @delete_model_deployment_monitoring_job = ::Gapic::Config::Method.new delete_model_deployment_monitoring_job_config pause_model_deployment_monitoring_job_config = parent_rpcs.pause_model_deployment_monitoring_job if parent_rpcs.respond_to? :pause_model_deployment_monitoring_job @pause_model_deployment_monitoring_job = ::Gapic::Config::Method.new pause_model_deployment_monitoring_job_config resume_model_deployment_monitoring_job_config = parent_rpcs.resume_model_deployment_monitoring_job if parent_rpcs.respond_to? :resume_model_deployment_monitoring_job @resume_model_deployment_monitoring_job = ::Gapic::Config::Method.new resume_model_deployment_monitoring_job_config yield self if block_given? end end end |
#lib_name ⇒ ::String
The library name as recorded in instrumentation and logging
3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 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 |
# File 'lib/google/cloud/ai_platform/v1/job_service/client.rb', line 3776 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "aiplatform.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC 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 # @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 JobService 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_custom_job` # @return [::Gapic::Config::Method] # attr_reader :create_custom_job ## # RPC-specific configuration for `get_custom_job` # @return [::Gapic::Config::Method] # attr_reader :get_custom_job ## # RPC-specific configuration for `list_custom_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_custom_jobs ## # RPC-specific configuration for `delete_custom_job` # @return [::Gapic::Config::Method] # attr_reader :delete_custom_job ## # RPC-specific configuration for `cancel_custom_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_custom_job ## # RPC-specific configuration for `create_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :create_data_labeling_job ## # RPC-specific configuration for `get_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :get_data_labeling_job ## # RPC-specific configuration for `list_data_labeling_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_data_labeling_jobs ## # RPC-specific configuration for `delete_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :delete_data_labeling_job ## # RPC-specific configuration for `cancel_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_data_labeling_job ## # RPC-specific configuration for `create_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :create_hyperparameter_tuning_job ## # RPC-specific configuration for `get_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :get_hyperparameter_tuning_job ## # RPC-specific configuration for `list_hyperparameter_tuning_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_hyperparameter_tuning_jobs ## # RPC-specific configuration for `delete_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :delete_hyperparameter_tuning_job ## # RPC-specific configuration for `cancel_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_hyperparameter_tuning_job ## # RPC-specific configuration for `create_nas_job` # @return [::Gapic::Config::Method] # attr_reader :create_nas_job ## # RPC-specific configuration for `get_nas_job` # @return [::Gapic::Config::Method] # attr_reader :get_nas_job ## # RPC-specific configuration for `list_nas_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_nas_jobs ## # RPC-specific configuration for `delete_nas_job` # @return [::Gapic::Config::Method] # attr_reader :delete_nas_job ## # RPC-specific configuration for `cancel_nas_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_nas_job ## # RPC-specific configuration for `get_nas_trial_detail` # @return [::Gapic::Config::Method] # attr_reader :get_nas_trial_detail ## # RPC-specific configuration for `list_nas_trial_details` # @return [::Gapic::Config::Method] # attr_reader :list_nas_trial_details ## # RPC-specific configuration for `create_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :create_batch_prediction_job ## # RPC-specific configuration for `get_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :get_batch_prediction_job ## # RPC-specific configuration for `list_batch_prediction_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_batch_prediction_jobs ## # RPC-specific configuration for `delete_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :delete_batch_prediction_job ## # RPC-specific configuration for `cancel_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_batch_prediction_job ## # RPC-specific configuration for `create_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :create_model_deployment_monitoring_job ## # RPC-specific configuration for `search_model_deployment_monitoring_stats_anomalies` # @return [::Gapic::Config::Method] # attr_reader :search_model_deployment_monitoring_stats_anomalies ## # RPC-specific configuration for `get_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :get_model_deployment_monitoring_job ## # RPC-specific configuration for `list_model_deployment_monitoring_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_model_deployment_monitoring_jobs ## # RPC-specific configuration for `update_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :update_model_deployment_monitoring_job ## # RPC-specific configuration for `delete_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :delete_model_deployment_monitoring_job ## # RPC-specific configuration for `pause_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :pause_model_deployment_monitoring_job ## # RPC-specific configuration for `resume_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :resume_model_deployment_monitoring_job # @private def initialize parent_rpcs = nil create_custom_job_config = parent_rpcs.create_custom_job if parent_rpcs.respond_to? :create_custom_job @create_custom_job = ::Gapic::Config::Method.new create_custom_job_config get_custom_job_config = parent_rpcs.get_custom_job if parent_rpcs.respond_to? :get_custom_job @get_custom_job = ::Gapic::Config::Method.new get_custom_job_config list_custom_jobs_config = parent_rpcs.list_custom_jobs if parent_rpcs.respond_to? :list_custom_jobs @list_custom_jobs = ::Gapic::Config::Method.new list_custom_jobs_config delete_custom_job_config = parent_rpcs.delete_custom_job if parent_rpcs.respond_to? :delete_custom_job @delete_custom_job = ::Gapic::Config::Method.new delete_custom_job_config cancel_custom_job_config = parent_rpcs.cancel_custom_job if parent_rpcs.respond_to? :cancel_custom_job @cancel_custom_job = ::Gapic::Config::Method.new cancel_custom_job_config create_data_labeling_job_config = parent_rpcs.create_data_labeling_job if parent_rpcs.respond_to? :create_data_labeling_job @create_data_labeling_job = ::Gapic::Config::Method.new create_data_labeling_job_config get_data_labeling_job_config = parent_rpcs.get_data_labeling_job if parent_rpcs.respond_to? :get_data_labeling_job @get_data_labeling_job = ::Gapic::Config::Method.new get_data_labeling_job_config list_data_labeling_jobs_config = parent_rpcs.list_data_labeling_jobs if parent_rpcs.respond_to? :list_data_labeling_jobs @list_data_labeling_jobs = ::Gapic::Config::Method.new list_data_labeling_jobs_config delete_data_labeling_job_config = parent_rpcs.delete_data_labeling_job if parent_rpcs.respond_to? :delete_data_labeling_job @delete_data_labeling_job = ::Gapic::Config::Method.new delete_data_labeling_job_config cancel_data_labeling_job_config = parent_rpcs.cancel_data_labeling_job if parent_rpcs.respond_to? :cancel_data_labeling_job @cancel_data_labeling_job = ::Gapic::Config::Method.new cancel_data_labeling_job_config create_hyperparameter_tuning_job_config = parent_rpcs.create_hyperparameter_tuning_job if parent_rpcs.respond_to? :create_hyperparameter_tuning_job @create_hyperparameter_tuning_job = ::Gapic::Config::Method.new create_hyperparameter_tuning_job_config get_hyperparameter_tuning_job_config = parent_rpcs.get_hyperparameter_tuning_job if parent_rpcs.respond_to? :get_hyperparameter_tuning_job @get_hyperparameter_tuning_job = ::Gapic::Config::Method.new get_hyperparameter_tuning_job_config list_hyperparameter_tuning_jobs_config = parent_rpcs.list_hyperparameter_tuning_jobs if parent_rpcs.respond_to? :list_hyperparameter_tuning_jobs @list_hyperparameter_tuning_jobs = ::Gapic::Config::Method.new list_hyperparameter_tuning_jobs_config delete_hyperparameter_tuning_job_config = parent_rpcs.delete_hyperparameter_tuning_job if parent_rpcs.respond_to? :delete_hyperparameter_tuning_job @delete_hyperparameter_tuning_job = ::Gapic::Config::Method.new delete_hyperparameter_tuning_job_config cancel_hyperparameter_tuning_job_config = parent_rpcs.cancel_hyperparameter_tuning_job if parent_rpcs.respond_to? :cancel_hyperparameter_tuning_job @cancel_hyperparameter_tuning_job = ::Gapic::Config::Method.new cancel_hyperparameter_tuning_job_config create_nas_job_config = parent_rpcs.create_nas_job if parent_rpcs.respond_to? :create_nas_job @create_nas_job = ::Gapic::Config::Method.new create_nas_job_config get_nas_job_config = parent_rpcs.get_nas_job if parent_rpcs.respond_to? :get_nas_job @get_nas_job = ::Gapic::Config::Method.new get_nas_job_config list_nas_jobs_config = parent_rpcs.list_nas_jobs if parent_rpcs.respond_to? :list_nas_jobs @list_nas_jobs = ::Gapic::Config::Method.new list_nas_jobs_config delete_nas_job_config = parent_rpcs.delete_nas_job if parent_rpcs.respond_to? :delete_nas_job @delete_nas_job = ::Gapic::Config::Method.new delete_nas_job_config cancel_nas_job_config = parent_rpcs.cancel_nas_job if parent_rpcs.respond_to? :cancel_nas_job @cancel_nas_job = ::Gapic::Config::Method.new cancel_nas_job_config get_nas_trial_detail_config = parent_rpcs.get_nas_trial_detail if parent_rpcs.respond_to? :get_nas_trial_detail @get_nas_trial_detail = ::Gapic::Config::Method.new get_nas_trial_detail_config list_nas_trial_details_config = parent_rpcs.list_nas_trial_details if parent_rpcs.respond_to? :list_nas_trial_details @list_nas_trial_details = ::Gapic::Config::Method.new list_nas_trial_details_config create_batch_prediction_job_config = parent_rpcs.create_batch_prediction_job if parent_rpcs.respond_to? :create_batch_prediction_job @create_batch_prediction_job = ::Gapic::Config::Method.new create_batch_prediction_job_config get_batch_prediction_job_config = parent_rpcs.get_batch_prediction_job if parent_rpcs.respond_to? :get_batch_prediction_job @get_batch_prediction_job = ::Gapic::Config::Method.new get_batch_prediction_job_config list_batch_prediction_jobs_config = parent_rpcs.list_batch_prediction_jobs if parent_rpcs.respond_to? :list_batch_prediction_jobs @list_batch_prediction_jobs = ::Gapic::Config::Method.new list_batch_prediction_jobs_config delete_batch_prediction_job_config = parent_rpcs.delete_batch_prediction_job if parent_rpcs.respond_to? :delete_batch_prediction_job @delete_batch_prediction_job = ::Gapic::Config::Method.new delete_batch_prediction_job_config cancel_batch_prediction_job_config = parent_rpcs.cancel_batch_prediction_job if parent_rpcs.respond_to? :cancel_batch_prediction_job @cancel_batch_prediction_job = ::Gapic::Config::Method.new cancel_batch_prediction_job_config create_model_deployment_monitoring_job_config = parent_rpcs.create_model_deployment_monitoring_job if parent_rpcs.respond_to? :create_model_deployment_monitoring_job @create_model_deployment_monitoring_job = ::Gapic::Config::Method.new create_model_deployment_monitoring_job_config search_model_deployment_monitoring_stats_anomalies_config = parent_rpcs.search_model_deployment_monitoring_stats_anomalies if parent_rpcs.respond_to? :search_model_deployment_monitoring_stats_anomalies @search_model_deployment_monitoring_stats_anomalies = ::Gapic::Config::Method.new search_model_deployment_monitoring_stats_anomalies_config get_model_deployment_monitoring_job_config = parent_rpcs.get_model_deployment_monitoring_job if parent_rpcs.respond_to? :get_model_deployment_monitoring_job @get_model_deployment_monitoring_job = ::Gapic::Config::Method.new get_model_deployment_monitoring_job_config list_model_deployment_monitoring_jobs_config = parent_rpcs.list_model_deployment_monitoring_jobs if parent_rpcs.respond_to? :list_model_deployment_monitoring_jobs @list_model_deployment_monitoring_jobs = ::Gapic::Config::Method.new list_model_deployment_monitoring_jobs_config update_model_deployment_monitoring_job_config = parent_rpcs.update_model_deployment_monitoring_job if parent_rpcs.respond_to? :update_model_deployment_monitoring_job @update_model_deployment_monitoring_job = ::Gapic::Config::Method.new update_model_deployment_monitoring_job_config delete_model_deployment_monitoring_job_config = parent_rpcs.delete_model_deployment_monitoring_job if parent_rpcs.respond_to? :delete_model_deployment_monitoring_job @delete_model_deployment_monitoring_job = ::Gapic::Config::Method.new delete_model_deployment_monitoring_job_config pause_model_deployment_monitoring_job_config = parent_rpcs.pause_model_deployment_monitoring_job if parent_rpcs.respond_to? :pause_model_deployment_monitoring_job @pause_model_deployment_monitoring_job = ::Gapic::Config::Method.new pause_model_deployment_monitoring_job_config resume_model_deployment_monitoring_job_config = parent_rpcs.resume_model_deployment_monitoring_job if parent_rpcs.respond_to? :resume_model_deployment_monitoring_job @resume_model_deployment_monitoring_job = ::Gapic::Config::Method.new resume_model_deployment_monitoring_job_config yield self if block_given? end end end |
#lib_version ⇒ ::String
The library version as recorded in instrumentation and logging
3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 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 |
# File 'lib/google/cloud/ai_platform/v1/job_service/client.rb', line 3776 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "aiplatform.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC 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 # @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 JobService 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_custom_job` # @return [::Gapic::Config::Method] # attr_reader :create_custom_job ## # RPC-specific configuration for `get_custom_job` # @return [::Gapic::Config::Method] # attr_reader :get_custom_job ## # RPC-specific configuration for `list_custom_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_custom_jobs ## # RPC-specific configuration for `delete_custom_job` # @return [::Gapic::Config::Method] # attr_reader :delete_custom_job ## # RPC-specific configuration for `cancel_custom_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_custom_job ## # RPC-specific configuration for `create_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :create_data_labeling_job ## # RPC-specific configuration for `get_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :get_data_labeling_job ## # RPC-specific configuration for `list_data_labeling_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_data_labeling_jobs ## # RPC-specific configuration for `delete_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :delete_data_labeling_job ## # RPC-specific configuration for `cancel_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_data_labeling_job ## # RPC-specific configuration for `create_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :create_hyperparameter_tuning_job ## # RPC-specific configuration for `get_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :get_hyperparameter_tuning_job ## # RPC-specific configuration for `list_hyperparameter_tuning_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_hyperparameter_tuning_jobs ## # RPC-specific configuration for `delete_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :delete_hyperparameter_tuning_job ## # RPC-specific configuration for `cancel_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_hyperparameter_tuning_job ## # RPC-specific configuration for `create_nas_job` # @return [::Gapic::Config::Method] # attr_reader :create_nas_job ## # RPC-specific configuration for `get_nas_job` # @return [::Gapic::Config::Method] # attr_reader :get_nas_job ## # RPC-specific configuration for `list_nas_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_nas_jobs ## # RPC-specific configuration for `delete_nas_job` # @return [::Gapic::Config::Method] # attr_reader :delete_nas_job ## # RPC-specific configuration for `cancel_nas_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_nas_job ## # RPC-specific configuration for `get_nas_trial_detail` # @return [::Gapic::Config::Method] # attr_reader :get_nas_trial_detail ## # RPC-specific configuration for `list_nas_trial_details` # @return [::Gapic::Config::Method] # attr_reader :list_nas_trial_details ## # RPC-specific configuration for `create_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :create_batch_prediction_job ## # RPC-specific configuration for `get_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :get_batch_prediction_job ## # RPC-specific configuration for `list_batch_prediction_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_batch_prediction_jobs ## # RPC-specific configuration for `delete_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :delete_batch_prediction_job ## # RPC-specific configuration for `cancel_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_batch_prediction_job ## # RPC-specific configuration for `create_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :create_model_deployment_monitoring_job ## # RPC-specific configuration for `search_model_deployment_monitoring_stats_anomalies` # @return [::Gapic::Config::Method] # attr_reader :search_model_deployment_monitoring_stats_anomalies ## # RPC-specific configuration for `get_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :get_model_deployment_monitoring_job ## # RPC-specific configuration for `list_model_deployment_monitoring_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_model_deployment_monitoring_jobs ## # RPC-specific configuration for `update_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :update_model_deployment_monitoring_job ## # RPC-specific configuration for `delete_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :delete_model_deployment_monitoring_job ## # RPC-specific configuration for `pause_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :pause_model_deployment_monitoring_job ## # RPC-specific configuration for `resume_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :resume_model_deployment_monitoring_job # @private def initialize parent_rpcs = nil create_custom_job_config = parent_rpcs.create_custom_job if parent_rpcs.respond_to? :create_custom_job @create_custom_job = ::Gapic::Config::Method.new create_custom_job_config get_custom_job_config = parent_rpcs.get_custom_job if parent_rpcs.respond_to? :get_custom_job @get_custom_job = ::Gapic::Config::Method.new get_custom_job_config list_custom_jobs_config = parent_rpcs.list_custom_jobs if parent_rpcs.respond_to? :list_custom_jobs @list_custom_jobs = ::Gapic::Config::Method.new list_custom_jobs_config delete_custom_job_config = parent_rpcs.delete_custom_job if parent_rpcs.respond_to? :delete_custom_job @delete_custom_job = ::Gapic::Config::Method.new delete_custom_job_config cancel_custom_job_config = parent_rpcs.cancel_custom_job if parent_rpcs.respond_to? :cancel_custom_job @cancel_custom_job = ::Gapic::Config::Method.new cancel_custom_job_config create_data_labeling_job_config = parent_rpcs.create_data_labeling_job if parent_rpcs.respond_to? :create_data_labeling_job @create_data_labeling_job = ::Gapic::Config::Method.new create_data_labeling_job_config get_data_labeling_job_config = parent_rpcs.get_data_labeling_job if parent_rpcs.respond_to? :get_data_labeling_job @get_data_labeling_job = ::Gapic::Config::Method.new get_data_labeling_job_config list_data_labeling_jobs_config = parent_rpcs.list_data_labeling_jobs if parent_rpcs.respond_to? :list_data_labeling_jobs @list_data_labeling_jobs = ::Gapic::Config::Method.new list_data_labeling_jobs_config delete_data_labeling_job_config = parent_rpcs.delete_data_labeling_job if parent_rpcs.respond_to? :delete_data_labeling_job @delete_data_labeling_job = ::Gapic::Config::Method.new delete_data_labeling_job_config cancel_data_labeling_job_config = parent_rpcs.cancel_data_labeling_job if parent_rpcs.respond_to? :cancel_data_labeling_job @cancel_data_labeling_job = ::Gapic::Config::Method.new cancel_data_labeling_job_config create_hyperparameter_tuning_job_config = parent_rpcs.create_hyperparameter_tuning_job if parent_rpcs.respond_to? :create_hyperparameter_tuning_job @create_hyperparameter_tuning_job = ::Gapic::Config::Method.new create_hyperparameter_tuning_job_config get_hyperparameter_tuning_job_config = parent_rpcs.get_hyperparameter_tuning_job if parent_rpcs.respond_to? :get_hyperparameter_tuning_job @get_hyperparameter_tuning_job = ::Gapic::Config::Method.new get_hyperparameter_tuning_job_config list_hyperparameter_tuning_jobs_config = parent_rpcs.list_hyperparameter_tuning_jobs if parent_rpcs.respond_to? :list_hyperparameter_tuning_jobs @list_hyperparameter_tuning_jobs = ::Gapic::Config::Method.new list_hyperparameter_tuning_jobs_config delete_hyperparameter_tuning_job_config = parent_rpcs.delete_hyperparameter_tuning_job if parent_rpcs.respond_to? :delete_hyperparameter_tuning_job @delete_hyperparameter_tuning_job = ::Gapic::Config::Method.new delete_hyperparameter_tuning_job_config cancel_hyperparameter_tuning_job_config = parent_rpcs.cancel_hyperparameter_tuning_job if parent_rpcs.respond_to? :cancel_hyperparameter_tuning_job @cancel_hyperparameter_tuning_job = ::Gapic::Config::Method.new cancel_hyperparameter_tuning_job_config create_nas_job_config = parent_rpcs.create_nas_job if parent_rpcs.respond_to? :create_nas_job @create_nas_job = ::Gapic::Config::Method.new create_nas_job_config get_nas_job_config = parent_rpcs.get_nas_job if parent_rpcs.respond_to? :get_nas_job @get_nas_job = ::Gapic::Config::Method.new get_nas_job_config list_nas_jobs_config = parent_rpcs.list_nas_jobs if parent_rpcs.respond_to? :list_nas_jobs @list_nas_jobs = ::Gapic::Config::Method.new list_nas_jobs_config delete_nas_job_config = parent_rpcs.delete_nas_job if parent_rpcs.respond_to? :delete_nas_job @delete_nas_job = ::Gapic::Config::Method.new delete_nas_job_config cancel_nas_job_config = parent_rpcs.cancel_nas_job if parent_rpcs.respond_to? :cancel_nas_job @cancel_nas_job = ::Gapic::Config::Method.new cancel_nas_job_config get_nas_trial_detail_config = parent_rpcs.get_nas_trial_detail if parent_rpcs.respond_to? :get_nas_trial_detail @get_nas_trial_detail = ::Gapic::Config::Method.new get_nas_trial_detail_config list_nas_trial_details_config = parent_rpcs.list_nas_trial_details if parent_rpcs.respond_to? :list_nas_trial_details @list_nas_trial_details = ::Gapic::Config::Method.new list_nas_trial_details_config create_batch_prediction_job_config = parent_rpcs.create_batch_prediction_job if parent_rpcs.respond_to? :create_batch_prediction_job @create_batch_prediction_job = ::Gapic::Config::Method.new create_batch_prediction_job_config get_batch_prediction_job_config = parent_rpcs.get_batch_prediction_job if parent_rpcs.respond_to? :get_batch_prediction_job @get_batch_prediction_job = ::Gapic::Config::Method.new get_batch_prediction_job_config list_batch_prediction_jobs_config = parent_rpcs.list_batch_prediction_jobs if parent_rpcs.respond_to? :list_batch_prediction_jobs @list_batch_prediction_jobs = ::Gapic::Config::Method.new list_batch_prediction_jobs_config delete_batch_prediction_job_config = parent_rpcs.delete_batch_prediction_job if parent_rpcs.respond_to? :delete_batch_prediction_job @delete_batch_prediction_job = ::Gapic::Config::Method.new delete_batch_prediction_job_config cancel_batch_prediction_job_config = parent_rpcs.cancel_batch_prediction_job if parent_rpcs.respond_to? :cancel_batch_prediction_job @cancel_batch_prediction_job = ::Gapic::Config::Method.new cancel_batch_prediction_job_config create_model_deployment_monitoring_job_config = parent_rpcs.create_model_deployment_monitoring_job if parent_rpcs.respond_to? :create_model_deployment_monitoring_job @create_model_deployment_monitoring_job = ::Gapic::Config::Method.new create_model_deployment_monitoring_job_config search_model_deployment_monitoring_stats_anomalies_config = parent_rpcs.search_model_deployment_monitoring_stats_anomalies if parent_rpcs.respond_to? :search_model_deployment_monitoring_stats_anomalies @search_model_deployment_monitoring_stats_anomalies = ::Gapic::Config::Method.new search_model_deployment_monitoring_stats_anomalies_config get_model_deployment_monitoring_job_config = parent_rpcs.get_model_deployment_monitoring_job if parent_rpcs.respond_to? :get_model_deployment_monitoring_job @get_model_deployment_monitoring_job = ::Gapic::Config::Method.new get_model_deployment_monitoring_job_config list_model_deployment_monitoring_jobs_config = parent_rpcs.list_model_deployment_monitoring_jobs if parent_rpcs.respond_to? :list_model_deployment_monitoring_jobs @list_model_deployment_monitoring_jobs = ::Gapic::Config::Method.new list_model_deployment_monitoring_jobs_config update_model_deployment_monitoring_job_config = parent_rpcs.update_model_deployment_monitoring_job if parent_rpcs.respond_to? :update_model_deployment_monitoring_job @update_model_deployment_monitoring_job = ::Gapic::Config::Method.new update_model_deployment_monitoring_job_config delete_model_deployment_monitoring_job_config = parent_rpcs.delete_model_deployment_monitoring_job if parent_rpcs.respond_to? :delete_model_deployment_monitoring_job @delete_model_deployment_monitoring_job = ::Gapic::Config::Method.new delete_model_deployment_monitoring_job_config pause_model_deployment_monitoring_job_config = parent_rpcs.pause_model_deployment_monitoring_job if parent_rpcs.respond_to? :pause_model_deployment_monitoring_job @pause_model_deployment_monitoring_job = ::Gapic::Config::Method.new pause_model_deployment_monitoring_job_config resume_model_deployment_monitoring_job_config = parent_rpcs.resume_model_deployment_monitoring_job if parent_rpcs.respond_to? :resume_model_deployment_monitoring_job @resume_model_deployment_monitoring_job = ::Gapic::Config::Method.new resume_model_deployment_monitoring_job_config yield self if block_given? end end end |
#metadata ⇒ ::Hash{::Symbol=>::String}
Additional gRPC headers to be sent with the call.
3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 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 |
# File 'lib/google/cloud/ai_platform/v1/job_service/client.rb', line 3776 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "aiplatform.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC 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 # @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 JobService 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_custom_job` # @return [::Gapic::Config::Method] # attr_reader :create_custom_job ## # RPC-specific configuration for `get_custom_job` # @return [::Gapic::Config::Method] # attr_reader :get_custom_job ## # RPC-specific configuration for `list_custom_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_custom_jobs ## # RPC-specific configuration for `delete_custom_job` # @return [::Gapic::Config::Method] # attr_reader :delete_custom_job ## # RPC-specific configuration for `cancel_custom_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_custom_job ## # RPC-specific configuration for `create_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :create_data_labeling_job ## # RPC-specific configuration for `get_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :get_data_labeling_job ## # RPC-specific configuration for `list_data_labeling_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_data_labeling_jobs ## # RPC-specific configuration for `delete_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :delete_data_labeling_job ## # RPC-specific configuration for `cancel_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_data_labeling_job ## # RPC-specific configuration for `create_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :create_hyperparameter_tuning_job ## # RPC-specific configuration for `get_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :get_hyperparameter_tuning_job ## # RPC-specific configuration for `list_hyperparameter_tuning_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_hyperparameter_tuning_jobs ## # RPC-specific configuration for `delete_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :delete_hyperparameter_tuning_job ## # RPC-specific configuration for `cancel_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_hyperparameter_tuning_job ## # RPC-specific configuration for `create_nas_job` # @return [::Gapic::Config::Method] # attr_reader :create_nas_job ## # RPC-specific configuration for `get_nas_job` # @return [::Gapic::Config::Method] # attr_reader :get_nas_job ## # RPC-specific configuration for `list_nas_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_nas_jobs ## # RPC-specific configuration for `delete_nas_job` # @return [::Gapic::Config::Method] # attr_reader :delete_nas_job ## # RPC-specific configuration for `cancel_nas_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_nas_job ## # RPC-specific configuration for `get_nas_trial_detail` # @return [::Gapic::Config::Method] # attr_reader :get_nas_trial_detail ## # RPC-specific configuration for `list_nas_trial_details` # @return [::Gapic::Config::Method] # attr_reader :list_nas_trial_details ## # RPC-specific configuration for `create_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :create_batch_prediction_job ## # RPC-specific configuration for `get_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :get_batch_prediction_job ## # RPC-specific configuration for `list_batch_prediction_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_batch_prediction_jobs ## # RPC-specific configuration for `delete_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :delete_batch_prediction_job ## # RPC-specific configuration for `cancel_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_batch_prediction_job ## # RPC-specific configuration for `create_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :create_model_deployment_monitoring_job ## # RPC-specific configuration for `search_model_deployment_monitoring_stats_anomalies` # @return [::Gapic::Config::Method] # attr_reader :search_model_deployment_monitoring_stats_anomalies ## # RPC-specific configuration for `get_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :get_model_deployment_monitoring_job ## # RPC-specific configuration for `list_model_deployment_monitoring_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_model_deployment_monitoring_jobs ## # RPC-specific configuration for `update_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :update_model_deployment_monitoring_job ## # RPC-specific configuration for `delete_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :delete_model_deployment_monitoring_job ## # RPC-specific configuration for `pause_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :pause_model_deployment_monitoring_job ## # RPC-specific configuration for `resume_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :resume_model_deployment_monitoring_job # @private def initialize parent_rpcs = nil create_custom_job_config = parent_rpcs.create_custom_job if parent_rpcs.respond_to? :create_custom_job @create_custom_job = ::Gapic::Config::Method.new create_custom_job_config get_custom_job_config = parent_rpcs.get_custom_job if parent_rpcs.respond_to? :get_custom_job @get_custom_job = ::Gapic::Config::Method.new get_custom_job_config list_custom_jobs_config = parent_rpcs.list_custom_jobs if parent_rpcs.respond_to? :list_custom_jobs @list_custom_jobs = ::Gapic::Config::Method.new list_custom_jobs_config delete_custom_job_config = parent_rpcs.delete_custom_job if parent_rpcs.respond_to? :delete_custom_job @delete_custom_job = ::Gapic::Config::Method.new delete_custom_job_config cancel_custom_job_config = parent_rpcs.cancel_custom_job if parent_rpcs.respond_to? :cancel_custom_job @cancel_custom_job = ::Gapic::Config::Method.new cancel_custom_job_config create_data_labeling_job_config = parent_rpcs.create_data_labeling_job if parent_rpcs.respond_to? :create_data_labeling_job @create_data_labeling_job = ::Gapic::Config::Method.new create_data_labeling_job_config get_data_labeling_job_config = parent_rpcs.get_data_labeling_job if parent_rpcs.respond_to? :get_data_labeling_job @get_data_labeling_job = ::Gapic::Config::Method.new get_data_labeling_job_config list_data_labeling_jobs_config = parent_rpcs.list_data_labeling_jobs if parent_rpcs.respond_to? :list_data_labeling_jobs @list_data_labeling_jobs = ::Gapic::Config::Method.new list_data_labeling_jobs_config delete_data_labeling_job_config = parent_rpcs.delete_data_labeling_job if parent_rpcs.respond_to? :delete_data_labeling_job @delete_data_labeling_job = ::Gapic::Config::Method.new delete_data_labeling_job_config cancel_data_labeling_job_config = parent_rpcs.cancel_data_labeling_job if parent_rpcs.respond_to? :cancel_data_labeling_job @cancel_data_labeling_job = ::Gapic::Config::Method.new cancel_data_labeling_job_config create_hyperparameter_tuning_job_config = parent_rpcs.create_hyperparameter_tuning_job if parent_rpcs.respond_to? :create_hyperparameter_tuning_job @create_hyperparameter_tuning_job = ::Gapic::Config::Method.new create_hyperparameter_tuning_job_config get_hyperparameter_tuning_job_config = parent_rpcs.get_hyperparameter_tuning_job if parent_rpcs.respond_to? :get_hyperparameter_tuning_job @get_hyperparameter_tuning_job = ::Gapic::Config::Method.new get_hyperparameter_tuning_job_config list_hyperparameter_tuning_jobs_config = parent_rpcs.list_hyperparameter_tuning_jobs if parent_rpcs.respond_to? :list_hyperparameter_tuning_jobs @list_hyperparameter_tuning_jobs = ::Gapic::Config::Method.new list_hyperparameter_tuning_jobs_config delete_hyperparameter_tuning_job_config = parent_rpcs.delete_hyperparameter_tuning_job if parent_rpcs.respond_to? :delete_hyperparameter_tuning_job @delete_hyperparameter_tuning_job = ::Gapic::Config::Method.new delete_hyperparameter_tuning_job_config cancel_hyperparameter_tuning_job_config = parent_rpcs.cancel_hyperparameter_tuning_job if parent_rpcs.respond_to? :cancel_hyperparameter_tuning_job @cancel_hyperparameter_tuning_job = ::Gapic::Config::Method.new cancel_hyperparameter_tuning_job_config create_nas_job_config = parent_rpcs.create_nas_job if parent_rpcs.respond_to? :create_nas_job @create_nas_job = ::Gapic::Config::Method.new create_nas_job_config get_nas_job_config = parent_rpcs.get_nas_job if parent_rpcs.respond_to? :get_nas_job @get_nas_job = ::Gapic::Config::Method.new get_nas_job_config list_nas_jobs_config = parent_rpcs.list_nas_jobs if parent_rpcs.respond_to? :list_nas_jobs @list_nas_jobs = ::Gapic::Config::Method.new list_nas_jobs_config delete_nas_job_config = parent_rpcs.delete_nas_job if parent_rpcs.respond_to? :delete_nas_job @delete_nas_job = ::Gapic::Config::Method.new delete_nas_job_config cancel_nas_job_config = parent_rpcs.cancel_nas_job if parent_rpcs.respond_to? :cancel_nas_job @cancel_nas_job = ::Gapic::Config::Method.new cancel_nas_job_config get_nas_trial_detail_config = parent_rpcs.get_nas_trial_detail if parent_rpcs.respond_to? :get_nas_trial_detail @get_nas_trial_detail = ::Gapic::Config::Method.new get_nas_trial_detail_config list_nas_trial_details_config = parent_rpcs.list_nas_trial_details if parent_rpcs.respond_to? :list_nas_trial_details @list_nas_trial_details = ::Gapic::Config::Method.new list_nas_trial_details_config create_batch_prediction_job_config = parent_rpcs.create_batch_prediction_job if parent_rpcs.respond_to? :create_batch_prediction_job @create_batch_prediction_job = ::Gapic::Config::Method.new create_batch_prediction_job_config get_batch_prediction_job_config = parent_rpcs.get_batch_prediction_job if parent_rpcs.respond_to? :get_batch_prediction_job @get_batch_prediction_job = ::Gapic::Config::Method.new get_batch_prediction_job_config list_batch_prediction_jobs_config = parent_rpcs.list_batch_prediction_jobs if parent_rpcs.respond_to? :list_batch_prediction_jobs @list_batch_prediction_jobs = ::Gapic::Config::Method.new list_batch_prediction_jobs_config delete_batch_prediction_job_config = parent_rpcs.delete_batch_prediction_job if parent_rpcs.respond_to? :delete_batch_prediction_job @delete_batch_prediction_job = ::Gapic::Config::Method.new delete_batch_prediction_job_config cancel_batch_prediction_job_config = parent_rpcs.cancel_batch_prediction_job if parent_rpcs.respond_to? :cancel_batch_prediction_job @cancel_batch_prediction_job = ::Gapic::Config::Method.new cancel_batch_prediction_job_config create_model_deployment_monitoring_job_config = parent_rpcs.create_model_deployment_monitoring_job if parent_rpcs.respond_to? :create_model_deployment_monitoring_job @create_model_deployment_monitoring_job = ::Gapic::Config::Method.new create_model_deployment_monitoring_job_config search_model_deployment_monitoring_stats_anomalies_config = parent_rpcs.search_model_deployment_monitoring_stats_anomalies if parent_rpcs.respond_to? :search_model_deployment_monitoring_stats_anomalies @search_model_deployment_monitoring_stats_anomalies = ::Gapic::Config::Method.new search_model_deployment_monitoring_stats_anomalies_config get_model_deployment_monitoring_job_config = parent_rpcs.get_model_deployment_monitoring_job if parent_rpcs.respond_to? :get_model_deployment_monitoring_job @get_model_deployment_monitoring_job = ::Gapic::Config::Method.new get_model_deployment_monitoring_job_config list_model_deployment_monitoring_jobs_config = parent_rpcs.list_model_deployment_monitoring_jobs if parent_rpcs.respond_to? :list_model_deployment_monitoring_jobs @list_model_deployment_monitoring_jobs = ::Gapic::Config::Method.new list_model_deployment_monitoring_jobs_config update_model_deployment_monitoring_job_config = parent_rpcs.update_model_deployment_monitoring_job if parent_rpcs.respond_to? :update_model_deployment_monitoring_job @update_model_deployment_monitoring_job = ::Gapic::Config::Method.new update_model_deployment_monitoring_job_config delete_model_deployment_monitoring_job_config = parent_rpcs.delete_model_deployment_monitoring_job if parent_rpcs.respond_to? :delete_model_deployment_monitoring_job @delete_model_deployment_monitoring_job = ::Gapic::Config::Method.new delete_model_deployment_monitoring_job_config pause_model_deployment_monitoring_job_config = parent_rpcs.pause_model_deployment_monitoring_job if parent_rpcs.respond_to? :pause_model_deployment_monitoring_job @pause_model_deployment_monitoring_job = ::Gapic::Config::Method.new pause_model_deployment_monitoring_job_config resume_model_deployment_monitoring_job_config = parent_rpcs.resume_model_deployment_monitoring_job if parent_rpcs.respond_to? :resume_model_deployment_monitoring_job @resume_model_deployment_monitoring_job = ::Gapic::Config::Method.new resume_model_deployment_monitoring_job_config yield self if block_given? end end end |
#quota_project ⇒ ::String
A separate project against which to charge quota.
3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 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 |
# File 'lib/google/cloud/ai_platform/v1/job_service/client.rb', line 3776 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "aiplatform.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC 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 # @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 JobService 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_custom_job` # @return [::Gapic::Config::Method] # attr_reader :create_custom_job ## # RPC-specific configuration for `get_custom_job` # @return [::Gapic::Config::Method] # attr_reader :get_custom_job ## # RPC-specific configuration for `list_custom_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_custom_jobs ## # RPC-specific configuration for `delete_custom_job` # @return [::Gapic::Config::Method] # attr_reader :delete_custom_job ## # RPC-specific configuration for `cancel_custom_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_custom_job ## # RPC-specific configuration for `create_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :create_data_labeling_job ## # RPC-specific configuration for `get_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :get_data_labeling_job ## # RPC-specific configuration for `list_data_labeling_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_data_labeling_jobs ## # RPC-specific configuration for `delete_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :delete_data_labeling_job ## # RPC-specific configuration for `cancel_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_data_labeling_job ## # RPC-specific configuration for `create_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :create_hyperparameter_tuning_job ## # RPC-specific configuration for `get_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :get_hyperparameter_tuning_job ## # RPC-specific configuration for `list_hyperparameter_tuning_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_hyperparameter_tuning_jobs ## # RPC-specific configuration for `delete_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :delete_hyperparameter_tuning_job ## # RPC-specific configuration for `cancel_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_hyperparameter_tuning_job ## # RPC-specific configuration for `create_nas_job` # @return [::Gapic::Config::Method] # attr_reader :create_nas_job ## # RPC-specific configuration for `get_nas_job` # @return [::Gapic::Config::Method] # attr_reader :get_nas_job ## # RPC-specific configuration for `list_nas_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_nas_jobs ## # RPC-specific configuration for `delete_nas_job` # @return [::Gapic::Config::Method] # attr_reader :delete_nas_job ## # RPC-specific configuration for `cancel_nas_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_nas_job ## # RPC-specific configuration for `get_nas_trial_detail` # @return [::Gapic::Config::Method] # attr_reader :get_nas_trial_detail ## # RPC-specific configuration for `list_nas_trial_details` # @return [::Gapic::Config::Method] # attr_reader :list_nas_trial_details ## # RPC-specific configuration for `create_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :create_batch_prediction_job ## # RPC-specific configuration for `get_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :get_batch_prediction_job ## # RPC-specific configuration for `list_batch_prediction_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_batch_prediction_jobs ## # RPC-specific configuration for `delete_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :delete_batch_prediction_job ## # RPC-specific configuration for `cancel_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_batch_prediction_job ## # RPC-specific configuration for `create_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :create_model_deployment_monitoring_job ## # RPC-specific configuration for `search_model_deployment_monitoring_stats_anomalies` # @return [::Gapic::Config::Method] # attr_reader :search_model_deployment_monitoring_stats_anomalies ## # RPC-specific configuration for `get_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :get_model_deployment_monitoring_job ## # RPC-specific configuration for `list_model_deployment_monitoring_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_model_deployment_monitoring_jobs ## # RPC-specific configuration for `update_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :update_model_deployment_monitoring_job ## # RPC-specific configuration for `delete_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :delete_model_deployment_monitoring_job ## # RPC-specific configuration for `pause_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :pause_model_deployment_monitoring_job ## # RPC-specific configuration for `resume_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :resume_model_deployment_monitoring_job # @private def initialize parent_rpcs = nil create_custom_job_config = parent_rpcs.create_custom_job if parent_rpcs.respond_to? :create_custom_job @create_custom_job = ::Gapic::Config::Method.new create_custom_job_config get_custom_job_config = parent_rpcs.get_custom_job if parent_rpcs.respond_to? :get_custom_job @get_custom_job = ::Gapic::Config::Method.new get_custom_job_config list_custom_jobs_config = parent_rpcs.list_custom_jobs if parent_rpcs.respond_to? :list_custom_jobs @list_custom_jobs = ::Gapic::Config::Method.new list_custom_jobs_config delete_custom_job_config = parent_rpcs.delete_custom_job if parent_rpcs.respond_to? :delete_custom_job @delete_custom_job = ::Gapic::Config::Method.new delete_custom_job_config cancel_custom_job_config = parent_rpcs.cancel_custom_job if parent_rpcs.respond_to? :cancel_custom_job @cancel_custom_job = ::Gapic::Config::Method.new cancel_custom_job_config create_data_labeling_job_config = parent_rpcs.create_data_labeling_job if parent_rpcs.respond_to? :create_data_labeling_job @create_data_labeling_job = ::Gapic::Config::Method.new create_data_labeling_job_config get_data_labeling_job_config = parent_rpcs.get_data_labeling_job if parent_rpcs.respond_to? :get_data_labeling_job @get_data_labeling_job = ::Gapic::Config::Method.new get_data_labeling_job_config list_data_labeling_jobs_config = parent_rpcs.list_data_labeling_jobs if parent_rpcs.respond_to? :list_data_labeling_jobs @list_data_labeling_jobs = ::Gapic::Config::Method.new list_data_labeling_jobs_config delete_data_labeling_job_config = parent_rpcs.delete_data_labeling_job if parent_rpcs.respond_to? :delete_data_labeling_job @delete_data_labeling_job = ::Gapic::Config::Method.new delete_data_labeling_job_config cancel_data_labeling_job_config = parent_rpcs.cancel_data_labeling_job if parent_rpcs.respond_to? :cancel_data_labeling_job @cancel_data_labeling_job = ::Gapic::Config::Method.new cancel_data_labeling_job_config create_hyperparameter_tuning_job_config = parent_rpcs.create_hyperparameter_tuning_job if parent_rpcs.respond_to? :create_hyperparameter_tuning_job @create_hyperparameter_tuning_job = ::Gapic::Config::Method.new create_hyperparameter_tuning_job_config get_hyperparameter_tuning_job_config = parent_rpcs.get_hyperparameter_tuning_job if parent_rpcs.respond_to? :get_hyperparameter_tuning_job @get_hyperparameter_tuning_job = ::Gapic::Config::Method.new get_hyperparameter_tuning_job_config list_hyperparameter_tuning_jobs_config = parent_rpcs.list_hyperparameter_tuning_jobs if parent_rpcs.respond_to? :list_hyperparameter_tuning_jobs @list_hyperparameter_tuning_jobs = ::Gapic::Config::Method.new list_hyperparameter_tuning_jobs_config delete_hyperparameter_tuning_job_config = parent_rpcs.delete_hyperparameter_tuning_job if parent_rpcs.respond_to? :delete_hyperparameter_tuning_job @delete_hyperparameter_tuning_job = ::Gapic::Config::Method.new delete_hyperparameter_tuning_job_config cancel_hyperparameter_tuning_job_config = parent_rpcs.cancel_hyperparameter_tuning_job if parent_rpcs.respond_to? :cancel_hyperparameter_tuning_job @cancel_hyperparameter_tuning_job = ::Gapic::Config::Method.new cancel_hyperparameter_tuning_job_config create_nas_job_config = parent_rpcs.create_nas_job if parent_rpcs.respond_to? :create_nas_job @create_nas_job = ::Gapic::Config::Method.new create_nas_job_config get_nas_job_config = parent_rpcs.get_nas_job if parent_rpcs.respond_to? :get_nas_job @get_nas_job = ::Gapic::Config::Method.new get_nas_job_config list_nas_jobs_config = parent_rpcs.list_nas_jobs if parent_rpcs.respond_to? :list_nas_jobs @list_nas_jobs = ::Gapic::Config::Method.new list_nas_jobs_config delete_nas_job_config = parent_rpcs.delete_nas_job if parent_rpcs.respond_to? :delete_nas_job @delete_nas_job = ::Gapic::Config::Method.new delete_nas_job_config cancel_nas_job_config = parent_rpcs.cancel_nas_job if parent_rpcs.respond_to? :cancel_nas_job @cancel_nas_job = ::Gapic::Config::Method.new cancel_nas_job_config get_nas_trial_detail_config = parent_rpcs.get_nas_trial_detail if parent_rpcs.respond_to? :get_nas_trial_detail @get_nas_trial_detail = ::Gapic::Config::Method.new get_nas_trial_detail_config list_nas_trial_details_config = parent_rpcs.list_nas_trial_details if parent_rpcs.respond_to? :list_nas_trial_details @list_nas_trial_details = ::Gapic::Config::Method.new list_nas_trial_details_config create_batch_prediction_job_config = parent_rpcs.create_batch_prediction_job if parent_rpcs.respond_to? :create_batch_prediction_job @create_batch_prediction_job = ::Gapic::Config::Method.new create_batch_prediction_job_config get_batch_prediction_job_config = parent_rpcs.get_batch_prediction_job if parent_rpcs.respond_to? :get_batch_prediction_job @get_batch_prediction_job = ::Gapic::Config::Method.new get_batch_prediction_job_config list_batch_prediction_jobs_config = parent_rpcs.list_batch_prediction_jobs if parent_rpcs.respond_to? :list_batch_prediction_jobs @list_batch_prediction_jobs = ::Gapic::Config::Method.new list_batch_prediction_jobs_config delete_batch_prediction_job_config = parent_rpcs.delete_batch_prediction_job if parent_rpcs.respond_to? :delete_batch_prediction_job @delete_batch_prediction_job = ::Gapic::Config::Method.new delete_batch_prediction_job_config cancel_batch_prediction_job_config = parent_rpcs.cancel_batch_prediction_job if parent_rpcs.respond_to? :cancel_batch_prediction_job @cancel_batch_prediction_job = ::Gapic::Config::Method.new cancel_batch_prediction_job_config create_model_deployment_monitoring_job_config = parent_rpcs.create_model_deployment_monitoring_job if parent_rpcs.respond_to? :create_model_deployment_monitoring_job @create_model_deployment_monitoring_job = ::Gapic::Config::Method.new create_model_deployment_monitoring_job_config search_model_deployment_monitoring_stats_anomalies_config = parent_rpcs.search_model_deployment_monitoring_stats_anomalies if parent_rpcs.respond_to? :search_model_deployment_monitoring_stats_anomalies @search_model_deployment_monitoring_stats_anomalies = ::Gapic::Config::Method.new search_model_deployment_monitoring_stats_anomalies_config get_model_deployment_monitoring_job_config = parent_rpcs.get_model_deployment_monitoring_job if parent_rpcs.respond_to? :get_model_deployment_monitoring_job @get_model_deployment_monitoring_job = ::Gapic::Config::Method.new get_model_deployment_monitoring_job_config list_model_deployment_monitoring_jobs_config = parent_rpcs.list_model_deployment_monitoring_jobs if parent_rpcs.respond_to? :list_model_deployment_monitoring_jobs @list_model_deployment_monitoring_jobs = ::Gapic::Config::Method.new list_model_deployment_monitoring_jobs_config update_model_deployment_monitoring_job_config = parent_rpcs.update_model_deployment_monitoring_job if parent_rpcs.respond_to? :update_model_deployment_monitoring_job @update_model_deployment_monitoring_job = ::Gapic::Config::Method.new update_model_deployment_monitoring_job_config delete_model_deployment_monitoring_job_config = parent_rpcs.delete_model_deployment_monitoring_job if parent_rpcs.respond_to? :delete_model_deployment_monitoring_job @delete_model_deployment_monitoring_job = ::Gapic::Config::Method.new delete_model_deployment_monitoring_job_config pause_model_deployment_monitoring_job_config = parent_rpcs.pause_model_deployment_monitoring_job if parent_rpcs.respond_to? :pause_model_deployment_monitoring_job @pause_model_deployment_monitoring_job = ::Gapic::Config::Method.new pause_model_deployment_monitoring_job_config resume_model_deployment_monitoring_job_config = parent_rpcs.resume_model_deployment_monitoring_job if parent_rpcs.respond_to? :resume_model_deployment_monitoring_job @resume_model_deployment_monitoring_job = ::Gapic::Config::Method.new resume_model_deployment_monitoring_job_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.
3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 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 |
# File 'lib/google/cloud/ai_platform/v1/job_service/client.rb', line 3776 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "aiplatform.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC 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 # @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 JobService 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_custom_job` # @return [::Gapic::Config::Method] # attr_reader :create_custom_job ## # RPC-specific configuration for `get_custom_job` # @return [::Gapic::Config::Method] # attr_reader :get_custom_job ## # RPC-specific configuration for `list_custom_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_custom_jobs ## # RPC-specific configuration for `delete_custom_job` # @return [::Gapic::Config::Method] # attr_reader :delete_custom_job ## # RPC-specific configuration for `cancel_custom_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_custom_job ## # RPC-specific configuration for `create_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :create_data_labeling_job ## # RPC-specific configuration for `get_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :get_data_labeling_job ## # RPC-specific configuration for `list_data_labeling_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_data_labeling_jobs ## # RPC-specific configuration for `delete_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :delete_data_labeling_job ## # RPC-specific configuration for `cancel_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_data_labeling_job ## # RPC-specific configuration for `create_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :create_hyperparameter_tuning_job ## # RPC-specific configuration for `get_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :get_hyperparameter_tuning_job ## # RPC-specific configuration for `list_hyperparameter_tuning_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_hyperparameter_tuning_jobs ## # RPC-specific configuration for `delete_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :delete_hyperparameter_tuning_job ## # RPC-specific configuration for `cancel_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_hyperparameter_tuning_job ## # RPC-specific configuration for `create_nas_job` # @return [::Gapic::Config::Method] # attr_reader :create_nas_job ## # RPC-specific configuration for `get_nas_job` # @return [::Gapic::Config::Method] # attr_reader :get_nas_job ## # RPC-specific configuration for `list_nas_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_nas_jobs ## # RPC-specific configuration for `delete_nas_job` # @return [::Gapic::Config::Method] # attr_reader :delete_nas_job ## # RPC-specific configuration for `cancel_nas_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_nas_job ## # RPC-specific configuration for `get_nas_trial_detail` # @return [::Gapic::Config::Method] # attr_reader :get_nas_trial_detail ## # RPC-specific configuration for `list_nas_trial_details` # @return [::Gapic::Config::Method] # attr_reader :list_nas_trial_details ## # RPC-specific configuration for `create_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :create_batch_prediction_job ## # RPC-specific configuration for `get_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :get_batch_prediction_job ## # RPC-specific configuration for `list_batch_prediction_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_batch_prediction_jobs ## # RPC-specific configuration for `delete_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :delete_batch_prediction_job ## # RPC-specific configuration for `cancel_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_batch_prediction_job ## # RPC-specific configuration for `create_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :create_model_deployment_monitoring_job ## # RPC-specific configuration for `search_model_deployment_monitoring_stats_anomalies` # @return [::Gapic::Config::Method] # attr_reader :search_model_deployment_monitoring_stats_anomalies ## # RPC-specific configuration for `get_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :get_model_deployment_monitoring_job ## # RPC-specific configuration for `list_model_deployment_monitoring_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_model_deployment_monitoring_jobs ## # RPC-specific configuration for `update_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :update_model_deployment_monitoring_job ## # RPC-specific configuration for `delete_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :delete_model_deployment_monitoring_job ## # RPC-specific configuration for `pause_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :pause_model_deployment_monitoring_job ## # RPC-specific configuration for `resume_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :resume_model_deployment_monitoring_job # @private def initialize parent_rpcs = nil create_custom_job_config = parent_rpcs.create_custom_job if parent_rpcs.respond_to? :create_custom_job @create_custom_job = ::Gapic::Config::Method.new create_custom_job_config get_custom_job_config = parent_rpcs.get_custom_job if parent_rpcs.respond_to? :get_custom_job @get_custom_job = ::Gapic::Config::Method.new get_custom_job_config list_custom_jobs_config = parent_rpcs.list_custom_jobs if parent_rpcs.respond_to? :list_custom_jobs @list_custom_jobs = ::Gapic::Config::Method.new list_custom_jobs_config delete_custom_job_config = parent_rpcs.delete_custom_job if parent_rpcs.respond_to? :delete_custom_job @delete_custom_job = ::Gapic::Config::Method.new delete_custom_job_config cancel_custom_job_config = parent_rpcs.cancel_custom_job if parent_rpcs.respond_to? :cancel_custom_job @cancel_custom_job = ::Gapic::Config::Method.new cancel_custom_job_config create_data_labeling_job_config = parent_rpcs.create_data_labeling_job if parent_rpcs.respond_to? :create_data_labeling_job @create_data_labeling_job = ::Gapic::Config::Method.new create_data_labeling_job_config get_data_labeling_job_config = parent_rpcs.get_data_labeling_job if parent_rpcs.respond_to? :get_data_labeling_job @get_data_labeling_job = ::Gapic::Config::Method.new get_data_labeling_job_config list_data_labeling_jobs_config = parent_rpcs.list_data_labeling_jobs if parent_rpcs.respond_to? :list_data_labeling_jobs @list_data_labeling_jobs = ::Gapic::Config::Method.new list_data_labeling_jobs_config delete_data_labeling_job_config = parent_rpcs.delete_data_labeling_job if parent_rpcs.respond_to? :delete_data_labeling_job @delete_data_labeling_job = ::Gapic::Config::Method.new delete_data_labeling_job_config cancel_data_labeling_job_config = parent_rpcs.cancel_data_labeling_job if parent_rpcs.respond_to? :cancel_data_labeling_job @cancel_data_labeling_job = ::Gapic::Config::Method.new cancel_data_labeling_job_config create_hyperparameter_tuning_job_config = parent_rpcs.create_hyperparameter_tuning_job if parent_rpcs.respond_to? :create_hyperparameter_tuning_job @create_hyperparameter_tuning_job = ::Gapic::Config::Method.new create_hyperparameter_tuning_job_config get_hyperparameter_tuning_job_config = parent_rpcs.get_hyperparameter_tuning_job if parent_rpcs.respond_to? :get_hyperparameter_tuning_job @get_hyperparameter_tuning_job = ::Gapic::Config::Method.new get_hyperparameter_tuning_job_config list_hyperparameter_tuning_jobs_config = parent_rpcs.list_hyperparameter_tuning_jobs if parent_rpcs.respond_to? :list_hyperparameter_tuning_jobs @list_hyperparameter_tuning_jobs = ::Gapic::Config::Method.new list_hyperparameter_tuning_jobs_config delete_hyperparameter_tuning_job_config = parent_rpcs.delete_hyperparameter_tuning_job if parent_rpcs.respond_to? :delete_hyperparameter_tuning_job @delete_hyperparameter_tuning_job = ::Gapic::Config::Method.new delete_hyperparameter_tuning_job_config cancel_hyperparameter_tuning_job_config = parent_rpcs.cancel_hyperparameter_tuning_job if parent_rpcs.respond_to? :cancel_hyperparameter_tuning_job @cancel_hyperparameter_tuning_job = ::Gapic::Config::Method.new cancel_hyperparameter_tuning_job_config create_nas_job_config = parent_rpcs.create_nas_job if parent_rpcs.respond_to? :create_nas_job @create_nas_job = ::Gapic::Config::Method.new create_nas_job_config get_nas_job_config = parent_rpcs.get_nas_job if parent_rpcs.respond_to? :get_nas_job @get_nas_job = ::Gapic::Config::Method.new get_nas_job_config list_nas_jobs_config = parent_rpcs.list_nas_jobs if parent_rpcs.respond_to? :list_nas_jobs @list_nas_jobs = ::Gapic::Config::Method.new list_nas_jobs_config delete_nas_job_config = parent_rpcs.delete_nas_job if parent_rpcs.respond_to? :delete_nas_job @delete_nas_job = ::Gapic::Config::Method.new delete_nas_job_config cancel_nas_job_config = parent_rpcs.cancel_nas_job if parent_rpcs.respond_to? :cancel_nas_job @cancel_nas_job = ::Gapic::Config::Method.new cancel_nas_job_config get_nas_trial_detail_config = parent_rpcs.get_nas_trial_detail if parent_rpcs.respond_to? :get_nas_trial_detail @get_nas_trial_detail = ::Gapic::Config::Method.new get_nas_trial_detail_config list_nas_trial_details_config = parent_rpcs.list_nas_trial_details if parent_rpcs.respond_to? :list_nas_trial_details @list_nas_trial_details = ::Gapic::Config::Method.new list_nas_trial_details_config create_batch_prediction_job_config = parent_rpcs.create_batch_prediction_job if parent_rpcs.respond_to? :create_batch_prediction_job @create_batch_prediction_job = ::Gapic::Config::Method.new create_batch_prediction_job_config get_batch_prediction_job_config = parent_rpcs.get_batch_prediction_job if parent_rpcs.respond_to? :get_batch_prediction_job @get_batch_prediction_job = ::Gapic::Config::Method.new get_batch_prediction_job_config list_batch_prediction_jobs_config = parent_rpcs.list_batch_prediction_jobs if parent_rpcs.respond_to? :list_batch_prediction_jobs @list_batch_prediction_jobs = ::Gapic::Config::Method.new list_batch_prediction_jobs_config delete_batch_prediction_job_config = parent_rpcs.delete_batch_prediction_job if parent_rpcs.respond_to? :delete_batch_prediction_job @delete_batch_prediction_job = ::Gapic::Config::Method.new delete_batch_prediction_job_config cancel_batch_prediction_job_config = parent_rpcs.cancel_batch_prediction_job if parent_rpcs.respond_to? :cancel_batch_prediction_job @cancel_batch_prediction_job = ::Gapic::Config::Method.new cancel_batch_prediction_job_config create_model_deployment_monitoring_job_config = parent_rpcs.create_model_deployment_monitoring_job if parent_rpcs.respond_to? :create_model_deployment_monitoring_job @create_model_deployment_monitoring_job = ::Gapic::Config::Method.new create_model_deployment_monitoring_job_config search_model_deployment_monitoring_stats_anomalies_config = parent_rpcs.search_model_deployment_monitoring_stats_anomalies if parent_rpcs.respond_to? :search_model_deployment_monitoring_stats_anomalies @search_model_deployment_monitoring_stats_anomalies = ::Gapic::Config::Method.new search_model_deployment_monitoring_stats_anomalies_config get_model_deployment_monitoring_job_config = parent_rpcs.get_model_deployment_monitoring_job if parent_rpcs.respond_to? :get_model_deployment_monitoring_job @get_model_deployment_monitoring_job = ::Gapic::Config::Method.new get_model_deployment_monitoring_job_config list_model_deployment_monitoring_jobs_config = parent_rpcs.list_model_deployment_monitoring_jobs if parent_rpcs.respond_to? :list_model_deployment_monitoring_jobs @list_model_deployment_monitoring_jobs = ::Gapic::Config::Method.new list_model_deployment_monitoring_jobs_config update_model_deployment_monitoring_job_config = parent_rpcs.update_model_deployment_monitoring_job if parent_rpcs.respond_to? :update_model_deployment_monitoring_job @update_model_deployment_monitoring_job = ::Gapic::Config::Method.new update_model_deployment_monitoring_job_config delete_model_deployment_monitoring_job_config = parent_rpcs.delete_model_deployment_monitoring_job if parent_rpcs.respond_to? :delete_model_deployment_monitoring_job @delete_model_deployment_monitoring_job = ::Gapic::Config::Method.new delete_model_deployment_monitoring_job_config pause_model_deployment_monitoring_job_config = parent_rpcs.pause_model_deployment_monitoring_job if parent_rpcs.respond_to? :pause_model_deployment_monitoring_job @pause_model_deployment_monitoring_job = ::Gapic::Config::Method.new pause_model_deployment_monitoring_job_config resume_model_deployment_monitoring_job_config = parent_rpcs.resume_model_deployment_monitoring_job if parent_rpcs.respond_to? :resume_model_deployment_monitoring_job @resume_model_deployment_monitoring_job = ::Gapic::Config::Method.new resume_model_deployment_monitoring_job_config yield self if block_given? end end end |
#scope ⇒ ::Array<::String>
The OAuth scopes
3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 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 |
# File 'lib/google/cloud/ai_platform/v1/job_service/client.rb', line 3776 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "aiplatform.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC 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 # @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 JobService 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_custom_job` # @return [::Gapic::Config::Method] # attr_reader :create_custom_job ## # RPC-specific configuration for `get_custom_job` # @return [::Gapic::Config::Method] # attr_reader :get_custom_job ## # RPC-specific configuration for `list_custom_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_custom_jobs ## # RPC-specific configuration for `delete_custom_job` # @return [::Gapic::Config::Method] # attr_reader :delete_custom_job ## # RPC-specific configuration for `cancel_custom_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_custom_job ## # RPC-specific configuration for `create_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :create_data_labeling_job ## # RPC-specific configuration for `get_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :get_data_labeling_job ## # RPC-specific configuration for `list_data_labeling_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_data_labeling_jobs ## # RPC-specific configuration for `delete_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :delete_data_labeling_job ## # RPC-specific configuration for `cancel_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_data_labeling_job ## # RPC-specific configuration for `create_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :create_hyperparameter_tuning_job ## # RPC-specific configuration for `get_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :get_hyperparameter_tuning_job ## # RPC-specific configuration for `list_hyperparameter_tuning_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_hyperparameter_tuning_jobs ## # RPC-specific configuration for `delete_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :delete_hyperparameter_tuning_job ## # RPC-specific configuration for `cancel_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_hyperparameter_tuning_job ## # RPC-specific configuration for `create_nas_job` # @return [::Gapic::Config::Method] # attr_reader :create_nas_job ## # RPC-specific configuration for `get_nas_job` # @return [::Gapic::Config::Method] # attr_reader :get_nas_job ## # RPC-specific configuration for `list_nas_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_nas_jobs ## # RPC-specific configuration for `delete_nas_job` # @return [::Gapic::Config::Method] # attr_reader :delete_nas_job ## # RPC-specific configuration for `cancel_nas_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_nas_job ## # RPC-specific configuration for `get_nas_trial_detail` # @return [::Gapic::Config::Method] # attr_reader :get_nas_trial_detail ## # RPC-specific configuration for `list_nas_trial_details` # @return [::Gapic::Config::Method] # attr_reader :list_nas_trial_details ## # RPC-specific configuration for `create_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :create_batch_prediction_job ## # RPC-specific configuration for `get_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :get_batch_prediction_job ## # RPC-specific configuration for `list_batch_prediction_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_batch_prediction_jobs ## # RPC-specific configuration for `delete_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :delete_batch_prediction_job ## # RPC-specific configuration for `cancel_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_batch_prediction_job ## # RPC-specific configuration for `create_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :create_model_deployment_monitoring_job ## # RPC-specific configuration for `search_model_deployment_monitoring_stats_anomalies` # @return [::Gapic::Config::Method] # attr_reader :search_model_deployment_monitoring_stats_anomalies ## # RPC-specific configuration for `get_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :get_model_deployment_monitoring_job ## # RPC-specific configuration for `list_model_deployment_monitoring_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_model_deployment_monitoring_jobs ## # RPC-specific configuration for `update_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :update_model_deployment_monitoring_job ## # RPC-specific configuration for `delete_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :delete_model_deployment_monitoring_job ## # RPC-specific configuration for `pause_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :pause_model_deployment_monitoring_job ## # RPC-specific configuration for `resume_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :resume_model_deployment_monitoring_job # @private def initialize parent_rpcs = nil create_custom_job_config = parent_rpcs.create_custom_job if parent_rpcs.respond_to? :create_custom_job @create_custom_job = ::Gapic::Config::Method.new create_custom_job_config get_custom_job_config = parent_rpcs.get_custom_job if parent_rpcs.respond_to? :get_custom_job @get_custom_job = ::Gapic::Config::Method.new get_custom_job_config list_custom_jobs_config = parent_rpcs.list_custom_jobs if parent_rpcs.respond_to? :list_custom_jobs @list_custom_jobs = ::Gapic::Config::Method.new list_custom_jobs_config delete_custom_job_config = parent_rpcs.delete_custom_job if parent_rpcs.respond_to? :delete_custom_job @delete_custom_job = ::Gapic::Config::Method.new delete_custom_job_config cancel_custom_job_config = parent_rpcs.cancel_custom_job if parent_rpcs.respond_to? :cancel_custom_job @cancel_custom_job = ::Gapic::Config::Method.new cancel_custom_job_config create_data_labeling_job_config = parent_rpcs.create_data_labeling_job if parent_rpcs.respond_to? :create_data_labeling_job @create_data_labeling_job = ::Gapic::Config::Method.new create_data_labeling_job_config get_data_labeling_job_config = parent_rpcs.get_data_labeling_job if parent_rpcs.respond_to? :get_data_labeling_job @get_data_labeling_job = ::Gapic::Config::Method.new get_data_labeling_job_config list_data_labeling_jobs_config = parent_rpcs.list_data_labeling_jobs if parent_rpcs.respond_to? :list_data_labeling_jobs @list_data_labeling_jobs = ::Gapic::Config::Method.new list_data_labeling_jobs_config delete_data_labeling_job_config = parent_rpcs.delete_data_labeling_job if parent_rpcs.respond_to? :delete_data_labeling_job @delete_data_labeling_job = ::Gapic::Config::Method.new delete_data_labeling_job_config cancel_data_labeling_job_config = parent_rpcs.cancel_data_labeling_job if parent_rpcs.respond_to? :cancel_data_labeling_job @cancel_data_labeling_job = ::Gapic::Config::Method.new cancel_data_labeling_job_config create_hyperparameter_tuning_job_config = parent_rpcs.create_hyperparameter_tuning_job if parent_rpcs.respond_to? :create_hyperparameter_tuning_job @create_hyperparameter_tuning_job = ::Gapic::Config::Method.new create_hyperparameter_tuning_job_config get_hyperparameter_tuning_job_config = parent_rpcs.get_hyperparameter_tuning_job if parent_rpcs.respond_to? :get_hyperparameter_tuning_job @get_hyperparameter_tuning_job = ::Gapic::Config::Method.new get_hyperparameter_tuning_job_config list_hyperparameter_tuning_jobs_config = parent_rpcs.list_hyperparameter_tuning_jobs if parent_rpcs.respond_to? :list_hyperparameter_tuning_jobs @list_hyperparameter_tuning_jobs = ::Gapic::Config::Method.new list_hyperparameter_tuning_jobs_config delete_hyperparameter_tuning_job_config = parent_rpcs.delete_hyperparameter_tuning_job if parent_rpcs.respond_to? :delete_hyperparameter_tuning_job @delete_hyperparameter_tuning_job = ::Gapic::Config::Method.new delete_hyperparameter_tuning_job_config cancel_hyperparameter_tuning_job_config = parent_rpcs.cancel_hyperparameter_tuning_job if parent_rpcs.respond_to? :cancel_hyperparameter_tuning_job @cancel_hyperparameter_tuning_job = ::Gapic::Config::Method.new cancel_hyperparameter_tuning_job_config create_nas_job_config = parent_rpcs.create_nas_job if parent_rpcs.respond_to? :create_nas_job @create_nas_job = ::Gapic::Config::Method.new create_nas_job_config get_nas_job_config = parent_rpcs.get_nas_job if parent_rpcs.respond_to? :get_nas_job @get_nas_job = ::Gapic::Config::Method.new get_nas_job_config list_nas_jobs_config = parent_rpcs.list_nas_jobs if parent_rpcs.respond_to? :list_nas_jobs @list_nas_jobs = ::Gapic::Config::Method.new list_nas_jobs_config delete_nas_job_config = parent_rpcs.delete_nas_job if parent_rpcs.respond_to? :delete_nas_job @delete_nas_job = ::Gapic::Config::Method.new delete_nas_job_config cancel_nas_job_config = parent_rpcs.cancel_nas_job if parent_rpcs.respond_to? :cancel_nas_job @cancel_nas_job = ::Gapic::Config::Method.new cancel_nas_job_config get_nas_trial_detail_config = parent_rpcs.get_nas_trial_detail if parent_rpcs.respond_to? :get_nas_trial_detail @get_nas_trial_detail = ::Gapic::Config::Method.new get_nas_trial_detail_config list_nas_trial_details_config = parent_rpcs.list_nas_trial_details if parent_rpcs.respond_to? :list_nas_trial_details @list_nas_trial_details = ::Gapic::Config::Method.new list_nas_trial_details_config create_batch_prediction_job_config = parent_rpcs.create_batch_prediction_job if parent_rpcs.respond_to? :create_batch_prediction_job @create_batch_prediction_job = ::Gapic::Config::Method.new create_batch_prediction_job_config get_batch_prediction_job_config = parent_rpcs.get_batch_prediction_job if parent_rpcs.respond_to? :get_batch_prediction_job @get_batch_prediction_job = ::Gapic::Config::Method.new get_batch_prediction_job_config list_batch_prediction_jobs_config = parent_rpcs.list_batch_prediction_jobs if parent_rpcs.respond_to? :list_batch_prediction_jobs @list_batch_prediction_jobs = ::Gapic::Config::Method.new list_batch_prediction_jobs_config delete_batch_prediction_job_config = parent_rpcs.delete_batch_prediction_job if parent_rpcs.respond_to? :delete_batch_prediction_job @delete_batch_prediction_job = ::Gapic::Config::Method.new delete_batch_prediction_job_config cancel_batch_prediction_job_config = parent_rpcs.cancel_batch_prediction_job if parent_rpcs.respond_to? :cancel_batch_prediction_job @cancel_batch_prediction_job = ::Gapic::Config::Method.new cancel_batch_prediction_job_config create_model_deployment_monitoring_job_config = parent_rpcs.create_model_deployment_monitoring_job if parent_rpcs.respond_to? :create_model_deployment_monitoring_job @create_model_deployment_monitoring_job = ::Gapic::Config::Method.new create_model_deployment_monitoring_job_config search_model_deployment_monitoring_stats_anomalies_config = parent_rpcs.search_model_deployment_monitoring_stats_anomalies if parent_rpcs.respond_to? :search_model_deployment_monitoring_stats_anomalies @search_model_deployment_monitoring_stats_anomalies = ::Gapic::Config::Method.new search_model_deployment_monitoring_stats_anomalies_config get_model_deployment_monitoring_job_config = parent_rpcs.get_model_deployment_monitoring_job if parent_rpcs.respond_to? :get_model_deployment_monitoring_job @get_model_deployment_monitoring_job = ::Gapic::Config::Method.new get_model_deployment_monitoring_job_config list_model_deployment_monitoring_jobs_config = parent_rpcs.list_model_deployment_monitoring_jobs if parent_rpcs.respond_to? :list_model_deployment_monitoring_jobs @list_model_deployment_monitoring_jobs = ::Gapic::Config::Method.new list_model_deployment_monitoring_jobs_config update_model_deployment_monitoring_job_config = parent_rpcs.update_model_deployment_monitoring_job if parent_rpcs.respond_to? :update_model_deployment_monitoring_job @update_model_deployment_monitoring_job = ::Gapic::Config::Method.new update_model_deployment_monitoring_job_config delete_model_deployment_monitoring_job_config = parent_rpcs.delete_model_deployment_monitoring_job if parent_rpcs.respond_to? :delete_model_deployment_monitoring_job @delete_model_deployment_monitoring_job = ::Gapic::Config::Method.new delete_model_deployment_monitoring_job_config pause_model_deployment_monitoring_job_config = parent_rpcs.pause_model_deployment_monitoring_job if parent_rpcs.respond_to? :pause_model_deployment_monitoring_job @pause_model_deployment_monitoring_job = ::Gapic::Config::Method.new pause_model_deployment_monitoring_job_config resume_model_deployment_monitoring_job_config = parent_rpcs.resume_model_deployment_monitoring_job if parent_rpcs.respond_to? :resume_model_deployment_monitoring_job @resume_model_deployment_monitoring_job = ::Gapic::Config::Method.new resume_model_deployment_monitoring_job_config yield self if block_given? end end end |
#timeout ⇒ ::Numeric
The call timeout in seconds.
3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 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 |
# File 'lib/google/cloud/ai_platform/v1/job_service/client.rb', line 3776 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "aiplatform.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC 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 # @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 JobService 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_custom_job` # @return [::Gapic::Config::Method] # attr_reader :create_custom_job ## # RPC-specific configuration for `get_custom_job` # @return [::Gapic::Config::Method] # attr_reader :get_custom_job ## # RPC-specific configuration for `list_custom_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_custom_jobs ## # RPC-specific configuration for `delete_custom_job` # @return [::Gapic::Config::Method] # attr_reader :delete_custom_job ## # RPC-specific configuration for `cancel_custom_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_custom_job ## # RPC-specific configuration for `create_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :create_data_labeling_job ## # RPC-specific configuration for `get_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :get_data_labeling_job ## # RPC-specific configuration for `list_data_labeling_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_data_labeling_jobs ## # RPC-specific configuration for `delete_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :delete_data_labeling_job ## # RPC-specific configuration for `cancel_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_data_labeling_job ## # RPC-specific configuration for `create_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :create_hyperparameter_tuning_job ## # RPC-specific configuration for `get_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :get_hyperparameter_tuning_job ## # RPC-specific configuration for `list_hyperparameter_tuning_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_hyperparameter_tuning_jobs ## # RPC-specific configuration for `delete_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :delete_hyperparameter_tuning_job ## # RPC-specific configuration for `cancel_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_hyperparameter_tuning_job ## # RPC-specific configuration for `create_nas_job` # @return [::Gapic::Config::Method] # attr_reader :create_nas_job ## # RPC-specific configuration for `get_nas_job` # @return [::Gapic::Config::Method] # attr_reader :get_nas_job ## # RPC-specific configuration for `list_nas_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_nas_jobs ## # RPC-specific configuration for `delete_nas_job` # @return [::Gapic::Config::Method] # attr_reader :delete_nas_job ## # RPC-specific configuration for `cancel_nas_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_nas_job ## # RPC-specific configuration for `get_nas_trial_detail` # @return [::Gapic::Config::Method] # attr_reader :get_nas_trial_detail ## # RPC-specific configuration for `list_nas_trial_details` # @return [::Gapic::Config::Method] # attr_reader :list_nas_trial_details ## # RPC-specific configuration for `create_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :create_batch_prediction_job ## # RPC-specific configuration for `get_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :get_batch_prediction_job ## # RPC-specific configuration for `list_batch_prediction_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_batch_prediction_jobs ## # RPC-specific configuration for `delete_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :delete_batch_prediction_job ## # RPC-specific configuration for `cancel_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_batch_prediction_job ## # RPC-specific configuration for `create_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :create_model_deployment_monitoring_job ## # RPC-specific configuration for `search_model_deployment_monitoring_stats_anomalies` # @return [::Gapic::Config::Method] # attr_reader :search_model_deployment_monitoring_stats_anomalies ## # RPC-specific configuration for `get_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :get_model_deployment_monitoring_job ## # RPC-specific configuration for `list_model_deployment_monitoring_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_model_deployment_monitoring_jobs ## # RPC-specific configuration for `update_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :update_model_deployment_monitoring_job ## # RPC-specific configuration for `delete_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :delete_model_deployment_monitoring_job ## # RPC-specific configuration for `pause_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :pause_model_deployment_monitoring_job ## # RPC-specific configuration for `resume_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :resume_model_deployment_monitoring_job # @private def initialize parent_rpcs = nil create_custom_job_config = parent_rpcs.create_custom_job if parent_rpcs.respond_to? :create_custom_job @create_custom_job = ::Gapic::Config::Method.new create_custom_job_config get_custom_job_config = parent_rpcs.get_custom_job if parent_rpcs.respond_to? :get_custom_job @get_custom_job = ::Gapic::Config::Method.new get_custom_job_config list_custom_jobs_config = parent_rpcs.list_custom_jobs if parent_rpcs.respond_to? :list_custom_jobs @list_custom_jobs = ::Gapic::Config::Method.new list_custom_jobs_config delete_custom_job_config = parent_rpcs.delete_custom_job if parent_rpcs.respond_to? :delete_custom_job @delete_custom_job = ::Gapic::Config::Method.new delete_custom_job_config cancel_custom_job_config = parent_rpcs.cancel_custom_job if parent_rpcs.respond_to? :cancel_custom_job @cancel_custom_job = ::Gapic::Config::Method.new cancel_custom_job_config create_data_labeling_job_config = parent_rpcs.create_data_labeling_job if parent_rpcs.respond_to? :create_data_labeling_job @create_data_labeling_job = ::Gapic::Config::Method.new create_data_labeling_job_config get_data_labeling_job_config = parent_rpcs.get_data_labeling_job if parent_rpcs.respond_to? :get_data_labeling_job @get_data_labeling_job = ::Gapic::Config::Method.new get_data_labeling_job_config list_data_labeling_jobs_config = parent_rpcs.list_data_labeling_jobs if parent_rpcs.respond_to? :list_data_labeling_jobs @list_data_labeling_jobs = ::Gapic::Config::Method.new list_data_labeling_jobs_config delete_data_labeling_job_config = parent_rpcs.delete_data_labeling_job if parent_rpcs.respond_to? :delete_data_labeling_job @delete_data_labeling_job = ::Gapic::Config::Method.new delete_data_labeling_job_config cancel_data_labeling_job_config = parent_rpcs.cancel_data_labeling_job if parent_rpcs.respond_to? :cancel_data_labeling_job @cancel_data_labeling_job = ::Gapic::Config::Method.new cancel_data_labeling_job_config create_hyperparameter_tuning_job_config = parent_rpcs.create_hyperparameter_tuning_job if parent_rpcs.respond_to? :create_hyperparameter_tuning_job @create_hyperparameter_tuning_job = ::Gapic::Config::Method.new create_hyperparameter_tuning_job_config get_hyperparameter_tuning_job_config = parent_rpcs.get_hyperparameter_tuning_job if parent_rpcs.respond_to? :get_hyperparameter_tuning_job @get_hyperparameter_tuning_job = ::Gapic::Config::Method.new get_hyperparameter_tuning_job_config list_hyperparameter_tuning_jobs_config = parent_rpcs.list_hyperparameter_tuning_jobs if parent_rpcs.respond_to? :list_hyperparameter_tuning_jobs @list_hyperparameter_tuning_jobs = ::Gapic::Config::Method.new list_hyperparameter_tuning_jobs_config delete_hyperparameter_tuning_job_config = parent_rpcs.delete_hyperparameter_tuning_job if parent_rpcs.respond_to? :delete_hyperparameter_tuning_job @delete_hyperparameter_tuning_job = ::Gapic::Config::Method.new delete_hyperparameter_tuning_job_config cancel_hyperparameter_tuning_job_config = parent_rpcs.cancel_hyperparameter_tuning_job if parent_rpcs.respond_to? :cancel_hyperparameter_tuning_job @cancel_hyperparameter_tuning_job = ::Gapic::Config::Method.new cancel_hyperparameter_tuning_job_config create_nas_job_config = parent_rpcs.create_nas_job if parent_rpcs.respond_to? :create_nas_job @create_nas_job = ::Gapic::Config::Method.new create_nas_job_config get_nas_job_config = parent_rpcs.get_nas_job if parent_rpcs.respond_to? :get_nas_job @get_nas_job = ::Gapic::Config::Method.new get_nas_job_config list_nas_jobs_config = parent_rpcs.list_nas_jobs if parent_rpcs.respond_to? :list_nas_jobs @list_nas_jobs = ::Gapic::Config::Method.new list_nas_jobs_config delete_nas_job_config = parent_rpcs.delete_nas_job if parent_rpcs.respond_to? :delete_nas_job @delete_nas_job = ::Gapic::Config::Method.new delete_nas_job_config cancel_nas_job_config = parent_rpcs.cancel_nas_job if parent_rpcs.respond_to? :cancel_nas_job @cancel_nas_job = ::Gapic::Config::Method.new cancel_nas_job_config get_nas_trial_detail_config = parent_rpcs.get_nas_trial_detail if parent_rpcs.respond_to? :get_nas_trial_detail @get_nas_trial_detail = ::Gapic::Config::Method.new get_nas_trial_detail_config list_nas_trial_details_config = parent_rpcs.list_nas_trial_details if parent_rpcs.respond_to? :list_nas_trial_details @list_nas_trial_details = ::Gapic::Config::Method.new list_nas_trial_details_config create_batch_prediction_job_config = parent_rpcs.create_batch_prediction_job if parent_rpcs.respond_to? :create_batch_prediction_job @create_batch_prediction_job = ::Gapic::Config::Method.new create_batch_prediction_job_config get_batch_prediction_job_config = parent_rpcs.get_batch_prediction_job if parent_rpcs.respond_to? :get_batch_prediction_job @get_batch_prediction_job = ::Gapic::Config::Method.new get_batch_prediction_job_config list_batch_prediction_jobs_config = parent_rpcs.list_batch_prediction_jobs if parent_rpcs.respond_to? :list_batch_prediction_jobs @list_batch_prediction_jobs = ::Gapic::Config::Method.new list_batch_prediction_jobs_config delete_batch_prediction_job_config = parent_rpcs.delete_batch_prediction_job if parent_rpcs.respond_to? :delete_batch_prediction_job @delete_batch_prediction_job = ::Gapic::Config::Method.new delete_batch_prediction_job_config cancel_batch_prediction_job_config = parent_rpcs.cancel_batch_prediction_job if parent_rpcs.respond_to? :cancel_batch_prediction_job @cancel_batch_prediction_job = ::Gapic::Config::Method.new cancel_batch_prediction_job_config create_model_deployment_monitoring_job_config = parent_rpcs.create_model_deployment_monitoring_job if parent_rpcs.respond_to? :create_model_deployment_monitoring_job @create_model_deployment_monitoring_job = ::Gapic::Config::Method.new create_model_deployment_monitoring_job_config search_model_deployment_monitoring_stats_anomalies_config = parent_rpcs.search_model_deployment_monitoring_stats_anomalies if parent_rpcs.respond_to? :search_model_deployment_monitoring_stats_anomalies @search_model_deployment_monitoring_stats_anomalies = ::Gapic::Config::Method.new search_model_deployment_monitoring_stats_anomalies_config get_model_deployment_monitoring_job_config = parent_rpcs.get_model_deployment_monitoring_job if parent_rpcs.respond_to? :get_model_deployment_monitoring_job @get_model_deployment_monitoring_job = ::Gapic::Config::Method.new get_model_deployment_monitoring_job_config list_model_deployment_monitoring_jobs_config = parent_rpcs.list_model_deployment_monitoring_jobs if parent_rpcs.respond_to? :list_model_deployment_monitoring_jobs @list_model_deployment_monitoring_jobs = ::Gapic::Config::Method.new list_model_deployment_monitoring_jobs_config update_model_deployment_monitoring_job_config = parent_rpcs.update_model_deployment_monitoring_job if parent_rpcs.respond_to? :update_model_deployment_monitoring_job @update_model_deployment_monitoring_job = ::Gapic::Config::Method.new update_model_deployment_monitoring_job_config delete_model_deployment_monitoring_job_config = parent_rpcs.delete_model_deployment_monitoring_job if parent_rpcs.respond_to? :delete_model_deployment_monitoring_job @delete_model_deployment_monitoring_job = ::Gapic::Config::Method.new delete_model_deployment_monitoring_job_config pause_model_deployment_monitoring_job_config = parent_rpcs.pause_model_deployment_monitoring_job if parent_rpcs.respond_to? :pause_model_deployment_monitoring_job @pause_model_deployment_monitoring_job = ::Gapic::Config::Method.new pause_model_deployment_monitoring_job_config resume_model_deployment_monitoring_job_config = parent_rpcs.resume_model_deployment_monitoring_job if parent_rpcs.respond_to? :resume_model_deployment_monitoring_job @resume_model_deployment_monitoring_job = ::Gapic::Config::Method.new resume_model_deployment_monitoring_job_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).
3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 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 |
# File 'lib/google/cloud/ai_platform/v1/job_service/client.rb', line 3776 class Configuration extend ::Gapic::Config # @private # The endpoint specific to the default "googleapis.com" universe. Deprecated. DEFAULT_ENDPOINT = "aiplatform.googleapis.com" config_attr :endpoint, nil, ::String, nil config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC 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 # @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 JobService 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_custom_job` # @return [::Gapic::Config::Method] # attr_reader :create_custom_job ## # RPC-specific configuration for `get_custom_job` # @return [::Gapic::Config::Method] # attr_reader :get_custom_job ## # RPC-specific configuration for `list_custom_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_custom_jobs ## # RPC-specific configuration for `delete_custom_job` # @return [::Gapic::Config::Method] # attr_reader :delete_custom_job ## # RPC-specific configuration for `cancel_custom_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_custom_job ## # RPC-specific configuration for `create_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :create_data_labeling_job ## # RPC-specific configuration for `get_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :get_data_labeling_job ## # RPC-specific configuration for `list_data_labeling_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_data_labeling_jobs ## # RPC-specific configuration for `delete_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :delete_data_labeling_job ## # RPC-specific configuration for `cancel_data_labeling_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_data_labeling_job ## # RPC-specific configuration for `create_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :create_hyperparameter_tuning_job ## # RPC-specific configuration for `get_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :get_hyperparameter_tuning_job ## # RPC-specific configuration for `list_hyperparameter_tuning_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_hyperparameter_tuning_jobs ## # RPC-specific configuration for `delete_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :delete_hyperparameter_tuning_job ## # RPC-specific configuration for `cancel_hyperparameter_tuning_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_hyperparameter_tuning_job ## # RPC-specific configuration for `create_nas_job` # @return [::Gapic::Config::Method] # attr_reader :create_nas_job ## # RPC-specific configuration for `get_nas_job` # @return [::Gapic::Config::Method] # attr_reader :get_nas_job ## # RPC-specific configuration for `list_nas_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_nas_jobs ## # RPC-specific configuration for `delete_nas_job` # @return [::Gapic::Config::Method] # attr_reader :delete_nas_job ## # RPC-specific configuration for `cancel_nas_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_nas_job ## # RPC-specific configuration for `get_nas_trial_detail` # @return [::Gapic::Config::Method] # attr_reader :get_nas_trial_detail ## # RPC-specific configuration for `list_nas_trial_details` # @return [::Gapic::Config::Method] # attr_reader :list_nas_trial_details ## # RPC-specific configuration for `create_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :create_batch_prediction_job ## # RPC-specific configuration for `get_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :get_batch_prediction_job ## # RPC-specific configuration for `list_batch_prediction_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_batch_prediction_jobs ## # RPC-specific configuration for `delete_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :delete_batch_prediction_job ## # RPC-specific configuration for `cancel_batch_prediction_job` # @return [::Gapic::Config::Method] # attr_reader :cancel_batch_prediction_job ## # RPC-specific configuration for `create_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :create_model_deployment_monitoring_job ## # RPC-specific configuration for `search_model_deployment_monitoring_stats_anomalies` # @return [::Gapic::Config::Method] # attr_reader :search_model_deployment_monitoring_stats_anomalies ## # RPC-specific configuration for `get_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :get_model_deployment_monitoring_job ## # RPC-specific configuration for `list_model_deployment_monitoring_jobs` # @return [::Gapic::Config::Method] # attr_reader :list_model_deployment_monitoring_jobs ## # RPC-specific configuration for `update_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :update_model_deployment_monitoring_job ## # RPC-specific configuration for `delete_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :delete_model_deployment_monitoring_job ## # RPC-specific configuration for `pause_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :pause_model_deployment_monitoring_job ## # RPC-specific configuration for `resume_model_deployment_monitoring_job` # @return [::Gapic::Config::Method] # attr_reader :resume_model_deployment_monitoring_job # @private def initialize parent_rpcs = nil create_custom_job_config = parent_rpcs.create_custom_job if parent_rpcs.respond_to? :create_custom_job @create_custom_job = ::Gapic::Config::Method.new create_custom_job_config get_custom_job_config = parent_rpcs.get_custom_job if parent_rpcs.respond_to? :get_custom_job @get_custom_job = ::Gapic::Config::Method.new get_custom_job_config list_custom_jobs_config = parent_rpcs.list_custom_jobs if parent_rpcs.respond_to? :list_custom_jobs @list_custom_jobs = ::Gapic::Config::Method.new list_custom_jobs_config delete_custom_job_config = parent_rpcs.delete_custom_job if parent_rpcs.respond_to? :delete_custom_job @delete_custom_job = ::Gapic::Config::Method.new delete_custom_job_config cancel_custom_job_config = parent_rpcs.cancel_custom_job if parent_rpcs.respond_to? :cancel_custom_job @cancel_custom_job = ::Gapic::Config::Method.new cancel_custom_job_config create_data_labeling_job_config = parent_rpcs.create_data_labeling_job if parent_rpcs.respond_to? :create_data_labeling_job @create_data_labeling_job = ::Gapic::Config::Method.new create_data_labeling_job_config get_data_labeling_job_config = parent_rpcs.get_data_labeling_job if parent_rpcs.respond_to? :get_data_labeling_job @get_data_labeling_job = ::Gapic::Config::Method.new get_data_labeling_job_config list_data_labeling_jobs_config = parent_rpcs.list_data_labeling_jobs if parent_rpcs.respond_to? :list_data_labeling_jobs @list_data_labeling_jobs = ::Gapic::Config::Method.new list_data_labeling_jobs_config delete_data_labeling_job_config = parent_rpcs.delete_data_labeling_job if parent_rpcs.respond_to? :delete_data_labeling_job @delete_data_labeling_job = ::Gapic::Config::Method.new delete_data_labeling_job_config cancel_data_labeling_job_config = parent_rpcs.cancel_data_labeling_job if parent_rpcs.respond_to? :cancel_data_labeling_job @cancel_data_labeling_job = ::Gapic::Config::Method.new cancel_data_labeling_job_config create_hyperparameter_tuning_job_config = parent_rpcs.create_hyperparameter_tuning_job if parent_rpcs.respond_to? :create_hyperparameter_tuning_job @create_hyperparameter_tuning_job = ::Gapic::Config::Method.new create_hyperparameter_tuning_job_config get_hyperparameter_tuning_job_config = parent_rpcs.get_hyperparameter_tuning_job if parent_rpcs.respond_to? :get_hyperparameter_tuning_job @get_hyperparameter_tuning_job = ::Gapic::Config::Method.new get_hyperparameter_tuning_job_config list_hyperparameter_tuning_jobs_config = parent_rpcs.list_hyperparameter_tuning_jobs if parent_rpcs.respond_to? :list_hyperparameter_tuning_jobs @list_hyperparameter_tuning_jobs = ::Gapic::Config::Method.new list_hyperparameter_tuning_jobs_config delete_hyperparameter_tuning_job_config = parent_rpcs.delete_hyperparameter_tuning_job if parent_rpcs.respond_to? :delete_hyperparameter_tuning_job @delete_hyperparameter_tuning_job = ::Gapic::Config::Method.new delete_hyperparameter_tuning_job_config cancel_hyperparameter_tuning_job_config = parent_rpcs.cancel_hyperparameter_tuning_job if parent_rpcs.respond_to? :cancel_hyperparameter_tuning_job @cancel_hyperparameter_tuning_job = ::Gapic::Config::Method.new cancel_hyperparameter_tuning_job_config create_nas_job_config = parent_rpcs.create_nas_job if parent_rpcs.respond_to? :create_nas_job @create_nas_job = ::Gapic::Config::Method.new create_nas_job_config get_nas_job_config = parent_rpcs.get_nas_job if parent_rpcs.respond_to? :get_nas_job @get_nas_job = ::Gapic::Config::Method.new get_nas_job_config list_nas_jobs_config = parent_rpcs.list_nas_jobs if parent_rpcs.respond_to? :list_nas_jobs @list_nas_jobs = ::Gapic::Config::Method.new list_nas_jobs_config delete_nas_job_config = parent_rpcs.delete_nas_job if parent_rpcs.respond_to? :delete_nas_job @delete_nas_job = ::Gapic::Config::Method.new delete_nas_job_config cancel_nas_job_config = parent_rpcs.cancel_nas_job if parent_rpcs.respond_to? :cancel_nas_job @cancel_nas_job = ::Gapic::Config::Method.new cancel_nas_job_config get_nas_trial_detail_config = parent_rpcs.get_nas_trial_detail if parent_rpcs.respond_to? :get_nas_trial_detail @get_nas_trial_detail = ::Gapic::Config::Method.new get_nas_trial_detail_config list_nas_trial_details_config = parent_rpcs.list_nas_trial_details if parent_rpcs.respond_to? :list_nas_trial_details @list_nas_trial_details = ::Gapic::Config::Method.new list_nas_trial_details_config create_batch_prediction_job_config = parent_rpcs.create_batch_prediction_job if parent_rpcs.respond_to? :create_batch_prediction_job @create_batch_prediction_job = ::Gapic::Config::Method.new create_batch_prediction_job_config get_batch_prediction_job_config = parent_rpcs.get_batch_prediction_job if parent_rpcs.respond_to? :get_batch_prediction_job @get_batch_prediction_job = ::Gapic::Config::Method.new get_batch_prediction_job_config list_batch_prediction_jobs_config = parent_rpcs.list_batch_prediction_jobs if parent_rpcs.respond_to? :list_batch_prediction_jobs @list_batch_prediction_jobs = ::Gapic::Config::Method.new list_batch_prediction_jobs_config delete_batch_prediction_job_config = parent_rpcs.delete_batch_prediction_job if parent_rpcs.respond_to? :delete_batch_prediction_job @delete_batch_prediction_job = ::Gapic::Config::Method.new delete_batch_prediction_job_config cancel_batch_prediction_job_config = parent_rpcs.cancel_batch_prediction_job if parent_rpcs.respond_to? :cancel_batch_prediction_job @cancel_batch_prediction_job = ::Gapic::Config::Method.new cancel_batch_prediction_job_config create_model_deployment_monitoring_job_config = parent_rpcs.create_model_deployment_monitoring_job if parent_rpcs.respond_to? :create_model_deployment_monitoring_job @create_model_deployment_monitoring_job = ::Gapic::Config::Method.new create_model_deployment_monitoring_job_config search_model_deployment_monitoring_stats_anomalies_config = parent_rpcs.search_model_deployment_monitoring_stats_anomalies if parent_rpcs.respond_to? :search_model_deployment_monitoring_stats_anomalies @search_model_deployment_monitoring_stats_anomalies = ::Gapic::Config::Method.new search_model_deployment_monitoring_stats_anomalies_config get_model_deployment_monitoring_job_config = parent_rpcs.get_model_deployment_monitoring_job if parent_rpcs.respond_to? :get_model_deployment_monitoring_job @get_model_deployment_monitoring_job = ::Gapic::Config::Method.new get_model_deployment_monitoring_job_config list_model_deployment_monitoring_jobs_config = parent_rpcs.list_model_deployment_monitoring_jobs if parent_rpcs.respond_to? :list_model_deployment_monitoring_jobs @list_model_deployment_monitoring_jobs = ::Gapic::Config::Method.new list_model_deployment_monitoring_jobs_config update_model_deployment_monitoring_job_config = parent_rpcs.update_model_deployment_monitoring_job if parent_rpcs.respond_to? :update_model_deployment_monitoring_job @update_model_deployment_monitoring_job = ::Gapic::Config::Method.new update_model_deployment_monitoring_job_config delete_model_deployment_monitoring_job_config = parent_rpcs.delete_model_deployment_monitoring_job if parent_rpcs.respond_to? :delete_model_deployment_monitoring_job @delete_model_deployment_monitoring_job = ::Gapic::Config::Method.new delete_model_deployment_monitoring_job_config pause_model_deployment_monitoring_job_config = parent_rpcs.pause_model_deployment_monitoring_job if parent_rpcs.respond_to? :pause_model_deployment_monitoring_job @pause_model_deployment_monitoring_job = ::Gapic::Config::Method.new pause_model_deployment_monitoring_job_config resume_model_deployment_monitoring_job_config = parent_rpcs.resume_model_deployment_monitoring_job if parent_rpcs.respond_to? :resume_model_deployment_monitoring_job @resume_model_deployment_monitoring_job = ::Gapic::Config::Method.new resume_model_deployment_monitoring_job_config yield self if block_given? end end end |
Instance Method Details
#channel_pool ⇒ ::Gapic::ServiceStub::ChannelPool::Configuration
Configuration for the channel pool
3823 3824 3825 |
# File 'lib/google/cloud/ai_platform/v1/job_service/client.rb', line 3823 def channel_pool @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new end |
#rpcs ⇒ Rpcs
Configurations for individual RPCs
3811 3812 3813 3814 3815 3816 3817 |
# File 'lib/google/cloud/ai_platform/v1/job_service/client.rb', line 3811 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 |