Class: Google::Cloud::Dataform::V1beta1::Dataform::Rest::Client::Configuration
- Inherits:
-
Object
- Object
- Google::Cloud::Dataform::V1beta1::Dataform::Rest::Client::Configuration
- Extended by:
- Gapic::Config
- Defined in:
- lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb
Overview
Configuration class for the Dataform REST API.
This class represents the configuration for Dataform REST, providing control over timeouts, retry behavior, logging, transport parameters, and other low-level controls. Certain parameters can also be applied individually to specific RPCs. See Rpcs for a list of RPCs that can be configured independently.
Configuration can be applied globally to all clients, or to a single client on construction.
Defined Under Namespace
Classes: Rpcs
Constant Summary collapse
- DEFAULT_ENDPOINT =
"dataform.googleapis.com"
Instance Attribute Summary collapse
-
#credentials ⇒ ::Object
Credentials to send with calls.
-
#endpoint ⇒ ::String
The hostname or hostname:port of the service endpoint.
-
#lib_name ⇒ ::String
The library name as recorded in instrumentation and logging.
-
#lib_version ⇒ ::String
The library version as recorded in instrumentation and logging.
-
#metadata ⇒ ::Hash{::Symbol=>::String}
Additional headers to be sent with the call.
-
#quota_project ⇒ ::String
A separate project against which to charge quota.
-
#retry_policy ⇒ ::Hash
The retry policy.
-
#scope ⇒ ::Array<::String>
The OAuth scopes.
-
#timeout ⇒ ::Numeric
The call timeout in seconds.
Instance Method Summary collapse
-
#rpcs ⇒ Rpcs
Configurations for individual RPCs.
Instance Attribute Details
#credentials ⇒ ::Object
Credentials to send with calls. You may provide any of the following types:
- (
String) The path to a service account key file in JSON format - (
Hash) A service account key as a Hash - (
Google::Auth::Credentials) A googleauth credentials object (see the googleauth docs) - (
Signet::OAuth2::Client) A signet oauth2 client object (see the signet docs) - (
nil) indicating no credentials
2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 |
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 2645 class Configuration extend ::Gapic::Config DEFAULT_ENDPOINT = "dataform.googleapis.com" config_attr :endpoint, DEFAULT_ENDPOINT, ::String config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil # @private # Overrides for http bindings for the RPCs of this service # are only used when this service is used as mixin, and only # by the host service. # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}] config_attr :bindings_override, {}, ::Hash, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the Dataform API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `list_repositories` # @return [::Gapic::Config::Method] # attr_reader :list_repositories ## # RPC-specific configuration for `get_repository` # @return [::Gapic::Config::Method] # attr_reader :get_repository ## # RPC-specific configuration for `create_repository` # @return [::Gapic::Config::Method] # attr_reader :create_repository ## # RPC-specific configuration for `update_repository` # @return [::Gapic::Config::Method] # attr_reader :update_repository ## # RPC-specific configuration for `delete_repository` # @return [::Gapic::Config::Method] # attr_reader :delete_repository ## # RPC-specific configuration for `fetch_remote_branches` # @return [::Gapic::Config::Method] # attr_reader :fetch_remote_branches ## # RPC-specific configuration for `list_workspaces` # @return [::Gapic::Config::Method] # attr_reader :list_workspaces ## # RPC-specific configuration for `get_workspace` # @return [::Gapic::Config::Method] # attr_reader :get_workspace ## # RPC-specific configuration for `create_workspace` # @return [::Gapic::Config::Method] # attr_reader :create_workspace ## # RPC-specific configuration for `delete_workspace` # @return [::Gapic::Config::Method] # attr_reader :delete_workspace ## # RPC-specific configuration for `install_npm_packages` # @return [::Gapic::Config::Method] # attr_reader :install_npm_packages ## # RPC-specific configuration for `pull_git_commits` # @return [::Gapic::Config::Method] # attr_reader :pull_git_commits ## # RPC-specific configuration for `push_git_commits` # @return [::Gapic::Config::Method] # attr_reader :push_git_commits ## # RPC-specific configuration for `fetch_file_git_statuses` # @return [::Gapic::Config::Method] # attr_reader :fetch_file_git_statuses ## # RPC-specific configuration for `fetch_git_ahead_behind` # @return [::Gapic::Config::Method] # attr_reader :fetch_git_ahead_behind ## # RPC-specific configuration for `commit_workspace_changes` # @return [::Gapic::Config::Method] # attr_reader :commit_workspace_changes ## # RPC-specific configuration for `reset_workspace_changes` # @return [::Gapic::Config::Method] # attr_reader :reset_workspace_changes ## # RPC-specific configuration for `fetch_file_diff` # @return [::Gapic::Config::Method] # attr_reader :fetch_file_diff ## # RPC-specific configuration for `query_directory_contents` # @return [::Gapic::Config::Method] # attr_reader :query_directory_contents ## # RPC-specific configuration for `make_directory` # @return [::Gapic::Config::Method] # attr_reader :make_directory ## # RPC-specific configuration for `remove_directory` # @return [::Gapic::Config::Method] # attr_reader :remove_directory ## # RPC-specific configuration for `move_directory` # @return [::Gapic::Config::Method] # attr_reader :move_directory ## # RPC-specific configuration for `read_file` # @return [::Gapic::Config::Method] # attr_reader :read_file ## # RPC-specific configuration for `remove_file` # @return [::Gapic::Config::Method] # attr_reader :remove_file ## # RPC-specific configuration for `move_file` # @return [::Gapic::Config::Method] # attr_reader :move_file ## # RPC-specific configuration for `write_file` # @return [::Gapic::Config::Method] # attr_reader :write_file ## # RPC-specific configuration for `list_compilation_results` # @return [::Gapic::Config::Method] # attr_reader :list_compilation_results ## # RPC-specific configuration for `get_compilation_result` # @return [::Gapic::Config::Method] # attr_reader :get_compilation_result ## # RPC-specific configuration for `create_compilation_result` # @return [::Gapic::Config::Method] # attr_reader :create_compilation_result ## # RPC-specific configuration for `query_compilation_result_actions` # @return [::Gapic::Config::Method] # attr_reader :query_compilation_result_actions ## # RPC-specific configuration for `list_workflow_invocations` # @return [::Gapic::Config::Method] # attr_reader :list_workflow_invocations ## # RPC-specific configuration for `get_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :get_workflow_invocation ## # RPC-specific configuration for `create_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :create_workflow_invocation ## # RPC-specific configuration for `delete_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :delete_workflow_invocation ## # RPC-specific configuration for `cancel_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :cancel_workflow_invocation ## # RPC-specific configuration for `query_workflow_invocation_actions` # @return [::Gapic::Config::Method] # attr_reader :query_workflow_invocation_actions # @private def initialize parent_rpcs = nil list_repositories_config = parent_rpcs.list_repositories if parent_rpcs.respond_to? :list_repositories @list_repositories = ::Gapic::Config::Method.new list_repositories_config get_repository_config = parent_rpcs.get_repository if parent_rpcs.respond_to? :get_repository @get_repository = ::Gapic::Config::Method.new get_repository_config create_repository_config = parent_rpcs.create_repository if parent_rpcs.respond_to? :create_repository @create_repository = ::Gapic::Config::Method.new create_repository_config update_repository_config = parent_rpcs.update_repository if parent_rpcs.respond_to? :update_repository @update_repository = ::Gapic::Config::Method.new update_repository_config delete_repository_config = parent_rpcs.delete_repository if parent_rpcs.respond_to? :delete_repository @delete_repository = ::Gapic::Config::Method.new delete_repository_config fetch_remote_branches_config = parent_rpcs.fetch_remote_branches if parent_rpcs.respond_to? :fetch_remote_branches @fetch_remote_branches = ::Gapic::Config::Method.new fetch_remote_branches_config list_workspaces_config = parent_rpcs.list_workspaces if parent_rpcs.respond_to? :list_workspaces @list_workspaces = ::Gapic::Config::Method.new list_workspaces_config get_workspace_config = parent_rpcs.get_workspace if parent_rpcs.respond_to? :get_workspace @get_workspace = ::Gapic::Config::Method.new get_workspace_config create_workspace_config = parent_rpcs.create_workspace if parent_rpcs.respond_to? :create_workspace @create_workspace = ::Gapic::Config::Method.new create_workspace_config delete_workspace_config = parent_rpcs.delete_workspace if parent_rpcs.respond_to? :delete_workspace @delete_workspace = ::Gapic::Config::Method.new delete_workspace_config install_npm_packages_config = parent_rpcs.install_npm_packages if parent_rpcs.respond_to? :install_npm_packages @install_npm_packages = ::Gapic::Config::Method.new install_npm_packages_config pull_git_commits_config = parent_rpcs.pull_git_commits if parent_rpcs.respond_to? :pull_git_commits @pull_git_commits = ::Gapic::Config::Method.new pull_git_commits_config push_git_commits_config = parent_rpcs.push_git_commits if parent_rpcs.respond_to? :push_git_commits @push_git_commits = ::Gapic::Config::Method.new push_git_commits_config fetch_file_git_statuses_config = parent_rpcs.fetch_file_git_statuses if parent_rpcs.respond_to? :fetch_file_git_statuses @fetch_file_git_statuses = ::Gapic::Config::Method.new fetch_file_git_statuses_config fetch_git_ahead_behind_config = parent_rpcs.fetch_git_ahead_behind if parent_rpcs.respond_to? :fetch_git_ahead_behind @fetch_git_ahead_behind = ::Gapic::Config::Method.new fetch_git_ahead_behind_config commit_workspace_changes_config = parent_rpcs.commit_workspace_changes if parent_rpcs.respond_to? :commit_workspace_changes @commit_workspace_changes = ::Gapic::Config::Method.new commit_workspace_changes_config reset_workspace_changes_config = parent_rpcs.reset_workspace_changes if parent_rpcs.respond_to? :reset_workspace_changes @reset_workspace_changes = ::Gapic::Config::Method.new reset_workspace_changes_config fetch_file_diff_config = parent_rpcs.fetch_file_diff if parent_rpcs.respond_to? :fetch_file_diff @fetch_file_diff = ::Gapic::Config::Method.new fetch_file_diff_config query_directory_contents_config = parent_rpcs.query_directory_contents if parent_rpcs.respond_to? :query_directory_contents @query_directory_contents = ::Gapic::Config::Method.new query_directory_contents_config make_directory_config = parent_rpcs.make_directory if parent_rpcs.respond_to? :make_directory @make_directory = ::Gapic::Config::Method.new make_directory_config remove_directory_config = parent_rpcs.remove_directory if parent_rpcs.respond_to? :remove_directory @remove_directory = ::Gapic::Config::Method.new remove_directory_config move_directory_config = parent_rpcs.move_directory if parent_rpcs.respond_to? :move_directory @move_directory = ::Gapic::Config::Method.new move_directory_config read_file_config = parent_rpcs.read_file if parent_rpcs.respond_to? :read_file @read_file = ::Gapic::Config::Method.new read_file_config remove_file_config = parent_rpcs.remove_file if parent_rpcs.respond_to? :remove_file @remove_file = ::Gapic::Config::Method.new remove_file_config move_file_config = parent_rpcs.move_file if parent_rpcs.respond_to? :move_file @move_file = ::Gapic::Config::Method.new move_file_config write_file_config = parent_rpcs.write_file if parent_rpcs.respond_to? :write_file @write_file = ::Gapic::Config::Method.new write_file_config list_compilation_results_config = parent_rpcs.list_compilation_results if parent_rpcs.respond_to? :list_compilation_results @list_compilation_results = ::Gapic::Config::Method.new list_compilation_results_config get_compilation_result_config = parent_rpcs.get_compilation_result if parent_rpcs.respond_to? :get_compilation_result @get_compilation_result = ::Gapic::Config::Method.new get_compilation_result_config create_compilation_result_config = parent_rpcs.create_compilation_result if parent_rpcs.respond_to? :create_compilation_result @create_compilation_result = ::Gapic::Config::Method.new create_compilation_result_config query_compilation_result_actions_config = parent_rpcs.query_compilation_result_actions if parent_rpcs.respond_to? :query_compilation_result_actions @query_compilation_result_actions = ::Gapic::Config::Method.new query_compilation_result_actions_config list_workflow_invocations_config = parent_rpcs.list_workflow_invocations if parent_rpcs.respond_to? :list_workflow_invocations @list_workflow_invocations = ::Gapic::Config::Method.new list_workflow_invocations_config get_workflow_invocation_config = parent_rpcs.get_workflow_invocation if parent_rpcs.respond_to? :get_workflow_invocation @get_workflow_invocation = ::Gapic::Config::Method.new get_workflow_invocation_config create_workflow_invocation_config = parent_rpcs.create_workflow_invocation if parent_rpcs.respond_to? :create_workflow_invocation @create_workflow_invocation = ::Gapic::Config::Method.new create_workflow_invocation_config delete_workflow_invocation_config = parent_rpcs.delete_workflow_invocation if parent_rpcs.respond_to? :delete_workflow_invocation @delete_workflow_invocation = ::Gapic::Config::Method.new delete_workflow_invocation_config cancel_workflow_invocation_config = parent_rpcs.cancel_workflow_invocation if parent_rpcs.respond_to? :cancel_workflow_invocation @cancel_workflow_invocation = ::Gapic::Config::Method.new cancel_workflow_invocation_config query_workflow_invocation_actions_config = parent_rpcs.query_workflow_invocation_actions if parent_rpcs.respond_to? :query_workflow_invocation_actions @query_workflow_invocation_actions = ::Gapic::Config::Method.new query_workflow_invocation_actions_config yield self if block_given? end end end |
#endpoint ⇒ ::String
The hostname or hostname:port of the service endpoint.
Defaults to "dataform.googleapis.com".
2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 |
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 2645 class Configuration extend ::Gapic::Config DEFAULT_ENDPOINT = "dataform.googleapis.com" config_attr :endpoint, DEFAULT_ENDPOINT, ::String config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil # @private # Overrides for http bindings for the RPCs of this service # are only used when this service is used as mixin, and only # by the host service. # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}] config_attr :bindings_override, {}, ::Hash, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the Dataform API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `list_repositories` # @return [::Gapic::Config::Method] # attr_reader :list_repositories ## # RPC-specific configuration for `get_repository` # @return [::Gapic::Config::Method] # attr_reader :get_repository ## # RPC-specific configuration for `create_repository` # @return [::Gapic::Config::Method] # attr_reader :create_repository ## # RPC-specific configuration for `update_repository` # @return [::Gapic::Config::Method] # attr_reader :update_repository ## # RPC-specific configuration for `delete_repository` # @return [::Gapic::Config::Method] # attr_reader :delete_repository ## # RPC-specific configuration for `fetch_remote_branches` # @return [::Gapic::Config::Method] # attr_reader :fetch_remote_branches ## # RPC-specific configuration for `list_workspaces` # @return [::Gapic::Config::Method] # attr_reader :list_workspaces ## # RPC-specific configuration for `get_workspace` # @return [::Gapic::Config::Method] # attr_reader :get_workspace ## # RPC-specific configuration for `create_workspace` # @return [::Gapic::Config::Method] # attr_reader :create_workspace ## # RPC-specific configuration for `delete_workspace` # @return [::Gapic::Config::Method] # attr_reader :delete_workspace ## # RPC-specific configuration for `install_npm_packages` # @return [::Gapic::Config::Method] # attr_reader :install_npm_packages ## # RPC-specific configuration for `pull_git_commits` # @return [::Gapic::Config::Method] # attr_reader :pull_git_commits ## # RPC-specific configuration for `push_git_commits` # @return [::Gapic::Config::Method] # attr_reader :push_git_commits ## # RPC-specific configuration for `fetch_file_git_statuses` # @return [::Gapic::Config::Method] # attr_reader :fetch_file_git_statuses ## # RPC-specific configuration for `fetch_git_ahead_behind` # @return [::Gapic::Config::Method] # attr_reader :fetch_git_ahead_behind ## # RPC-specific configuration for `commit_workspace_changes` # @return [::Gapic::Config::Method] # attr_reader :commit_workspace_changes ## # RPC-specific configuration for `reset_workspace_changes` # @return [::Gapic::Config::Method] # attr_reader :reset_workspace_changes ## # RPC-specific configuration for `fetch_file_diff` # @return [::Gapic::Config::Method] # attr_reader :fetch_file_diff ## # RPC-specific configuration for `query_directory_contents` # @return [::Gapic::Config::Method] # attr_reader :query_directory_contents ## # RPC-specific configuration for `make_directory` # @return [::Gapic::Config::Method] # attr_reader :make_directory ## # RPC-specific configuration for `remove_directory` # @return [::Gapic::Config::Method] # attr_reader :remove_directory ## # RPC-specific configuration for `move_directory` # @return [::Gapic::Config::Method] # attr_reader :move_directory ## # RPC-specific configuration for `read_file` # @return [::Gapic::Config::Method] # attr_reader :read_file ## # RPC-specific configuration for `remove_file` # @return [::Gapic::Config::Method] # attr_reader :remove_file ## # RPC-specific configuration for `move_file` # @return [::Gapic::Config::Method] # attr_reader :move_file ## # RPC-specific configuration for `write_file` # @return [::Gapic::Config::Method] # attr_reader :write_file ## # RPC-specific configuration for `list_compilation_results` # @return [::Gapic::Config::Method] # attr_reader :list_compilation_results ## # RPC-specific configuration for `get_compilation_result` # @return [::Gapic::Config::Method] # attr_reader :get_compilation_result ## # RPC-specific configuration for `create_compilation_result` # @return [::Gapic::Config::Method] # attr_reader :create_compilation_result ## # RPC-specific configuration for `query_compilation_result_actions` # @return [::Gapic::Config::Method] # attr_reader :query_compilation_result_actions ## # RPC-specific configuration for `list_workflow_invocations` # @return [::Gapic::Config::Method] # attr_reader :list_workflow_invocations ## # RPC-specific configuration for `get_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :get_workflow_invocation ## # RPC-specific configuration for `create_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :create_workflow_invocation ## # RPC-specific configuration for `delete_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :delete_workflow_invocation ## # RPC-specific configuration for `cancel_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :cancel_workflow_invocation ## # RPC-specific configuration for `query_workflow_invocation_actions` # @return [::Gapic::Config::Method] # attr_reader :query_workflow_invocation_actions # @private def initialize parent_rpcs = nil list_repositories_config = parent_rpcs.list_repositories if parent_rpcs.respond_to? :list_repositories @list_repositories = ::Gapic::Config::Method.new list_repositories_config get_repository_config = parent_rpcs.get_repository if parent_rpcs.respond_to? :get_repository @get_repository = ::Gapic::Config::Method.new get_repository_config create_repository_config = parent_rpcs.create_repository if parent_rpcs.respond_to? :create_repository @create_repository = ::Gapic::Config::Method.new create_repository_config update_repository_config = parent_rpcs.update_repository if parent_rpcs.respond_to? :update_repository @update_repository = ::Gapic::Config::Method.new update_repository_config delete_repository_config = parent_rpcs.delete_repository if parent_rpcs.respond_to? :delete_repository @delete_repository = ::Gapic::Config::Method.new delete_repository_config fetch_remote_branches_config = parent_rpcs.fetch_remote_branches if parent_rpcs.respond_to? :fetch_remote_branches @fetch_remote_branches = ::Gapic::Config::Method.new fetch_remote_branches_config list_workspaces_config = parent_rpcs.list_workspaces if parent_rpcs.respond_to? :list_workspaces @list_workspaces = ::Gapic::Config::Method.new list_workspaces_config get_workspace_config = parent_rpcs.get_workspace if parent_rpcs.respond_to? :get_workspace @get_workspace = ::Gapic::Config::Method.new get_workspace_config create_workspace_config = parent_rpcs.create_workspace if parent_rpcs.respond_to? :create_workspace @create_workspace = ::Gapic::Config::Method.new create_workspace_config delete_workspace_config = parent_rpcs.delete_workspace if parent_rpcs.respond_to? :delete_workspace @delete_workspace = ::Gapic::Config::Method.new delete_workspace_config install_npm_packages_config = parent_rpcs.install_npm_packages if parent_rpcs.respond_to? :install_npm_packages @install_npm_packages = ::Gapic::Config::Method.new install_npm_packages_config pull_git_commits_config = parent_rpcs.pull_git_commits if parent_rpcs.respond_to? :pull_git_commits @pull_git_commits = ::Gapic::Config::Method.new pull_git_commits_config push_git_commits_config = parent_rpcs.push_git_commits if parent_rpcs.respond_to? :push_git_commits @push_git_commits = ::Gapic::Config::Method.new push_git_commits_config fetch_file_git_statuses_config = parent_rpcs.fetch_file_git_statuses if parent_rpcs.respond_to? :fetch_file_git_statuses @fetch_file_git_statuses = ::Gapic::Config::Method.new fetch_file_git_statuses_config fetch_git_ahead_behind_config = parent_rpcs.fetch_git_ahead_behind if parent_rpcs.respond_to? :fetch_git_ahead_behind @fetch_git_ahead_behind = ::Gapic::Config::Method.new fetch_git_ahead_behind_config commit_workspace_changes_config = parent_rpcs.commit_workspace_changes if parent_rpcs.respond_to? :commit_workspace_changes @commit_workspace_changes = ::Gapic::Config::Method.new commit_workspace_changes_config reset_workspace_changes_config = parent_rpcs.reset_workspace_changes if parent_rpcs.respond_to? :reset_workspace_changes @reset_workspace_changes = ::Gapic::Config::Method.new reset_workspace_changes_config fetch_file_diff_config = parent_rpcs.fetch_file_diff if parent_rpcs.respond_to? :fetch_file_diff @fetch_file_diff = ::Gapic::Config::Method.new fetch_file_diff_config query_directory_contents_config = parent_rpcs.query_directory_contents if parent_rpcs.respond_to? :query_directory_contents @query_directory_contents = ::Gapic::Config::Method.new query_directory_contents_config make_directory_config = parent_rpcs.make_directory if parent_rpcs.respond_to? :make_directory @make_directory = ::Gapic::Config::Method.new make_directory_config remove_directory_config = parent_rpcs.remove_directory if parent_rpcs.respond_to? :remove_directory @remove_directory = ::Gapic::Config::Method.new remove_directory_config move_directory_config = parent_rpcs.move_directory if parent_rpcs.respond_to? :move_directory @move_directory = ::Gapic::Config::Method.new move_directory_config read_file_config = parent_rpcs.read_file if parent_rpcs.respond_to? :read_file @read_file = ::Gapic::Config::Method.new read_file_config remove_file_config = parent_rpcs.remove_file if parent_rpcs.respond_to? :remove_file @remove_file = ::Gapic::Config::Method.new remove_file_config move_file_config = parent_rpcs.move_file if parent_rpcs.respond_to? :move_file @move_file = ::Gapic::Config::Method.new move_file_config write_file_config = parent_rpcs.write_file if parent_rpcs.respond_to? :write_file @write_file = ::Gapic::Config::Method.new write_file_config list_compilation_results_config = parent_rpcs.list_compilation_results if parent_rpcs.respond_to? :list_compilation_results @list_compilation_results = ::Gapic::Config::Method.new list_compilation_results_config get_compilation_result_config = parent_rpcs.get_compilation_result if parent_rpcs.respond_to? :get_compilation_result @get_compilation_result = ::Gapic::Config::Method.new get_compilation_result_config create_compilation_result_config = parent_rpcs.create_compilation_result if parent_rpcs.respond_to? :create_compilation_result @create_compilation_result = ::Gapic::Config::Method.new create_compilation_result_config query_compilation_result_actions_config = parent_rpcs.query_compilation_result_actions if parent_rpcs.respond_to? :query_compilation_result_actions @query_compilation_result_actions = ::Gapic::Config::Method.new query_compilation_result_actions_config list_workflow_invocations_config = parent_rpcs.list_workflow_invocations if parent_rpcs.respond_to? :list_workflow_invocations @list_workflow_invocations = ::Gapic::Config::Method.new list_workflow_invocations_config get_workflow_invocation_config = parent_rpcs.get_workflow_invocation if parent_rpcs.respond_to? :get_workflow_invocation @get_workflow_invocation = ::Gapic::Config::Method.new get_workflow_invocation_config create_workflow_invocation_config = parent_rpcs.create_workflow_invocation if parent_rpcs.respond_to? :create_workflow_invocation @create_workflow_invocation = ::Gapic::Config::Method.new create_workflow_invocation_config delete_workflow_invocation_config = parent_rpcs.delete_workflow_invocation if parent_rpcs.respond_to? :delete_workflow_invocation @delete_workflow_invocation = ::Gapic::Config::Method.new delete_workflow_invocation_config cancel_workflow_invocation_config = parent_rpcs.cancel_workflow_invocation if parent_rpcs.respond_to? :cancel_workflow_invocation @cancel_workflow_invocation = ::Gapic::Config::Method.new cancel_workflow_invocation_config query_workflow_invocation_actions_config = parent_rpcs.query_workflow_invocation_actions if parent_rpcs.respond_to? :query_workflow_invocation_actions @query_workflow_invocation_actions = ::Gapic::Config::Method.new query_workflow_invocation_actions_config yield self if block_given? end end end |
#lib_name ⇒ ::String
The library name as recorded in instrumentation and logging
2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 |
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 2645 class Configuration extend ::Gapic::Config DEFAULT_ENDPOINT = "dataform.googleapis.com" config_attr :endpoint, DEFAULT_ENDPOINT, ::String config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil # @private # Overrides for http bindings for the RPCs of this service # are only used when this service is used as mixin, and only # by the host service. # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}] config_attr :bindings_override, {}, ::Hash, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the Dataform API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `list_repositories` # @return [::Gapic::Config::Method] # attr_reader :list_repositories ## # RPC-specific configuration for `get_repository` # @return [::Gapic::Config::Method] # attr_reader :get_repository ## # RPC-specific configuration for `create_repository` # @return [::Gapic::Config::Method] # attr_reader :create_repository ## # RPC-specific configuration for `update_repository` # @return [::Gapic::Config::Method] # attr_reader :update_repository ## # RPC-specific configuration for `delete_repository` # @return [::Gapic::Config::Method] # attr_reader :delete_repository ## # RPC-specific configuration for `fetch_remote_branches` # @return [::Gapic::Config::Method] # attr_reader :fetch_remote_branches ## # RPC-specific configuration for `list_workspaces` # @return [::Gapic::Config::Method] # attr_reader :list_workspaces ## # RPC-specific configuration for `get_workspace` # @return [::Gapic::Config::Method] # attr_reader :get_workspace ## # RPC-specific configuration for `create_workspace` # @return [::Gapic::Config::Method] # attr_reader :create_workspace ## # RPC-specific configuration for `delete_workspace` # @return [::Gapic::Config::Method] # attr_reader :delete_workspace ## # RPC-specific configuration for `install_npm_packages` # @return [::Gapic::Config::Method] # attr_reader :install_npm_packages ## # RPC-specific configuration for `pull_git_commits` # @return [::Gapic::Config::Method] # attr_reader :pull_git_commits ## # RPC-specific configuration for `push_git_commits` # @return [::Gapic::Config::Method] # attr_reader :push_git_commits ## # RPC-specific configuration for `fetch_file_git_statuses` # @return [::Gapic::Config::Method] # attr_reader :fetch_file_git_statuses ## # RPC-specific configuration for `fetch_git_ahead_behind` # @return [::Gapic::Config::Method] # attr_reader :fetch_git_ahead_behind ## # RPC-specific configuration for `commit_workspace_changes` # @return [::Gapic::Config::Method] # attr_reader :commit_workspace_changes ## # RPC-specific configuration for `reset_workspace_changes` # @return [::Gapic::Config::Method] # attr_reader :reset_workspace_changes ## # RPC-specific configuration for `fetch_file_diff` # @return [::Gapic::Config::Method] # attr_reader :fetch_file_diff ## # RPC-specific configuration for `query_directory_contents` # @return [::Gapic::Config::Method] # attr_reader :query_directory_contents ## # RPC-specific configuration for `make_directory` # @return [::Gapic::Config::Method] # attr_reader :make_directory ## # RPC-specific configuration for `remove_directory` # @return [::Gapic::Config::Method] # attr_reader :remove_directory ## # RPC-specific configuration for `move_directory` # @return [::Gapic::Config::Method] # attr_reader :move_directory ## # RPC-specific configuration for `read_file` # @return [::Gapic::Config::Method] # attr_reader :read_file ## # RPC-specific configuration for `remove_file` # @return [::Gapic::Config::Method] # attr_reader :remove_file ## # RPC-specific configuration for `move_file` # @return [::Gapic::Config::Method] # attr_reader :move_file ## # RPC-specific configuration for `write_file` # @return [::Gapic::Config::Method] # attr_reader :write_file ## # RPC-specific configuration for `list_compilation_results` # @return [::Gapic::Config::Method] # attr_reader :list_compilation_results ## # RPC-specific configuration for `get_compilation_result` # @return [::Gapic::Config::Method] # attr_reader :get_compilation_result ## # RPC-specific configuration for `create_compilation_result` # @return [::Gapic::Config::Method] # attr_reader :create_compilation_result ## # RPC-specific configuration for `query_compilation_result_actions` # @return [::Gapic::Config::Method] # attr_reader :query_compilation_result_actions ## # RPC-specific configuration for `list_workflow_invocations` # @return [::Gapic::Config::Method] # attr_reader :list_workflow_invocations ## # RPC-specific configuration for `get_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :get_workflow_invocation ## # RPC-specific configuration for `create_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :create_workflow_invocation ## # RPC-specific configuration for `delete_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :delete_workflow_invocation ## # RPC-specific configuration for `cancel_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :cancel_workflow_invocation ## # RPC-specific configuration for `query_workflow_invocation_actions` # @return [::Gapic::Config::Method] # attr_reader :query_workflow_invocation_actions # @private def initialize parent_rpcs = nil list_repositories_config = parent_rpcs.list_repositories if parent_rpcs.respond_to? :list_repositories @list_repositories = ::Gapic::Config::Method.new list_repositories_config get_repository_config = parent_rpcs.get_repository if parent_rpcs.respond_to? :get_repository @get_repository = ::Gapic::Config::Method.new get_repository_config create_repository_config = parent_rpcs.create_repository if parent_rpcs.respond_to? :create_repository @create_repository = ::Gapic::Config::Method.new create_repository_config update_repository_config = parent_rpcs.update_repository if parent_rpcs.respond_to? :update_repository @update_repository = ::Gapic::Config::Method.new update_repository_config delete_repository_config = parent_rpcs.delete_repository if parent_rpcs.respond_to? :delete_repository @delete_repository = ::Gapic::Config::Method.new delete_repository_config fetch_remote_branches_config = parent_rpcs.fetch_remote_branches if parent_rpcs.respond_to? :fetch_remote_branches @fetch_remote_branches = ::Gapic::Config::Method.new fetch_remote_branches_config list_workspaces_config = parent_rpcs.list_workspaces if parent_rpcs.respond_to? :list_workspaces @list_workspaces = ::Gapic::Config::Method.new list_workspaces_config get_workspace_config = parent_rpcs.get_workspace if parent_rpcs.respond_to? :get_workspace @get_workspace = ::Gapic::Config::Method.new get_workspace_config create_workspace_config = parent_rpcs.create_workspace if parent_rpcs.respond_to? :create_workspace @create_workspace = ::Gapic::Config::Method.new create_workspace_config delete_workspace_config = parent_rpcs.delete_workspace if parent_rpcs.respond_to? :delete_workspace @delete_workspace = ::Gapic::Config::Method.new delete_workspace_config install_npm_packages_config = parent_rpcs.install_npm_packages if parent_rpcs.respond_to? :install_npm_packages @install_npm_packages = ::Gapic::Config::Method.new install_npm_packages_config pull_git_commits_config = parent_rpcs.pull_git_commits if parent_rpcs.respond_to? :pull_git_commits @pull_git_commits = ::Gapic::Config::Method.new pull_git_commits_config push_git_commits_config = parent_rpcs.push_git_commits if parent_rpcs.respond_to? :push_git_commits @push_git_commits = ::Gapic::Config::Method.new push_git_commits_config fetch_file_git_statuses_config = parent_rpcs.fetch_file_git_statuses if parent_rpcs.respond_to? :fetch_file_git_statuses @fetch_file_git_statuses = ::Gapic::Config::Method.new fetch_file_git_statuses_config fetch_git_ahead_behind_config = parent_rpcs.fetch_git_ahead_behind if parent_rpcs.respond_to? :fetch_git_ahead_behind @fetch_git_ahead_behind = ::Gapic::Config::Method.new fetch_git_ahead_behind_config commit_workspace_changes_config = parent_rpcs.commit_workspace_changes if parent_rpcs.respond_to? :commit_workspace_changes @commit_workspace_changes = ::Gapic::Config::Method.new commit_workspace_changes_config reset_workspace_changes_config = parent_rpcs.reset_workspace_changes if parent_rpcs.respond_to? :reset_workspace_changes @reset_workspace_changes = ::Gapic::Config::Method.new reset_workspace_changes_config fetch_file_diff_config = parent_rpcs.fetch_file_diff if parent_rpcs.respond_to? :fetch_file_diff @fetch_file_diff = ::Gapic::Config::Method.new fetch_file_diff_config query_directory_contents_config = parent_rpcs.query_directory_contents if parent_rpcs.respond_to? :query_directory_contents @query_directory_contents = ::Gapic::Config::Method.new query_directory_contents_config make_directory_config = parent_rpcs.make_directory if parent_rpcs.respond_to? :make_directory @make_directory = ::Gapic::Config::Method.new make_directory_config remove_directory_config = parent_rpcs.remove_directory if parent_rpcs.respond_to? :remove_directory @remove_directory = ::Gapic::Config::Method.new remove_directory_config move_directory_config = parent_rpcs.move_directory if parent_rpcs.respond_to? :move_directory @move_directory = ::Gapic::Config::Method.new move_directory_config read_file_config = parent_rpcs.read_file if parent_rpcs.respond_to? :read_file @read_file = ::Gapic::Config::Method.new read_file_config remove_file_config = parent_rpcs.remove_file if parent_rpcs.respond_to? :remove_file @remove_file = ::Gapic::Config::Method.new remove_file_config move_file_config = parent_rpcs.move_file if parent_rpcs.respond_to? :move_file @move_file = ::Gapic::Config::Method.new move_file_config write_file_config = parent_rpcs.write_file if parent_rpcs.respond_to? :write_file @write_file = ::Gapic::Config::Method.new write_file_config list_compilation_results_config = parent_rpcs.list_compilation_results if parent_rpcs.respond_to? :list_compilation_results @list_compilation_results = ::Gapic::Config::Method.new list_compilation_results_config get_compilation_result_config = parent_rpcs.get_compilation_result if parent_rpcs.respond_to? :get_compilation_result @get_compilation_result = ::Gapic::Config::Method.new get_compilation_result_config create_compilation_result_config = parent_rpcs.create_compilation_result if parent_rpcs.respond_to? :create_compilation_result @create_compilation_result = ::Gapic::Config::Method.new create_compilation_result_config query_compilation_result_actions_config = parent_rpcs.query_compilation_result_actions if parent_rpcs.respond_to? :query_compilation_result_actions @query_compilation_result_actions = ::Gapic::Config::Method.new query_compilation_result_actions_config list_workflow_invocations_config = parent_rpcs.list_workflow_invocations if parent_rpcs.respond_to? :list_workflow_invocations @list_workflow_invocations = ::Gapic::Config::Method.new list_workflow_invocations_config get_workflow_invocation_config = parent_rpcs.get_workflow_invocation if parent_rpcs.respond_to? :get_workflow_invocation @get_workflow_invocation = ::Gapic::Config::Method.new get_workflow_invocation_config create_workflow_invocation_config = parent_rpcs.create_workflow_invocation if parent_rpcs.respond_to? :create_workflow_invocation @create_workflow_invocation = ::Gapic::Config::Method.new create_workflow_invocation_config delete_workflow_invocation_config = parent_rpcs.delete_workflow_invocation if parent_rpcs.respond_to? :delete_workflow_invocation @delete_workflow_invocation = ::Gapic::Config::Method.new delete_workflow_invocation_config cancel_workflow_invocation_config = parent_rpcs.cancel_workflow_invocation if parent_rpcs.respond_to? :cancel_workflow_invocation @cancel_workflow_invocation = ::Gapic::Config::Method.new cancel_workflow_invocation_config query_workflow_invocation_actions_config = parent_rpcs.query_workflow_invocation_actions if parent_rpcs.respond_to? :query_workflow_invocation_actions @query_workflow_invocation_actions = ::Gapic::Config::Method.new query_workflow_invocation_actions_config yield self if block_given? end end end |
#lib_version ⇒ ::String
The library version as recorded in instrumentation and logging
2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 |
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 2645 class Configuration extend ::Gapic::Config DEFAULT_ENDPOINT = "dataform.googleapis.com" config_attr :endpoint, DEFAULT_ENDPOINT, ::String config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil # @private # Overrides for http bindings for the RPCs of this service # are only used when this service is used as mixin, and only # by the host service. # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}] config_attr :bindings_override, {}, ::Hash, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the Dataform API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `list_repositories` # @return [::Gapic::Config::Method] # attr_reader :list_repositories ## # RPC-specific configuration for `get_repository` # @return [::Gapic::Config::Method] # attr_reader :get_repository ## # RPC-specific configuration for `create_repository` # @return [::Gapic::Config::Method] # attr_reader :create_repository ## # RPC-specific configuration for `update_repository` # @return [::Gapic::Config::Method] # attr_reader :update_repository ## # RPC-specific configuration for `delete_repository` # @return [::Gapic::Config::Method] # attr_reader :delete_repository ## # RPC-specific configuration for `fetch_remote_branches` # @return [::Gapic::Config::Method] # attr_reader :fetch_remote_branches ## # RPC-specific configuration for `list_workspaces` # @return [::Gapic::Config::Method] # attr_reader :list_workspaces ## # RPC-specific configuration for `get_workspace` # @return [::Gapic::Config::Method] # attr_reader :get_workspace ## # RPC-specific configuration for `create_workspace` # @return [::Gapic::Config::Method] # attr_reader :create_workspace ## # RPC-specific configuration for `delete_workspace` # @return [::Gapic::Config::Method] # attr_reader :delete_workspace ## # RPC-specific configuration for `install_npm_packages` # @return [::Gapic::Config::Method] # attr_reader :install_npm_packages ## # RPC-specific configuration for `pull_git_commits` # @return [::Gapic::Config::Method] # attr_reader :pull_git_commits ## # RPC-specific configuration for `push_git_commits` # @return [::Gapic::Config::Method] # attr_reader :push_git_commits ## # RPC-specific configuration for `fetch_file_git_statuses` # @return [::Gapic::Config::Method] # attr_reader :fetch_file_git_statuses ## # RPC-specific configuration for `fetch_git_ahead_behind` # @return [::Gapic::Config::Method] # attr_reader :fetch_git_ahead_behind ## # RPC-specific configuration for `commit_workspace_changes` # @return [::Gapic::Config::Method] # attr_reader :commit_workspace_changes ## # RPC-specific configuration for `reset_workspace_changes` # @return [::Gapic::Config::Method] # attr_reader :reset_workspace_changes ## # RPC-specific configuration for `fetch_file_diff` # @return [::Gapic::Config::Method] # attr_reader :fetch_file_diff ## # RPC-specific configuration for `query_directory_contents` # @return [::Gapic::Config::Method] # attr_reader :query_directory_contents ## # RPC-specific configuration for `make_directory` # @return [::Gapic::Config::Method] # attr_reader :make_directory ## # RPC-specific configuration for `remove_directory` # @return [::Gapic::Config::Method] # attr_reader :remove_directory ## # RPC-specific configuration for `move_directory` # @return [::Gapic::Config::Method] # attr_reader :move_directory ## # RPC-specific configuration for `read_file` # @return [::Gapic::Config::Method] # attr_reader :read_file ## # RPC-specific configuration for `remove_file` # @return [::Gapic::Config::Method] # attr_reader :remove_file ## # RPC-specific configuration for `move_file` # @return [::Gapic::Config::Method] # attr_reader :move_file ## # RPC-specific configuration for `write_file` # @return [::Gapic::Config::Method] # attr_reader :write_file ## # RPC-specific configuration for `list_compilation_results` # @return [::Gapic::Config::Method] # attr_reader :list_compilation_results ## # RPC-specific configuration for `get_compilation_result` # @return [::Gapic::Config::Method] # attr_reader :get_compilation_result ## # RPC-specific configuration for `create_compilation_result` # @return [::Gapic::Config::Method] # attr_reader :create_compilation_result ## # RPC-specific configuration for `query_compilation_result_actions` # @return [::Gapic::Config::Method] # attr_reader :query_compilation_result_actions ## # RPC-specific configuration for `list_workflow_invocations` # @return [::Gapic::Config::Method] # attr_reader :list_workflow_invocations ## # RPC-specific configuration for `get_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :get_workflow_invocation ## # RPC-specific configuration for `create_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :create_workflow_invocation ## # RPC-specific configuration for `delete_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :delete_workflow_invocation ## # RPC-specific configuration for `cancel_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :cancel_workflow_invocation ## # RPC-specific configuration for `query_workflow_invocation_actions` # @return [::Gapic::Config::Method] # attr_reader :query_workflow_invocation_actions # @private def initialize parent_rpcs = nil list_repositories_config = parent_rpcs.list_repositories if parent_rpcs.respond_to? :list_repositories @list_repositories = ::Gapic::Config::Method.new list_repositories_config get_repository_config = parent_rpcs.get_repository if parent_rpcs.respond_to? :get_repository @get_repository = ::Gapic::Config::Method.new get_repository_config create_repository_config = parent_rpcs.create_repository if parent_rpcs.respond_to? :create_repository @create_repository = ::Gapic::Config::Method.new create_repository_config update_repository_config = parent_rpcs.update_repository if parent_rpcs.respond_to? :update_repository @update_repository = ::Gapic::Config::Method.new update_repository_config delete_repository_config = parent_rpcs.delete_repository if parent_rpcs.respond_to? :delete_repository @delete_repository = ::Gapic::Config::Method.new delete_repository_config fetch_remote_branches_config = parent_rpcs.fetch_remote_branches if parent_rpcs.respond_to? :fetch_remote_branches @fetch_remote_branches = ::Gapic::Config::Method.new fetch_remote_branches_config list_workspaces_config = parent_rpcs.list_workspaces if parent_rpcs.respond_to? :list_workspaces @list_workspaces = ::Gapic::Config::Method.new list_workspaces_config get_workspace_config = parent_rpcs.get_workspace if parent_rpcs.respond_to? :get_workspace @get_workspace = ::Gapic::Config::Method.new get_workspace_config create_workspace_config = parent_rpcs.create_workspace if parent_rpcs.respond_to? :create_workspace @create_workspace = ::Gapic::Config::Method.new create_workspace_config delete_workspace_config = parent_rpcs.delete_workspace if parent_rpcs.respond_to? :delete_workspace @delete_workspace = ::Gapic::Config::Method.new delete_workspace_config install_npm_packages_config = parent_rpcs.install_npm_packages if parent_rpcs.respond_to? :install_npm_packages @install_npm_packages = ::Gapic::Config::Method.new install_npm_packages_config pull_git_commits_config = parent_rpcs.pull_git_commits if parent_rpcs.respond_to? :pull_git_commits @pull_git_commits = ::Gapic::Config::Method.new pull_git_commits_config push_git_commits_config = parent_rpcs.push_git_commits if parent_rpcs.respond_to? :push_git_commits @push_git_commits = ::Gapic::Config::Method.new push_git_commits_config fetch_file_git_statuses_config = parent_rpcs.fetch_file_git_statuses if parent_rpcs.respond_to? :fetch_file_git_statuses @fetch_file_git_statuses = ::Gapic::Config::Method.new fetch_file_git_statuses_config fetch_git_ahead_behind_config = parent_rpcs.fetch_git_ahead_behind if parent_rpcs.respond_to? :fetch_git_ahead_behind @fetch_git_ahead_behind = ::Gapic::Config::Method.new fetch_git_ahead_behind_config commit_workspace_changes_config = parent_rpcs.commit_workspace_changes if parent_rpcs.respond_to? :commit_workspace_changes @commit_workspace_changes = ::Gapic::Config::Method.new commit_workspace_changes_config reset_workspace_changes_config = parent_rpcs.reset_workspace_changes if parent_rpcs.respond_to? :reset_workspace_changes @reset_workspace_changes = ::Gapic::Config::Method.new reset_workspace_changes_config fetch_file_diff_config = parent_rpcs.fetch_file_diff if parent_rpcs.respond_to? :fetch_file_diff @fetch_file_diff = ::Gapic::Config::Method.new fetch_file_diff_config query_directory_contents_config = parent_rpcs.query_directory_contents if parent_rpcs.respond_to? :query_directory_contents @query_directory_contents = ::Gapic::Config::Method.new query_directory_contents_config make_directory_config = parent_rpcs.make_directory if parent_rpcs.respond_to? :make_directory @make_directory = ::Gapic::Config::Method.new make_directory_config remove_directory_config = parent_rpcs.remove_directory if parent_rpcs.respond_to? :remove_directory @remove_directory = ::Gapic::Config::Method.new remove_directory_config move_directory_config = parent_rpcs.move_directory if parent_rpcs.respond_to? :move_directory @move_directory = ::Gapic::Config::Method.new move_directory_config read_file_config = parent_rpcs.read_file if parent_rpcs.respond_to? :read_file @read_file = ::Gapic::Config::Method.new read_file_config remove_file_config = parent_rpcs.remove_file if parent_rpcs.respond_to? :remove_file @remove_file = ::Gapic::Config::Method.new remove_file_config move_file_config = parent_rpcs.move_file if parent_rpcs.respond_to? :move_file @move_file = ::Gapic::Config::Method.new move_file_config write_file_config = parent_rpcs.write_file if parent_rpcs.respond_to? :write_file @write_file = ::Gapic::Config::Method.new write_file_config list_compilation_results_config = parent_rpcs.list_compilation_results if parent_rpcs.respond_to? :list_compilation_results @list_compilation_results = ::Gapic::Config::Method.new list_compilation_results_config get_compilation_result_config = parent_rpcs.get_compilation_result if parent_rpcs.respond_to? :get_compilation_result @get_compilation_result = ::Gapic::Config::Method.new get_compilation_result_config create_compilation_result_config = parent_rpcs.create_compilation_result if parent_rpcs.respond_to? :create_compilation_result @create_compilation_result = ::Gapic::Config::Method.new create_compilation_result_config query_compilation_result_actions_config = parent_rpcs.query_compilation_result_actions if parent_rpcs.respond_to? :query_compilation_result_actions @query_compilation_result_actions = ::Gapic::Config::Method.new query_compilation_result_actions_config list_workflow_invocations_config = parent_rpcs.list_workflow_invocations if parent_rpcs.respond_to? :list_workflow_invocations @list_workflow_invocations = ::Gapic::Config::Method.new list_workflow_invocations_config get_workflow_invocation_config = parent_rpcs.get_workflow_invocation if parent_rpcs.respond_to? :get_workflow_invocation @get_workflow_invocation = ::Gapic::Config::Method.new get_workflow_invocation_config create_workflow_invocation_config = parent_rpcs.create_workflow_invocation if parent_rpcs.respond_to? :create_workflow_invocation @create_workflow_invocation = ::Gapic::Config::Method.new create_workflow_invocation_config delete_workflow_invocation_config = parent_rpcs.delete_workflow_invocation if parent_rpcs.respond_to? :delete_workflow_invocation @delete_workflow_invocation = ::Gapic::Config::Method.new delete_workflow_invocation_config cancel_workflow_invocation_config = parent_rpcs.cancel_workflow_invocation if parent_rpcs.respond_to? :cancel_workflow_invocation @cancel_workflow_invocation = ::Gapic::Config::Method.new cancel_workflow_invocation_config query_workflow_invocation_actions_config = parent_rpcs.query_workflow_invocation_actions if parent_rpcs.respond_to? :query_workflow_invocation_actions @query_workflow_invocation_actions = ::Gapic::Config::Method.new query_workflow_invocation_actions_config yield self if block_given? end end end |
#metadata ⇒ ::Hash{::Symbol=>::String}
Additional headers to be sent with the call.
2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 |
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 2645 class Configuration extend ::Gapic::Config DEFAULT_ENDPOINT = "dataform.googleapis.com" config_attr :endpoint, DEFAULT_ENDPOINT, ::String config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil # @private # Overrides for http bindings for the RPCs of this service # are only used when this service is used as mixin, and only # by the host service. # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}] config_attr :bindings_override, {}, ::Hash, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the Dataform API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `list_repositories` # @return [::Gapic::Config::Method] # attr_reader :list_repositories ## # RPC-specific configuration for `get_repository` # @return [::Gapic::Config::Method] # attr_reader :get_repository ## # RPC-specific configuration for `create_repository` # @return [::Gapic::Config::Method] # attr_reader :create_repository ## # RPC-specific configuration for `update_repository` # @return [::Gapic::Config::Method] # attr_reader :update_repository ## # RPC-specific configuration for `delete_repository` # @return [::Gapic::Config::Method] # attr_reader :delete_repository ## # RPC-specific configuration for `fetch_remote_branches` # @return [::Gapic::Config::Method] # attr_reader :fetch_remote_branches ## # RPC-specific configuration for `list_workspaces` # @return [::Gapic::Config::Method] # attr_reader :list_workspaces ## # RPC-specific configuration for `get_workspace` # @return [::Gapic::Config::Method] # attr_reader :get_workspace ## # RPC-specific configuration for `create_workspace` # @return [::Gapic::Config::Method] # attr_reader :create_workspace ## # RPC-specific configuration for `delete_workspace` # @return [::Gapic::Config::Method] # attr_reader :delete_workspace ## # RPC-specific configuration for `install_npm_packages` # @return [::Gapic::Config::Method] # attr_reader :install_npm_packages ## # RPC-specific configuration for `pull_git_commits` # @return [::Gapic::Config::Method] # attr_reader :pull_git_commits ## # RPC-specific configuration for `push_git_commits` # @return [::Gapic::Config::Method] # attr_reader :push_git_commits ## # RPC-specific configuration for `fetch_file_git_statuses` # @return [::Gapic::Config::Method] # attr_reader :fetch_file_git_statuses ## # RPC-specific configuration for `fetch_git_ahead_behind` # @return [::Gapic::Config::Method] # attr_reader :fetch_git_ahead_behind ## # RPC-specific configuration for `commit_workspace_changes` # @return [::Gapic::Config::Method] # attr_reader :commit_workspace_changes ## # RPC-specific configuration for `reset_workspace_changes` # @return [::Gapic::Config::Method] # attr_reader :reset_workspace_changes ## # RPC-specific configuration for `fetch_file_diff` # @return [::Gapic::Config::Method] # attr_reader :fetch_file_diff ## # RPC-specific configuration for `query_directory_contents` # @return [::Gapic::Config::Method] # attr_reader :query_directory_contents ## # RPC-specific configuration for `make_directory` # @return [::Gapic::Config::Method] # attr_reader :make_directory ## # RPC-specific configuration for `remove_directory` # @return [::Gapic::Config::Method] # attr_reader :remove_directory ## # RPC-specific configuration for `move_directory` # @return [::Gapic::Config::Method] # attr_reader :move_directory ## # RPC-specific configuration for `read_file` # @return [::Gapic::Config::Method] # attr_reader :read_file ## # RPC-specific configuration for `remove_file` # @return [::Gapic::Config::Method] # attr_reader :remove_file ## # RPC-specific configuration for `move_file` # @return [::Gapic::Config::Method] # attr_reader :move_file ## # RPC-specific configuration for `write_file` # @return [::Gapic::Config::Method] # attr_reader :write_file ## # RPC-specific configuration for `list_compilation_results` # @return [::Gapic::Config::Method] # attr_reader :list_compilation_results ## # RPC-specific configuration for `get_compilation_result` # @return [::Gapic::Config::Method] # attr_reader :get_compilation_result ## # RPC-specific configuration for `create_compilation_result` # @return [::Gapic::Config::Method] # attr_reader :create_compilation_result ## # RPC-specific configuration for `query_compilation_result_actions` # @return [::Gapic::Config::Method] # attr_reader :query_compilation_result_actions ## # RPC-specific configuration for `list_workflow_invocations` # @return [::Gapic::Config::Method] # attr_reader :list_workflow_invocations ## # RPC-specific configuration for `get_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :get_workflow_invocation ## # RPC-specific configuration for `create_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :create_workflow_invocation ## # RPC-specific configuration for `delete_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :delete_workflow_invocation ## # RPC-specific configuration for `cancel_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :cancel_workflow_invocation ## # RPC-specific configuration for `query_workflow_invocation_actions` # @return [::Gapic::Config::Method] # attr_reader :query_workflow_invocation_actions # @private def initialize parent_rpcs = nil list_repositories_config = parent_rpcs.list_repositories if parent_rpcs.respond_to? :list_repositories @list_repositories = ::Gapic::Config::Method.new list_repositories_config get_repository_config = parent_rpcs.get_repository if parent_rpcs.respond_to? :get_repository @get_repository = ::Gapic::Config::Method.new get_repository_config create_repository_config = parent_rpcs.create_repository if parent_rpcs.respond_to? :create_repository @create_repository = ::Gapic::Config::Method.new create_repository_config update_repository_config = parent_rpcs.update_repository if parent_rpcs.respond_to? :update_repository @update_repository = ::Gapic::Config::Method.new update_repository_config delete_repository_config = parent_rpcs.delete_repository if parent_rpcs.respond_to? :delete_repository @delete_repository = ::Gapic::Config::Method.new delete_repository_config fetch_remote_branches_config = parent_rpcs.fetch_remote_branches if parent_rpcs.respond_to? :fetch_remote_branches @fetch_remote_branches = ::Gapic::Config::Method.new fetch_remote_branches_config list_workspaces_config = parent_rpcs.list_workspaces if parent_rpcs.respond_to? :list_workspaces @list_workspaces = ::Gapic::Config::Method.new list_workspaces_config get_workspace_config = parent_rpcs.get_workspace if parent_rpcs.respond_to? :get_workspace @get_workspace = ::Gapic::Config::Method.new get_workspace_config create_workspace_config = parent_rpcs.create_workspace if parent_rpcs.respond_to? :create_workspace @create_workspace = ::Gapic::Config::Method.new create_workspace_config delete_workspace_config = parent_rpcs.delete_workspace if parent_rpcs.respond_to? :delete_workspace @delete_workspace = ::Gapic::Config::Method.new delete_workspace_config install_npm_packages_config = parent_rpcs.install_npm_packages if parent_rpcs.respond_to? :install_npm_packages @install_npm_packages = ::Gapic::Config::Method.new install_npm_packages_config pull_git_commits_config = parent_rpcs.pull_git_commits if parent_rpcs.respond_to? :pull_git_commits @pull_git_commits = ::Gapic::Config::Method.new pull_git_commits_config push_git_commits_config = parent_rpcs.push_git_commits if parent_rpcs.respond_to? :push_git_commits @push_git_commits = ::Gapic::Config::Method.new push_git_commits_config fetch_file_git_statuses_config = parent_rpcs.fetch_file_git_statuses if parent_rpcs.respond_to? :fetch_file_git_statuses @fetch_file_git_statuses = ::Gapic::Config::Method.new fetch_file_git_statuses_config fetch_git_ahead_behind_config = parent_rpcs.fetch_git_ahead_behind if parent_rpcs.respond_to? :fetch_git_ahead_behind @fetch_git_ahead_behind = ::Gapic::Config::Method.new fetch_git_ahead_behind_config commit_workspace_changes_config = parent_rpcs.commit_workspace_changes if parent_rpcs.respond_to? :commit_workspace_changes @commit_workspace_changes = ::Gapic::Config::Method.new commit_workspace_changes_config reset_workspace_changes_config = parent_rpcs.reset_workspace_changes if parent_rpcs.respond_to? :reset_workspace_changes @reset_workspace_changes = ::Gapic::Config::Method.new reset_workspace_changes_config fetch_file_diff_config = parent_rpcs.fetch_file_diff if parent_rpcs.respond_to? :fetch_file_diff @fetch_file_diff = ::Gapic::Config::Method.new fetch_file_diff_config query_directory_contents_config = parent_rpcs.query_directory_contents if parent_rpcs.respond_to? :query_directory_contents @query_directory_contents = ::Gapic::Config::Method.new query_directory_contents_config make_directory_config = parent_rpcs.make_directory if parent_rpcs.respond_to? :make_directory @make_directory = ::Gapic::Config::Method.new make_directory_config remove_directory_config = parent_rpcs.remove_directory if parent_rpcs.respond_to? :remove_directory @remove_directory = ::Gapic::Config::Method.new remove_directory_config move_directory_config = parent_rpcs.move_directory if parent_rpcs.respond_to? :move_directory @move_directory = ::Gapic::Config::Method.new move_directory_config read_file_config = parent_rpcs.read_file if parent_rpcs.respond_to? :read_file @read_file = ::Gapic::Config::Method.new read_file_config remove_file_config = parent_rpcs.remove_file if parent_rpcs.respond_to? :remove_file @remove_file = ::Gapic::Config::Method.new remove_file_config move_file_config = parent_rpcs.move_file if parent_rpcs.respond_to? :move_file @move_file = ::Gapic::Config::Method.new move_file_config write_file_config = parent_rpcs.write_file if parent_rpcs.respond_to? :write_file @write_file = ::Gapic::Config::Method.new write_file_config list_compilation_results_config = parent_rpcs.list_compilation_results if parent_rpcs.respond_to? :list_compilation_results @list_compilation_results = ::Gapic::Config::Method.new list_compilation_results_config get_compilation_result_config = parent_rpcs.get_compilation_result if parent_rpcs.respond_to? :get_compilation_result @get_compilation_result = ::Gapic::Config::Method.new get_compilation_result_config create_compilation_result_config = parent_rpcs.create_compilation_result if parent_rpcs.respond_to? :create_compilation_result @create_compilation_result = ::Gapic::Config::Method.new create_compilation_result_config query_compilation_result_actions_config = parent_rpcs.query_compilation_result_actions if parent_rpcs.respond_to? :query_compilation_result_actions @query_compilation_result_actions = ::Gapic::Config::Method.new query_compilation_result_actions_config list_workflow_invocations_config = parent_rpcs.list_workflow_invocations if parent_rpcs.respond_to? :list_workflow_invocations @list_workflow_invocations = ::Gapic::Config::Method.new list_workflow_invocations_config get_workflow_invocation_config = parent_rpcs.get_workflow_invocation if parent_rpcs.respond_to? :get_workflow_invocation @get_workflow_invocation = ::Gapic::Config::Method.new get_workflow_invocation_config create_workflow_invocation_config = parent_rpcs.create_workflow_invocation if parent_rpcs.respond_to? :create_workflow_invocation @create_workflow_invocation = ::Gapic::Config::Method.new create_workflow_invocation_config delete_workflow_invocation_config = parent_rpcs.delete_workflow_invocation if parent_rpcs.respond_to? :delete_workflow_invocation @delete_workflow_invocation = ::Gapic::Config::Method.new delete_workflow_invocation_config cancel_workflow_invocation_config = parent_rpcs.cancel_workflow_invocation if parent_rpcs.respond_to? :cancel_workflow_invocation @cancel_workflow_invocation = ::Gapic::Config::Method.new cancel_workflow_invocation_config query_workflow_invocation_actions_config = parent_rpcs.query_workflow_invocation_actions if parent_rpcs.respond_to? :query_workflow_invocation_actions @query_workflow_invocation_actions = ::Gapic::Config::Method.new query_workflow_invocation_actions_config yield self if block_given? end end end |
#quota_project ⇒ ::String
A separate project against which to charge quota.
2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 |
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 2645 class Configuration extend ::Gapic::Config DEFAULT_ENDPOINT = "dataform.googleapis.com" config_attr :endpoint, DEFAULT_ENDPOINT, ::String config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil # @private # Overrides for http bindings for the RPCs of this service # are only used when this service is used as mixin, and only # by the host service. # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}] config_attr :bindings_override, {}, ::Hash, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the Dataform API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `list_repositories` # @return [::Gapic::Config::Method] # attr_reader :list_repositories ## # RPC-specific configuration for `get_repository` # @return [::Gapic::Config::Method] # attr_reader :get_repository ## # RPC-specific configuration for `create_repository` # @return [::Gapic::Config::Method] # attr_reader :create_repository ## # RPC-specific configuration for `update_repository` # @return [::Gapic::Config::Method] # attr_reader :update_repository ## # RPC-specific configuration for `delete_repository` # @return [::Gapic::Config::Method] # attr_reader :delete_repository ## # RPC-specific configuration for `fetch_remote_branches` # @return [::Gapic::Config::Method] # attr_reader :fetch_remote_branches ## # RPC-specific configuration for `list_workspaces` # @return [::Gapic::Config::Method] # attr_reader :list_workspaces ## # RPC-specific configuration for `get_workspace` # @return [::Gapic::Config::Method] # attr_reader :get_workspace ## # RPC-specific configuration for `create_workspace` # @return [::Gapic::Config::Method] # attr_reader :create_workspace ## # RPC-specific configuration for `delete_workspace` # @return [::Gapic::Config::Method] # attr_reader :delete_workspace ## # RPC-specific configuration for `install_npm_packages` # @return [::Gapic::Config::Method] # attr_reader :install_npm_packages ## # RPC-specific configuration for `pull_git_commits` # @return [::Gapic::Config::Method] # attr_reader :pull_git_commits ## # RPC-specific configuration for `push_git_commits` # @return [::Gapic::Config::Method] # attr_reader :push_git_commits ## # RPC-specific configuration for `fetch_file_git_statuses` # @return [::Gapic::Config::Method] # attr_reader :fetch_file_git_statuses ## # RPC-specific configuration for `fetch_git_ahead_behind` # @return [::Gapic::Config::Method] # attr_reader :fetch_git_ahead_behind ## # RPC-specific configuration for `commit_workspace_changes` # @return [::Gapic::Config::Method] # attr_reader :commit_workspace_changes ## # RPC-specific configuration for `reset_workspace_changes` # @return [::Gapic::Config::Method] # attr_reader :reset_workspace_changes ## # RPC-specific configuration for `fetch_file_diff` # @return [::Gapic::Config::Method] # attr_reader :fetch_file_diff ## # RPC-specific configuration for `query_directory_contents` # @return [::Gapic::Config::Method] # attr_reader :query_directory_contents ## # RPC-specific configuration for `make_directory` # @return [::Gapic::Config::Method] # attr_reader :make_directory ## # RPC-specific configuration for `remove_directory` # @return [::Gapic::Config::Method] # attr_reader :remove_directory ## # RPC-specific configuration for `move_directory` # @return [::Gapic::Config::Method] # attr_reader :move_directory ## # RPC-specific configuration for `read_file` # @return [::Gapic::Config::Method] # attr_reader :read_file ## # RPC-specific configuration for `remove_file` # @return [::Gapic::Config::Method] # attr_reader :remove_file ## # RPC-specific configuration for `move_file` # @return [::Gapic::Config::Method] # attr_reader :move_file ## # RPC-specific configuration for `write_file` # @return [::Gapic::Config::Method] # attr_reader :write_file ## # RPC-specific configuration for `list_compilation_results` # @return [::Gapic::Config::Method] # attr_reader :list_compilation_results ## # RPC-specific configuration for `get_compilation_result` # @return [::Gapic::Config::Method] # attr_reader :get_compilation_result ## # RPC-specific configuration for `create_compilation_result` # @return [::Gapic::Config::Method] # attr_reader :create_compilation_result ## # RPC-specific configuration for `query_compilation_result_actions` # @return [::Gapic::Config::Method] # attr_reader :query_compilation_result_actions ## # RPC-specific configuration for `list_workflow_invocations` # @return [::Gapic::Config::Method] # attr_reader :list_workflow_invocations ## # RPC-specific configuration for `get_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :get_workflow_invocation ## # RPC-specific configuration for `create_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :create_workflow_invocation ## # RPC-specific configuration for `delete_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :delete_workflow_invocation ## # RPC-specific configuration for `cancel_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :cancel_workflow_invocation ## # RPC-specific configuration for `query_workflow_invocation_actions` # @return [::Gapic::Config::Method] # attr_reader :query_workflow_invocation_actions # @private def initialize parent_rpcs = nil list_repositories_config = parent_rpcs.list_repositories if parent_rpcs.respond_to? :list_repositories @list_repositories = ::Gapic::Config::Method.new list_repositories_config get_repository_config = parent_rpcs.get_repository if parent_rpcs.respond_to? :get_repository @get_repository = ::Gapic::Config::Method.new get_repository_config create_repository_config = parent_rpcs.create_repository if parent_rpcs.respond_to? :create_repository @create_repository = ::Gapic::Config::Method.new create_repository_config update_repository_config = parent_rpcs.update_repository if parent_rpcs.respond_to? :update_repository @update_repository = ::Gapic::Config::Method.new update_repository_config delete_repository_config = parent_rpcs.delete_repository if parent_rpcs.respond_to? :delete_repository @delete_repository = ::Gapic::Config::Method.new delete_repository_config fetch_remote_branches_config = parent_rpcs.fetch_remote_branches if parent_rpcs.respond_to? :fetch_remote_branches @fetch_remote_branches = ::Gapic::Config::Method.new fetch_remote_branches_config list_workspaces_config = parent_rpcs.list_workspaces if parent_rpcs.respond_to? :list_workspaces @list_workspaces = ::Gapic::Config::Method.new list_workspaces_config get_workspace_config = parent_rpcs.get_workspace if parent_rpcs.respond_to? :get_workspace @get_workspace = ::Gapic::Config::Method.new get_workspace_config create_workspace_config = parent_rpcs.create_workspace if parent_rpcs.respond_to? :create_workspace @create_workspace = ::Gapic::Config::Method.new create_workspace_config delete_workspace_config = parent_rpcs.delete_workspace if parent_rpcs.respond_to? :delete_workspace @delete_workspace = ::Gapic::Config::Method.new delete_workspace_config install_npm_packages_config = parent_rpcs.install_npm_packages if parent_rpcs.respond_to? :install_npm_packages @install_npm_packages = ::Gapic::Config::Method.new install_npm_packages_config pull_git_commits_config = parent_rpcs.pull_git_commits if parent_rpcs.respond_to? :pull_git_commits @pull_git_commits = ::Gapic::Config::Method.new pull_git_commits_config push_git_commits_config = parent_rpcs.push_git_commits if parent_rpcs.respond_to? :push_git_commits @push_git_commits = ::Gapic::Config::Method.new push_git_commits_config fetch_file_git_statuses_config = parent_rpcs.fetch_file_git_statuses if parent_rpcs.respond_to? :fetch_file_git_statuses @fetch_file_git_statuses = ::Gapic::Config::Method.new fetch_file_git_statuses_config fetch_git_ahead_behind_config = parent_rpcs.fetch_git_ahead_behind if parent_rpcs.respond_to? :fetch_git_ahead_behind @fetch_git_ahead_behind = ::Gapic::Config::Method.new fetch_git_ahead_behind_config commit_workspace_changes_config = parent_rpcs.commit_workspace_changes if parent_rpcs.respond_to? :commit_workspace_changes @commit_workspace_changes = ::Gapic::Config::Method.new commit_workspace_changes_config reset_workspace_changes_config = parent_rpcs.reset_workspace_changes if parent_rpcs.respond_to? :reset_workspace_changes @reset_workspace_changes = ::Gapic::Config::Method.new reset_workspace_changes_config fetch_file_diff_config = parent_rpcs.fetch_file_diff if parent_rpcs.respond_to? :fetch_file_diff @fetch_file_diff = ::Gapic::Config::Method.new fetch_file_diff_config query_directory_contents_config = parent_rpcs.query_directory_contents if parent_rpcs.respond_to? :query_directory_contents @query_directory_contents = ::Gapic::Config::Method.new query_directory_contents_config make_directory_config = parent_rpcs.make_directory if parent_rpcs.respond_to? :make_directory @make_directory = ::Gapic::Config::Method.new make_directory_config remove_directory_config = parent_rpcs.remove_directory if parent_rpcs.respond_to? :remove_directory @remove_directory = ::Gapic::Config::Method.new remove_directory_config move_directory_config = parent_rpcs.move_directory if parent_rpcs.respond_to? :move_directory @move_directory = ::Gapic::Config::Method.new move_directory_config read_file_config = parent_rpcs.read_file if parent_rpcs.respond_to? :read_file @read_file = ::Gapic::Config::Method.new read_file_config remove_file_config = parent_rpcs.remove_file if parent_rpcs.respond_to? :remove_file @remove_file = ::Gapic::Config::Method.new remove_file_config move_file_config = parent_rpcs.move_file if parent_rpcs.respond_to? :move_file @move_file = ::Gapic::Config::Method.new move_file_config write_file_config = parent_rpcs.write_file if parent_rpcs.respond_to? :write_file @write_file = ::Gapic::Config::Method.new write_file_config list_compilation_results_config = parent_rpcs.list_compilation_results if parent_rpcs.respond_to? :list_compilation_results @list_compilation_results = ::Gapic::Config::Method.new list_compilation_results_config get_compilation_result_config = parent_rpcs.get_compilation_result if parent_rpcs.respond_to? :get_compilation_result @get_compilation_result = ::Gapic::Config::Method.new get_compilation_result_config create_compilation_result_config = parent_rpcs.create_compilation_result if parent_rpcs.respond_to? :create_compilation_result @create_compilation_result = ::Gapic::Config::Method.new create_compilation_result_config query_compilation_result_actions_config = parent_rpcs.query_compilation_result_actions if parent_rpcs.respond_to? :query_compilation_result_actions @query_compilation_result_actions = ::Gapic::Config::Method.new query_compilation_result_actions_config list_workflow_invocations_config = parent_rpcs.list_workflow_invocations if parent_rpcs.respond_to? :list_workflow_invocations @list_workflow_invocations = ::Gapic::Config::Method.new list_workflow_invocations_config get_workflow_invocation_config = parent_rpcs.get_workflow_invocation if parent_rpcs.respond_to? :get_workflow_invocation @get_workflow_invocation = ::Gapic::Config::Method.new get_workflow_invocation_config create_workflow_invocation_config = parent_rpcs.create_workflow_invocation if parent_rpcs.respond_to? :create_workflow_invocation @create_workflow_invocation = ::Gapic::Config::Method.new create_workflow_invocation_config delete_workflow_invocation_config = parent_rpcs.delete_workflow_invocation if parent_rpcs.respond_to? :delete_workflow_invocation @delete_workflow_invocation = ::Gapic::Config::Method.new delete_workflow_invocation_config cancel_workflow_invocation_config = parent_rpcs.cancel_workflow_invocation if parent_rpcs.respond_to? :cancel_workflow_invocation @cancel_workflow_invocation = ::Gapic::Config::Method.new cancel_workflow_invocation_config query_workflow_invocation_actions_config = parent_rpcs.query_workflow_invocation_actions if parent_rpcs.respond_to? :query_workflow_invocation_actions @query_workflow_invocation_actions = ::Gapic::Config::Method.new query_workflow_invocation_actions_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.
2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 |
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 2645 class Configuration extend ::Gapic::Config DEFAULT_ENDPOINT = "dataform.googleapis.com" config_attr :endpoint, DEFAULT_ENDPOINT, ::String config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil # @private # Overrides for http bindings for the RPCs of this service # are only used when this service is used as mixin, and only # by the host service. # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}] config_attr :bindings_override, {}, ::Hash, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the Dataform API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `list_repositories` # @return [::Gapic::Config::Method] # attr_reader :list_repositories ## # RPC-specific configuration for `get_repository` # @return [::Gapic::Config::Method] # attr_reader :get_repository ## # RPC-specific configuration for `create_repository` # @return [::Gapic::Config::Method] # attr_reader :create_repository ## # RPC-specific configuration for `update_repository` # @return [::Gapic::Config::Method] # attr_reader :update_repository ## # RPC-specific configuration for `delete_repository` # @return [::Gapic::Config::Method] # attr_reader :delete_repository ## # RPC-specific configuration for `fetch_remote_branches` # @return [::Gapic::Config::Method] # attr_reader :fetch_remote_branches ## # RPC-specific configuration for `list_workspaces` # @return [::Gapic::Config::Method] # attr_reader :list_workspaces ## # RPC-specific configuration for `get_workspace` # @return [::Gapic::Config::Method] # attr_reader :get_workspace ## # RPC-specific configuration for `create_workspace` # @return [::Gapic::Config::Method] # attr_reader :create_workspace ## # RPC-specific configuration for `delete_workspace` # @return [::Gapic::Config::Method] # attr_reader :delete_workspace ## # RPC-specific configuration for `install_npm_packages` # @return [::Gapic::Config::Method] # attr_reader :install_npm_packages ## # RPC-specific configuration for `pull_git_commits` # @return [::Gapic::Config::Method] # attr_reader :pull_git_commits ## # RPC-specific configuration for `push_git_commits` # @return [::Gapic::Config::Method] # attr_reader :push_git_commits ## # RPC-specific configuration for `fetch_file_git_statuses` # @return [::Gapic::Config::Method] # attr_reader :fetch_file_git_statuses ## # RPC-specific configuration for `fetch_git_ahead_behind` # @return [::Gapic::Config::Method] # attr_reader :fetch_git_ahead_behind ## # RPC-specific configuration for `commit_workspace_changes` # @return [::Gapic::Config::Method] # attr_reader :commit_workspace_changes ## # RPC-specific configuration for `reset_workspace_changes` # @return [::Gapic::Config::Method] # attr_reader :reset_workspace_changes ## # RPC-specific configuration for `fetch_file_diff` # @return [::Gapic::Config::Method] # attr_reader :fetch_file_diff ## # RPC-specific configuration for `query_directory_contents` # @return [::Gapic::Config::Method] # attr_reader :query_directory_contents ## # RPC-specific configuration for `make_directory` # @return [::Gapic::Config::Method] # attr_reader :make_directory ## # RPC-specific configuration for `remove_directory` # @return [::Gapic::Config::Method] # attr_reader :remove_directory ## # RPC-specific configuration for `move_directory` # @return [::Gapic::Config::Method] # attr_reader :move_directory ## # RPC-specific configuration for `read_file` # @return [::Gapic::Config::Method] # attr_reader :read_file ## # RPC-specific configuration for `remove_file` # @return [::Gapic::Config::Method] # attr_reader :remove_file ## # RPC-specific configuration for `move_file` # @return [::Gapic::Config::Method] # attr_reader :move_file ## # RPC-specific configuration for `write_file` # @return [::Gapic::Config::Method] # attr_reader :write_file ## # RPC-specific configuration for `list_compilation_results` # @return [::Gapic::Config::Method] # attr_reader :list_compilation_results ## # RPC-specific configuration for `get_compilation_result` # @return [::Gapic::Config::Method] # attr_reader :get_compilation_result ## # RPC-specific configuration for `create_compilation_result` # @return [::Gapic::Config::Method] # attr_reader :create_compilation_result ## # RPC-specific configuration for `query_compilation_result_actions` # @return [::Gapic::Config::Method] # attr_reader :query_compilation_result_actions ## # RPC-specific configuration for `list_workflow_invocations` # @return [::Gapic::Config::Method] # attr_reader :list_workflow_invocations ## # RPC-specific configuration for `get_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :get_workflow_invocation ## # RPC-specific configuration for `create_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :create_workflow_invocation ## # RPC-specific configuration for `delete_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :delete_workflow_invocation ## # RPC-specific configuration for `cancel_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :cancel_workflow_invocation ## # RPC-specific configuration for `query_workflow_invocation_actions` # @return [::Gapic::Config::Method] # attr_reader :query_workflow_invocation_actions # @private def initialize parent_rpcs = nil list_repositories_config = parent_rpcs.list_repositories if parent_rpcs.respond_to? :list_repositories @list_repositories = ::Gapic::Config::Method.new list_repositories_config get_repository_config = parent_rpcs.get_repository if parent_rpcs.respond_to? :get_repository @get_repository = ::Gapic::Config::Method.new get_repository_config create_repository_config = parent_rpcs.create_repository if parent_rpcs.respond_to? :create_repository @create_repository = ::Gapic::Config::Method.new create_repository_config update_repository_config = parent_rpcs.update_repository if parent_rpcs.respond_to? :update_repository @update_repository = ::Gapic::Config::Method.new update_repository_config delete_repository_config = parent_rpcs.delete_repository if parent_rpcs.respond_to? :delete_repository @delete_repository = ::Gapic::Config::Method.new delete_repository_config fetch_remote_branches_config = parent_rpcs.fetch_remote_branches if parent_rpcs.respond_to? :fetch_remote_branches @fetch_remote_branches = ::Gapic::Config::Method.new fetch_remote_branches_config list_workspaces_config = parent_rpcs.list_workspaces if parent_rpcs.respond_to? :list_workspaces @list_workspaces = ::Gapic::Config::Method.new list_workspaces_config get_workspace_config = parent_rpcs.get_workspace if parent_rpcs.respond_to? :get_workspace @get_workspace = ::Gapic::Config::Method.new get_workspace_config create_workspace_config = parent_rpcs.create_workspace if parent_rpcs.respond_to? :create_workspace @create_workspace = ::Gapic::Config::Method.new create_workspace_config delete_workspace_config = parent_rpcs.delete_workspace if parent_rpcs.respond_to? :delete_workspace @delete_workspace = ::Gapic::Config::Method.new delete_workspace_config install_npm_packages_config = parent_rpcs.install_npm_packages if parent_rpcs.respond_to? :install_npm_packages @install_npm_packages = ::Gapic::Config::Method.new install_npm_packages_config pull_git_commits_config = parent_rpcs.pull_git_commits if parent_rpcs.respond_to? :pull_git_commits @pull_git_commits = ::Gapic::Config::Method.new pull_git_commits_config push_git_commits_config = parent_rpcs.push_git_commits if parent_rpcs.respond_to? :push_git_commits @push_git_commits = ::Gapic::Config::Method.new push_git_commits_config fetch_file_git_statuses_config = parent_rpcs.fetch_file_git_statuses if parent_rpcs.respond_to? :fetch_file_git_statuses @fetch_file_git_statuses = ::Gapic::Config::Method.new fetch_file_git_statuses_config fetch_git_ahead_behind_config = parent_rpcs.fetch_git_ahead_behind if parent_rpcs.respond_to? :fetch_git_ahead_behind @fetch_git_ahead_behind = ::Gapic::Config::Method.new fetch_git_ahead_behind_config commit_workspace_changes_config = parent_rpcs.commit_workspace_changes if parent_rpcs.respond_to? :commit_workspace_changes @commit_workspace_changes = ::Gapic::Config::Method.new commit_workspace_changes_config reset_workspace_changes_config = parent_rpcs.reset_workspace_changes if parent_rpcs.respond_to? :reset_workspace_changes @reset_workspace_changes = ::Gapic::Config::Method.new reset_workspace_changes_config fetch_file_diff_config = parent_rpcs.fetch_file_diff if parent_rpcs.respond_to? :fetch_file_diff @fetch_file_diff = ::Gapic::Config::Method.new fetch_file_diff_config query_directory_contents_config = parent_rpcs.query_directory_contents if parent_rpcs.respond_to? :query_directory_contents @query_directory_contents = ::Gapic::Config::Method.new query_directory_contents_config make_directory_config = parent_rpcs.make_directory if parent_rpcs.respond_to? :make_directory @make_directory = ::Gapic::Config::Method.new make_directory_config remove_directory_config = parent_rpcs.remove_directory if parent_rpcs.respond_to? :remove_directory @remove_directory = ::Gapic::Config::Method.new remove_directory_config move_directory_config = parent_rpcs.move_directory if parent_rpcs.respond_to? :move_directory @move_directory = ::Gapic::Config::Method.new move_directory_config read_file_config = parent_rpcs.read_file if parent_rpcs.respond_to? :read_file @read_file = ::Gapic::Config::Method.new read_file_config remove_file_config = parent_rpcs.remove_file if parent_rpcs.respond_to? :remove_file @remove_file = ::Gapic::Config::Method.new remove_file_config move_file_config = parent_rpcs.move_file if parent_rpcs.respond_to? :move_file @move_file = ::Gapic::Config::Method.new move_file_config write_file_config = parent_rpcs.write_file if parent_rpcs.respond_to? :write_file @write_file = ::Gapic::Config::Method.new write_file_config list_compilation_results_config = parent_rpcs.list_compilation_results if parent_rpcs.respond_to? :list_compilation_results @list_compilation_results = ::Gapic::Config::Method.new list_compilation_results_config get_compilation_result_config = parent_rpcs.get_compilation_result if parent_rpcs.respond_to? :get_compilation_result @get_compilation_result = ::Gapic::Config::Method.new get_compilation_result_config create_compilation_result_config = parent_rpcs.create_compilation_result if parent_rpcs.respond_to? :create_compilation_result @create_compilation_result = ::Gapic::Config::Method.new create_compilation_result_config query_compilation_result_actions_config = parent_rpcs.query_compilation_result_actions if parent_rpcs.respond_to? :query_compilation_result_actions @query_compilation_result_actions = ::Gapic::Config::Method.new query_compilation_result_actions_config list_workflow_invocations_config = parent_rpcs.list_workflow_invocations if parent_rpcs.respond_to? :list_workflow_invocations @list_workflow_invocations = ::Gapic::Config::Method.new list_workflow_invocations_config get_workflow_invocation_config = parent_rpcs.get_workflow_invocation if parent_rpcs.respond_to? :get_workflow_invocation @get_workflow_invocation = ::Gapic::Config::Method.new get_workflow_invocation_config create_workflow_invocation_config = parent_rpcs.create_workflow_invocation if parent_rpcs.respond_to? :create_workflow_invocation @create_workflow_invocation = ::Gapic::Config::Method.new create_workflow_invocation_config delete_workflow_invocation_config = parent_rpcs.delete_workflow_invocation if parent_rpcs.respond_to? :delete_workflow_invocation @delete_workflow_invocation = ::Gapic::Config::Method.new delete_workflow_invocation_config cancel_workflow_invocation_config = parent_rpcs.cancel_workflow_invocation if parent_rpcs.respond_to? :cancel_workflow_invocation @cancel_workflow_invocation = ::Gapic::Config::Method.new cancel_workflow_invocation_config query_workflow_invocation_actions_config = parent_rpcs.query_workflow_invocation_actions if parent_rpcs.respond_to? :query_workflow_invocation_actions @query_workflow_invocation_actions = ::Gapic::Config::Method.new query_workflow_invocation_actions_config yield self if block_given? end end end |
#scope ⇒ ::Array<::String>
The OAuth scopes
2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 |
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 2645 class Configuration extend ::Gapic::Config DEFAULT_ENDPOINT = "dataform.googleapis.com" config_attr :endpoint, DEFAULT_ENDPOINT, ::String config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil # @private # Overrides for http bindings for the RPCs of this service # are only used when this service is used as mixin, and only # by the host service. # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}] config_attr :bindings_override, {}, ::Hash, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the Dataform API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `list_repositories` # @return [::Gapic::Config::Method] # attr_reader :list_repositories ## # RPC-specific configuration for `get_repository` # @return [::Gapic::Config::Method] # attr_reader :get_repository ## # RPC-specific configuration for `create_repository` # @return [::Gapic::Config::Method] # attr_reader :create_repository ## # RPC-specific configuration for `update_repository` # @return [::Gapic::Config::Method] # attr_reader :update_repository ## # RPC-specific configuration for `delete_repository` # @return [::Gapic::Config::Method] # attr_reader :delete_repository ## # RPC-specific configuration for `fetch_remote_branches` # @return [::Gapic::Config::Method] # attr_reader :fetch_remote_branches ## # RPC-specific configuration for `list_workspaces` # @return [::Gapic::Config::Method] # attr_reader :list_workspaces ## # RPC-specific configuration for `get_workspace` # @return [::Gapic::Config::Method] # attr_reader :get_workspace ## # RPC-specific configuration for `create_workspace` # @return [::Gapic::Config::Method] # attr_reader :create_workspace ## # RPC-specific configuration for `delete_workspace` # @return [::Gapic::Config::Method] # attr_reader :delete_workspace ## # RPC-specific configuration for `install_npm_packages` # @return [::Gapic::Config::Method] # attr_reader :install_npm_packages ## # RPC-specific configuration for `pull_git_commits` # @return [::Gapic::Config::Method] # attr_reader :pull_git_commits ## # RPC-specific configuration for `push_git_commits` # @return [::Gapic::Config::Method] # attr_reader :push_git_commits ## # RPC-specific configuration for `fetch_file_git_statuses` # @return [::Gapic::Config::Method] # attr_reader :fetch_file_git_statuses ## # RPC-specific configuration for `fetch_git_ahead_behind` # @return [::Gapic::Config::Method] # attr_reader :fetch_git_ahead_behind ## # RPC-specific configuration for `commit_workspace_changes` # @return [::Gapic::Config::Method] # attr_reader :commit_workspace_changes ## # RPC-specific configuration for `reset_workspace_changes` # @return [::Gapic::Config::Method] # attr_reader :reset_workspace_changes ## # RPC-specific configuration for `fetch_file_diff` # @return [::Gapic::Config::Method] # attr_reader :fetch_file_diff ## # RPC-specific configuration for `query_directory_contents` # @return [::Gapic::Config::Method] # attr_reader :query_directory_contents ## # RPC-specific configuration for `make_directory` # @return [::Gapic::Config::Method] # attr_reader :make_directory ## # RPC-specific configuration for `remove_directory` # @return [::Gapic::Config::Method] # attr_reader :remove_directory ## # RPC-specific configuration for `move_directory` # @return [::Gapic::Config::Method] # attr_reader :move_directory ## # RPC-specific configuration for `read_file` # @return [::Gapic::Config::Method] # attr_reader :read_file ## # RPC-specific configuration for `remove_file` # @return [::Gapic::Config::Method] # attr_reader :remove_file ## # RPC-specific configuration for `move_file` # @return [::Gapic::Config::Method] # attr_reader :move_file ## # RPC-specific configuration for `write_file` # @return [::Gapic::Config::Method] # attr_reader :write_file ## # RPC-specific configuration for `list_compilation_results` # @return [::Gapic::Config::Method] # attr_reader :list_compilation_results ## # RPC-specific configuration for `get_compilation_result` # @return [::Gapic::Config::Method] # attr_reader :get_compilation_result ## # RPC-specific configuration for `create_compilation_result` # @return [::Gapic::Config::Method] # attr_reader :create_compilation_result ## # RPC-specific configuration for `query_compilation_result_actions` # @return [::Gapic::Config::Method] # attr_reader :query_compilation_result_actions ## # RPC-specific configuration for `list_workflow_invocations` # @return [::Gapic::Config::Method] # attr_reader :list_workflow_invocations ## # RPC-specific configuration for `get_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :get_workflow_invocation ## # RPC-specific configuration for `create_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :create_workflow_invocation ## # RPC-specific configuration for `delete_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :delete_workflow_invocation ## # RPC-specific configuration for `cancel_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :cancel_workflow_invocation ## # RPC-specific configuration for `query_workflow_invocation_actions` # @return [::Gapic::Config::Method] # attr_reader :query_workflow_invocation_actions # @private def initialize parent_rpcs = nil list_repositories_config = parent_rpcs.list_repositories if parent_rpcs.respond_to? :list_repositories @list_repositories = ::Gapic::Config::Method.new list_repositories_config get_repository_config = parent_rpcs.get_repository if parent_rpcs.respond_to? :get_repository @get_repository = ::Gapic::Config::Method.new get_repository_config create_repository_config = parent_rpcs.create_repository if parent_rpcs.respond_to? :create_repository @create_repository = ::Gapic::Config::Method.new create_repository_config update_repository_config = parent_rpcs.update_repository if parent_rpcs.respond_to? :update_repository @update_repository = ::Gapic::Config::Method.new update_repository_config delete_repository_config = parent_rpcs.delete_repository if parent_rpcs.respond_to? :delete_repository @delete_repository = ::Gapic::Config::Method.new delete_repository_config fetch_remote_branches_config = parent_rpcs.fetch_remote_branches if parent_rpcs.respond_to? :fetch_remote_branches @fetch_remote_branches = ::Gapic::Config::Method.new fetch_remote_branches_config list_workspaces_config = parent_rpcs.list_workspaces if parent_rpcs.respond_to? :list_workspaces @list_workspaces = ::Gapic::Config::Method.new list_workspaces_config get_workspace_config = parent_rpcs.get_workspace if parent_rpcs.respond_to? :get_workspace @get_workspace = ::Gapic::Config::Method.new get_workspace_config create_workspace_config = parent_rpcs.create_workspace if parent_rpcs.respond_to? :create_workspace @create_workspace = ::Gapic::Config::Method.new create_workspace_config delete_workspace_config = parent_rpcs.delete_workspace if parent_rpcs.respond_to? :delete_workspace @delete_workspace = ::Gapic::Config::Method.new delete_workspace_config install_npm_packages_config = parent_rpcs.install_npm_packages if parent_rpcs.respond_to? :install_npm_packages @install_npm_packages = ::Gapic::Config::Method.new install_npm_packages_config pull_git_commits_config = parent_rpcs.pull_git_commits if parent_rpcs.respond_to? :pull_git_commits @pull_git_commits = ::Gapic::Config::Method.new pull_git_commits_config push_git_commits_config = parent_rpcs.push_git_commits if parent_rpcs.respond_to? :push_git_commits @push_git_commits = ::Gapic::Config::Method.new push_git_commits_config fetch_file_git_statuses_config = parent_rpcs.fetch_file_git_statuses if parent_rpcs.respond_to? :fetch_file_git_statuses @fetch_file_git_statuses = ::Gapic::Config::Method.new fetch_file_git_statuses_config fetch_git_ahead_behind_config = parent_rpcs.fetch_git_ahead_behind if parent_rpcs.respond_to? :fetch_git_ahead_behind @fetch_git_ahead_behind = ::Gapic::Config::Method.new fetch_git_ahead_behind_config commit_workspace_changes_config = parent_rpcs.commit_workspace_changes if parent_rpcs.respond_to? :commit_workspace_changes @commit_workspace_changes = ::Gapic::Config::Method.new commit_workspace_changes_config reset_workspace_changes_config = parent_rpcs.reset_workspace_changes if parent_rpcs.respond_to? :reset_workspace_changes @reset_workspace_changes = ::Gapic::Config::Method.new reset_workspace_changes_config fetch_file_diff_config = parent_rpcs.fetch_file_diff if parent_rpcs.respond_to? :fetch_file_diff @fetch_file_diff = ::Gapic::Config::Method.new fetch_file_diff_config query_directory_contents_config = parent_rpcs.query_directory_contents if parent_rpcs.respond_to? :query_directory_contents @query_directory_contents = ::Gapic::Config::Method.new query_directory_contents_config make_directory_config = parent_rpcs.make_directory if parent_rpcs.respond_to? :make_directory @make_directory = ::Gapic::Config::Method.new make_directory_config remove_directory_config = parent_rpcs.remove_directory if parent_rpcs.respond_to? :remove_directory @remove_directory = ::Gapic::Config::Method.new remove_directory_config move_directory_config = parent_rpcs.move_directory if parent_rpcs.respond_to? :move_directory @move_directory = ::Gapic::Config::Method.new move_directory_config read_file_config = parent_rpcs.read_file if parent_rpcs.respond_to? :read_file @read_file = ::Gapic::Config::Method.new read_file_config remove_file_config = parent_rpcs.remove_file if parent_rpcs.respond_to? :remove_file @remove_file = ::Gapic::Config::Method.new remove_file_config move_file_config = parent_rpcs.move_file if parent_rpcs.respond_to? :move_file @move_file = ::Gapic::Config::Method.new move_file_config write_file_config = parent_rpcs.write_file if parent_rpcs.respond_to? :write_file @write_file = ::Gapic::Config::Method.new write_file_config list_compilation_results_config = parent_rpcs.list_compilation_results if parent_rpcs.respond_to? :list_compilation_results @list_compilation_results = ::Gapic::Config::Method.new list_compilation_results_config get_compilation_result_config = parent_rpcs.get_compilation_result if parent_rpcs.respond_to? :get_compilation_result @get_compilation_result = ::Gapic::Config::Method.new get_compilation_result_config create_compilation_result_config = parent_rpcs.create_compilation_result if parent_rpcs.respond_to? :create_compilation_result @create_compilation_result = ::Gapic::Config::Method.new create_compilation_result_config query_compilation_result_actions_config = parent_rpcs.query_compilation_result_actions if parent_rpcs.respond_to? :query_compilation_result_actions @query_compilation_result_actions = ::Gapic::Config::Method.new query_compilation_result_actions_config list_workflow_invocations_config = parent_rpcs.list_workflow_invocations if parent_rpcs.respond_to? :list_workflow_invocations @list_workflow_invocations = ::Gapic::Config::Method.new list_workflow_invocations_config get_workflow_invocation_config = parent_rpcs.get_workflow_invocation if parent_rpcs.respond_to? :get_workflow_invocation @get_workflow_invocation = ::Gapic::Config::Method.new get_workflow_invocation_config create_workflow_invocation_config = parent_rpcs.create_workflow_invocation if parent_rpcs.respond_to? :create_workflow_invocation @create_workflow_invocation = ::Gapic::Config::Method.new create_workflow_invocation_config delete_workflow_invocation_config = parent_rpcs.delete_workflow_invocation if parent_rpcs.respond_to? :delete_workflow_invocation @delete_workflow_invocation = ::Gapic::Config::Method.new delete_workflow_invocation_config cancel_workflow_invocation_config = parent_rpcs.cancel_workflow_invocation if parent_rpcs.respond_to? :cancel_workflow_invocation @cancel_workflow_invocation = ::Gapic::Config::Method.new cancel_workflow_invocation_config query_workflow_invocation_actions_config = parent_rpcs.query_workflow_invocation_actions if parent_rpcs.respond_to? :query_workflow_invocation_actions @query_workflow_invocation_actions = ::Gapic::Config::Method.new query_workflow_invocation_actions_config yield self if block_given? end end end |
#timeout ⇒ ::Numeric
The call timeout in seconds.
2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 |
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 2645 class Configuration extend ::Gapic::Config DEFAULT_ENDPOINT = "dataform.googleapis.com" config_attr :endpoint, DEFAULT_ENDPOINT, ::String config_attr :credentials, nil do |value| allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil] allowed.any? { |klass| klass === value } end config_attr :scope, nil, ::String, ::Array, nil config_attr :lib_name, nil, ::String, nil config_attr :lib_version, nil, ::String, nil config_attr :timeout, nil, ::Numeric, nil config_attr :metadata, nil, ::Hash, nil config_attr :retry_policy, nil, ::Hash, ::Proc, nil config_attr :quota_project, nil, ::String, nil # @private # Overrides for http bindings for the RPCs of this service # are only used when this service is used as mixin, and only # by the host service. # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}] config_attr :bindings_override, {}, ::Hash, nil # @private def initialize parent_config = nil @parent_config = parent_config unless parent_config.nil? yield self if block_given? end ## # Configurations for individual RPCs # @return [Rpcs] # def rpcs @rpcs ||= begin parent_rpcs = nil parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs) Rpcs.new parent_rpcs end end ## # Configuration RPC class for the Dataform API. # # Includes fields providing the configuration for each RPC in this service. # Each configuration object is of type `Gapic::Config::Method` and includes # the following configuration fields: # # * `timeout` (*type:* `Numeric`) - The call timeout in seconds # * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional headers # * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields # include the following keys: # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds. # * `:max_delay` (*type:* `Numeric`) - The max delay in seconds. # * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier. # * `:retry_codes` (*type:* `Array<String>`) - The error codes that should # trigger a retry. # class Rpcs ## # RPC-specific configuration for `list_repositories` # @return [::Gapic::Config::Method] # attr_reader :list_repositories ## # RPC-specific configuration for `get_repository` # @return [::Gapic::Config::Method] # attr_reader :get_repository ## # RPC-specific configuration for `create_repository` # @return [::Gapic::Config::Method] # attr_reader :create_repository ## # RPC-specific configuration for `update_repository` # @return [::Gapic::Config::Method] # attr_reader :update_repository ## # RPC-specific configuration for `delete_repository` # @return [::Gapic::Config::Method] # attr_reader :delete_repository ## # RPC-specific configuration for `fetch_remote_branches` # @return [::Gapic::Config::Method] # attr_reader :fetch_remote_branches ## # RPC-specific configuration for `list_workspaces` # @return [::Gapic::Config::Method] # attr_reader :list_workspaces ## # RPC-specific configuration for `get_workspace` # @return [::Gapic::Config::Method] # attr_reader :get_workspace ## # RPC-specific configuration for `create_workspace` # @return [::Gapic::Config::Method] # attr_reader :create_workspace ## # RPC-specific configuration for `delete_workspace` # @return [::Gapic::Config::Method] # attr_reader :delete_workspace ## # RPC-specific configuration for `install_npm_packages` # @return [::Gapic::Config::Method] # attr_reader :install_npm_packages ## # RPC-specific configuration for `pull_git_commits` # @return [::Gapic::Config::Method] # attr_reader :pull_git_commits ## # RPC-specific configuration for `push_git_commits` # @return [::Gapic::Config::Method] # attr_reader :push_git_commits ## # RPC-specific configuration for `fetch_file_git_statuses` # @return [::Gapic::Config::Method] # attr_reader :fetch_file_git_statuses ## # RPC-specific configuration for `fetch_git_ahead_behind` # @return [::Gapic::Config::Method] # attr_reader :fetch_git_ahead_behind ## # RPC-specific configuration for `commit_workspace_changes` # @return [::Gapic::Config::Method] # attr_reader :commit_workspace_changes ## # RPC-specific configuration for `reset_workspace_changes` # @return [::Gapic::Config::Method] # attr_reader :reset_workspace_changes ## # RPC-specific configuration for `fetch_file_diff` # @return [::Gapic::Config::Method] # attr_reader :fetch_file_diff ## # RPC-specific configuration for `query_directory_contents` # @return [::Gapic::Config::Method] # attr_reader :query_directory_contents ## # RPC-specific configuration for `make_directory` # @return [::Gapic::Config::Method] # attr_reader :make_directory ## # RPC-specific configuration for `remove_directory` # @return [::Gapic::Config::Method] # attr_reader :remove_directory ## # RPC-specific configuration for `move_directory` # @return [::Gapic::Config::Method] # attr_reader :move_directory ## # RPC-specific configuration for `read_file` # @return [::Gapic::Config::Method] # attr_reader :read_file ## # RPC-specific configuration for `remove_file` # @return [::Gapic::Config::Method] # attr_reader :remove_file ## # RPC-specific configuration for `move_file` # @return [::Gapic::Config::Method] # attr_reader :move_file ## # RPC-specific configuration for `write_file` # @return [::Gapic::Config::Method] # attr_reader :write_file ## # RPC-specific configuration for `list_compilation_results` # @return [::Gapic::Config::Method] # attr_reader :list_compilation_results ## # RPC-specific configuration for `get_compilation_result` # @return [::Gapic::Config::Method] # attr_reader :get_compilation_result ## # RPC-specific configuration for `create_compilation_result` # @return [::Gapic::Config::Method] # attr_reader :create_compilation_result ## # RPC-specific configuration for `query_compilation_result_actions` # @return [::Gapic::Config::Method] # attr_reader :query_compilation_result_actions ## # RPC-specific configuration for `list_workflow_invocations` # @return [::Gapic::Config::Method] # attr_reader :list_workflow_invocations ## # RPC-specific configuration for `get_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :get_workflow_invocation ## # RPC-specific configuration for `create_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :create_workflow_invocation ## # RPC-specific configuration for `delete_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :delete_workflow_invocation ## # RPC-specific configuration for `cancel_workflow_invocation` # @return [::Gapic::Config::Method] # attr_reader :cancel_workflow_invocation ## # RPC-specific configuration for `query_workflow_invocation_actions` # @return [::Gapic::Config::Method] # attr_reader :query_workflow_invocation_actions # @private def initialize parent_rpcs = nil list_repositories_config = parent_rpcs.list_repositories if parent_rpcs.respond_to? :list_repositories @list_repositories = ::Gapic::Config::Method.new list_repositories_config get_repository_config = parent_rpcs.get_repository if parent_rpcs.respond_to? :get_repository @get_repository = ::Gapic::Config::Method.new get_repository_config create_repository_config = parent_rpcs.create_repository if parent_rpcs.respond_to? :create_repository @create_repository = ::Gapic::Config::Method.new create_repository_config update_repository_config = parent_rpcs.update_repository if parent_rpcs.respond_to? :update_repository @update_repository = ::Gapic::Config::Method.new update_repository_config delete_repository_config = parent_rpcs.delete_repository if parent_rpcs.respond_to? :delete_repository @delete_repository = ::Gapic::Config::Method.new delete_repository_config fetch_remote_branches_config = parent_rpcs.fetch_remote_branches if parent_rpcs.respond_to? :fetch_remote_branches @fetch_remote_branches = ::Gapic::Config::Method.new fetch_remote_branches_config list_workspaces_config = parent_rpcs.list_workspaces if parent_rpcs.respond_to? :list_workspaces @list_workspaces = ::Gapic::Config::Method.new list_workspaces_config get_workspace_config = parent_rpcs.get_workspace if parent_rpcs.respond_to? :get_workspace @get_workspace = ::Gapic::Config::Method.new get_workspace_config create_workspace_config = parent_rpcs.create_workspace if parent_rpcs.respond_to? :create_workspace @create_workspace = ::Gapic::Config::Method.new create_workspace_config delete_workspace_config = parent_rpcs.delete_workspace if parent_rpcs.respond_to? :delete_workspace @delete_workspace = ::Gapic::Config::Method.new delete_workspace_config install_npm_packages_config = parent_rpcs.install_npm_packages if parent_rpcs.respond_to? :install_npm_packages @install_npm_packages = ::Gapic::Config::Method.new install_npm_packages_config pull_git_commits_config = parent_rpcs.pull_git_commits if parent_rpcs.respond_to? :pull_git_commits @pull_git_commits = ::Gapic::Config::Method.new pull_git_commits_config push_git_commits_config = parent_rpcs.push_git_commits if parent_rpcs.respond_to? :push_git_commits @push_git_commits = ::Gapic::Config::Method.new push_git_commits_config fetch_file_git_statuses_config = parent_rpcs.fetch_file_git_statuses if parent_rpcs.respond_to? :fetch_file_git_statuses @fetch_file_git_statuses = ::Gapic::Config::Method.new fetch_file_git_statuses_config fetch_git_ahead_behind_config = parent_rpcs.fetch_git_ahead_behind if parent_rpcs.respond_to? :fetch_git_ahead_behind @fetch_git_ahead_behind = ::Gapic::Config::Method.new fetch_git_ahead_behind_config commit_workspace_changes_config = parent_rpcs.commit_workspace_changes if parent_rpcs.respond_to? :commit_workspace_changes @commit_workspace_changes = ::Gapic::Config::Method.new commit_workspace_changes_config reset_workspace_changes_config = parent_rpcs.reset_workspace_changes if parent_rpcs.respond_to? :reset_workspace_changes @reset_workspace_changes = ::Gapic::Config::Method.new reset_workspace_changes_config fetch_file_diff_config = parent_rpcs.fetch_file_diff if parent_rpcs.respond_to? :fetch_file_diff @fetch_file_diff = ::Gapic::Config::Method.new fetch_file_diff_config query_directory_contents_config = parent_rpcs.query_directory_contents if parent_rpcs.respond_to? :query_directory_contents @query_directory_contents = ::Gapic::Config::Method.new query_directory_contents_config make_directory_config = parent_rpcs.make_directory if parent_rpcs.respond_to? :make_directory @make_directory = ::Gapic::Config::Method.new make_directory_config remove_directory_config = parent_rpcs.remove_directory if parent_rpcs.respond_to? :remove_directory @remove_directory = ::Gapic::Config::Method.new remove_directory_config move_directory_config = parent_rpcs.move_directory if parent_rpcs.respond_to? :move_directory @move_directory = ::Gapic::Config::Method.new move_directory_config read_file_config = parent_rpcs.read_file if parent_rpcs.respond_to? :read_file @read_file = ::Gapic::Config::Method.new read_file_config remove_file_config = parent_rpcs.remove_file if parent_rpcs.respond_to? :remove_file @remove_file = ::Gapic::Config::Method.new remove_file_config move_file_config = parent_rpcs.move_file if parent_rpcs.respond_to? :move_file @move_file = ::Gapic::Config::Method.new move_file_config write_file_config = parent_rpcs.write_file if parent_rpcs.respond_to? :write_file @write_file = ::Gapic::Config::Method.new write_file_config list_compilation_results_config = parent_rpcs.list_compilation_results if parent_rpcs.respond_to? :list_compilation_results @list_compilation_results = ::Gapic::Config::Method.new list_compilation_results_config get_compilation_result_config = parent_rpcs.get_compilation_result if parent_rpcs.respond_to? :get_compilation_result @get_compilation_result = ::Gapic::Config::Method.new get_compilation_result_config create_compilation_result_config = parent_rpcs.create_compilation_result if parent_rpcs.respond_to? :create_compilation_result @create_compilation_result = ::Gapic::Config::Method.new create_compilation_result_config query_compilation_result_actions_config = parent_rpcs.query_compilation_result_actions if parent_rpcs.respond_to? :query_compilation_result_actions @query_compilation_result_actions = ::Gapic::Config::Method.new query_compilation_result_actions_config list_workflow_invocations_config = parent_rpcs.list_workflow_invocations if parent_rpcs.respond_to? :list_workflow_invocations @list_workflow_invocations = ::Gapic::Config::Method.new list_workflow_invocations_config get_workflow_invocation_config = parent_rpcs.get_workflow_invocation if parent_rpcs.respond_to? :get_workflow_invocation @get_workflow_invocation = ::Gapic::Config::Method.new get_workflow_invocation_config create_workflow_invocation_config = parent_rpcs.create_workflow_invocation if parent_rpcs.respond_to? :create_workflow_invocation @create_workflow_invocation = ::Gapic::Config::Method.new create_workflow_invocation_config delete_workflow_invocation_config = parent_rpcs.delete_workflow_invocation if parent_rpcs.respond_to? :delete_workflow_invocation @delete_workflow_invocation = ::Gapic::Config::Method.new delete_workflow_invocation_config cancel_workflow_invocation_config = parent_rpcs.cancel_workflow_invocation if parent_rpcs.respond_to? :cancel_workflow_invocation @cancel_workflow_invocation = ::Gapic::Config::Method.new cancel_workflow_invocation_config query_workflow_invocation_actions_config = parent_rpcs.query_workflow_invocation_actions if parent_rpcs.respond_to? :query_workflow_invocation_actions @query_workflow_invocation_actions = ::Gapic::Config::Method.new query_workflow_invocation_actions_config yield self if block_given? end end end |
Instance Method Details
#rpcs ⇒ Rpcs
Configurations for individual RPCs
2681 2682 2683 2684 2685 2686 2687 |
# File 'lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb', line 2681 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 |